This content has been marked as final.
Show 5 replies
-
1. Re: sending a mc from 1 swf to another and set as bg?
kglad Jan 3, 2007 3:24 PM (in response to JayCeeBE)use loadMove() to load your bg swf (make sure it's large enough to cover your stage and use swapDepths() to ensure it's below everything else. -
2. Re: sending a mc from 1 swf to another and set as bg?
JayCeeBE Jan 4, 2007 12:20 AM (in response to kglad)I can't do this because i also have content in my page.swf which can not be stretched. I use aligners to stretch the bg to fullscreen (fullscreen in this case means my entire explorer/fox page) so the start size of my bg doesn't matter. These aligners also change the size of my bg when a user changes the size of his explorer and keeps the content centerd.
But those aligners are located in my framework.swf so i need a way to send only the background movieclip to the framework.swf and then set it as background.
The sending part isn't the problem, i can send the movieclip to a function in the framework, then i need to set it as the background but i can't seem to swap it's depth with a movieclip of the framework. I've tried using duplicate movie as well but it seems to duplicate it in my page swf so that's not working either. -
3. Re: sending a mc from 1 swf to another and set as bg?
kglad Jan 4, 2007 9:46 AM (in response to JayCeeBE)i don't understand what you're trying to do. -
4. Re: sending a mc from 1 swf to another and set as bg?
JayCeeBE Jan 5, 2007 12:25 AM (in response to kglad)Basicly i want to send a movieclip from 1 swf to another and set it as the bg of my site so i would need a way to replace backgroundReplacement_mc in the framework with a bg_mc coming from the library in page.swf. -
5. Re: sending a mc from 1 swf to another and set as bg?
kglad Jan 5, 2007 7:52 AM (in response to JayCeeBE)to use a movieclip that's not instantiated (but in the library) in an external swf you need to employ library shared assets.