-
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
-
Senior Member
Hi, right click on the first frame. Choose actions.
Paste in:
fscommand("allowscale", "false");
-
.
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|