Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,725 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,890 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Help changing Scroll Menu Values

 
Reply to this topicStart new topic

Help changing Scroll Menu Values, Can't get 10 scrollers to appear and disapear scrolling in specifi

bmcc81
post 26 Jul, 2007 - 06:46 AM
Post #1


D.I.C Head

**
Joined: 10 Jul, 2007
Posts: 122


My Contributions


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:

http://www.redi2play.com/testing/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
User is online!Profile CardPM

Go to the top of the page


ahmad_511
post 26 Jul, 2007 - 07:55 AM
Post #2


D.I.C Regular

Group Icon
Joined: 28 Apr, 2007
Posts: 351



Thanked 8 times

Dream Kudos: 400
My Contributions


Hi
I think there is no wrong in your code.
Maybe it's a refering issue(where 'this' is refer to?!); it's not clear .
Maybe it's in a wrong place (where did you put that code?).

If you post more details maybe we can work together to fix it up.

Regards..
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/8/08 09:52AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month