PDA

View Full Version : First post... text anim/movie clip on btn over state


.S2K.
06-25-2006, 11:42 AM
be gentle... *Just born into AS 2.0**Flash MX 2004 Pro* I've searched the forums and I think I've come close to the answer. -2 part question- I have a MC on the over state of a BTN... (control enter to test movie) I place my cursor over the BTN and the MC plays (alright). Problem 1) If I move the cursor off the BTN prematurely the MC instantly jumps back to the start without finishing the animation (text motion tween) I've tried and tried but don't know what to do... :confused:

Second part which seems so obvious isn't so to me lol. I can not for the life of me get the .getURL to work?? I've tried it inside the BTN timeline, I've tried it in the movie clip timeline to no joy. No script errors it just doesn't do anything. The one time I did get it to work it processed the .getURL when I rolled the cursor over the animation (on a nav bar)... I want it to worke when clicked on. Any suggestions?

Thanks much in advanced.

oldnewbie
06-25-2006, 06:55 PM
You can't really control a movie clip when it's nested within a button's timeline, it has to be 2 seperate symbols, where one button can control the other movie clip. Best is in fact to have a button movie clip... Download the attached to see if you understand how it works... A hitTest is used on the movie clip, to determine if the cursor is over the movie clip... If it is, the movie clip plays. If it isn't the movie clip reverse plays until it goes back to the first frame.
Now a invisible button within the movie clip also has a getURL code that has always worked for me, so it should for you to...

.S2K.
06-26-2006, 12:15 AM
Thank again for your help

oldnewbie
06-26-2006, 03:33 AM
Only did the Home button... You'll have to do the others...

.S2K.
06-26-2006, 04:29 AM
Thank you for your time it's greatly appreciated. I will take a look at it when I get home. :D

.S2K.
06-26-2006, 01:08 PM
Thank you very much once again. I will take that and learn from it.;)

oldnewbie
06-26-2006, 01:26 PM
;)