A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Scrolling Images LINK-Problem!!!

Threaded View

  1. #1
    Senior Member
    Join Date
    Mar 2006
    Posts
    191

    Scrolling Images LINK-Problem!!!

    again Uwe....
    I tried this example...

    http://necromanthus.com/KoolMoves/SiteMenu.html

    1. I made a Clip Frame with 30 Pictues... OK, It is working fine..Scrolling great
    2. I convert a Picture to a button
    3. I made a Action Script for each Picture

    But If I click on a Picture, I cannot Link to a page???

    My Action Script for Pictures...in the movie clip bar

    on(press){_root.page.gotoAndPlay(2);} // Is (2) my Frame? I tried instead Infos...
    on(press){_root.page.gotoAndPlay(3);}
    on(press){_root.page.gotoAndPlay(4);}

    When I run the file It is working fine, but I can not Link to a Page!
    I tried 2 houres no chance...to rename List of Keyframes and Scenes and Scripts...

    How can I Link to a page if I click on a picture?
    I can not scroll to all Pictures! Is there a Limitation a the action script?

    Here is the srolling code:

    onClipEvent(enterframe){
    if(this.hitTest(_root._xmouse,_root._ymouse,true)) {z = 1;}
    else{z = 0;}
    if(_root._xmouse < 320){sx = -1- ((320 - _root._xmouse)/100);}
    else{sx = 1+ ((_root._xmouse - 320)/100);}
    sy = 1+ _root._ymouse / 180;
    if((z == 1)||(_root._ymouse > 180)){_root.bar._x += Math.floor(sx * sy);}//>Klickbereich
    if(_root.bar._x < -200){_root.bar._x += 560;}
    if(_root.bar._x > 920){_root.bar._x -= 560;}
    }
    }



    Thank you so much...
    You are a great team!
    Last edited by Uwe S.; 04-06-2006 at 06:02 AM. Reason: See not all Pictures...

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