Dynamic Button Help
January 6th, 2009
Thanks
I don't have any actionscript for the buttons yet. This is for an image zoom tool with 4 small buttons for alternate images...
this is what I have in the actions layer so far...
_root.image_holder.image.loadMovie(datasrc);
_root.image_holder.image._xscale = 50;
_root.image_holder.image._yscale = 50;
_root.image_holder._x = 264;
_root.image_holder._y = 250;
_root.image_holder._xscale = 100;
_root.image_holder._yscale = 100;
width_value = _root.image_holder._width;
height_value = _root.image_holder._height;
x_value = _root.image_holder._x;
y_value = _root.image_holder._y;
_root.zoom_upper_limit = 10;
_root.zoom_lower_limit = 0;
_root.zoom_state = 0;
//end root level code
stop();
I've got the buttons placed on the stage with instance names of btn_1, btn_2, btn_3, & btn_4.
Im just at a dead end and don't know where to being.
#If you have any other info about this subject , Please add it free.# |