cometta
cometta

Reputation: 35739

adobe air swf file error in browser

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?

Upvotes: 0

Views: 455

Answers (1)

sigvardsen
sigvardsen

Reputation: 1531

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.

Upvotes: 1

Related Questions