What type of error are you getting, applicationComplete events are only dispached by application types or its subclasses like windowed application, for Mobiole applications, ViewNavigatorApplication and also other Top level Application containers also dispatch applicationComplete events. What are you trying to achieve? every control dispatches creation complete, you can use that instead if you need to call some sort of logic when the control has just been created.
This is some of the code. get this error:
"Cannot resolve attribute 'applicationComplete' for component type spark.components.View."
<?xml version="1.0" encoding="utf-8"?>
import be.aboutme.nativeExtensions.udp.UDPSocket; private var udpSocket:UDPSocket;
protected function applicationCompleteHandler(event:FlexEvent):void
udpSocket = new UDPSocket();
protected function udpDataHandler(event:DatagramSocketDataEvent):void
var Value:String = event.data.readUTFBytes(event.data.bytesAvailable);
NewValue = Value;
chartData.source[chartIndex] = NewValue;
NewValue = 0;
Cannot resolve attribute 'applicationComplete' for component type spark.components.View. mean there is no such event handler (applicationComplete) for view components, use creationComplete instead if you want the code to be called when the component gets created initially.