Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Panoramic in Flash 5

Status
Not open for further replies.

Azmaramza

Technical User
Feb 23, 2000
123
CA
Hi,

This is done in Flash 5. I think i figerd out my problem with the mouse movement but 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 (&quot;a&quot; add x, _x, getProperty(&quot;a&quot; add x, _x)+(getProperty(&quot;mouse&quot;, _x)-350)/20);
if (getProperty(&quot;a&quot; add x, _x)<-350 and getProperty(&quot;mouse&quot;, _x)<-350) {
setProperty (&quot;a&quot; add x, _x, 800);
}
if (getProperty(&quot;a&quot; add x, _x)>800 and getProperty(&quot;mouse&quot;, _x)>-350) {
setProperty (&quot;a&quot; add x, _x, -350);
}
} [sig]<p>Az<br><a href=mailto:azmaramza@home.com>azmaramza@home.com</a><br><a href= > </a><br>ICQ 59238403<br>
AIM azmaramza[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top