Oliver Quas schrieb:

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?
scope is your fault:

<![CDATA[...<a href="asfunction:openExe(path/to/exe- file.exe);"><u>link text</u></a>...]]>

should be:

.. href="asfunction:_pathtoyourfunction.openExe( ...


micha
_______________________________________________
[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

Reply via email to