Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tearing my hair out - Scene Changing 1

Status
Not open for further replies.

toughGirl

MIS
Mar 26, 2001
68
Back again! (i'm working on a school project, you'll be rid of me for awhile in 2 weeks :))

I'm working on my final project. In this movie, I have several scenes. In the main scene, I have an assortment of movieclips that hold buttons. These buttons are supposed to change the scenes. However, when I do the standard on (release){ gotoandplay ("aboutScene", 1)} it doesnt work!! I've exhausted every idea possible (including tellTarget "_root/aboutScene") and can't get the lingo down (big surprise). When I click on the about button, it just loops the about mc (where the aboutButton is housed [on the main scene]) and won't change to the other SCENE!!! ugh

so out comes my hair, gray ones (from this project) and all!!!

gotoAndSee:
thanks
 
By the way...keep the hair in...I never did care for bald headed womenLOL

check that link so I take a look at your file... Ya' Gotta Love It!:)X-)
 
toughGirl...I just looked at the fla file...have not had time to fully aanlyze it...but I do think your button should have the following code:

on (release) {
tellTarget ("_root") {
gotoAndPlay ("About1");
}
}

you had the on release and then a tell target to the frame label. you should tell target _root and then goto and play the frame label regardless of what scene it is. Ya' Gotta Love It!:)X-)
 
If I understand Flash correctly... the main timeline regardless of the scene is always considered the _root. As long as you specify a frame label the goto and play action will go thru all the scenes and find that label. Ya' Gotta Love It!:)X-)
 
After re-reading your post...maybe I did not answer your question...looks like you already tried that...hang on...I am looking at it... Ya' Gotta Love It!:)X-)
 
No...it is working... I click on about and it goes to the about scene. After you read the text you have the option to go back by pushing the back button...

that is what you want I beleive.... Ya' Gotta Love It!:)X-)
 
YEAH!!!! I was sooo close the whole time, just had everything backwards!! This has been an excellent step in my flash development understandings.

thanks, thanks, thanks

ps. now I will have a nice mane of hair!! tG
--{-{@
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top