Hello,
Sorry as i have posted flash cs3 query here but i colud not find
any solution to it.
i'm loading external swf into a main swf and it
automatically get resize according to main swf in as3 whan i ebed it
into html page.
But when i take the "FLASH PAPERS SWF" then it doesnot get resized.
for that matter i have set the loader.width and height. so now what
happens is that when i first load page then it diplays the flash
papers file in a single line like(a strip) and again if i refresh the
page then i get it resized the flash paper swf file.
How should i solve this problem.
var myLoader:Loader = new Loader();
myLoader.load(new URLRequest(e));
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
finishLoading);
function finishLoading(event:Event):void {
myLoader.height=515;
myLoader.width=760;
addChild(myLoader);
gotoAndStop(2);
}
Regards,
Hemant Garg.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---