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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help changing Scroll Menu Values

Status
Not open for further replies.

bmccarthy123

Programmer
Jul 26, 2007
1
0
0
CA
Hi,

I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:

redi2play.jpg




Code:
if (this._x>= -600)
{
this._x = -1500;
}

if (this._x<= -1501)
{
this._x = -601;
}


What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?

Thanks In Advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top