All, I was going to do a little proof of concept app. I created a new air project. opened up the MXML file, created an fx:script block, wanted to create a variable and use it. However, I'm getting the following error.
|1120: Access of undefined property blah.||App1.mxml||/App1/src||line 12||Flex Problem|
Here is my MXML.
<?xml version="1.0" encoding="utf-8"?>
private var blah:String;
blah = new String( );
blah = "hi there";
I'm at a loss as to why I'd be getting an Access of undefined propery blah... For grins, I did the EXACT same thing on another computer and it works just fine. There must be something about this one computer that I'm working on that is not configured correcty. Thoughts???
It looks like you have code that isn't in a function or part of a variable declaration. That's 'legal' in AS, but MXML doesn't like it.