Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

flash media server and flex3

mousumi_78
Level 1
Level 1
I want to connect to flash media server for a specific flv
file.. I am using rtmp://localhost/vod/sample. But is shows error
"Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
flash.net.NetConnection was unable to invoke callback onBWDone.
error=ReferenceError: Error #1069: Property onBWDone not found on
flash.net.NetConnection and there is no default value."





Code:

// Initialize net stream

nc = new NetConnection();



nc.addEventListener(NetStatusEvent.NET_STATUS,netS
tatusHandler);

nc.addEventListener(SecurityErrorEvent.SECURITY_ER ROR,
securityErrorHandler);



nc.connect ("rtmp://localhost/vod/sample");

....



ns = new NetStream(nc);


ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR,asyncErrorHandler);



When I use nc.connect(null); local flv resided in application
folder is taken and playing properly.



I have installed coldfusion in localhost and wamp in local
host ..port is different..80 and 81.



For flash media server i have kept default port i.e.
1935/1111.



Flash media server is installed in windows and in same mc I
am using.. If I run a vod applicaiton from flash media server its
working properly.



I am using flex 3.



Any help is appreciated.
0 Replies