Specifying html browser window size from Flash link

Ask a Question related to Adobe Flash, Flex & Director, Design and Development.

  1. #1

    Default Specifying html browser window size from Flash link

    I'm hoping someone knows how to do this -- I've been struggling with it for several days and just can't figure it out ...

    I want to set the browser window size in an html file that I will be opening from a Flash link. I am creating a Flash site for a photographer, and want her specific pictures to come up in an html window that I have set the size for. Is there some specific command I should type in the "window" bar for the Flash button to define the window size for the html page that will open??

    Thanx!!!



    lolarocks webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. I want a link on my page to open a new browser window
      I want a link on my page to open a new browser window. In the new window I have a video.flv file, but I dont want all the explorer menus, icons and...
    2. Open Browser Window Link Problem
      Hi All, I am creating a page with a table on. In the table are certain cells that hold information that I want users to be able to click on for...
    3. link + window size
      i normally use a Js to do this, but how to i set a window size when using JS for the link bar JavaScript on site var menu1=new Array()...
    4. specifying web browser window size
      Can this be done? Need to open html file in web browser (easy enough) but need the browser window to be a specific size. Can this be done through...
    5. control browser window size
      Yes, what you are wanting to do is easily done with JavaScript. However, like the majority of folks, I'd really appreciate it if you wouldn't try...
  3. #2

    Default Re: Specifying html browser window size from Flash link

    It would be eaiser to open the window with java. Then you can specify the size.


    Kidgamez webforumsuser@macromedia.com Guest

  4. #3

    Default Re: Specifying html browser window size from Flash link

    // -------------------------
    // Open a centered popup
    // window with passed
    // features (FLASH MX)
    // -------------------------
    MovieClip.prototype.centerPopup = function( theUrl,title, w, h, features)
    {
    var sysW = System.capabilities.screenResolutionX;
    var sysH = System.capabilities.screenResolutionY;
    var centerx = Math.round((sysW/2)-( w/2));
    var centery = Math.round((sysH/2)-( h/2));
    getURL("javascript:void(window.open('" + theUrl
    + "','" + title + "','width="+w+", height="+h+", left="
    +centerx+", top="+centery+",screenX="+centerx+", screenY="
    +centery+"," + features + "'));");
    }

    // -------------------------
    // usage:
    // -------------------------
    /*on (release)
    {
    centerPopup("http://www.html.it","html",400,300,"menubar=no");
    }*/

    // code from: [url]http://www.sephiroth.it/[/url]



    Helan (Norway)
    [url]www.helanweb.com[/url]
    Live life to the MX
    helan Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139