martedì, luglio 03, 2007

Looping in ActionScript

for(i=0; i<100; i++){

_root.TextFieldScroller._alpha= 99-i; // fade text scroller

trace(i);

if (i == 65)

{

// I use this crazy bit of code because dynamic text fields

// can only be masked if fonts are embedded. I didn't like how it

// looked...

_root.nowisthetime2._visible = false;

}

}