-
1. Re: Can size of images in .fla file be edited?
kglad Jan 19, 2010 2:46 PM (in response to Angela French)yes.
if you want to scale an entire flash application, the easiest way is to load that app into another swf (that's sized correctly) and then re-size the loaded app.
-
2. Re: Can size of images in .fla file be edited?
Angela French Jan 19, 2010 3:03 PM (in response to kglad)Well, I've never done anything in Flash before, so I'm taking a stab at what you mean. So, the native file extension is .fla and when it is published (?) the file is a .swf file. Is that correct? So I'm guessing you are telling me that when I publishe the file there is a way to set the size?
-
3. Re: Can size of images in .fla file be edited?
Ned Murphy Jan 19, 2010 3:04 PM (in response to Angela French)Your first inclination could also work for you... just try changing the width/height parameters in the html embedding code. If the Flash doesn't rely heavily on bitmaps (imported images), it should scale cleanly.
-
4. Re: Can size of images in .fla file be edited?
Angela French Jan 19, 2010 3:24 PM (in response to Ned Murphy)yes, that ended up working afterall. It's a little bit degraded, but it might work. I'd be interested in exploring the first option though if anyone can provide some steps on how to do it.
-
5. Re: Can size of images in .fla file be edited?
kglad Jan 19, 2010 3:31 PM (in response to Angela French)is your app as2 or as3?
-
6. Re: Can size of images in .fla file be edited?
Angela French Jan 19, 2010 3:33 PM (in response to kglad)don't know what you mean.
-
7. Re: Can size of images in .fla file be edited?
kglad Jan 19, 2010 3:38 PM (in response to Angela French)then use as3.
create a new fla with publish settings that use as3 and with stage size the dimensions you want. then use:
var ldr:Loader = new Loader()
var urlR:URLRequest("yourpreviousswf.swf"); // change this
ldr.contentLoaderInfo(Event.COMPLETE,loadcompleteF);
ldr.load(urlR);
function loadcompleteF(e:Event){
ldr.width=stage.stageWidth;
ldr.height=stage.stageHeidht;
addChild(ldr);
}
// if you need to anti-alias the loaded swf, more coding will be needed.
-
8. Re: Can size of images in .fla file be edited?
waterdad568 Jan 19, 2010 5:11 PM (in response to kglad)line 3 of function should be:
ldr.height=stage.stageHeight;



