Making buttons in seperate.swf's work in main movie

This is a discussion on "Making buttons in seperate.swf's work in main movie" within the Flash & Multimedia Forum section. This forum, and the thread "Making buttons in seperate.swf's work in main movie are both part of the Design Your Website category.



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 23rd, 2005, 17:57
Junior Member
Join Date: Apr 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Making buttons in seperate.swf's work in main movie

Well, i got the whole 'load and unload seperate .swf's' to work. Now, I need some assistance on making the buttons in those .swfs to work in the main movie??? This is what I have for one of the buttons in the seperately loaded .swf:

on (press) {
gotoAndStop (10);
unloadMovieNum (1);
}

Yes, the unloadMovieNum (level 1) works fine but, the gotoAndStop (10)-going to frame #10 in the main movie- does not. What scripting am I missing? Some assistance would be great. Thanks again in advance.

  #2 (permalink)  
Old Mar 23rd, 2005, 21:19
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Bear in mind that any frame-related actions will be relevant only to the movie that is executing those actions. In order for a seperate movie to do those actions you must target it, eg:

_level1.gotoAndStop(10);

I believe that should work, if not use
tellTarget(_level1)
{
gotoAndStop(10);
}
  #3 (permalink)  
Old Mar 24th, 2005, 19:30
Junior Member
Join Date: Apr 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
What action script itle would that fall under, eg: Set Variables, FSCommand, etc?
  #4 (permalink)  
Old Mar 25th, 2005, 00:37
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Actionscript title?

It's just normal code... stick it on a button/frame whatever you want.
Closed Thread

Tags
making, buttons, seperateswfs, work, main, movie

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
How Do These Buttons Work !!!!??? ajr901 Starting Out 2 Jun 16th, 2008 12:14
accessing variables and actionscript in externally loaded Swf from main movie balaakrs Flash & Multimedia Forum 4 Sep 8th, 2007 17:19
Movieclip actionscript to move to main movie nutbolt Flash & Multimedia Forum 3 Apr 30th, 2007 16:58
Form loaded into main movie doesn't work papalazarou78 Flash & Multimedia Forum 4 Apr 3rd, 2007 18:57
movie clips won't act as buttons huminuh83 Flash & Multimedia Forum 1 Feb 13th, 2007 16:25


All times are GMT. The time now is 07:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43