dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Browser resize

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    29
    quick question, I have a flash movie with a button that when you press it, it opens a diffrent movie in a new window. How can i make the new movie fit into the browser without being abble to resize the browser. I want it to stay at 400x400

    thanks

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    128
    Assign a getURL action to the button and enter this in the URL field:
    javascript:newwin()

    Then, you have to modify the html of the document by adding this to the head:

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function newwin()
    {
    window.open("rhap.html","windowname","'toolbars=0, location=0,directories=0,status=0,menubar=0,scroll bars=0,resizable=0,width=400,height=400,top=5,left =5'");
    }
    //-->
    </SCRIPT>

    And this to the body:

    <A HREF=javascript:newwin()>

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Posts
    128
    "rhap.html" is the name of my document. That's where you enter the html you want to get.

  4. #4
    Junior Member
    Join Date
    Mar 2000
    Posts
    29
    thanks dalma.. i'll give it a shot and let you know how it goes

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