Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

imported pngs can be compressed, what about pngs added externally?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MikeTheVike1 - 30 Jun 2008 23:05 GMT
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!
urami_ - 01 Jul 2008 14:42 GMT
> 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 ?

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 15:30 GMT
[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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.