Hello list - 

Cannot sign up to "bugs.powerflasher.com/jira" - Captcha seems to be having 
problems. tried using Firefox / Chrome and Safary ( and on PC too ) - could not 
sign up to submit bug. Contacted the FDT team, but no reply yet... 

anyway thought i'd post it here - in case someone from powerflasher sees it:

Bug: AIR not compiling when using file.extension - FDT 4.0 Pro Milestone 4 - ( 
4.0.0.1140 ):

ERROR /Users/karim/Documents/workspace/FileTest/src/FileTestMain.as[12:13]:
Access of possibly undefined property extension through a reference with static 
type flash.filesystem:File.

Code:
<code>
package {
        import flash.filesystem.File;
        import flash.display.Sprite;

        /**
         * @author karim
         */
        public class FileTestMain extends Sprite {
                public function FileTestMain() {
                        
                        var f : File = new File( 
File.desktopDirectory.nativePath );
                        trace( f.extension ) 
                }
        }
}
</code>



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to