hi there,
i know there have been a lot of posts about this topic, but i didn't
find any information related to the case i'm currently dealing with,
and the deadline for the job is pretty soon, so please forgive me, if
this has been discussed before:
i have implemented a flash movie (1 file), that should run offline as
a standalone-app/projector from cd (Windows only). the contents get
loaded dynamically using xml-files. the app contains a movieclip
(box_mc) that contains a textfield (text_tf) showing html-text
provided by the xml-files.
in the text displayed inside text_tf, i want to show some links,
opening .wmv- and .exe-files. for the links, i'm using something like
this in the xml:
<?xml version="1.0" encoding="UTF-8"?>
<text>
<![CDATA[...<a href="asfunction:openExe(path/to/exe-
file.exe);"><u>link text</u></a>...]]>
</text>
inside box_mc i implemented the following function:
public function openExe(path:String):Void
{
trace("works");
fscommand("exec", path);
}
unfortunately, when i click the link, the function doesn't get
called. does anyone see/know what i am doing wrong?
thanks in advance!
best regards,
oliver
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com