Laura
October 25th, 2001, 12:24 PM
I am attempting to create a web site entirely in flash, , I am having trouble navigating within scenes. I have a movie clip within the main scene which is triggered once it gets to a certain frame within the scene, the movie clip features a small animation which simulates the scrolling of a 3 txt items, it is controlled by 2 buttons, one which will show the next txt item, and one which will show the previous txt item. This works fine, but I would like to have it interacting with a button I have in the main scene, whereby, if in the scrolling mc (called RemoteControl) the first scene is played (first txt item) on release the button will cause a new frame to be played,
on (release) {
        targetPath("RemoteControl");
        ifFrameLoaded (1) {
                gotoAndStop ("player", 3);
else
ifFrameLoaded(2)
gotoAndStop(“player”, 4);
else
ifFrameLoaded(3)
gotoAndStop(“player”, 5)
}
I know syntax is incorrect I quickly typed it so you can get an idea of what I want to do. I have worked out that the ifFrameLoaded does not work with the else statement, but I cannot think of how else to do this, I hope you can understand what I am trying to do, please, please get back to me with any help you could offer.
Thanks
Laura
on (release) {
        targetPath("RemoteControl");
        ifFrameLoaded (1) {
                gotoAndStop ("player", 3);
else
ifFrameLoaded(2)
gotoAndStop(“player”, 4);
else
ifFrameLoaded(3)
gotoAndStop(“player”, 5)
}
I know syntax is incorrect I quickly typed it so you can get an idea of what I want to do. I have worked out that the ifFrameLoaded does not work with the else statement, but I cannot think of how else to do this, I hope you can understand what I am trying to do, please, please get back to me with any help you could offer.
Thanks
Laura