You can access it thru the loaderInfo
(http://livedocs.adobe.com/flex/3/langref/flash/display/LoaderInfo.html)
var serverURL:String;
var port:String;
public function mySwf{
serverURL = String(loaderInfo.parameters['serverURL']);
port = String(loaderInfo.parameters['port']);
}
- Ivo
________________________________
From: v.cekvenich <[email protected]>
To: [email protected]
Sent: Friday, January 2, 2009 4:11:51 PM
Subject: [flexcoders] how to receive params from html .... in flash
http://yakovfain. javadevelopersjo urnal.com/ passing_paramete rs_to_flex_
that_works. htm
I can do this an flex.
But... what if I am doing .as project, not flex.
How do I receive an argument?
tia,
.V