A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: javacript in flash?? issit possible?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    27
    issit possible to include javascript in flash??
    pls tell mi!! thanx!!

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    44

    You can use JavaScript in this way:

    In HTML where swf is embedded, write java script function:
    Code:
    <HTML>
    <HEAD>
    <TITLE>Test</TITLE>
    <script language="JavaScript">
    <!--
    function myFunction(){
         }
     //-->
    </script>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    
    </BODY>
    </HTML>

    and in Flash use (in frame, or in button):

    Code:
    getURL("JavaScript: myFunction()")
    and that`s all my friend...:-)

    ZeroIQ


  3. #3
    FK Official Mechanic
    Trust your mechanic

    Join Date
    Jul 2001
    Posts
    119

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center