R – adobe air swf file error in browser

actionscript-3airflash-cs3

my fla file setting

version: adobe air 1.0
actionscript 3.0

i able to compile without problem and when i load the swf file in browser, if my actionscript included this line "import flash.filesystem.File". My flash just show up "blank" . no error in flashlog. if i removed this line, my swf file able to run. what is wrong?

Best Answer

The flash.filesystem.File package is only available if you compile the fla to an AIR-file. You can not read and write files in browser applications.

Related Topic