Hi Carlos, Thanks for your input. This might be a very basic question as my knowledge of flash is very limited, but here goes: I now have a script that is being executed onload, but I'm trying to set the value of the text field for the url, but it is not changing. The object that has the url in it is: _level0.instance1.connector.uri.label. This is according to my flash debugger when I do 'List Objects'. When I use the following code:
_level0.instance1.connector.uri.label = 'myurl'; The ap loads and there is nothing in the text field. Am I doing something wrong or is there a better way to set this value? Thanks, Chris On 7/11/07, Storm <[EMAIL PROTECTED]> wrote:
Hi Chirstopher, let's see if i can be of any help here. 1) you can pass a query string parameter. if it's, say server=yourserverstring then you can access it form actionscript with _root.server 2) just move the code in the connection button handler to a method you call whenever you want (at the end of onLoad or whatever). Cheers Carlos On 7/11/07, Christopher Gilliard <[EMAIL PROTECTED]> wrote: > Hi Red5, > > I'm trying to modify simpleBroadcaster/simpleSubscriber to do the > following: > > 1.) Allow for the default rtmp address to be passed in as a parameter > (not sure what kind of parameter, it can be an embed parameter from the html > dom object, or it can be a query string parameter (if that's even possible). > > > 2.) To connect to the red5 server onload without clicking the connect > button. > > Any suggestions on how to do this or where to start reading will be > greatly appreciated. > > Thanks, > Chris Gilliard > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > -- ------------------------------------------------------------------- If a man speaks in a forest and his wife is not there, is he still wrong? _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
