A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: JavaScript using GetURL

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    3

    Smile

    I am experienced with Flash, but not with JavaScript and am trying to learn to work the two together. What I'm having trouble with is Rollover buttons that tell the window status the URL they are pointing to. Here's what I have so far:
    in a Flash button:
    On (Roll Over, Drag Over)
    Get URL ("javascript:ButtonURL('" & URL & "')")
    End On
    On (Roll Out, Drag Out)
    Get URL ("javascript:ButtonURL('')")
    End On

    URL is a variable that is holding the URL string.

    in the HTML document:
    <script language="javascript">
    <!--
    function ButtonURL(URL)
    {
    top.status = URL
    }
    -->
    </script>


    Any help with this is greatly appreciated!

    -Dissymmetry

    http://www.dissymmetry.com
    [Edited by dissymmetry on 06-18-2000 at 04:38 PM]

  2. #2
    Junior Member
    Join Date
    Jun 2000
    Posts
    3

    Smile

    I also tried:
    On (Roll Over, Drag Over)
    GetURL("javascript:top.status='" & URL)
    End On


    which based on other GetURL javascript entries I have seen, this should have worked.

    -Dissymmetry
    http://www.dissymmetry.com
    [email protected]

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