A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: sliding in/sliding out images using Actionscript

Threaded View

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    23

    sliding in/sliding out images using Actionscript

    I know I should probably know how to do this by know but I'm stuck.
    How do I create this effect using Actionscript?

    http://synap-sys.com/in_out_slide.html

    When a user clicks on button "1" the image slides in from the left. When the user chooses to view image "2" image one slides out of the way and image two then slides in. I would like to do this using Actionscript because there's going to be a bunch of pictures that are part of this slideshow. It's how to tell the Flash player how to slide out the current image and slide in the new image that I'm struggling with. Forgive my lameness.
    I'm also trying to do this without dynamically loading each image everytime they click on a button. The reason for this is so all the images load at once, thereby eliminating the delay that would occur as each image loads after a user clicks a button. A fellow Flashkit member(Garbage) suggested I do this using a Library clip (all the images placed on a keyframe of a movieClip that are referenced per button click) but I'm not sure how to do this (goToAndPlay?).
    Any help or guidance would be most appreciated.
    I've attached the .fla if anybody wants to look at it.
    Thanks
    Adam
    Attached Files Attached Files

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