简体   繁体   中英

How to pass parameters to a Flash projector (Windows)?

Is there any way to pass command line parameters to a Flash projector in Windows? I have another application (in this case, an installer) that will need to communicate to a Flash projector (the same way flashvars work). I wasn't able to find any information online (everything seems to be focused on using FSCommand parameters for executing future projectors, which doesn't help me with calling the original one)...

just a note on this. you can pass parameters to the standalone flash player. i created a .bat file like this, which works like a charm:

flashplayer_10_sa.exe aFlashFile.swf?param=value?otherparam=othervalue

you can download the standalon player from adobe: http://www.adobe.com/support/flashplayer/downloads.html

如果您在HTTP服务器后面提供文件,请说http://domain.com/main.swf ,您可以从投影机中选择打开URL的选项,并将flashvars与URL一起传递,如下所示:

http://domain.com/main.swf?var1=value1&var2=value2

I'm fairly sure that standard Flash projectors can not do this. However, other third party wrapper's such as MDM's Zinc or NorthCode's SWFStudio may offer that functionality.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM