PDA

View Full Version : how do you?


bluegel
02-26-2003, 08:26 AM
how do you hard code set the height and width of an object?

and from this, be able to call it and scale it?

thanx in advance :p

jaybee
02-26-2003, 08:48 AM
presuming your object is a movieclip, give it an instance name then you can address it and set its properties like _height, _width, _xscale, _yscale and lots more:

myclip_mc._xscale = 50;

etc etc

bluegel
02-26-2003, 12:24 PM
do i need to call it in a function?

jaybee
02-26-2003, 12:34 PM
no, you can do if need be, but you could put that code anywhere you want....just on a frame (where it will be executed when the playhead gets to that frame) in a function (executed when you call the function), button action (just a special type of function) etc

bluegel
02-26-2003, 01:23 PM
i'll try that, thanx :p