Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: pause button |
From: | Paul |
Date: | Sun, 31 Oct 1999 19:49:44 GMT |
Title: Re: FLASH: pause button
Peter, Yes you can use just one button to do this. You'll need to use a variable too so that each time you press the button it will alternate between playing and stopping. First set a global variable (say STATUS) on the first frame of the main timeline. Set STATUS = "playing" (assuming your movie will start playing immediately. You'll need to use an IF..THEN..ELSE action within the DOWN state of the button. The first action will state that if the STATUS="playing" then STOP and set STATUS="paused". In the ELSE part of the statement set the action to be PLAY and STATUS="playing". Notice that you don't need to IF statements in an If..THEN..ELSE. Let us know if you encounter problems with this. -- Paul IC TRAINING (INTERNATIONAL) Specialists in Flash, Dreamweaver and Internet training Scheduled courses and Distance Learning by CD ROM (with supporting documentation) ---------- From: "Peter Colman" <hbreth10scu [dot] edu [dot] au> To: "flash" <flasherchinwag [dot] com> Subject: FLASH: pause button Date: Sun, Oct 31, 1999, 2:13 pm DEAR FLASHERS |
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]