A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Force resolution of a Flash Project when started in a browser?

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    1

    Force resolution of a Flash Project when started in a browser?

    Hey im new to flash and i didnt do much with ActionScript and other stuff before, but im trying to develope a little "click-through-pictures-adventure" for my little nephew, with images of our home and garden.
    Im using images shot with 4608 x 3072 and set them to 1100 x 733 (adjusted to my flash scene)
    But when i start the exported swf the image gets stretched to max. height of my desktop resolution.
    How can i force the resolution, that the "game" looks the same on every computer. Another important thing will be, that im going to implement some stuff below the image, for example an inventar or other stuff. But this wont be seen at the screen.
    Sorry for my bad english.
    I would appreciate your help!
    greetings

    This is how it looks IN Flash http://i.imgur.com/cylPEyM.jpg
    This is how it looks in Windows: http://i.imgur.com/MRtQ6qn.jpg

  2. #2
    Senior Member somlemeg's Avatar
    Join Date
    Aug 2000
    Posts
    171
    Hi, right click on the first frame. Choose actions.
    Paste in:
    fscommand("allowscale", "false");

  3. #3
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    I believe the correct way is
    PHP Code:
    stage.scaleMode StageScaleMode.NO_SCALE

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