ActionScript 2.0 :: CS3 - Netstream - FLV Doesn't Load / Play

Aug 24, 2009

The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.

[Code].....

View 5 Replies


Similar Posts:


Actionscript 2.0 :: FLV Doesn't Load / Play

Aug 24, 2009

The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.[Code]...

View 2 Replies

ActionScript 3.0 :: Error: "NetStream.Play.StreamNotFound" While Playing Mp4 File Using NetStream Object?

Jan 7, 2010

I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http.This is an AIR application and the relevant code is pasted below:

var url:String = <some http url>;
connect_nc = new NetConnection();
connect_nc.connect(null);

[code]........

View 0 Replies

ActionScript 3.0 :: Play And Load Functions Doesn't Work In Flash CS4

Aug 8, 2009

The problem I have is simple: the play and load functions doesn't work in flash CS4 as defined in the documentation: URL...So to speak, I can only define like this: URL...My flash player version on all 3 fla files that I use is set to 10.And now with the GREAT issue I can't set startTime for the video and this is just GREAT.

View 6 Replies

ActionScript 2.0 :: Broken Linkage - Load .swf Into Another Movie The Sound Doesn't Play?

Apr 14, 2005

I have an mp3 exported for actionscript with the linkage name bgmusic.When I play the sound using a sound object, it works fine.However, I take that same .swf and load it into another movie and the thing breaks... the sound doesn't play.How do I fix the linkage so that it'll play again?

View 5 Replies

Media Server :: Stream.play (live_from_FMLE, -1, 4500, True) Got No NetStream.Play.Start?

Nov 5, 2010

I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".

On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.

With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:

info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.

View 3 Replies

ActionScript 3.0 :: Play An Mp3 File Using NetStream.play?

Mar 23, 2010

I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.

View 5 Replies

ActionScript 3.0 :: Different Between NetStream.play And VideoPlayer.play?

Nov 4, 2010

1) What is the recommended/best practice method for loading videos (flv, f4v, mp4, etc.) from a play list. Some of the files might be on the local file system, some might be on a streaming server and uses rtmp.
 
2) Does the VideoPlayer.play internally use NetStream/NetConnection objects? I could get the files to play using both these methods - not sure if one is better than the other. I didn't see any references about streaming in the VideoPlayer.play method - but it does work with rtmp URLs!
 
3) For a long running standalone application, how do I make sure the VideoPlayer/NetStream objects are properly released/garbage collected? Right now I am closing the netstream/netconnection after playing every file - mainly because I do not know which server/file system the next video is being loaded from.

View 6 Replies

Actionscript 3.0 :: FLV NetStream Pause() Doesn't Work

Apr 30, 2008

I followed lee's tutorial to create my own video player and I'm using AS3 for that. The problem is that for some reason, pause() doesn't work, it will pause the first time I clicked it, but it wouldn't go back and play again. I looked through AS3 books and online, everything tells me that pause() should be able to pause and resume. Another thing is that if I try to use pause(true), an error would appear and tell me that the argument should be no more than zero, and I'm like "why?????" so here's my code, it is basically based on lee's code but in AS3...

[Code]....

View 3 Replies

Flash :: Add Such A Handler, The NetStream Client Doesn't Function As It Did Before?

Nov 2, 2010

I'm trying to add a custom callback handler to a NetStream client in a p2p application. The problem is, when I add such a handler, the NetStream Client doesn't function as it did before. It seems the NetStream.client object is changed. I know the default object is this. But changing the client to this doesn't solve the problem.The remoteControlStream, is the incoming stream. And the localControl stream is the stream being publishedThis is the localControlStream that's being send by the peer, and received as remoteControlStream:

private function initLocalControlStream():void{
localControlStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
localControlStream.addEventListener(NetStatusEvent.NET_STATUS, localControlHandler);
localControlStream.publish(myPeerID+"control");[code]...

The onPeerConnect method of the localControlStream doesn't get called when I connect when the above handler is added. When I remove the that handler, the onPeerConnect method gets called.

View 1 Replies

Flash :: RtmpLite And NetStream.bufferTime Doesn't Work

Dec 1, 2010

Are there any known issues with the rtmplite server and NetStream.bufferTime? For some reason, while adding NetStream.bufferTime = 2 it doesn't work for me. It does work with Red5 though.

View 1 Replies

Flash :: Streaming - Generate A "NetStream.Play.StreamNotFound" Error While Play?

Mar 2, 2011

I used NetStream.play("invalid-live-stream-url") to play an invalid live stream. The other arguments are using default, e.g. start = -2, len = -1.

The menu says that when we use the default "start" and "len" to call "NetStream.play", "Plays the live stream until it is no longer available. If a live stream of the specified name is not found, Flash Player plays a recorded stream until it ends."

However, I do not have a recorded stream on the server that has the same name as the live stream, and I did not get the expected "NetStream.Play.StreamNotFound" error.

View 1 Replies

Flash :: Netstream Play In The Middle Of A Video?

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

ActionScript 3.0 :: NetStream Play Complete Still Not Working?

May 2, 2008

Hoped this would ave been fixed in as3 but this event does not always get triggered. Seems to be related to the encode. Anyways I would like to see others approach to this issue.

Currently I have place a condition in the NetStream.Play.Stop event to check if the ns.time is > the duration-1;

[as]
if (ns.time > duration-1){
playing = "complete";
}
[as]

I have noticed this does even work consistantly unless I change it to ns.time > duration-2.

View 1 Replies

ActionScript 3.0 :: Netstream.play.stream Not Found

Feb 7, 2009

I am trying to upload my demo reel. I compressed it to an FLV file, and used the import video command with the setting' "Load external video with playback component." After selecting my skin and hitting ok, I got a prompt that said "Netstream.play.stream not found." Why isn't this working?

View 2 Replies

ActionScript 2.0 :: F8 Play / Pause Clip Not Working With NetStream

Feb 6, 2009

I've got a play/pause movie on my timeline to control an FLV via NetStream. The idea is to switch from a play symbol to a pause symbol, but it's not working.[code]Clicking on the clip will start and stop the flv just fine, but the symbol switch doesn't happen. When I take out the ns code, just to check and see if the switch will actually work, there's no problem.What am I doing wrong? How can I get my clip to change from a play to a pause symbol?

View 1 Replies

Media Server :: NetStream.Play.StreamNotFound Not Dispatching?

Nov 3, 2009

I'm recording audio using FMIS, the file is being saved out as a FLV file and I am able to play it back. Eventually that file may be deleted after some time and I would like to notify the user if the file is no longer available. I was expecting to see NetStream.Play.StreamNotFound after deleting the file on the server but I'm not getting that message. Instead I get:
 
-->      NetStream.Play.Reset-->     NetStream.Play.StartAnd nothing plays which is expected since the file is deleted, but I dont get the right message. I'm calling the file like so:ns.play ("flv:file_to_stream");

View 7 Replies

Media Server :: How To Avoid NetStream.Play.Stop

Jun 15, 2010

I'm streaming mp3 on flash media server 3.5 on  linux version, and very often come accross with that problem, when the buffer.length become 0 on client side, the streaming will stop with NetStream.Play.Stop event, and will not be continued. I think this case it should wait always till the data arrives and never should stopping. Some more info : I tested on applications/live folder, and the mp3 files are created dynamically during the playing, and the creation speed is almost the same like the playing speed, so those are not fix files.

View 2 Replies

Media Server :: NetStream.Play.StreamNotFound Not Working?

Aug 3, 2011

I would like to have the possibility to detect when NetStream is not working (i.e. the name used in initialization can't be found on the server side). The StreamNotFound doesn't work at all. I've read that it's the fault of the Flash Media Server, which automaticaly creates new stream, if it cannot be found (of course it's an empty stream - what is wrong from my point of view). Is it true? If yes, can I disable it on the server side, so I could easily detect if the stream name is correct?

View 8 Replies

Media Server :: Netstream Play And Publish Simultaneoulsy?

Nov 15, 2011

i've created a sub-folder called dvr under fms 4.0 applications. i made a test of playing a video named sample.flv then at the same time i publish it to the same fms 4.0 server with a different video name: "mergedVideo".the asc at the fms server as following:

application.onAppStart = function()
{
trace("app start : " + application.name);

[code]...

View 1 Replies

ActionScript 3.0 :: NetStream.Play.Stop Firing Early In Chrome?

Feb 4, 2011

Is anyone having trouble with Chrome getting NetStream.Play.Stop early in Chrome? Seems to fire around the time the buffer has filled. Same code is and has been working fine in all other browsers for some time.

View 2 Replies

Media Server :: Got NetStream.play.stop Before It Reaches End Of Playback

May 23, 2011

i have application that streams videos from fms .i try to play video of 240 seconds, but when playback reaches 180 seconds i got NetStream. play. stop . it happens regularly at the same time.why does it happen? is it encoding of the video??

View 4 Replies

ActionScript 3.0 :: Pass Textbox Value As Variable For URL/Filename To NetStream.play(url)

Oct 1, 2009

I would like to pass a value from a text box on stage as the URL or filename to the NetStream.play() argument. example:

var url:String = url_text.text;
var conn:NetConnection = new NetConnection();
conn.connect(null);

[Code].....

The point of the matter is that I'm pulling the values from JavaScript/HTML using the ExternalInterface which changes as the user selects next on a HTML page. The page name (URL) is being parsed and passed back as the video filename. I'm using the text boxes currently just to test/view the values being received and sent to JavaScript. The value send and receive fine, I just can not seem to pass the value into the NetStream.play(JavaScriptValue).

function getTextFromJavaScript(str:String):void {
sending_ti.text = str;
var jsArgument:String = sending_ti.text;

[Code].....

View 1 Replies

Actionscript 3.0 :: NetStream.Play.Start Fires Multiple Times

Jul 28, 2009

I'm working on a project using a MVC design pattern where flvs are played form a xml playlist. I noticed something strange in the Output window. For the first flv the NetStatusEvent NetStream.Play.Start fires once, the second one fires twice, the third one three times....

Here is the part of the code where I load the video :

Code: Select allpublic function loadVideo(url:String):void
{
_nextBtn.mouseEnabled = true;
_playHead.x = 0;

[Code].....

View 1 Replies

ActionScript 2.0 :: [CS3] Netstream Play/Pause - Show A Couple Of Short Animations?

Feb 20, 2009

I'm using netstream to show a video in .flv.Over this video I need to show a couple of short animations, and when they play, I need to paus the long video so it doesn't plays in advance in the background.I've got this script to pause the movie:

Code:
btnPlay.onRelease = function () {
ns.pause();
}

But how do I apply it so that when the timeline hits a certain frame, it calls it. I mean, the user can't really know when to stop to see the animations, so it has to be done at a specific time.

Code:
this.onEnterFrame = function(){
ns.pause();
}

Would do it.

View 1 Replies

Media Server :: NetStream.play(streamName, -1);  Plays Recorded Stream?

Sep 16, 2011

NetStream.play(streamName, -1); This seems to be working wrong.if I have recorded an flv on server using FMS and FMLE with  only audio with name "myaudio" and then after if I try to play a live  stream using NetStream.play("myaudio", -1) then it plays the recorded  stream. I believe that documentation says that it should start a live  stream instead of playing recorded stream as the second argument is -1.  Is this a bug in NetStream.play method?

View 3 Replies

Flash - Play A Single NetStream But Show Different Parts Of It On Different Video Objects?

Jan 19, 2011

I have 3D videos encoded with each eye's content side-by-side on each frame. What I want to do is take the left-half and over-lay it on the right-half. (I'll then change with the colors and the overlaying so that someone with blue-cyan 3D glasses can view the video).

I tried to attach a single NetStream to two video objects and offset them, but that only let the stream play on one object.

View 2 Replies

ActionScript 3.0 :: Firefox And Opera - NetStream.Play.Stop And Video Is A Slowdown?

Mar 25, 2011

Video broadcast using VLC to flv file. I am using the NetConnection, NetStream and Video to play it in a flash. In Chrome and IE everything works fine, but in Firefox and Opera NetStream often dispatch event NET_STATUS with info.code = NetStream.Buffer.Flush and NetStream.Play.Stop and video is a slowdown.

View 1 Replies

ActionScript 3.0 :: Path Resolving In Conjunction With BASE Embed Param And NetStream.play()?

Sep 11, 2011

"When  using progressive download (FLV), NetStream's .play(url) method is  not  resolving relative URLs in the expected way. Instead of being based   off the HTML's embed location and reading the "base" param, it uses the   location of the SWF file trying to load it." I have found  it on the web while searching for a solution to exactly the same  problem. Unfortunately no one provided an answer. If it is a bug it is  in fp ever since and no one has done anything with it. Does anybody know  any solution/workaround? I assume it is not possible to read base param  value from inside of the swf in order to resolve paths manually?

View 6 Replies

Actionscript 2.0 :: Using Netstream To Load In A Video?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved