1 Reply Latest reply on Feb 22, 2010 10:31 PM by kglad

    Calling a function in flash on an HTML page

    Eugelai84

      Hi,

       

      I need help regarding how to call a flash function from an HTML page. The idea is to have a link on my page (HTML link) that once clicked displays a movieclip in flash. I know i have to use the asfunction in HTML. So far I have just created my swf file with a function called showInfo. I've embedded the flash into an HTML page. I have then added a link on the HTML page as follows:

       

      <a href="asfunction:showInfo">Link name</a>

       

      but when I click it says:

       

      "Firefox doesn't know how to open this address, because the protocol (asfunction) isn't associated with any program."

       

      is there a piece of code I need to write in flash for this to work?

       

      Thanks

       

      Eugene