Professional Web Applications Themes

Specifying html browser window size from Flash link - Adobe Flash, Flex & Director

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 ...

  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. #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

  3. #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

Similar Threads

  1. I want a link on my page to open a new browser window
    By mak999 in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: April 15th, 07:43 PM
  2. Open Browser Window Link Problem
    By lloydcodrington in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: March 16th, 06:06 AM
  3. link + window size
    By jsc in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: April 15th, 07:56 PM
  4. specifying web browser window size
    By Marblehead Johnson webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 5
    Last Post: August 5th, 11:16 AM
  5. control browser window size
    By David R. Wheeler in forum Macromedia Dynamic HTML
    Replies: 3
    Last Post: July 7th, 03:12 PM

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
  •  

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