Thanks for your reply’s!
Tsafi; I used to import PSD into flash and then export the fla to swf, I guess it turned them into jpg automatically since I never had problem showing them.
jpeg is good but when you want transparent backgrounds is no alternative, so I guess png is the best choice then.
I guess i have to explain myself a little more, I will use this file
( http://www.flashden.net/item/ng-scroller-2-xml/16703 ) in my flash so its not 100% images, but its the same principe.
Let’s say a user with 600X480 is viewing the flash which will be scaled by the browser, the images might be 300px high then (which is the size i saved them as in photoshop). Then a user with 2048X1536 is viewing the same flash, I’m not a star when it comes to math but the height will be a little bigger since both the height and the width is bigger, so lets say the images are scaled to 430px then they will become jagged.
I hope i made myself clear, sure its not a big change in height for the images but still big enough to make bitmaps showing pixels
I don’t like to use this method since I prepare my image first in Photoshop this way I have more control on the resolution size image arc` also if you don’t merge all the layer on your Psd then flash will export all the layer in to your FLA its not necessary since you going to publise only 1 image in you gallery.
Look to me that you want your pic ` to be show on any resolution with out scaling meaning you want you image to be fix on stage on matter what resolution you have .
You need to do the same thing as you are doing when your stage resize on you pic`”resizeHandler”
See function like this for example AS3
var w:uint = pic_mc.stage.stageWidth;
var h:uint = pic _mc.stage.stageHeight;
pic_mc.x = w / 2;
pic_mc .y= h / 2;
pic_mc.x = Math.max(800, w - pic_mc.width / 2);
pic_mc.y = Math.max(600, h - pic_mc.height / 2);
You can also add some twenn effect to make smooth
if you want to scaled with the stage according with the resolution to
100% you need to give it parameter as is with the stage scale
Posted about 1 month ago