A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Unload SWF still plays the .flv (audio)

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    8

    Unload SWF still plays the .flv (audio)

    All,
    I have a captivate generated SWF file which has a .FLV inside it.

    In flash on click of a button I unload the movie(SWF), the video goes away but the .FLV still plays the audio. Any idea.

    Thanks,
    Baba

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Absolutely strange behaviour...have u tried using any another captivate SWF with FLV ? If possible can u upload the source files over here so that we can check ?
    As ever,
    Vinayak Kadam

  3. #3
    Senior Member
    Join Date
    May 2008
    Posts
    332
    My guess is that you'll need to incorporate some type of video control into your unload button. In otherwords, shut off the video before you unload.
    Something like
    Code:
    ns.pause();
    or
    Code:
    ns.seek(0);
    or even
    Code:
    ns.play("nothing.flv");
    which could be a nonexistant .flv.
    Each of these commands would of course have to be correctly addressed using dot notation to drill down into the video player .swf.
    And I'm sure there are several other options for controlling the video, but I'd say you have to build some method of controlling the video into your unload button.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center