mubasharsajjad
05-15-2009, 07:47 AM
I am using Flash CS4 and adobeAIRInstaller version 1.5.1.8210 installed on machine.
I have imported the following libraries but despite that when i compile application it shows errors
import flash.filesystem.File;
import flash.filesystem.FileStream;
import flash.filesystem.FileMode;
1046: Type was not found or was not a compile-time constant: File.
1120: Access of undefined property File.
1120: Access of undefined property File.
1046: Type was not found or was not a compile-time constant: FileStream.
1120: Access of undefined property File.
1180: Call to a possibly undefined method FileStream.
1120: Access of undefined property FileMode.
1172: Definition flash.filesystem:File could not be found.
1172: Definition flash.filesystem:FileStream could not be found.
1172: Definition flash.filesystem:FileMode could not be found.
what is the reason and solution for that
I have imported the following libraries but despite that when i compile application it shows errors
import flash.filesystem.File;
import flash.filesystem.FileStream;
import flash.filesystem.FileMode;
1046: Type was not found or was not a compile-time constant: File.
1120: Access of undefined property File.
1120: Access of undefined property File.
1046: Type was not found or was not a compile-time constant: FileStream.
1120: Access of undefined property File.
1180: Call to a possibly undefined method FileStream.
1120: Access of undefined property FileMode.
1172: Definition flash.filesystem:File could not be found.
1172: Definition flash.filesystem:FileStream could not be found.
1172: Definition flash.filesystem:FileMode could not be found.
what is the reason and solution for that