PDA

View Full Version : FlashLite 1.1 error 5 AS loop


radiomixer
06-30-2006, 05:18 PM
Hi, can someone help me with this code :
trace ("menu")
selectorOffset = 87;
selectorHeight = 12;
if (mOption < 1)
{
mOption = 2;
} // end if
if (mOption > 2)
{
mOption = 1;
} // end if
mSelected = mOption;
setProperty("selector", _y, selectorOffset + (mOption - 1) * selectorHeight);
trace ("menufim")
I´m using it with flashlite 1.1, and it give no error until i make testmovie, where the error messages says 5, wich is AS loop. Any suggestions?

CyanBlue
06-30-2006, 06:34 PM
Howdy and Welcome... :)

The only thing I can think of is when the 'selector' movieClip is not visible when you are using the setProperty() function... Other than that, I have no clue...