Logo
Products
Planisphere
Constellation Editor
Dir2Mht
doc-xZQ
Tutorials
VB & OpenGL
Other VB stuff
Other
Donation
Contact

 

doc-xZQ


[Česky]

Introduction

Due to safety reasons the Flash Projector since version MX has some restrictions in launching of external executable files (command FScommand/exec). These applications must be placed in "fscommand" folder now. This folder itself must be in the same location as the Flash movie.

Moreover, really unpleasant seems restriction, when any special characters in the file title are rejected. Such characters were handy for launching of external applications with parameters. Such method is now almost impossible.

There are two official recommendations on Flash support pages how to solve this. The first one is to execute external batch file, where aditional parameters can be specified. The second solution is to use third-party utility JStart by FlashJester. Unfortunately, both these methods has their "but".

In the first case, a black DOS window appears for a while, which is little bit annoying. The second solution isn't free and, additionaly, can't be used for launching of applications, which title is dynamically generated (via Action Script).

doc-xZQ

Fortunately, there is the third solution now, doc-xZQ. It is handy utility, which can launch a document (its title is encrypted into utility's title) in default application, for example .pdf file in Adobe Reader. As written in C++, it doesn't require any additional libraries or supporting files.

As launching of files in different folders cannot be avoided in reality, but, on the other hand, due to Flash restrictions only alphanumeric chars, underscore and period are allowed, next codes are used in these situations instead:

xu ... (..) one level up
xd ... (\) one level down
xe ... (.) separation of document title and its extension

For example, if it is necessary to launch file test.pdf in PDF folder placed at the same folder as given Flash movie, utility doc-xZQ should be renamed to xuxdpdfxdtestxepdf.exe and then placed into FSCOMMAND folder.

Final structure should look as follows:

.
...Flash_Movie.exe
...PDF
......test.pdf
...FSCOMMAND
......xuxdpdfxdtestxepdf.exe

Of course, the same file title must be used in Flash movie also.

Comparision

+ no black window as in case of batch files
+ dynamically generated file titles can be used without limits
+ free of charge
- in document's titles any combinations of "xu", "xd" and "xe" should be avoided

Download

Donation

Although this program is freeware, if you like it, you can support its next development by sending some money (~1-5 $). Or you can also send me a real, snailmail tourist postcard from where you live!

Thank You in advance.

History

v1.0 (February '07)

  • Initial version
 

OpenGL

astronomy.cz
CESNET

 
Copyright © 2003-2007, Jan Tosovsky