PDA

View Full Version : Flash page transition help


psychoegg
07-19-2007, 02:08 AM
Hello everyone,

I'm trying to get into Flash but have been finding the actionscript stuff tough.

What I'm trying to do is have a static image in the corner of my page fade out and then another image fades in depending on what page I'm going to. I have the timeline set up so that frame 1-15 would be one image fade out then 16-30 would be an image fade in, 31-45 would be that image fade out, etc. Everything is labeled as well.

What I'm essentially trying to do is this;

on (release) {
if (a particular page)
_root.gotoAndPlay (a certain range of frames that is labeled)
and then
_root.gotoAndPlany (another range of frames that is labeled)

this scripting would then be duplicated changing the "if" statement so that if the viewer was on a different page then a different range of frames would be played.

I'm assuming that I'm making this a lot more complicated than if should be and that there is a better way of doing this but could someone help me out?

I would appreciate all the help that I could get. Thanks.