/ Published in: ActionScript
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the tag in an HTML text box.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function myFunction(param){ argumentArray = new Array; argumentArray = param.split(","); for (i=0; i< argumentArray.length; ++i){ trace("Function argument " + i + " = " + argumentArray[i]); } }
URL: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15639&sliceId=2