Results 1 to 2 of 2

Thread: javascript into actionscript

  1. #1
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript into actionscript

    Hi all,

    I read some threads about how to insert a javascript into actionscript
    and I can't realy find a solution.

    anybody could be so kind to show me how to insert the script below into a .SWF actionscript



    <script language="javascript" src="scripts/player.js"></script>

    <a href="javascriptlayer('player.php',500,560,'menubar=no,scrollbars=no,statusbar=no')">
    <img src="player.gif" width="299" height="184" border="0"></a>


    thanks for your help.

  2. #2
    Join Date
    Oct 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    maybe have it render it as html (i think is like "textHTML" something or other like that), then put your code in the render as html part of the actionscript

    btw you should put the forum's code status around code like that so it doesnt turn stuff into smileys

Bookmarks

Posting Permissions

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