ActionScript 2.0 :: Using Cue Points With NetStream?

Mar 9, 2010

I have a video with 2 embedded cue points (event). The video player uses NetStream and is NOT a FLV Playback component. I can trace them and see both name and time with this:

[Code]...

View 1 Replies


Similar Posts:


Actionscript 2.0 :: Use Cue Points With NetStream?

Mar 9, 2010

I have a video with 2 embedded cue points (event). The video player uses NetStream and is NOT a FLV Playback component. [code]...

That action will also do the loadMovie, so I know the loadMovie part works. But since there are 2 cue points the loadMovie fires with each cue point... not what I had in mind.

I just don't know how to get the loadMovie to fire outside of that function. I've tried this[code]...

View 1 Replies

ActionScript 2.0 :: Video Object - Adding Cue Points To NetStream?

Feb 16, 2009

I have a video object inside a flash file. I am using NetStream to attach a video to the video object. How can I add cue points to the video ? Should I add a cue point to the video object or to the NetStream ? (I am using Flash 8.)

View 3 Replies

Flash :: NetStream.Buffer.Full Not Fired After Call To NetStream.pause?

Jul 6, 2011

I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:

_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
_connection.connect(null);[code].....

View 1 Replies

ActionScript 3.0 :: Error On BitMapData.draw() After NetStream.pause() Then NetStream.seek()

Feb 25, 2010

I am working on an app that will take a snapshot of an rtmp stream of an archived video, save it to a file, and ExternalInterface the file name to the hosting page to javascript it up for display.

I actually have all pieces working great. The only time an error is thrown is when I pause the video, seek to somewhere, and then try to take a snapshot. Then there is a runtime error of:
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: mySwf.swf cannot access rtmp://myFlashServer/myApp. No policy files granted access.I've seen post after post of suggestions and have tried them, but without success.

I have the crossdomain.xml and my FlashMediaServer security setup fine (it is actually working, except for this one glitch). It just seems to be the pause-then-seek-then-BitMapData.draw() combination which is creating issues.

Another weird thing: after the error is thrown, if I resume the stream and take a snapshot, it works flawlessly again.

View 5 Replies

Actionscript 3 :: Calculating Evenly Distributed Points On A Line Of Points

Oct 3, 2011

I have been tasked with trying to create a drawing tool that draws dotted lines as you drag the mouse across the stage. I can easily capture the points on MouseEvent.MOUSE_MOVE and store them in a vector and then draw the points as dots:

The problem is that I need to calculate evenly distributed points on an ever growing Vector of points so I can only draw the line between say every 5th point (say using modulus). I have been battling away with Bezier curve equations both Quadratic and Cubic but still can't quite figure out how to convert my Vector of points into an evenly distributed Vector of Points without sucking the life from the CPU.

View 1 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 :: NetStream.info, Getting Error #2154 "The NetStream Object Is Invalid"

Mar 20, 2012

In my application I have a video playing from a NetStream. Every second on timer I update a text label with statistics like stream.info.currentBytesPerSecond. The problem occurs when the NetConnection associated with this NetStream closes: the getter for stream.info throws

[Code]...

View 1 Replies

ActionScript 3.0 :: NetStream.Connect.Closed - Know Which NetStream Has Been Closed

Aug 2, 2010

A NetStatusEvent with info.code of "NetStream.Connect.Closed" is dispatched by NetConnection when a NetStream is closed. This seems kind of weird, shouldn't the NetStream dispatch the event? how do I know which NetStream has been closed if I have more than one running (which I do)? I need to know so I can cleanup the now dead stream.

View 1 Replies

AS3 :: Points & Lines - Getting Lines To Follow Points As They Are Dragged?

Jul 21, 2010

I am trying to create a mindmap where the user can drag points about the screen. I have gotten as far as drawing the line via actionscript, and drag+drop the points (defined as movie clips on stage). This is the existing script - I don't know how to get the lines to follow the points. Something to do with ENTER_FRAME or updateAfterEvent?

var line:MovieClip = new MovieClip();
line.graphics.lineStyle(1,1);
line.graphics.moveTo(ptOne.x,ptOne.y);

[code]....

View 1 Replies

ActionScript 3.0 :: How To Use Netstream

Aug 17, 2009

I want to create netstream obj which will connect to wowza server ?

View 3 Replies

ActionScript 3.0 :: Use NetStream Or FLVPlayback?

Aug 22, 2010

I'm currently on a project where to build a site with with several video-clips being played and reached from a menu. The video-files will be in FLV-format.I've done some video solutions in flash a few years ago but this time it will be in CS5 (AS3) and I'm not sure which solution that will suite this project best.The video clips must run smooth and I guess we'll need some cuepoints and buffering to make the transitions from the user inputs smooth. I think they need some MovieClips on top the videopart as well for navigation/information.

Should I use the NetStream-way or use the FLVPlayback-way? I got some demo-video-files yesterday and I ran an example using the FLVPlayback-method and it showed up smoothly but is this the way to go?Why would you use either NetStream or FLVPlayback?

View 5 Replies

ActionScript 3.0 :: Add A Seekbar To My Netstream?

Nov 27, 2009

I'm trying to figure out how I can add a seekbar to my netstream.I have the duration of the flv through metadata and the current time of the stream, but I can't understand how I should connect them to pass a position to a seek handler. And allso to be able to drag the handler to positions in the stream.

View 1 Replies

Actionscript 3 :: AddCuePoint With Netstream?

Sep 2, 2010

Is it possible to add cue points using as3 and I will not be using FLVPlayback component.

I want my flv or netstream object to call a fucntion after 7 or 16 second or at any specified time during playing. i found addAsCuePoint the only way to do it.

If there is any other way to accomplish this task then i will not be using cue points..

View 1 Replies

Flex - Get The Name From A NetStream Object?

Dec 2, 2010

In a Flex NetStatusEvent of type NetGroup.MulticastStream.PublishNotify, you get the String name of the stream in e.info.name

The name is what the publisher specified in the .publish ("") method. But in a NetStatusEvent of type NetStream.Connect.Success, there is no such property. Instead, the whole NetStream object is available through e.info.stream

How the heck to you get something as basic as the name from the NetStream object? e.info.stream.name does not exist. I must be overlooking something very simple.

View 1 Replies

Flex :: Can't Mute A NetStream?

Apr 26, 2011

I'm creating a video chat app using Flash Media Server 4 and Flex, using RTMFP for peer-to-peer.No matter what I try, I cannot mute a user's NetStream. I tried receiveAudio(false) and that does not work. I tried capturing the stream SoundTransform and setting the volume of that to 0, that does not work.I tried setting the mx VideoDisplay volume to 0 and that does not work.I can set the alpha of the VideoDisplay, so its really strange that I cannot set the volume.BTW, I am not trying to mute the mic of the user who launched the app, that I can do. I'm trying to mute one of the other users stream in the Flex app, that way the app makes it possible to not hear people who are perhaps being offensive.

View 1 Replies

ActionScript 2.0 :: Preload SWF + Flv's NetStream

Oct 22, 2009

The code above is my standard preloader for swf, I use it since long time and its all working, I managed above the script another one that load the flv?s that I use in the array. The two are working but my need is that the container only start to play the module after all the flv?s have been loaded to the cache.

One thing to note is that in the second script the array is playing the flv?s when should be only load, I?ve try to give a ns.pause(); but if I do that the array dont get to the end of it.

View 9 Replies

ActionScript 3.0 :: NetStream Buffer In IE?

Oct 27, 2009

i've a very strange problem with a NetStream Buffer only in Internet Explorer (flash player version 10,0,32,18). When I connect to a netstream I use this:

var videoOpe:Video=new Video();
var stream="name live stream";
var nsOpe = new NetStream(nc); //nc is an active netConnection
nsOpe.bufferTime=1;
nsOpe.client=this;

[Code]...

View 1 Replies

ActionScript 2.0 :: Using Netstream From A Class?

Jan 28, 2010

I'm trying to play an FLV on a video instance on the stage called my_video. This works as frame code the timeline, but when I use it as a class it loads the video but gets stuck on the first frame.

Here is my code

Code:
private var my_video:Video;
private function loadVid(mc:MovieClip)
{

[Code].....

View 3 Replies

ActionScript 3.0 :: Set CuePoint To NetStream?

Feb 8, 2010

Currently I'm using a rtmp server to streaming a video (m4v format), and now I need to set a cuePoints to call this one.

The problem is,

I'm using a simple video playback with NetStream and NetConnection, till here its okay, the video is streaming correctly, now appears the necessity to show some graphics in middle of the video.

How can I set the cuePoint name? addCuePoint()? The simple video player support it?

View 1 Replies

ActionScript 2.0 :: XML Cue Point With Netstream Flv

Jul 8, 2008

I have flv's in the new H264 codec which apparently cannot have meta data cue points embedded like you would using Flash video encoder. I'm using Netstream in a custom player. Any suggestions how I would go about using XML cue points with Netstream? How would the playhead time trigger a search of the xml file?

View 2 Replies

ActionScript 3.0 :: One Netstream To Many Videos?

Oct 20, 2011

Is it possible to connect one Nestream (live from FMS) to many Video objects? So all the video objects on the stage show the same netstream.

View 1 Replies

IDE :: Can't Get Netstream Buffer To Preload

Apr 8, 2010

I'm trying to make a preloader for the buffer for a 19MB video. I can trace everything, but the math won't do.

Preloading the video itself is no problem. But what I want is to make a xx% preloader for the buffer of this video.[code]...

View 4 Replies

ActionScript 3.0 :: AddASCuePoint With Netstream?

Aug 4, 2010

I am going to be upset if you cannot use addASCuePoint (or a similar method) with the netstream object.Ive done a bit of googling and that is what I am seeing. Apparently it only works with the FLVPlayback component, but I havent seen any official docs stating that. Anyone have experience with this?

View 3 Replies

ActionScript 3.0 :: Using The NetStream Class?

Aug 6, 2010

I have a few questions about the net stream class..Lets start with the first one I have a netStream class that is basically set to default property values I am loading a video file off the local hard drive.Now once this video starts playing, I get NetStreamEvents constantly firing.. extremely rapid pace.

NetStream.Buffer.Full
NetStream.Buffer.Flush
NetStream.Buffer.Full

[code]....

It just keeps filling up and then flushing itself, but the video plays smoothly so to the end users nothing is wrong..

View 1 Replies

F8 Can't Edit FLV Cue Points

Jun 18, 2008

I am following a good tutorial here:URl...And it uses the following example file to display an embedded FLV movie:URL...I am having a problem editing the cue points. If I open the compenent inspector for the FLVPlayback, and then open the cuePoints dialog, I should be able to add, remove, or modify cue points. However, I can't edit anything in the dialog at all. It seems locked.The tutorial clearly states you should be able to edit the points.

View 1 Replies

[CS3] Can't Edit FLV Cue Points

Jun 18, 2008

[URL]In the tutorial, it says I should be able to edit cue points for the FLV video. I open the component inspector and the cuePoints dialog. All the cue points are listed, but it won't let me edit them. They seem ti be locked. I need to be able to edit cuepoints within flash for a linked flv file.

View 1 Replies

Can't Edit FLV Cue Points

Jun 18, 2008

I am following the tutorial here at URL...and it links to the following tutorial file:URL...In the tutorial, it says I should be able to edit cue points for the FLV video. I open the component inspector and the cuePoints dialog. All the cue points are listed, but it won't let me edit them. They seem ti be locked. I need to be able to edit cuepoints within flash for a linked flv file.

View 1 Replies

ActionScript 2.0 :: Using Cue Points In FLV's?

Jul 17, 2007

I am SUPER confused on how to make use of the cue point that I embedded in my FLV.It is called "END", is at time 00:00:46.114 and is Event type.How do I go about calling an action, say loader.loadMovie("info.swf), when the movie reaches that point?

View 5 Replies

ActionScript 3.0 :: Pass Netconnection To Netstream?

Apr 30, 2009

I should probably be refrencing a book rather than continueing to ask questions here but there are no books for AS 3.0 and flash media server. So this forum is my book i suppose any way here is what i have...I have 2 .as files one holding code for a netConnection and one for creating the netStream my problem is i need to pass the netConnection refrence from the netConnection.as file to the netstream....here is my failed attempt to do so I also get the following error message..ArgumentError: Error #2126: NetConnection object must be connected.

[Code]...

View 3 Replies







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