Movieclip actionscript to move to main movie

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 27th, 2007, 09:19
Junior Member
Join Date: Feb 2007
Location: London
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
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??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 27th, 2007, 15:16
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 30th, 2007, 10:54
Junior Member
Join Date: Feb 2007
Location: London
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Movieclip actionscript to move to main movie

How do you mean Highest level. I'm pretty new to this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 30th, 2007, 16:58
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
actionscript, frame, movieclip

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 23:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42