Image.pngToSwfTransparentAsync() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Image Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Image.pngToSwfTransparentAsync(inputPngFilePath:String):Void

Parameters
inputPngFilePath:String - Location of PNG file to be converted.

Returns
Nothing

Description
Converts a PNG image to a SWF file of the same name. eg. "snapshot.png" will be converted to "snapshot.swf" with preserved Transparency from the PNG File.

Notes
The PNG file must be an 8bit (256 colors) PNG file for this to work properly.

Example Code
// Example Needed

mdm.Image Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page