A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Flash site resize question

  1. #1
    Senior Member
    Join Date
    Mar 2008
    Posts
    160

    Flash site resize question

    I am trying to wrap my head around this principle but from another perspective. I am building a photography site and would like certain elements to resize and not the whole flash movie. For instance, I would like the image to resize but not the navigation, thumbnails or text. Can someone provide guidance? Thanks ahead of time.

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    391
    This will allow your swf's dimensions to change without affecting any of the objects.
    PHP Code:
    stage.scaleMode StageScaleMode.NO_SCALE;
    stage.align StageAlign.TOP_LEFT
    I personally don't know what the align property does but I've always used top left. After doing this, you can scale whatever objects you please according to the swf's dimensions using stage.stageWidth and stage.stageHeight.

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