A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Replay button

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    6

    Replay button

    What actionscript do I use for a replay button?

  2. #2
    Who, What, Why ... ? Fraggs's Avatar
    Join Date
    Jul 2003
    Location
    Flashland .. where else ?
    Posts
    786
    Depends what it is you want to reply, it could be a simple case of :
    code:
    on(release) {
    _root.yourMovie.gotoAndPlay(1);
    }



    Or you might require a bit more code and something complex.


    Regards,

  3. #3
    Addicted To FruityLoops Studio FlashKid105's Avatar
    Join Date
    Mar 2004
    Location
    Madison, Wisconsin For Cryin' Out Loud
    Posts
    819
    I just use something like this:

    code:

    on (release){
    gotoAndPlay(1);



    It's much easier to do it this way

  4. #4
    Who, What, Why ... ? Fraggs's Avatar
    Join Date
    Jul 2003
    Location
    Flashland .. where else ?
    Posts
    786
    Originally posted by FlashKid105
    I just use something like this:

    code:

    on (release){
    gotoAndPlay(1);



    It's much easier to do it this way
    It may be quicker to write (rather than easier) but its good to get into the habit of doing full references.

    Its only going to take an extra 5 seconds to write out.

    Regards,

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