Welcome Guest [Log In] [Register]
Welcome to Brackenwood. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
URGANT HEPLP; please take a look
Topic Started: Dec 22 2005, 07:19 PM (300 Views)
flash_bass
Member Avatar
Brackenwood Lightweight
hi i have just made a bit of a game and i need help, here is the link the game

what i want to be able to do is zoom when you press up or down, is there any action scripting for that i hope so, if u help you will go in the credits :D to download the .fla file ad my msn hotmale5000@hotmail.com
Offline Profile Goto Top
 
Vector
Member Avatar
Resident Actionscript Guru ♂
Admin
are you using the vCam?
Offline Profile Goto Top
 
flash_bass
Member Avatar
Brackenwood Lightweight
nah :P im quite happy about the way i did it, i just made the crosshair the custom cursor but made it a mask layer over all the background and things, do u have any ideas? add me on msn if u would like the .fla to muck around with it, its not the real game so i dont mind
Offline Profile Goto Top
 
Vector
Member Avatar
Resident Actionscript Guru ♂
Admin
If you use the vCam you can use it to zoom in and out on the spot that the mouse is pointed at, is all. If you wanna e-mail it to me vector.kerr@gmail.com :)
Offline Profile Goto Top
 
chluaid
Member Avatar
Bitey's Daddy
Admin
if you work things out, please post them here for others to see. Otherwise there's no point to the thread, and you may as well have used the PM system ;)
Offline Profile Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
try this: first of all, put everything into a movieclip and call it myscene, then on the actions of the 1st frame put this

Code:
 

//put here the values of the zoomed movie
var xzoomedvalue:Number = 100;
var yzoomedvalue: Number = 75;
onEnterFrame = function (){
   if (zoom==1){
       setProperty("myscene", _xscale, xzoomedvalue);
       setProperty("myscene", _yscale, yzoomedvalue);
   }
   else if (zoom==0){
       setProperty("myscene", _xscale, xoriginalvalue);
       setProperty("myscene", _yscale, yoriginalvalue);
  }
};
onMouseDown = function(){
   zoom=1;
};
onMouseUp = function(){
  zoom=0;
};


try it and if something doesnt works let us know :D
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Actionscript · Next Topic »
Locked Topic