Hello,
Here is what I have so far:
import mx.transitions.Tween;
import mx.transitions.easing.*;
m = 0;
numTiles = 112;
function placeTiles() {
if (m == numTiles){
m = 0;
clearInterval(buildTiles);
} else {
_root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 * 50,
_y:Math.floor(m / 14) * 50});
myObj = "tile" + m + "_mc";
new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35,
false);
_root[myObj].number_text.text = m;
m++;
}
}
buildTiles = setInterval(placeTiles, 30);
This works fine. Builds the rows one after another. But what I am trying
to do is build one row across and one down. Make sense?
In essence:
123
456
789
That sequence would display:
1
then
12
4
then
123
45
7
and so on
123
456
78
until all the objects fill the screen.
Any advice would greatly be appreciated.
Ciao,
fM
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com