A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: There has to be someone out there who can do this in their sleep?

  1. #1
    \\___unPossible
    Join Date
    Jul 2004
    Posts
    188

    There has to be someone out there who can do this in their sleep?

    I have a flash site and one of my buttons opens a contact page that is 400X300 pixels (my .swf is 400X300) in a new window. I want the browser to be that exact same size with no scrollbars, borders, or margins, and I would like it if the window was not scale-able.

    Can anyone help me with setting up the browser size within the HTML code itself?

    PLEASE! I have absolutely No HTML experience! The last time I got anything to work, someone set up some code for me and I copied and pasted it, and simply replaced the file names and dimensions within the code.

    If you would help, i would be very grateful

    Thanks

    Jhilgert00

  2. #2
    2008 Man of the Year JWin's Avatar
    Join Date
    Aug 2005
    Location
    here
    Posts
    768
    Not done in my sleep but here ya go,
    Put this in the head of your html:

    <script language="JavaScript">
    function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
    </script>
    put this in your actionscript window for the button:

    on (release) {getURL("javascriptpenNewWindow('http://www.yoursite.com/your.html','thewin','width=400, height=300, toolbar=no, scrollbars=no, resizable=No, fullscreen=No')");
    }
    (You should be able to just copy paste even though that stoopid smiley face is there)

    Good luck,
    -JWin
    Last edited by JWin; 11-18-2005 at 10:01 PM.

    SAMedia Blog (general bs) :: jwinmedia (my music site)
    "Think of an advertisement where the product you're marketing is Jesus!"
    -From a work for hire ad

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