views:

114

answers:

1

Hi all,

How to get a parameter encode in the url ? for exemple, if we have an html file containning : how to get the value of a from application.java class ?

Thanks

A: 

Since Red5 is based on RTMP, there is no http request to get parameters from. Instead, you need to send the parameter from the client swf to Red5 over RTMP. Depending on what data you are passing you could either send this data as a connection parameter to the NetConnection or you could define a method on the Application class which the client will invoke on the NetConnection.

Gordon