PDA

View Full Version : Unresizable .swf's and .exe's and mouse controlled shooting.


rdoroana
01-25-2004, 10:00 AM
Unresizable .swf's and .exe's:
How can I make it so all published Flash movies, games etc. cannot be resized when viewing? Like, having them have a fixed hight and width. Any help?

Mouse controlled shooting:
This is a little hard to explain, I don't just want the basic move the cursor, click and it shoots, what I want is another thing.
I want the character to point teh gun in the direction I have the mouse cursor and shoot in that direction when I click the left mouse button. If you've ever played Soldat (2D multiplayer shooter (http://www.soldat.pl)) ypu'll know what I mean. How can I do this?

Thanks in advance.

Skinny_T
01-26-2004, 06:24 PM
1.fscommand "allow scale" "false"

2. you would have to make it so the gun movie clip gets the x and y co-ordinates of the mouse