Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text fade from button

Status
Not open for further replies.

ironyx

Technical User
Nov 13, 2001
134
US
I thought I had it but...
When I put
on (rollOver) {
yourclip.gotoAndPlay (2);
}
on (rollOut) {
yourclip.gotoAndStop (1);
}

with fade as my clip, there was no reaction. Do I have to put a more literal path? I just put fade.gotoAndStop.

My clip has a stop() in the first clip, and a loop rightly called loop from the 15th to the 10th frame.

Am I missing something? This is new to me. The animation seems easy but go figure I would have to start with logic in my creative world. *sigh*
All time and help is greatly appreciated :)
Va



 
Is fade on the same timeline as your button?

And is loop another clip on the fade timeline?

Also, if the second is right, does this (loop) have any stop(); actions?

If I'm right here, where you want the loop clip to play place an action on the timeline of fade to start the loop clip.

loop.play();

if that doesn't work then try

loop.gotoAndPlay(2);

If I'm way of mark here then I'm sorry for the confusion. :)
funkymonk2.jpg


rod@sameplanet.co.uk
********************
 
Actually I looped last five frames of the fade clip and named the instance loop. So the fade clip and button are on the same timeline. I would like it to go and play the fade clip and then keep the loop going while they are on the button.

So it sounds like a possible play function with a test to see as long as they are over the button to continue. Would this be right. How do you get it to continue testing?

Am I wrong to name the loop part cause I guess I could just get it to keep going to frame 10.... I am so confused.

I am trying to get a quick lesson in programming and Flash I suppose. Sorry.

Thanks very much!
Va. :~]
 
Could you post the fla or send it to my home e-mail (funkymonk@blueyonder.co.uk) and I'll have a look over the weekend. I'm having trouble visulising the problem but seeing it may clear it up a bit. Can't promine anything though :)

If you post it you may get someone else (code expert) have a look at it.
funkymonk2.jpg


funkymonk@blueyonder.co.uk
********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top