Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,297 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 854 people online right now. 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
26 Jul, 2007 - 05:46 AM
Post #1

D.I.C Head
**

Joined: 10 Jul, 2007
Posts: 226



Thanked: 1 times
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 offlineProfile CardPM
+Quote Post


ahmad_511
RE: Help Changing Scroll Menu Values
26 Jul, 2007 - 06:55 AM
Post #2

D.I.C Regular
Group Icon

Joined: 28 Apr, 2007
Posts: 455



Thanked: 27 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
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 04:46PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month