Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need help to unload and stop my video's

New Here ,
Dec 15, 2013 Dec 15, 2013

So my last problem in this project. It is a interactive menu and and i have loaded videos on one page out of the 7 pages i have and now i found out that my videos dont UN-load after timeline navigation and i need them to or they hang out in the background and breck the movie. here is the loader code how do i remove them after navigation???

import fl.video.*;

var myVideoOct:FLVPlayback = new FLVPlayback();

myVideoOct.load("video/video1.f4v");

myVideoOct.skin = "MinimaUnderPlayBackSeekCounterVolMuteFull.swf  ";

myVideoOct.x = 200

myVideoOct.y = 100

myVideoOct.height = 325

myVideoOct.width = 550

myVideoOct.skinBackgroundColor = 0xAEBEFB;

myVideoOct.skinBackgroundAlpha = 0.3;

addChild(myVideoOct);

var myVideoOct2:FLVPlayback = new FLVPlayback();

myVideoOct2.load("video/video2.f4v");

myVideoOct2.skin = "MinimaUnderPlayBackSeekCounterVolMuteFull.swf  ";

myVideoOct2.x = 800

myVideoOct2.y = 100

myVideoOct2.height = 325

myVideoOct2.width = 550

myVideoOct2.skinBackgroundColor = 0xAEBEFB;

myVideoOct2.skinBackgroundAlpha = 0.3;

addChild(myVideoOct2);

var myVideoOct3:FLVPlayback = new FLVPlayback();

myVideoOct3.load("video/video3.f4v");

myVideoOct3.skin = "MinimaUnderPlayBackSeekCounterVolMuteFull.swf  ";

myVideoOct3.x = 200

myVideoOct3.y = 475

myVideoOct3.height = 325

myVideoOct3.width = 550

myVideoOct3.skinBackgroundColor = 0xAEBEFB;

myVideoOct3.skinBackgroundAlpha = 0.3;

addChild(myVideoOct3);

var myVideoOct4:FLVPlayback = new FLVPlayback();

myVideoOct4.load("video/video4.f4v");

myVideoOct4.skin = "MinimaUnderPlayBackSeekCounterVolMuteFull.swf  ";

myVideoOct4.x = 800

myVideoOct4.y = 475

myVideoOct4.height = 325

myVideoOct4.width = 550

myVideoOct4.skinBackgroundColor = 0xAEBEFB;

myVideoOct4.skinBackgroundAlpha = 0.3;

addChild(myVideoOct4);

TOPICS
ActionScript
432
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Dec 16, 2013 Dec 16, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2013 Dec 16, 2013
LATEST

I looked at that and no combination of that code worked, what i found that did work was useing both removeChild (for all video players) and giving all video players a function containing SoundMixer.stopAll.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines