Quantcast
Viewing all articles
Browse latest Browse all 2010

Embed JPG,PNG image with compression

Hello Flash community.

 

 

I'm using ADOBE AIR 17 and I have problem with embed image with compression.

 

 

my code is here:

[Embed(mime Type="image/jpeg", source="test.jpg", compression="true", quality="80")] and compiler has problem

Error message:

Error: Could not find definition flash.utils.Bitmap referenced by embedded source C:\test.jpg.

Error: The definition of base class Bitmap was not found.

 

 

when I embed only this, working correctly [Embed(source="test.jpg")]

 

 

Thank you for any ideas.


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>