FORUMS: list search recent posts

Youtube API AS3

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Luciano Sprovieri
Youtube API AS3
on Apr 22, 2011 at 4:15:16 am

Hello everyone, I am making a flash website and I've added embedded youtube videos on it and when I publish the website, the videos play fine but when I click away from them, the sound keeps playing. I've added the stopAllsounds function and it works when I test the movie but not when the website is online. I found this documentation online http://code.google.com/apis/youtube/flash_api_reference.html and it says that we're supposed to add player.destroy():Void to make the videos stop playing, but I've noticed that AS3 doesn't have that function anymore (it was part of AS2). I found this code online

http://demo.coma.com.tw/iverson/milkmidi/media/YoutubeLoader.as

Everything works but, still, the video won't stop playing... Has anyone run into the same kind of issue? I've been working on a solution for days and haven't found the answer. Can anyone help me?


Return to posts index

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