dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: sizing a flash window

  1. #1

    sizing a flash window

    Does anyone have any idea how to tell the flash to open up only at a specified size? WHen mine opens up on the web it opens full size and you can see the swish dull grey back ground.


    Help please,
    Trace

  2. #2
    Harmony & Justice Veniogenesis's Avatar
    Join Date
    Jul 2002
    Location
    Washington D.C.
    Posts
    4,434
    Export to HTML.

    Edit the HTML code from "100%" to a specific pixel number:

    <body bgcolor="#FFFFFF">
    <center>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
    id="movie" width="________" height="______">
    <param name="movie" value="movie.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#FFFFFF">
    <embed name="movie" src="movie.swf" quality="high" bgcolor="#FFFFFF"
    width="_______" height="______"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </embed>
    </object>
    </center>
    </body>


    Regards,
    Venio
    Flash Kit Moderator . Duke University
    Thomas Jefferson High School for Science and Technology

  3. #3
    Senior Member Dead Rabbit's Avatar
    Join Date
    Oct 2002
    Location
    Back in Tampa FLA again - and happy!
    Posts
    2,403
    Venio provided the code for you, but its important to understand why it works. If you link directly to the .swf movie, it will always fill the browser window. If it's embedded in an html page, as Venio provided for you, you can constrain the size.
    While changing my profile, I accidentally clicked the link that said
    "Add 'Dead Rabbit' to your Ignore List"
    so now I can't talk to myself anymore...

    The Repository -:- The Forum

  4. #4
    thanks again

  5. #5
    Senior Member
    Join Date
    May 2001
    Posts
    121
    sounds good, but it doesn't seem to constrain browser window. any other suggestions?

  6. #6
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    You dug pretty deep for this thread.

    Why dig it up from the grave?

    If your insearch of a pop-up script
    then that's what you should ask for.

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