A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: HOW DO YOU RESIZE THE BROWSER WINDOW?

  1. #1
    Member
    Join Date
    Jul 2000
    Posts
    34
    After visiting a few flash sites, I've noticed that it is possible to stylishly morph the size of the browser window and wondered how this is done.

    Help please.

  2. #2
    Drum & Bass Addict
    Join Date
    Dec 2000
    Posts
    519
    here it is, this is set to resize to 800x600 but u can change that to whatever u want, make sure to place this betwee your <head> tags
    Code:
    <script language="javascript">
    //tmtC_Resize_Window
    tmt_Resize_WindowX = 800;
    tmt_Resize_WindowY = 600;
    self.resizeTo(tmt_Resize_WindowX,tmt_Resize_WindowY);//tmtC_Resize_WindowEnd
    </script>

  3. #3
    Member
    Join Date
    Jul 2000
    Posts
    34
    thanx for the reply friend, but I actually wanted to know how to visibly see the browser window morph as it resized.

    If you dont know what im talking about, visit http://devlab.swift3d.com/

    the effect is sooooooooo cool.

  4. #4
    Drum & Bass Addict
    Join Date
    Dec 2000
    Posts
    519
    i looked and i dont see it resize..if u show me exactly where it resizes my window so i can see, then i can tell u how

  5. #5
    Member
    Join Date
    Jul 2000
    Posts
    34
    dont worry about it anymore, because Strok of http://www.actionscripts.org ripped the Javascript out of that site and showed me how the effect is done.

    Thanx for your attention anyhow.

    Oh and BTW: all you have to do is wait for the main site to load and click on any of the available movies to see the resizing I mentioned earlier.

    Its a seriously cool effect.


  6. #6
    Drum & Bass Addict
    Join Date
    Dec 2000
    Posts
    519
    o..i see..that is pretty cool

  7. #7
    Member
    Join Date
    Jul 2000
    Posts
    34
    I've GOT to say that I think your signature swf is the best i've seen.

  8. #8
    Drum & Bass Addict
    Join Date
    Dec 2000
    Posts
    519
    haha mine??..thanks

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