1 Reply Latest reply on Jun 25, 2007 1:10 PM by SymTsb

    help w/ action script code?

      hello -

      i'm trying to insert some simple javascript into a flash file to test how it works.
      within the html file, i have this code:

      <script language="JavaScript">
      function mycallback(value) {
      alert("hello world! - " + value);

      what should my actionscript code look like in my flash file?
      currently i have a link called - <a href="" onClick="mycallback('creative'); return false;">
      i want to create a button in flash w/ the code above.

      here is just a html version of how i want it to work: