
February 12th, 2004, 10:11 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Flying Button, having diff. actions in diff. locations
I love those flash sites that have an intro and the menu buttons appear somehow. When you click them they fly to another part of the page, the background rolls up, the other graphics reorganize and you have the selected menu item before you with the buttons neatly tucked away somwhere.
You can click the "home" button, and it goes back to the original "end" or "middle" of the intro. With the buttons back in the original positions.
then you click another button, they fly to the top again, etc.
Also, if they've already flown to the top, and you click one of them, they just stay there and don't move, just the movie changes, or something else is loaded in.
I'm assuming you do this with "gotoAndPlay" which I've been successful at.
But, now, I have to allow the buttons to make a decision and konw where they're at.
i.e. IF I'm at Frame (1), I do this.
IF I'm at Frame (130), I do something else
Can someone post the syntax for frame location so I can use it in an IF/THEN/Else Statement?
Or, at least tell me how these other people are making this effect?
|