Return to Snippet

Revision: 3407
at July 20, 2007 07:38 by Bonky


Initial Code
function myFunction(param){
  argumentArray = new Array;
  argumentArray = param.split(",");
  for (i=0; i< argumentArray.length; ++i){
    trace("Function argument " + i + " = " + argumentArray[i]);
  }
}

Initial URL
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15639&sliceId=2

Initial Description
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the  tag in an HTML text box.

Initial Title
Using asfunction to trigger actionscript from a URL link.

Initial Tags
url, actionscript, link, function

Initial Language
ActionScript