V1SHAL
03-08-2007, 08:11 AM
Hello...
Ok, my newest hangup
What is the simplest way to transition betwen pages of a webpage in flash?
I'm creating a flash based website with buttons etc...
I would like there to be transitions between the pages of the webpage. I've animated in and out states for these animations within each of the pages. If I were to play the "home" movieclip from start to finish the effect would be transition in >> content >> transition out.
Now, anytime I click on another button from the home page, I'd like the transition out of the home to play followed by the transition in of whatever page's link was clicked on. This wouldn't be hard if i were talking of one or two buttons. But I have quite a few.
I could create seperate actionscript for each link on each page to get the effect I suppose, but i was wondering if there was a simpler way to do it, using some sort of "if" statement perhaps.
In short, the actionscript should do the following.
when a link is clicked:
1. Determine which movie clip is on the screen (each of my pages is within a mc called home, bio, portfolio etc...) and play its "out" state (labeled such in a labels layer)
2. Determine which link has been clicked and play its "in" state (in states start at frame 1 so a simple gotoandplay statement will do)
Using Flash 8
Ok, my newest hangup
What is the simplest way to transition betwen pages of a webpage in flash?
I'm creating a flash based website with buttons etc...
I would like there to be transitions between the pages of the webpage. I've animated in and out states for these animations within each of the pages. If I were to play the "home" movieclip from start to finish the effect would be transition in >> content >> transition out.
Now, anytime I click on another button from the home page, I'd like the transition out of the home to play followed by the transition in of whatever page's link was clicked on. This wouldn't be hard if i were talking of one or two buttons. But I have quite a few.
I could create seperate actionscript for each link on each page to get the effect I suppose, but i was wondering if there was a simpler way to do it, using some sort of "if" statement perhaps.
In short, the actionscript should do the following.
when a link is clicked:
1. Determine which movie clip is on the screen (each of my pages is within a mc called home, bio, portfolio etc...) and play its "out" state (labeled such in a labels layer)
2. Determine which link has been clicked and play its "in" state (in states start at frame 1 so a simple gotoandplay statement will do)
Using Flash 8