Welcome to TalkGraphics.com
Results 1 to 2 of 2

Thread: Windoid

  1. #1
    Join Date
    Aug 2001
    Location
    La Crosse, WI USA
    Posts
    43

    Default

    Hey, does anyone know how to make a "windoid" in Flash. I'm using "getURL" and would like the movie I get to pop up in a new window, but thats all I want is a new window, I don't want all the stuff you would see in a browser window, just the frame and the movie.
    Thanks
    Nicholas
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Dallas, Tx
    Posts
    277

    Default

    Paste the following code into your html page within the HEAD tag. Replace the italics with your info. I usually name the function the same as the page name.

    <script LANGUAGE="Javascript">
    < !--
    function functionName() {
    window.open("pageName.htm","newwindow","toolbar=0,location=0,directorie s=0,status=0,menubar=0,scrollbars=1,resizeable=0,w idth=500,height=380, screenY=0, top=0, screenX=0, left=0")
    }
    //-->
    </script>

    Then use the GetURL action in your Flash movie to reference the javascript. You do this by calling the function by putting the following code in your GetURL action:

    javascript:functionName()

    Hope this helps,

    Scott
    IP

 

 

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
  •