SWF Studio Commands for Opening External File
Hello,
I am trying to open an external file (.pdf .xls .ppt) from a projector using SWF Studio v3.4.
I have read about opening using a .bat, .exe and .txt combination - but I hear that I can do it directly from the Projector (made with SWF Studio) without the need of these extras.
So to be specific, what EXACT code should I add on the button release function in order to achieve this.
Thanks in advance.
K.
can this approach be used to load swf from file within exe?
I want to include a swf within the .exe and add it as a child to my swf at runtime, so it doesn't have to appear/be within the folder that contains the projector. I.e. not "external". I've tried just adding it to the layout folder under the "files" tab, using the normal loader/url construction:
"var request:URLRequest = new URLRequest("filename.swf");
var loader:Loader = new Loader();
loader.load(request);
this.addChild(loader);"
but that didn't work, SO I found this thread and thought I'd try:
var request:URLRequest = new URLRequest(ssCore.Shell.open({path:"internal:filen ame.swf", verb:"open"}));
var loader:Loader = new Loader();
loader.load(request);
this.addChild(loader);
But I got an error when compiling the "primary" swf- "1120:Access of undefined property ssCore" and when running the exe, it just ran the "primary" swf and didn't load the target swf.
The call is being made from frame 2 of the "primary" swf timeline, and the normal syntax works fine when the target swf is just a swf in the same folder as the exe. But what I'm looking to do is "hide" the target swf within the exe.
Can do? How?