When creating the loaded SWF - the one with the YouTube player inside, you can create a public API methods for playing, stopping, etc. that can later be called by SWFs that are using it.
Up vote 0 down vote favorite share g+ share fb share tw.
I've use AS3 Youtube API to load youtube video into my flash file, let's call it youtube. Swf I've a main. Swf and it loaded youtube.
Swf into it's stage. I try to unload this youtube. Swf and load in another new.
Swf, but the sound of youtube still running. I've insert the player.destroy() in the main. Swf but it's not working too.
Any idea that I can destroy the youtube video with the script in main. Swf? Actionscript-3 youtube link|improve this question asked Mar 1 at 11:20pizza0502213 86% accept rate.
When creating the loaded SWF - the one with the YouTube player inside, you can create a public API methods for playing, stopping, etc. that can later be called by SWFs that are using it. To create a public API it's only needed to create public methods inside the document class or if you're using frame scripts - creating public functions in the first frame. In those methods you could delegate calls to the YouTube API.
Then the main SWF, before removing the loaded one, should call the "stop()" or similar method on the loaded content and then for example remove it from the display list.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.