PDA

View Full Version : confusing...


samanthayy
08-16-2002, 08:38 PM
ok, I have a movie with 2 scenes.
The first scene is supposed to have a button which links to page 2.
I have no problem if I just place a button under scene 1, but when I place a button within a Movie Clip within Scene 1, it doesn't work? How can I fix this problem? I want to have the button withing a movie clip because I want the pull out button list effect....

Esquared
08-16-2002, 08:54 PM
samanthayy-

I've had the same problem before. I'm not sure why scene titles are not recognized from embedded timelines, but I've used a different method that works effectively. You may keep your scenes separated as they are. Just select the first frame of each scene and give it a unique name in the properties panel where you see <Frame Label>. When you do this, you will see a little flag next to that frame in the timeline. When you want to go to the second scene, place the following on the button:

on(release)
{
_root.gotoAndPlay("<Frame Label>")
}

Hope that helps you out....let me know!

samanthayy
08-16-2002, 09:07 PM
I have sucessfully changed the frame labels, but it still doesn't work ........ <sob>

texbala
08-17-2002, 10:06 PM
i am not sure whether I understood your question correctly, but if you are using some variables that are passed through the button: the answer is : variables cannot be passed between different timelines [movie clip timeline is different from main (_root) timeline] when it is local.

I know we can declare it global by using Object.prototype.myGlobalVariable - but not sure whether ur problem is this!!!

Else, pls. post the fla

samanthayy
08-18-2002, 05:56 AM
i have found that it links properly if I do the TESTMOVIE thing, but after I upload it, it doesn't work!

I tried to upload the fla using the attach file, but it seems that my file is too large...