// main_init function

main_init = function(mc){
 subs_done = true;
 bounds = mc.getBounds(mc);
 disp = opposite ? $padding / 2 -bounds.xMax : - $padding / 2 - bounds.xMin; 
 deg = quick_return ? deg90 : deg180;
}

// main_effect function

main_effect = function(mc,frame){
 mc._xscale = 100 + Math.sin (deg * (frame % effectspeed)/(effectspeed-1)) * (maxscale - 100);
 mc._x = (mc._xscale - 100) / 100 * disp;  
 if ((frame / effectspeed) == cycles) end_effect = true;  
}

// sub_init function

sub_init = function(mc){
}

// sub_effect function

sub_effect = function(mc,frame){
}
