views:

502

answers:

2

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)...

+1  A: 

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.

Branden Hall
Bummer -- but thanks!
Jeffrey Berthiaume
+1  A: 

If you have the file served behind an HTTP server, let's say http://domain.com/main.swf, you can choose the option Open URL from the projector and pass the flashvars along with the URL like so:

http://domain.com/main.swf?var1=value1&var2=value2
João
I wish that had been a possibility. The project I was working on was for a CD-ROM installer for enterprise customers, so we couldn't assume they had internet connectivity...
Jeffrey Berthiaume
You could also do something like:file:///C/Users/User/Desktop/main.swfProbably would have also worked. :)
João