How can I get an flv video to stop playing when I exit the page it's on?

The audio continues to play no matter where I navigate on the site.
Thanks

You want to stop the audio from playing and also downloading more video/audio if it is still downloading when you go to a new keyframe where the video display/component or mp3 player is removed from the stage because it's keyframe ended or do not exist anymore but you still hear the audio.
Add an event listener to your video playback component that calls a function when the flash player tries to remove the video plaer from the stage that stops the netstream or at least stops/pauses the video playback.
[link removed]
//sample NetConnection and NetStream classes when the video player is removed from the stage tell the NetStream to stop playing or downloading the content with .close();
var connection:NetConnection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
addEventListener(Event.REMOVED_FROM_STAGE, videoRemovedFromStage);
function videoRemovedFromStage(e:Event){
   stream.close();

Similar Messages

  • How Can i get my ipod Video 60gb to play on my XBOX 360???

    How Can i get my ipod Video 60gb to play on my XBOX 360???

    she only needs to do that if he needs to change the format. For example if she recorded the clips via her  phone and it's not in a format iTunes will play.  For example if I have a .wmv iTunes won't touch it until I convert it. She could also be talking about video that she recorded on a DVD camcorder that burns the video to a DVD not a memory card. ITunes doesn't convert everything.
    She's transfered the clips to her ipad and the ipad won't play them. So she needs to get them to a m4v or mp4, and you use format converters for that. Not apps but something on the computer.

  • HT201320 How can I get TRASH to show on my 5S when I slide the email to the right? I see more & Archive

    How can I get TRASH to show on my 5S when I slide the email to the left? I see more & Archive

    Hi SCAnn!
    Here is an article that can explain that feature for you:
    iOS: Understanding Gmail Archive
    http://support.apple.com/kb/ht4207
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • How can I get high quality video that will play on my Touch as well as ATV?

    Within iMovie there are output settings for the iPod and for the Apple TV. Now I fully understand the video resolution restrictions of the iPod Touch, so I am happy using a widescreen resolution of 640x360 ("Medium" output setting). What I am not happy about is the quality of the Medium setting, which iMovie states is 1.7Mbps. The results are rather blocky to say the least. In comparison, I can output the same movie as "Large", with a res of 960x540 and a bitrate of 4Mbps, and it comes out a little soft, but the blocky artefacts have all but vanished. Unfortunately, of course, the iPod Touch won't play a video with this resolution. I have tried "Export using Quicktime" and can get good quality results. However, the video (although H.264 and 640x360) ends up NOT being compatible with my iPod Touch.
    Basically, how can I output a video of 640x360 that is of the quality I want, and that also plays on my iPod Touch? If the "Export using Quicktime" can be used to achieve this, what are the settings to use?
    Thanks.

    But why shouldn't I be able to have one video to suit both. I am happy with the resolution of 640x360, even on my ATV.
    You can. Unfortunately, your desire for both a data rate greater than 1.7 Mbps (H.264/AAC compression) and the ability to play them on an iPhone/Touch/iPod is mutually exclusive at this time. Thus, you will either have to make different files targeted for different data rates for maximum quality on each device or you make a single file using the maximum allowed data rate for playback on the "slower" device and accept the quality it produces on whichever device you are currently using. If all you want is a higher data rate, use the MPEG4 Simple Profile which allows data rates up to 2.5 Mbps. Just remember that the H.264 codec is about 2.0-2.5 times as efficient and is roughly equivalent to an MPEG-4 Simple Profile file with video encoded at 3.00-3.75 Mbps.

  • How can I get an ad hoc network to remain when I restart the device? I have to re-create it everytimerestart

    We use mac mini's in various mobile applications and its impossible to create an adhoc network and have it automatically sign back on with it when we restart or turn the mac mini back on. We use them in airplanes and the unit does not stay powered once the airplne finishes its trip. So we hae to train the pilots to turn it on and setup a new network and its very pesty. Any thoughts on how to fix this. We have already tried to create a new location and mive thr adhoc network to the top of the heirarchy list but it still wont work.
    Thanks

    Hmmm - I may be misreading your problem, but try this.
    Create the network. When you have the computer connected to the "server" computer, make an alias of the server computer and place it on the desktop. You can try putting the alias into the computer account "log in" items.
    Restart. The computer should execute the log in items and join the network if its available.

  • How can I get real time updates in multiple views when scrubbing through the timeline?

    I am using After Effects CS 5.5 on Windows 7. When I use the mouse to click / drag / scroll through the timeline, one view updates in real time, this is great! If I open a second view, it only updates that view when I finish scrolling.
    I would like to be able to scroll back and forth through the timeline, and have two different compositions update in real time (live update)?
    Is this possible?
    Thank you!

    The long answer is: No. It's not even a performance issue, it's how AE evaluates time, since time is fluid and can be mangled in a million ways from time-remapping to expressions...
    Mylenium

  • How can we get a value in a drop down box without refreshing the page

    In my application i am having 14 drop down boxes. On selcting a particular value in a drop down box i am doing its corresponding functionality. I would like to get these values without refreshing the page each and every time i select a text box, Is it possible to get these values without refreshing the page each and every time.
    Raghu

    There is a new hype going on called AJAX. It is either that, or dumping a lot of information in javascript arrays and reading the information from there when you make selections. I would choose AJAX.

  • How can i get my personal choir download to play when i have itunes matchh

    i have i tunes match, but i want to download and play different parts from the choir i am in to practise, as it isnt a "proper recorded song" it wont let me play it, what can i do please?

    Plug the HDMI from your computer to the television.
    Open iTunes and play a movie.

  • How can I get App Tabs to automatically load a fresh version of the page every time I click on them?

    I like the app tab feature and am using it for sites that I visit frequently, for example, weather sites. The problem I have is that when I click on say http://www.metoffice.gov.uk/weather/uk/ta/arbroath_forecast_weather.html I get the site as it was the last time I used it. Today this meant I got a weather forecast starting from 2 days ago, not from today.
    I can get round this if I remember to "Reload" every time but I'm guessing that is not the way app tabs were intended to work.

    One of these two add-ons should do that:
    https://addons.mozilla.org/en-US/firefox/addon/2221
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How can I get a serial number for Photoshop CS6 when I have the student version of Photoshop CS5?

    Is my CS5 serial number supposed to work for CS6?

    No.
    You must pay for CS6 and then you will receive a new CS6 serial number.
    Or join the Creative  Cloud for a monthly fee.

  • How can I get an inserted  video (FLV) in Presenter 7 to stay on the screen once it has finished pla

    How can I get an inserted  video (FLV) in Presenter 7 to stay on the screen once it has finished playing? Right now it disappears once it is done. I'd like it to remain on the screen, or loop if possible, until the user manually moves the presentation forward.

    Hi,
    You may set the slide setting as 'Advance by user'.
    So,
    a. Insert flv on a slide.
    b. On presenter ribbon goto Slide Manager .
    c. Select the slide on which flv is inserted and set Advance by user 'Yes'
    Hope this solves your purpose.
    Thanks,
    Alpi

  • How can I get an mp4 video running on iPad Mini?

    How can I get an mp4 video running on iPad Mini, which is already in the iTunes File?

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • How can you get your iPhone videos to compress to one video instead of 5 different frames?

    How can you get your iPhone videos to compree to one video instead of different frames

    It sounds like you to 5 separate videos. If you start recording, then stop it, then start it again, you will have 2 videos. Not 1. As for splicing them together, you will need a video editing package for your PC. I don't know if Windows Movie Maker (or whatever they're calling it now) can handle this or not. On a Mac, I'd say just use iMovie.

  • How can i get my iPhoto videos to my iPhone?

    how can i get my iPhoto videos to my iPhone ?

    Hi jocelyn279,
    Welcome to the Apple Support Communities!
    To sync videos from iPhoto to your iPhone you would use iTunes to facilitate the syncing. Please use the attached article for information and instructions on how to sync videos.
    iTunes: Syncing photos
    http://support.apple.com/kb/HT4236
    To sync photos from a Mac or Windows PC to your device using photo applications
    Select "Sync Photos from."
    Choose the application you want to sync photos from in the pop up menu.
    Choose to sync all photos or selected photos. Select "Include videos" to sync videos stored with your photo library.
    Click Apply.
    Have a great day,
    Joe

  • HT3775 How can I get a youtube video that I have stored on a flash drive to play?

    How can I get a youtube video that I have stored on my flashdrive to play?  I have tried to open it with quicktime but it still will not open.

    Have you tried VLC ?
    http://www.videolan.org/

Maybe you are looking for