Linking in the HTML Editor
Untitled Document

You may link to a URL, email address, and even a function from the html editor.

Linking to a URL

  1. Next to the "LINK" button, enter an absolute or relative path to the URL you wish to link to. All absolute paths must be prefixed with http://
  2. Select the text you wish to hyperlink and press "LINK".

Linking to an Email Address

  1. Next to the "LINK" button, enter an email address you wish to link to.
  2. Select the text you wish to hyperlink and press "LINK EMAIL".

Linking to a Function

First, you will need to add the following code to the _root of your scene to respond to the function hyperlink.

function processLink(Param) {
var splitCharacter= ","
p = Param.split(splitCharacter);
}


Using the example above, a user may enter comma delimited parameters (param1,param2,param3) that are sent to the _root.processLink function. From there you can do as you please with the parameters to call other functions, goto frames, etc. You would access each parameter from the "p" array: p[0], p[1], p[2].
Thanks to Charles Bergeman - More to the Story, for adding this functionality to the HTML editor.

Now from the html editor enter the parameters that you wish to send to your processLionk function.

  1. Next to the "LINK" button, enter the parameters you wish to send.
  2. Select the text you wish to hyperlink and press "LINK FLASH".