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.
|
|
|
|
|
![]() |
||
Making buttons in seperate.swf's work in main movie
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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. |
|
|
|
|||
|
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); } |
|
|||
|
What action script itle would that fall under, eg: Set Variables, FSCommand, etc?
|
![]() |
| Tags |
| making, buttons, seperateswfs, work, main, movie |
| Thread Tools | |
|
|
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 |