I tried using var params: Object = ((this.stage.loaderInfo) as LoaderInfo).parameters;
to get the parameters, but it returns an Object with no properties. That LoaderInfo will give me the correct URL without the parameters though if I use LoaderInfo.url. I'm using the request: http://localhost/foo.swf?start=foobar. params.hasOwnProperty("start") returns nothing, and using a for loop shows that "params" has no properties. How do I receive the start/foobar pair in my code? I would much prefer to not use FlashVars due to our setup.
相关问题
- garbage collection best practices
- How to load flex swf from flash?
- HTML <form> tag causing Rails form to submit
- How can I send parameters for ASP.NET webservice
- FlashDevelop Haxe (Flash) debugger
相关文章
- C#中 public virtual string Category { get; }这么写会报错:
- How to download image using rest template?
- Get size of Bitmap Android [duplicate]
- Are there any benefits when using final in AS3?
- Getting number of fields in a database with an SQL
- Trace on Chrome/Browser console
- Getting all items of QComboBox - PyQt4 (Python)
- Pre-fill Woocommerce checkout fields with Url vari
Usually you must embed the SWF into an HTML document, then access the url string as you describe.