This is a discussion on "Movieclip actionscript to move to main movie" within the Flash & Multimedia Forum section. This forum, and the thread "Movieclip actionscript to move to main movie are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Movieclip actionscript to move to main movie
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Movieclip actionscript to move to main movie
Hi
I've got a simple problem (I think). Been looking for a while but having trouble working it out. I got a movieclip with a simple linear animation in it. All I want is when the head reaches the end of the clip it then goes to frame 3 in the main movie... Thats it... Can anyone help?? |
|
|
|
#2
|
|||
|
|||
|
Re: Movieclip actionscript to move to main movie
In the actionscript of the smaller movie clip, when you say gotoStop(3); it would just go to frame 3 of the small movie clip.
To fix this you would want it to go to ._parent or maybe ._root (if it is the highest level) then frame 3. Hope this helps. Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
#3
|
|||
|
|||
|
Re: Movieclip actionscript to move to main movie
How do you mean Highest level. I'm pretty new to this.
|
|
#4
|
|||
|
|||
|
Re: Movieclip actionscript to move to main movie
When you put a movie clip inside another movieclip it adds "levels" to your flash.
Level 1 would be what you start with, then you create a movie clip and open that up, that'd be level 2. (to keep in simple) Then if you added a movie clip inside another movieclip and opened that one, it'd be in the third level down. If you want a button within a movieclip(which has it's own seperate timeline) to affect the main timeline. Use the same actionscript to send it to a certain frame, but just add _root to the beginning of the _root.gotoAndPlay(3) or whatever to make it affect the main timeline not the movie clip timeline.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| actionscript, frame, movieclip |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| accessing variables and actionscript in externally loaded Swf from main movie | balaakrs | Flash & Multimedia Forum | 4 | Sep 8th, 2007 17:19 |
| deeply nested movieclip buttons, need actionscript | nutbolt | Flash & Multimedia Forum | 0 | Apr 30th, 2007 11:58 |
| Form loaded into main movie doesn't work | papalazarou78 | Flash & Multimedia Forum | 4 | Apr 3rd, 2007 18:57 |
| Movieclip Control | dazzelworks | Flash & Multimedia Forum | 3 | Oct 30th, 2006 13:11 |
| Making buttons in seperate.swf's work in main movie | orlanime | Flash & Multimedia Forum | 3 | Mar 25th, 2005 00:37 |