A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] How is this done?

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    14

    [F8] How is this done?

    I am looking to create something like this but i cant work out how it is done.

    http://www.empiredirect.co.uk/images/media/banners/v7/24flash.swf

    How have they made it expand horizontally but not vertically? and how is it only the piece on the right that is moving when the browser is resized yet the piece on the left stays in the same place?

    Many thanks in advance...

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    look into the Stage object and the onResize function.

    example:
    code:
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    myListener = new Object();
    myListener.onResize = function() {
    // your actions here
    };
    Stage.addListener(myListener);



    gparis

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    14
    Cheers for replying!! Soon after i posted i found the answer in the help file.

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