A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scrolling Menu... arrgghh!

Threaded View

  1. #1
    Follower squidlips's Avatar
    Join Date
    Oct 2001
    Location
    Rockhampton, Queesland, Australia
    Posts
    664

    Scrolling Menu... arrgghh!

    I have a menu bar that is 1906 pixels wide. It is on the main timeline of a movie that is 550 pixels wide. I implimented an old easing actionscripy that I had but I can't get it to work.

    Here is the code I am currently using (embedded in the movieclip)...
    Code:
    onClipEvent (enterFrame){
       difX=this._x-_root._xmouse;
       difXE=difX/5;
       difXM=this._x-difXE;
       tellTarget(thi, _x, difXM);
    }
    I experimented with a few other things, because the main problem was the movie wasnt moving far enough each way, so I tried...

    Code:
    onClipEvent (enterFrame){
       mousepower=_root._xmouse*3
       difX=this._x-mousepower;
       difXE=difX/5;
       difXM=this._x-difXE;
       tellTarget(thi, _x, difXM);
    }
    ... and other things similar but none of them worked effectively.

    What am I doing wrong?
    Last edited by squidlips; 11-01-2003 at 11:19 PM.
    subgenius.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center