0
votes

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?

1

1 Answers

1
votes

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.