|
-
How to Stop Resizing
Hello!
My name is Robbie Lee and I make flash games for a living and recently I've encountered an issue that I was hoping one of you could help me with.
In some of my games I use sprites made from jpg, gif or bitmap ect. which look nice when viewed at the correct size (550x400) but when I release the games webmasters often post them at incorrect sizes which causes the pixel based images to distort or look ugly which reflects poorly on my talents.
I want to know if there is anyway that I can code it so that the swf cannot be resized and always displays at 550x400 even if it's put in a window that is larger then that.
I use ActionScript 2 and Adobe Flash CS3 Professional.
Here is an example of one of my games in the correct size: http://www.kongregate.com/games/Wildtwilight/tct-rpg
And here is a distorted one: http://www.funny-games.biz/tct-rpg.html (yuck)
Please let me know if there is anything I can do.
Thank you for your time! =)
-
-
 Originally Posted by Creephun
Hi!
Thanks, I've given it a look and from what I understand I need to set 'Stage.scaleMode' to 'noScale'
I've put "Stage.scaleMode = noScale;" on the first frame however it doesn't appear to have done much, I'm still able to change the size of the .swf with HTML which I don't want to allow to happen.
I am beginning to wonder if HTML simply overrides the flash file's setting, if so then I guess there is little I can do. =(
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
|