align top jumping to the right

  • I have a plugin middle top that when clicked tweens down by 70 pixels. For some reason it always jumps to the right when I call this action. Not sure why, seems to be a bug.

    Action:

    Code
    <action name="show_thumbs">
    	if(%1 == out, set(thumbs,out);tween(plugin[thumbs_bg_tab].y,70,0.2,EaseInOutQuad);tween(plugin[thumbs_bg].y,0,0.2,EaseInOutQuad);loop_thumbs(); set(plugin[thumbs_bg_tab].ondown,show_thumbs(in));set(plugin[thumbs_bg_tab].crop, 0|100|124|33);
    	set(plugin[thumbs_bg_tab].onovercrop, 0|133|124|33);set(plugin[thumbs_bg_tab].ondowncrop, 0|166|124|33) );
    	if(%1 == in, set(thumbs,in);tween(plugin[thumbs_bg_tab].y,0,0.2,EaseInOutQuad);tween(plugin[thumbs_bg].y,-70,0.2,EaseInOutQuad); set(plugin[thumbs_bg_tab].ondown,show_thumbs(out));set(plugin[thumbs_scroll_left].visible,false);
    	set(plugin[thumbs_scroll_right].visible,false);set(plugin[thumbs_bg_tab].crop, 0|0|124|33);set(plugin[thumbs_bg_tab].onovercrop, 0|33|124|33);set(plugin[thumbs_bg_tab].ondowncrop, 0|66|124|33) );
    	</action>

    Plugin:

    Code
    <plugin name="thumbs_bg_tab" url="%SWFPATH%/assets/buttons/thumbnails_tab_btn.png" crop="0|0|124|33" onovercrop="0|33|124|33" ondowncrop="0|99|124|33" keep="true" enabled="true" visible="false"  handcursor="true" align="top" edge="top" x="0" y="0" zorder="1" ondown="show_thumbs(out)"/>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!