A Quick tip, was stuck today to load an local image / swf inside AIR at MAC OS.
The below is the solution:
var filenotion:String =”;
if(Capabilities.os.search(“Mac”) >= 0) filenotion = “file://”;
Image.source= filenotion +imgFileURI;
A Quick tip, was stuck today to load an local image / swf inside AIR at MAC OS.
The below is the solution:
var filenotion:String =”;
if(Capabilities.os.search(“Mac”) >= 0) filenotion = “file://”;
Image.source= filenotion +imgFileURI;
This entry was posted on Thursday, July 2nd, 2009 at 2:21 pm and is filed under Flex. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
| Max on Collision Detection AS3 U… | |
| Tomas Lehuta on Licensing Flex / AIR Appl… | |
| Shweta Shrivastava on About | |
| doez on using Arguments in addEve… | |
| Marcus on adding and removing Enterframe… |
|
|
| FlexAtBeach |
| Visit this group |
Theme Contempt by Vault9.
Blog at WordPress.com.
July 3, 2009 at 10:53 am |
[...] A Quick tip, was stuck today to load an local image / swf inside AIR at MAC OS. Read the original: Loading Image / Swf in MAC, AIR [...]
July 9, 2009 at 7:59 pm |
[...] http://nsdevaraj.wordpress.com/2009/07/02/loading-image-swf-in-mac-air/Loading Image / Swf in MAC, AIR. A Quick tip, was stuck today to load an local image / swf inside AIR at MAC OS. The below is the solution: var filenotion:String =”; if(Capabilities.os.search(”Mac”) >= 0) filenotion = “file://”; … Filed under Uncategorized at 2:44 am [...]