Find Jobs
Hire Freelancers

283666 professional AS3 flash coder

N/A

En curso
Publicado hace alrededor de 15 años

N/A

Pagado a la entrega
Hi coders, I am teaching myself AS3 and I need help. I know I can post on different forums for answers but I can't afford waiting too much on an answer and I'm getting crazy by doing a lot of Googling in the past couple of months :( I feel my learning process is slow and I need a teacher! :) so I suddenly thought maybe I can find a professional flash AS3 coder who can answer my questions in details and exactly to find my way around faster. Please note that that I used to be a AS2 coder for a long time and I know almost every corner of AS2 but when talking about AS3, I definitely am a naive. I am teaching myself along with doing a fun but BIG application and I have launched a blog to post my findings to. You may take a look at "e m s t r i [login to view URL]" (without the spaces) and see how far I have reached so far. So, if you agree to help me, you'll be asked some questions relating to AS3 and you'd give me guide lines. I will NOT ask you to build anything, just want you to answer my questions :) so I leave it up to you to decide on how much and how often you wanna get paid for this. Please be fair to me. You'll find me a very cool guy I'm sure and maybe you can find a very good company owner who earns with his ideas! Note that I may consider picking you as a partner for our company's projects. because we are newly exploring AS3 and we will surely need more people around AS3 in our team. To begin with, here is my first question. Feel free to answer in PMB. maybe a lot of you will solve the problem but I will pick a coder who writes and thinks organized and clean. Question: I'm building my own drop down menu and I have faced a problem, you see, there's a button and when clicked it will drop the menu down and open. I have used the listener for this button like this: [login to view URL]([login to view URL], hit); and the hit function will close or open the menu according to the isMenuOpen variable protected function hit(e:MouseEvent):void { if(!isMenuOpen){ myMenuTween = new Tween(_content, "y", [login to view URL], _content.y, _finishY, tweenSpeed, true); isMenuOpen = true; }else if (isMenuOpen){ myMenuTween = new Tween(_content, "y", [login to view URL], _content.y, _initialY, tweenSpeed, true); isMenuOpen = false; } } it all works fine when you try to open and close the menu by clicking on the button _dropButt But I also wanna be able to click anywhere off the menu and have the menu closed! to archive this, I tried this: protected function justClose(e:MouseEvent):void { if([login to view URL] == null){ if (isMenuOpen){ myMenuTween = new Tween(_content, "y", [login to view URL], _content.y, _initialY, tweenSpeed, true); isMenuOpen = false; } } } The problem with "justClose" function is that it now only works if you click an empty space on the stage and if any other object is there and you click away from the drop down menu but on that other unrelated object, the menu doesn't get closed. No misunderstanding, I know the problem here and I understand why the menu doesn't close... because the [login to view URL] won't return null if we are clicking on something even if it's unrelated to the menu movieclip on the stage. I need a way so that the "justClose" function will only work if somewhere unrelated to the menu is clicked and not the menu movieclip and any other of it's children... Note that the whole menu is inside a movieclip, imagine its name as myCombo_mc if you need to know more, maybe it would be helpful to know that I have called the Class lie this: var myCombo:DropDownMenu = new DropDownMenu(myCombo_mc); And the DropDownMenu class will use the "myCombo_mc" movieclip instance on the stage and then does the rest of the work... Let's see how organized you are in explanation, I know it may sound like an easy question but I have a lot of blurry questions like this before I get fully ready in AS3 :) Best regards, Hadi
ID del proyecto: 2029959

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
$10 USD en 0 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de IRAN, ISLAMIC REPUBLIC OF
Esfahan, Iran, Islamic Republic of
5,0
37
Miembro desde jul 13, 2005

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.