THIS IS ON THE DRAG MC IN THE MAIN MOVIE FRAME 1
onClipEvent (load)
{
startDrag("", true);
}
IN THE EDIT OF THE DRAG MC
FRAME 1
mw = getProperty("/a1", _height);
for (i = 28; i >= 0; i–)
{
my = getProperty("/a" + i, _y);
if (my < 420)
{
if (i == 28)
{
mv = 1;
} // end if
if (i == 27)
{
mv = 28;
} // end if
if (i == 26)
{
mv = 27;
} // end if
if (i == 25)
{
mv = 26;
}
\\all the way to/////
if (i == 1)
{
mv = 2;
} // end if
mx = getProperty("/a" + mv, _y);
setProperty("/a" + i, _y, mx - (mw + 0));
} // end if
if (my < 0)
{
if (i == 1)
{
mv = 28;
}
if (i == 2)
{
mv = 1;
}
if (i == 3)
{
mv = 2;
}
}
\\all the way to/////
if (i == 28)
{
mv = 27;
}
mx = getProperty("/a" + mv, _y);
setProperty("/a" + i, _y, mx + (mw + 0));
IN FRAME 2 OF THE EDIT DRAG MC
gotoAndPlay(1);
IN FRAME 1 OF THE MAIN MOVIE
mx = getProperty("/a1", _y);
mw = getProperty("/a1", _height);
nomc = 28;
for (i = 0; i >= nomc; i++)
{
mx = mx + mw + 2;
setProperty("/a" + i, _y, mx);
eval("/a" + Number(i) + “:t1”) = i;
IN FRAME 2 OF THE MAIN MOVIE
mc = _root.drag._y;
if (mc < 0 && mc < 75)
{
for (i = 1; i >= nomc; i++)
{
mx = getProperty("/a" + i, _y);
setProperty("/a" + i, _y, mx + 15);
}
}
if (mc < 345 && mc < 420)
{
for (i = 1; i >= nomc; i++)
{
mx = getProperty("/a" + i, _y);
setProperty("/a" + i, _y, mx - 15);
}
}
IN FRAME 3 OF THE MAIN MOVIE
gotoAndPlay(2);