A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: (hopefully) simple code help please

  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    88

    (hopefully) simple code help please

    Hello, I have a slide show and the following is the code I have to go forward to the next image...

    on (release) {
    _root.link = _root.link+1;
    _root.play();
    }



    So what code do you think I might use to go go back to the last frame? I've tried

    on (release) {
    _root.link = _root.link-1;
    _root.play();
    }

    But it doesn't seem to work....

    Any ideas? Many thanks in advance!

  2. #2
    Member
    Join Date
    Sep 2005
    Posts
    88
    Ah...just solved it my self. The -1 code did work.

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