This is done in Flash 5. it works fine scrolling right but when it scrolls left the pictures don't reapear they just keep moving left any ideas???
// I have 1 pic made into a movie with the label mouse
// I have 7 pictures that i used labeld a1, a2, a3 ect
// This in a key frame
startDrag ("/mouse", true);
x = 0;
while (Number(x)<10) {
x = Number(x)+1;
setProperty ("a" add x, _x, getProperty("a" add x, _x)+(getProperty("mouse", _x)-350)/20);
if (getProperty("a" add x, _x)<-350 and getProperty("mouse", _x)<-350) {
setProperty ("a" add x, _x, 800);
}
if (getProperty("a" add x, _x)>800 and getProperty("mouse", _x)>-350) {
setProperty ("a" add x, _x, -350);
}
}
Az
azmaramza@home.com
ICQ 59238403
AIM azmaramza
// I have 1 pic made into a movie with the label mouse
// I have 7 pictures that i used labeld a1, a2, a3 ect
// This in a key frame
startDrag ("/mouse", true);
x = 0;
while (Number(x)<10) {
x = Number(x)+1;
setProperty ("a" add x, _x, getProperty("a" add x, _x)+(getProperty("mouse", _x)-350)/20);
if (getProperty("a" add x, _x)<-350 and getProperty("mouse", _x)<-350) {
setProperty ("a" add x, _x, 800);
}
if (getProperty("a" add x, _x)>800 and getProperty("mouse", _x)>-350) {
setProperty ("a" add x, _x, -350);
}
}
Az
azmaramza@home.com
ICQ 59238403
AIM azmaramza