ActionScript 3.0 :: Getting Blip Of Sound From Previous Netstream Video
May 30, 2009
why a small bit of the sound is heard from a previous video loaded via netstream. I am loading h264 mp4 files, locally.
I'm stopping and hiding the previous video with:
Code:
stream_ns.pause();
stream_ns.seek(0);
video.visible= false;
Please show me the light
[EDIT] I did find a work around by starting a timer when the video starts to turn the volume to 1 from 0 (set in my video stop function) after a second.
View 1 Replies
Similar Posts:
Oct 29, 2009
I got my video Netstream playing just the way I want it. When I rollOver a certain area, I start my video and when I rollOut I close it. My problem is that, when i've started it once and done a rollOut and afterwards do a rollOver again, I get a little glitch of sound whenever the video starts. It seems that I need to empty/flush my netstream? Looked at NetStream.Buffer.Flush, but not sure how to use it.
[Code]...
View 0 Replies
Apr 15, 2009
I have a series of movie clips (flv's). All are the same movie clip of a rotating object but it's different colour in each clip.When one clip is playing and I click to play another, I would like the clicked movie clip to start playing from the same position at which the previous clip was at. So if a clip had played for 3 seconds and I click a different clip, I would like it to seek and play from 3 seconds instead of 0.[code]Can anyone tell me how I would go about tracking the data of how many seconds of a clip has played?My guess is that it will either be metadata or NetStatusEvent related.
View 4 Replies
Aug 5, 2010
Need to make a character start to talk when the sound starts and stop talk when the sound stops so I'm using this:
[Code]...
View 2 Replies
Jul 18, 2011
The stop button plays as expected. The play/pause button plays as expected. The issue is when you press pause which will cause the play button to appear, then press stop. the video automatically plays and it shouldn't. I have bolded the control button script for convenience.
[Code]...
View 1 Replies
May 3, 2011
I'm using swfobject (2.2) to load blip.tv videos. Everything was working fine with their old player, but now that they have switched to the stratos player, it fails to load properly in IE. It shows a grey video window, with the play button half showing on the left side, and the button won't work.
Here is my js code:
function loadBlip(videoFile,width,height,cssID) {
var blipSWF = "http://blip.tv/scripts/flash/stratos.swf";
var expressSWF = "/lib/js/swfobject/expressInstall.swf";
var attributes = {
[Code]......
The file that I pass to the loadBlip function looks like: [URL]
Again, this works fine in FF/Chrome/Safari, but fails in IE.
Here's a sample link: [URL]
View 1 Replies
Aug 2, 2010
I have made an animation consisting of 7 different MC's - each accessed by a hidden button. When I play the individual swf files, with sounds, they work fine. When I place them on the main timeline and export the swf, as soon as I click on any of the buttons, ALL the music/sounds play no matter what MC I'm playing. It is a cacophony of sound that I need to fix before 10th August - when I need to hand the project into University for marking.
View 1 Replies
Jun 24, 2009
I am having problems with a flash file i am working on. Basically i have created a slideshow/ebook that includes two buttons that move forward and backward on the timeline. On each page or frame of the main timeline are other buttons and movie clips. Anyways, I am trying to figure out how ,for example , if the user flips forward quickly through the slideshow that the sounds do not continue to play on the next or previous frames. Everything else on the file works great , it's just a matter of keeping the sounds from overlapping.
View 2 Replies
Dec 23, 2011
[code]I am making a soundboard and I need the code to stop previous sounds if I click on a new sound
View 3 Replies
Jan 27, 2011
I'm streaming audio using NetConnection and NetStream. I know that you can modify sample data in real-time with the Sound object, however I cannot find the SampleDataEvent for audio playing with the NetStream object. Is there a way to pass the audio from the NetStream object to a Sound object and modify the sound at that object instead?
View 2 Replies
Apr 5, 2012
I'm making a video player in AS3 and was wondering how to find out how much of the video is currently cached/buffered. I'm not sure what the correct terminology is, so I haven't been able to find it in the documentation.
NetStream.time gives me the current location of the video, so based on that I can display a progressbar.
Underneath the progressbar, I want to display how much of the video has been loaded already. How do I find this value?
View 1 Replies
Jun 23, 2010
It's a simple video player that opens a netStream which setups a client callback object onMetaData.The size is off when video is scaled.Example 1:
ActionScript Code:
trace("width: " + data.width, "height: " + data.height);
if(data.height > 240)
[code].....
View 0 Replies
Aug 27, 2007
Using netstream to load in a video and have the buffer to basically load the entire video before it starts playing. So the video doesn't begin to play until the buffer is full but while the buffer is filling up, the cue points are being read and triggering actions.
View 4 Replies
May 28, 2010
my website contained some flvīs netstream. everything works fine!now i want to switch between some external swf and my netstream.. but it doessnīt work!.[code]
View 1 Replies
Aug 20, 2010
I am new in AS3.I am using net stream video player with xml. How can i get videos dimension (Width and Height).if suppose i get the dimension of the video and i will change the video size with aspect ratio.
View 7 Replies
Jul 28, 2011
I have a netstream object playing a video introduction
ns.play(video.flv)
and on another frame of my movie I have a menu, at which point I call
ns.pause()
and then depending on what the user clicks, the netstream opens a new video:
ns.play(video2.flv)
except I see a flicker from the previous video I had running. I've tried all sorts of things.
View 2 Replies
Sep 17, 2008
I am trying to load video using NetStream. I am able to do this by using the Video Class, but is it possible with the FLV Playback? I would like to add a seek bar so people can scroll the video if they want to.
I know the FLV Playback Component has this built in so I would use it BUT I can't load a stream to the FLV Playback, I can only set it's source. This works fine, but it doesn't allow me to unload it, the sound keeps playing, which is why I ended up using the NetStream instead.
So I have 2 questions. 1) Is it possible to load the NetStream to the FLV Playback component? 2) If not, how do I add the seek functionality to my Video Class?
View 2 Replies
Jul 29, 2010
Is there something i can check to see if a NetStream Video is a live stream? I have a DVR app, need the player to snap to live point (if it is live - seek(100000) ? or start from the begining if a recorded video - Ideall a boolean if the stream is live or not...
View 9 Replies
Jan 19, 2010
I'm using the netstream and video object to play a video in flash. Specifically a mp4 video.
What I'm trying to do is start playing the file from a specific position (Ex. 20seconds).
However with netstreamObject.seek(20) doesn't work unless the stream has been loaded past 20seconds. Is there a way to specify starting to load at 20s? Or any other way of accomplishing this?
View 5 Replies
Jun 24, 2010
I'm loading flv file using Video and Netstream (trivial example from docs). On Flash player 10.1 everything works fine. On 10.0.2.54 everything stops on NetStream.Play.Start.
View 1 Replies
May 9, 2011
I am using Flash Pro CS5.5 to create a video player for the iPad. I can get it to work locally, but when I test it on the iPad, it cannot open the video file. The video file is included in the package file. Is there a trick to referencing a video in the package? Here's what I am trying:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.play("myvideo.mp4");
View 1 Replies
Oct 5, 2011
i have video streaming from the server, and later on i want to add another one just side by side. thats all good, i done that. Now my problem comes when i want to remove video. I manage to remove it from display, but i can hear that video is still playing in the background. So how do i can stop streaming that video?here is my code for setting up the video:
ns = new NetStream(connection);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
ns.play(item[1].toString() + ".flv");
[code]....
View 1 Replies
Oct 21, 2007
just wondering if it is possible to play an FLV and attach the video from that netstream to another and publish it to FM2.
is there a a way to attach video and audio from one netstream to another?
i have tried everything so far that i know of. when i think its attaching and publish it, i see nothing. publshing my cam and mic work flawlessly.
here's my code:
Quote:
nec = new NetConnection();
nec.connect(null);
nes = new NetStream(nec);
nes.play("http://testbox/transformers.flv");
[Code]....
View 1 Replies
Jan 23, 2009
if someone knew the as 3 netstream code to play a video,
also would anyone happen to know if it's possible to show the time of a video being played w/ netstream?
View 0 Replies
Feb 4, 2009
I need help creating a video player which will load only 60 seconds of video from an external flv file which can be of any length (more than 60 seconds). I am able to play only 60 seconds of video but the player buffers the entire video which results in loss of bandwidth.
View 0 Replies
Jun 18, 2009
I am doing video.attachNetstream(ns) in the videoContainer's parent movieclip. How do I access the netstream object of the video inside the container. Basically, I want something like this : video.getNetstream(). Does any equivalent exist?
View 0 Replies
Feb 11, 2010
I'm sure this is a simple question, but I just can't crack it. In my video player I want to detect if the current status is playing or paused. But I can't figure out where this info comes from. Is it a property of the ns object?
View 4 Replies
Jun 13, 2007
I would like to ask, how can I adjust the volume for the video playback ? here is the code
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
video.attachNetStream(ns);
[Code]...
View 7 Replies
Oct 20, 2011
I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?
View 3 Replies
Nov 13, 2009
I have an external video that I have attached through NetStream and it works okay, however I have another one that is longer and not working at all. That file is set up exactly the same as the one that is working, so I don't know what's wrong with it other than perhaps the file is too large to handle that way?
[Code]...
View 2 Replies