All query arguments are stored in the "parameters"-object of the stage's LoaderInfo [1].

---
<canvas debug="true" >
   <handler name="oninit" ><![CDATA[
       var params:Object = LFCApplication.stage.loaderInfo.parameters;
       for (var key:String in params) {
           Debug.write(key, params[key]);
       }
   ]]></handler>
</canvas>
---

[1] http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/LoaderInfo.html

Does anyone know what the API is in as3 to access the query args  at runtime
of the currently running app?
In swf8, they just appear magically in the runtime as globals. However, in
swf9, I don't know
how to write code to access them. Is there a new API for doing this?




--
Henry Minsky
Software Architect
hminsky at laszlosystems.com 
<http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>

Reply via email to