brixel
04-07-2008, 01:57 PM
Hey guys,
Not sure why this is happening. I've assigned a simple method to work with some objects on the stage when the application fires it's updateComplete event, but it keeps firing in an end-less loop. Any ideas?
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" updateComplete="InitApplication()">
<mx:Script>
<![CDATA[
private function InitApplication():void
{
// Code here...
}
]]>
</mx:Script>
Not sure why this is happening. I've assigned a simple method to work with some objects on the stage when the application fires it's updateComplete event, but it keeps firing in an end-less loop. Any ideas?
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" updateComplete="InitApplication()">
<mx:Script>
<![CDATA[
private function InitApplication():void
{
// Code here...
}
]]>
</mx:Script>