FORUMS: list search recent posts

Stop video till Play button pressed

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Todd Schmidt
Stop video till Play button pressed
on Jul 29, 2010 at 10:53:30 pm

Hello,

Been struggling alot here and not getting much help. Earlier I posted something which I got working but the person I sent the files to does not know how to add the code to the server. Now she wants me to just add the buttons and make one swf. Ok...made a play and pause but my video wants to play automatically. I'm using an external file. Thought this would be a simple stop(); in my actions layer but not working. I'm tearing my hair out!

Thanks

Todd


Return to posts index

Todd Schmidt
Re: Stop video till Play button pressed
on Jul 29, 2010 at 11:23:58 pm

Here is the simple code. BTW, I'm in Flash CS4 using AS2

stop();
playBTN.onRelease = function(){
Demo.play();
}
pauseBTN.onPress = function() {
Demo.pause();
stop();
}


Return to posts index

Todd Schmidt
Re: Stop video till Play button pressed
on Jul 29, 2010 at 11:48:05 pm

NEVER MIND....got it


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]