A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Need help reversing my filmstrip

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    10

    Need help reversing my filmstrip

    Please check out the attached .fla. I can't seem to figure out how to get the filmstrip to reverse direction once it gets to the end of the filmstrip.

    Right now I have it moving from left to right at a speed of 3 but don't know how to get it to move from right to left when it gets to the last image.

    I'm sure it's pretty simple but I'm not too well versed in ActionScript.

    Any help would be much appreciated.

    Thanks!!!

  2. #2
    Senior Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    289
    Need you to post the FLA!!
    If it was easy, everyone would do it.

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Posts
    10
    sorry i thought i did. i keep hitting the browser button, getting the file but then there's no button for attaching the file. sorry to be a bother but do you know what i need to do to attach the file?

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    289
    At the bottom of the post form is a button labelled "Choose File". Click that, locate your file,and click "Choose"

    The name of the file should show up next to the "Choose File" button.

    Also, make sure the file has .fla on the end.
    If it was easy, everyone would do it.

  5. #5
    Junior Member
    Join Date
    Aug 2004
    Posts
    10
    I don't have any choose buttons in the post form. only an attach file section at the bottom where there is the browse button. i thought it might be my file size tht was the problem so i zipped it but still no luck.

    is there any chance that i can email it to you?
    Attached Files Attached Files

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Posts
    10
    nevermind, i guess attaching the file worked that time. so back to the real question...any idea how i can get the filmstrip to switch directions?
    Last edited by mstern02; 08-04-2004 at 09:53 AM.

  7. #7
    Senior Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    289
    Sorry it took so long, this was a tough one.

    I hope you don't mind, but I did some modification to your graphic layout and such. It was necessary to allow me to program the movie correctly.

    I made the stage bigger to allow for a "rollout" area. Without it, Flash gets confused as to whether the mouse is outside the boundry you set for the scrolling tiles. This causes the scrolling script to stop working.

    I also adjusted the tiles and mask to be proportionate widths in order for the clip to stop and not be cut off.

    Take a look and see if this is what you want.
    Attached Files Attached Files
    Last edited by preprint; 08-04-2004 at 01:28 PM.
    If it was easy, everyone would do it.

  8. #8
    Junior Member
    Join Date
    Aug 2004
    Posts
    10
    wow...thanks so much. i really appreciate your help.

    by the way, would it be possible for the movie to work exactly like this if the images were placed and with what the dimensions were before?

    thanks again.

  9. #9
    Senior Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    289
    Yes. If you need it to be 530 px wide, just change
    RightStop to -20. Leave LeftStop as 550.

    I don't see a need to change the tiles positions. But, if you do, make sure they are centered on zero in their movie clip. Take half of that movie clip and subtract 530 from it.

    Add a minus sign, and that is your new RightStop.

    Add it to 530, and that number is your LeftStop.

    Let me know if you need any more help!
    If it was easy, everyone would do it.

  10. #10
    Junior Member
    Join Date
    Aug 2004
    Posts
    10
    thank you for all your help. it works perfectly. you saved the day!!!

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