I'm deploying my app to the web server and I have a major problem
Say I have a messaging destination called "fleet_demo" set up and broadcasting messages. Say my app is the following: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"> <mx:Consumer id="consumer" message="rtmpHandler(event.message)"/> <mx:Script> <![CDATA[ import mx.messaging.messages.IMessage; import mx.controls.Alert; private function init():void { consumer.destination = "fleet_demo"; consumer.subscribe(); } private function rtmpHandler(message:IMessage):void { Alert.show("Recieved RTMP message", "ALERT"); } ]]> </mx:Script> </mx:Application> If I deploy this to my webserver as an MXML file, it takes a bit of time to compile when loaded, but the alert windows pop up as it receives the RTMP messages. If I deploy this to my webserver as the compiled SWF file, no RTMP messages are recieved. There is no error message at all, its just as though no RTMP messages are getting received. Why is this? My real flex app is too large to compile at run-time so I need to know why apps deployed as SWF files have this problem receiving RTMP messages. Thanks

