Hey Gurus, I am builidng a player in Flash MX 2004 which will show externally loaded SWFs to the user. One SWF at a time. The user is going to have back-next type navigation controls. Thats all. Simple.
But I am facing a wierd problem in loading external SWFs. I want to be able to resize the external SWFs into a fixed area while maintaining the aspect ratio of the loaded SWF. This action is happening unreliably for me. In some SWFs, my solution is working fine and in some it is not. Result is that I am sometimes getting SWFs which are smaller in size than what I want (as in they dont fill up whole viewable area even when they can). Note that this is happening only in some SWFs and not all of them. I am tempted to think that this might be because some SWFs are somehow different than the SWFs which work fine. But I am clueless what this difference could be. All external SWFs have only one frame. And there framerate is also same. I am resizing all SWFs in loadClip.onLoadInit. The resizing code tries to fit the loaded SWF into a fixed area while maintaining its aspect ratio. I have tried using MovieClip.loadClip and also the Loader component that comes with Flash MX 2004. Is there anything which I am missing out here, or could there be any attribute in the external SWF which might make it behave differently than others when resized. Kindly help me. This issue is really giving me jerks now. Thanks! Regards, Kapil Mohan _______________________________________________ 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