Place the mc to load your SWF into at (0,0) on the main SWF's Stage. Thats to ensure the coordinate system matches. Then on the resize event for the main stage, manipulate your mcs with loaded content. You'll find it to be pretty easy.
- e.d. On 8/18/06, James <[EMAIL PROTECTED]> wrote:
Here is the situation more broken down: I have a flash movie we can call container.fla. When it is resized from its original size, it change various object sizes and positions and it is set to "noScale" from the Stage object. container.fla loads a movieclip I am also working on that we can call content.fla. I want content.fla to also be on "noScale" mode and change various object sizes and positions. However, this is where the problem begins. Since the Stage object refers to container.fla's Stage object, I cannot set content.fla to be on "noScale" mode when it is loaded in container.fla. In addition, when I change various sizes and positions, they are not on the same coordinate system that it was when it wasn't loaded from container.fla. So when container.swf is resized and changes object sizes and positions including the loaded clip content.swf, content.swf becomes very messed up. You can imagine it as a site made in flash that loads each page as seperate clip. When the flash site is resized, I want the containing flash clip pages to also be able to have their own resizing features in noScale mode instead of it all being scaled proportionally to fit its new size. On 8/18/06, m-e- <[EMAIL PROTECTED]> wrote: > > "James" <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > >I have tried everything I can think of and more to find a way > >to stretch a > > loaded clip but not have it scaled. I have scaling features > > for the main > > container flash movie, and I want to change the width and > > height of a loaded > > movieclip when the main movie is resized. However, I don't > > want the loaded > > clip to be scaled. For some genius reason, when a clip is > > loaded, the Stage > > class becomes the Stage class of the containing movie, thus it > > is impossible > > to have scaling features for the loaded clip. Is there some > > way around this > > utter chaos? > > I don't really understand what you want to do, but there's only > one Stage per flash player instance. So Stage is not a class, > but an object. > If you have a master clip, doing some positionning and scaling > operations on Stage onResize event, you can add other operations > to control the scale and position of any loaded clip. Or, you > can also make the loaded clip listen the onResize event, and do > itself its positionning and scaling. > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com