Hi,

Though it's way too late to post this kind of message since Flash CS3 is
pretty much out but anyways. Try to initialize this chunk of code in the
alpha preview:

package {
        
        import flash.display.Sprite;
        import mx.controls.TextInput;
        
        public class Test extends Sprite {
                
                public function Test() {
                        var vTextInput:TextInput = new TextInput();
                }
        }
}

You'll likely get this:

**Error** D:\{path}\Test.as : Line 9, Column 19 : [Compiler] Error
#1046: Type was not found or was not a compile-time constant: TextInput.
                        var vTextInput:TextInput = new TextInput();
**Error** D:\{path}\Test.as : Line 9, Column 35 : [Compiler] Error
#1180: Call to a possibly undefined method TextInput.
                        var vTextInput:TextInput = new TextInput();
**Error** D:\{path}\Test.as : Line 4, Column 21 : [Compiler] Error
#1172: Definition mx.controls:TextInput could not be found.
        import mx.controls.TextInput;
ReferenceError: Error #1065: Variable
Timeline0_d5d529a7787d74f90f259f8632b8b7 is not defined.

Flex 2 compiles this with no troubles. It turns out that for some
unknown reason the alpha release can't read the mx.controls.* package.

Cheers,
Petro

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to