Ask a Question related to Brainstorming Area, Design and Development.
-
van #1
AS2 pause/play
I want to load the sound from paused position. What i should do for that. i have a code or the same but it is not helping me out.
var mySong:Sound = new Sound();
var currentPosition:Number = new Number();
var isPlaying:Boolean = true;
function myToggle() /*called function when buttonis pessed*/
{
if(isPlaying)
{
currentPosition =mySong.position;
trace("currentPosition is" +currentPosition);
stop();
isPlaying = false;
trace("Hi");
}
else
{
start(currentPosition / 1000);
trace(+currentPosition);
isPlaying = true;
trace("Hello");
}
};
trace(+currentPosition) is giving output as undefined.
Please help mevan Guest
-
play / pause botton in Layer5
Hi I´v some problems getting this work: I Have made a Play/Pause botton witch I would like to react on both the Space key and if you hit the... -
Pause/Play Toggle Button
Hello I am new to director and in a bit of bad spot as far as deadlines go... Anyway I am trying to create a pause/play toggle button which stops... -
Play, pause, stop MP3
Greetings, I am a newbie to action script and I need some help. I am trying to put together a training CD. On this training CD, I am going to... -
Play Movie Twice with a Pause in Between?
I created a small movie that loops fine. I embedded it in an HTML page with looping set to "false" and play set to "false". I created some... -
pause and play movie
Hi! I have into in my movie, and I would like to put pause button on it so that customer can pause the intro if need to. And the I need play...



Reply With Quote

