right well i have a new web page i'm making and all the parts are externally loaded .swf files. i'm going to just use one part of it as an example because this is going to get rather complicated... for this example we'll use something i'm doing for the graphic section.
1) the .swf file everything is loaded into is named "parent.swf"
2) the section is loaded into an empty movie clip on the stage called "empty"
3) the .swf file loaded in this case is called "graphic.swf"
4) in graphic.swf there are empty movie clips called "contentg" and "emptygm". "emptygm" is where the graphic menu ("gm.swf") is loaded into. "contentg" is where the piece (this time a .swf called "techno_eve.swf") will be loaded.
5) in gm.swf i have a button with this code:
Code:
on (release){ _root.contentg.unloadMovie("contentg"); _root.contentg.createEmptyMovieClip("contentg",1); _root.contentg.loadMovie("techno_eve.swf","contentg"); container._x = 0 ; container._y = 0 ; }
ok that's the really complicated stuff. if you're with me so far, great! now the problem is that when i push the button nothing happens. but i can't figure out what i'm doing wrong with my code. do i have to make the root:
Code:
_root.empty.contentg
? or am i missing something entirely? i know i can have one .swf control another because on the parent level i have a menu loaded as an external .swf. what am i missing?