Groups | Blog | Home
all groups > flash (macromedia) > october 2005 >

flash (macromedia) : Need help with navigation..


hardydanielle
10/29/2005 11:25:47 PM
Hi there.. I am building a site in Flash MX and I am having some problems with
my navigation. I built it so that each page is a different scene. The problem
that I have is that when you press on a button, it will take you to the right
page but when you press the same button twice then it will take you to another
page (scene) in the site. Is there any way to avoid this?? you can see the site
at www.jasthorne.com

thank you so much
hardydanielle
10/30/2005 12:00:00 AM
I am just using the simple

on (release) {
gotoAndPlay("lifestyle", 1);
}

Thank you so much for your help
urami_
10/30/2005 12:00:00 AM


[quoted text, click to view]

This is something all new users come across and trust me, the archives are full
of replies to the very same question regarding scenes navigation.
Please try to utilize the archive search in the future, it prevent counter productive
posting on the same topic over and over again.

//paste previous post

widely discuss on forum hundreds of times in past years that
scenes are ONLY for authoring purpose , they are not included
in final SWF files . Your movie become one long timeline once exported
and Scene basically are to give an end to one and beginning to another timeline .
That's why you can't target them in your actions.
If scene 1 has 10 frame and scene 2 has 10 frames , on export it become 20 .
SO first frame of second scene will become not 1 but 11 .
Labels are what you after .

Attach unique label to first frame of scene you like to target and use

_root.gotoAndPlay("labelNAme");

Also, it is good habit to disable the button once it reach it's destination.
You can keep the same button but remove the action or you use use enabled="0"
to disable it's functionality.

--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
hardydanielle
10/30/2005 12:00:00 AM
thank you for your help. I really appreciate it
Boerboel649
10/30/2005 12:49:33 AM
AddThis Social Bookmark Button