View Full Version : FMprojector 1.2 opening pdf problem

03-05-2003, 01:56 AM
I am using FMprojector 1.2 and I grabbed this code off the flashants site:
fscommand("fas.axobj.open", "0,0,320,240,<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="Filename" value="test.avi">");
I know it is to open an avi file but I want to open the pdf outside of the flash file in acrobat reader, but this code is giving the error:
')' or ")" expected.
I really need to get this link to open the pdfs and other files outside of the flash file as it is for a cdrom that has some large files that it is unreasonable to open in the flash file.

Any Help would be great.

03-05-2003, 02:47 AM
Sorry the fscommand samples in tutorial is for illustration purpose. They may contain syntax problem. So You may download the fla samples in the tutorials to refer how it really work.

To correct the syntax , you have to add the leading SLASH(\) before the QUOTE(") in the fscommand's parameter as following:
fscommand("fas.axobj.open", "0,0,320,240,<object classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"> <param name=\"Filename\" value=\"test.avi\">");

The above fscommand open a activeX object in flash movie (Embed activeX in flash). To launch a external viewer to open an documents, you should use the following fscommand instead:
Please note the command is only supported by FMProjector V1.5.

03-05-2003, 02:07 PM
so if I understand correctly there is not way to open files outside of the flash file with version 1.2 of FMprojector.
This is not good

03-06-2003, 01:45 AM
You may purchase the upgrade ticket to get V1.5 from V1.2.
Please email your order receipt to [email protected]

03-06-2003, 02:00 AM
not my machine or my programs, any purchasing is done by the big guy, I can mention it but upgrade is not likely right now