Hi all,
I got an strange error...
I make some text change through AS3 on my app.
When i test on IE, i see no change at all.
When i test on FireFox, i see the changes. But if i reload the page i
get this error on the browser:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at
thethaichef/rLoaded()[K:\PROJECTS\Personal\thethaichef\src\thethaichef.mxml:75]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
seems it finds an error on the rLoaded function (that starts when an XML
is loaded), when i asign some text to the MXML:
private function rLoaded(event:Event) : void{
var rXML:XML = new XML();
rXML = XML(event.target.data);
currentState="recipe";
rdata_title.title=rXML.info.thainame;
rdata_by.text='by '+rXML.info.author.name;
}
does anyone knows what i'm doing wrong?
thnx a lot!