LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-09-2007, 11:54 AM
YoS YoS is offline
Registered User
 
Join Date: Jun 2007
Posts: 53
Rep Power: 6
YoS is on a distinguished road
resizing dynamically loaded swf

Hi folks,

Im trying to load a SWF file dynamically, and resize it to fit my window. This is what im doing:
Code:
var mcLoader:MovieClipLoader;
mcLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcContainer = this.createEmptyMovieClip("mcContainer", this.getNextHighestDepth());
mcLoader.loadClip( url, mcContainer );

private function onLoadInit (mc:MovieClip)
{
    //here i cahnge the x,y, width, height of mc, but to no avail
}
what am i missing? the changes to these params seem to enlarge the loaded SWF in a crazy fashion. if i try to load a jpg, it works perfectly.
thanks for your help!
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loaded swf files lose functionality in main swf movie paulnmorrison General Flash 2 12-11-2007 07:09 PM
Access objects loaded from second swf nathanreed ActionScript 3.0 7 06-26-2007 01:31 AM
Storing dynamically loaded images/text Leao General Flash 1 09-28-2006 01:28 AM
resizing loaded SWF files with off stage items drepod Flash MX ActionScript 9 11-02-2005 01:53 PM
preloading dynamically loaded swf files blind-man Flash MX ActionScript 1 09-08-2004 08:46 AM




All times are GMT. The time now is 12:38 AM.