aca esta el codigo:
Código ActionScript :
stop();
orginal_width = pic._width;
original_height = pic._height;
double_width = orginal_width * 2;
double_height = original_height * 2;
triple_width = orginal_width * 3;
triple_height = original_height * 3;
current_width = orginal_width; // the default width
current_height = original_height; // the default height
pic_speed = 5;
pic_desc.bt0.onRelease = function()
{
current_width = orginal_width;
current_height = original_height;
}
pic_desc.bt1.onRelease = function()
{
current_width = orginal_width;
current_height = original_height;
}
pic_desc.bt2.onRelease = function()
{
current_width = double_width;
current_height = double_height;
}
pic_desc.bt3.onRelease = function()
{
current_width = triple_width;
current_height = triple_height;
}
pic.onEnterFrame = function()
{
if(this._alpha < 100 )
this._alpha+=pic_speed;
if( pic._width < orginal_width )
pic._x = ( orginal_width - pic._width ) / 2;
else
pic._x = pic._x - ( _xmouse * ( ( pic._width - Stage.width ) / Stage.width ) + pic._x ) / pic_speed;
if( pic._height < original_height )
pic._y = ( original_height - pic._height ) / 2;
else
pic._y = pic._y - ( _ymouse * ( ( pic._height - Stage.height ) / Stage.height ) + pic._y ) / pic_speed;
if( pic._width != current_width )
pic._width -= ( pic._width - current_width ) / pic_speed;
if( pic._height != current_height )
pic._height -= ( pic._height - current_height ) / pic_speed;
} Solo diganme que quito o que pongo por favor!!! qu esto se que debe ser algo chiquito y tonto pero ya me ha quitado toda la semana de trabajo
gracias!!! es urgente
