Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : Go to & Play Movie Clip


dan mode
4/15/2005 5:06:32 PM
where is the button located? inside the movie clip? or on the main
timeline?

--

Dan
blah blah lengthy signatures rule
*SITE* www.SmithMediaFusion.com
*MY BLOG* http://www.smithfamilynewsletter.org/blog/newsMain.html
(yes, that is flash folks)
Alt+F+X
__
[quoted text, click to view]

DaveDmd
4/15/2005 11:03:25 PM
I'm nes at this & i'm having a problem with a movie clip. I'm not sure hich
level i'm in, but I only have 1 scene. and my Movie clip, timline ends and a
new one starts. I'd like to tell it at the end of the timeline to go back to
the previous timeline movie clip and play from labeled field "restart". this
happens when a button is pressed. I tried changing the name but whatever i try
it start to play from the beginning of the timeline and not the marked label.
If anyone can help, it's appreciated.
gotoAndPlay("restart");
DaveDmd
4/15/2005 11:26:39 PM
ok, what's happening is this. The first timeline goes into another timeline
that is nested. 2nd one is called main. then a 3rd timeline is nested into
main. when the movie runs, i'm going from time line one to 2 to 3 right away.
then from three i choose a menu item which brings me back to timeline 2. on
time line two there is a button that i press that takes me back to timeline 3
which is the menu timeline. the problem is, when i'm in timeline 2 the 3rd
timline is nested into timeline 2 and in timline 3 i have the frame marked with
a lable. because it's nested it does not go to the label. i guess it sees it as
the wrong code i'm giving it and starts the movie from the beginning or
timeline1 which goest to2 then to 3 right away. or if i pull the code out it
stops when it hits the last frame in timeline 2. i don't know how to get around
this. button is in the movie clip of timline 2 to start the movie because it's
stopped. button is no problem. just the frame code.
DaveDmd
4/15/2005 11:39:39 PM
also tried, menu.gotoAndPlay("resatart");
AddThis Social Bookmark Button