
Signature
Best Regards
Urami
--
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
[q][i]Originally posted by: [b][b]Newsgroup User[/b][/b][/i]
MikeTheVike1 wrote:
> I love how I can import a PNG file with transparency and then give it jpeg
> compression. it keeps the transparency, and the file size is a lot smaller.
> What are my options when it comes to importing external PNGs with transparency?
> Will I have to put each one in its on swf and then load the swf instead? I
> would like to avoid this step if possible, thanks!
You can import png directly and maintain transparency.
It would be actually much quicker to try than post and wait for reply, isn't ?
--
Best Regards
Urami
--
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
[/q]
maybe I didn't word my post correctly...When I import a png to the library, i
can give it jpg compression and maintain the transparency. I want to load png
files from an external source at runtime, using the Loader class. Is there a
way to give them the jpg compression doing it this way? If not, is my only
option to put each png in its own swf and compress it, then load the swf's at
runtime?
urami_ - 01 Jul 2008 16:03 GMT
> maybe I didn't word my post correctly...When I import a png to the library, i
> can give it jpg compression and maintain the transparency. I want to load png
> files from an external source at runtime, using the Loader class. Is there a
> way to give them the jpg compression doing it this way?
Only if places in SWF because flash can't resample file on the run. Even if you
try to convert it to JPG using server side, you will still have to start with PNG
so it's much easier to just import to Flash and export as SWF.

Signature
Best Regards
Urami
--
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
MikeTheVike1 - 01 Jul 2008 16:57 GMT