McAfee SECURE sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams

Help  >   HTML EDITION  >   FAQ  >   How to create hyperlinks

How to create hyperlinks

In order to add a link to a page in HTML Edition, you need to create a SWF file with the contents of your webpage and a flash button (it may be transparent) using the following ActionScript code:

on( press ){
     getURL( "http://www.site.com", "_blank" );
}

In order create a link to another page of the book, you need to use the following code for the button:

on( press ){
     _root.application._book.flipGotoPage( targetPageNumber );
}

where targetPageNumber is the number of the destination page (numbers begin with 1).