Hi ther folks,
I tried to figure this out and i think setProperty is timming and/or positioning and the Math.abs is to keep the result a "round figure"
However! Having a tweened shaped movieclip with the below script attached, nothing seems to be happening apart from the tweened effect!?..
Guidence would be greatly received,
Thank you
/Ramsey
onClipEvent (enterFrame)
{
if (squareXscale)
{
setProperty("", _xscale, _xscale + (squareXscale - _xscale) / 5);
var xsep = Math.abs(squareXscale - _xscale);
if (squareYscale)
{
setProperty("", _yscale, _yscale + (squareYscale - _yscale) / 9);
var ysep = Math.abs(squareYscale - _yscale);
} // end if
} // end if
}
/* ------- thanks for your time ---------- */
-------------------------------------
Laughing out loud every day,
keeps the doctor away....
Question is ...What's so funny?
-------------------------------------
I tried to figure this out and i think setProperty is timming and/or positioning and the Math.abs is to keep the result a "round figure"
However! Having a tweened shaped movieclip with the below script attached, nothing seems to be happening apart from the tweened effect!?..
Guidence would be greatly received,
Thank you
/Ramsey
onClipEvent (enterFrame)
{
if (squareXscale)
{
setProperty("", _xscale, _xscale + (squareXscale - _xscale) / 5);
var xsep = Math.abs(squareXscale - _xscale);
if (squareYscale)
{
setProperty("", _yscale, _yscale + (squareYscale - _yscale) / 9);
var ysep = Math.abs(squareYscale - _yscale);
} // end if
} // end if
}
/* ------- thanks for your time ---------- */
-------------------------------------
Laughing out loud every day,
keeps the doctor away....
Question is ...What's so funny?
-------------------------------------