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


Similar Posts:


Flash :: Use One NetStream Object To Feed Two Video Objects Simultaneously?

Oct 27, 2010

I'm trying to attach a single NetStream Object to two separate Video objects instead of pulling redundant streams from the server. The expected behavior would be for both Video's to display the same content. However, it seems that the last video I attach the NetStream to is the only Video that will display the content.Has anyone else run into this? I'd rather not go to the inelegant steps of using BitmapData to clone pixels if I don't have to.

View 2 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 :: Single Media Player - NetStream With Audio / Video

Mar 27, 2009

I have a project I'm working where I need a single media player to be able to play either audio or video depending on what gets passed (flv or m4a).

PHP Code:
ExternalInterface.addCallback("playMedia", playMedia);
// The way a/v gets changed is from a dropdown menu in the HTMLvar av:String;
/ The param that gets passed to my playMedia function which will determine if its audio or video
var nc:NetConnection = new NetConnection();nc.connect(null);var ns:NetStream = new NetStream(nc);ns.client(this);
[Code] .....

How do I add the audio to the container in such a way that it 'replaces' the video that's in the container? I may want to add a static image as a visual representation.*/ 
ns.play(av);
}}

View 1 Replies

ActionScript 3.0 :: Splice Up A Video Object And Have It Play On Different Parts Of The Screen?

Jan 19, 2011

I want to crop a video and have part of it play somewhere else. Is it possible to do this, possibly by extending Video or MovieClip and changing how it draws?

View 2 Replies

ActionScript 1/2 :: NetStream Video Control Button - Play Video Automatically

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

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

Professional :: How To Play Single Stream On Two Objects

Jan 18, 2011

I'm interested in making a stereoscopic player similar to YouTube's 3D Player. The first strategy I tried is having two streams (one for each eye) attached to two video objects, but I noticed that this could lead to problems with them going off sync due to separate buffering issues. So now I'm thinking the way to do it is to encode the two eyes side-by-side into one video, and do some Flash trickery whereby I can take the left side and overlay it with the right side.

I suspect that this is how YouTube does this, because they ask you to upload 3D videos in a side-by-side format in the first place. I don't know how to do that Flash trickery, where I essentially take a video's left-half and overlay it with it's right-half. I tried attaching one stream to two video objects that were offset from each other, but only one of the streams played.

View 6 Replies

ActionScript 3.0 :: Play Multiple Flv's As If It Was A Single Video

Dec 8, 2009

I am trying to build a video player in flash that would be able to play multiple flv's as if it was a single video. I come running to you because I don't really know how to go about doing this. I know how to load in an flv and play it, but I want to load in say 3 flv's and play them, the thing I'm stuck on is, do I need to create multiple net streams?

How can I tell the swf to start loading in the next flv when the first one is 90% loaded...? I see you can play an flv, by passing a url to the play method of the net stream object, but how can i get an flv to be on 'stand by' and load in, and add it when the first flv is at 100% finished playing?

View 5 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 :: Flash Header Won't Show All Parts Until Refresh Or Go To Another Page

Jun 15, 2010

My Flash header wont show all parts until I refresh or go to another page.

View 2 Replies

ActionScript 3.0 :: Create An Flv Player To Play A Single Video From A Website?

Mar 4, 2009

I'm trying to create an flv player to play a single video from a website. I can't seem to resize the playback window. Altering the width just seems to move the same small window around the screen.

Ideally I'd like it to go full-screen or at least fill the browser window. However, I don't even seem to have basic control at the moment. What am I doing wrong here?

Also, (and maybe this is related), I couldn't import fl.video.* in Flex Builder without placing the component first in my library resource using Flash. Is it possible to bypass this step and import directly in Flex Builder?

[Code]...

View 1 Replies

ActionScript 3.0 :: Detecting Collisions For Different Parts Of Single Mc

Feb 6, 2010

I have a movie clip 'Player'.I want to divide the mc into two equal halves p1 and p2 for collision detection (p1 and p2 are joined together physically).i.e. if ball collides with p1, i do something and if ball collides with p2, i do something else.But i dont want to create 2 different players p1 and p2 for that.i want to have something like p1 and p2 are a single movie clip 'Player', but still can be accessed separately.

View 6 Replies

Media Server :: Video Complete Triggering "NetStream.Play.StreamNotFound"?

Jun 1, 2010

I'm using OSMF v.95 to handle my video playback. When my streaming videos finish, the following error is triggered:"NetStream.Play.StreamNotFound"I want to be able to re-play the videoor scrub back, but the stream is unusable after that error.I've tested  against a few different streams - here is one:

View 1 Replies

ActionScript 3.0 :: Play The Video Smpoothly Or Show A Loading Animation When It Buffers?

Nov 8, 2010

I have created a web application which records users video from webcam and stores.Once the user recorded his video he can previwe it.All the functionalities works good in local but not in internet.In internet when i preview the video it takes long time to play.some times it stops in the middle.Is there any way to play the video smpoothly or show a loading animation when it buffers.

View 1 Replies

Flash :: Show Different Images For A Single Button?

May 7, 2011

How to show different images for a single button?It should show different images when the mouse pointer is over the button and out of the button.

View 3 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

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

Show Video Via Flash / If Failed Show It Via Html5

Aug 26, 2010

how I embed a html5 video player only if there's flash in the browser? If there is flash in the browser I want to use it instead.

View 2 Replies

ActionScript 3.0 :: Communication Between Objects That Are Parts Of 2 Components?

Oct 9, 2011

I've posted my question on other forum but without success so I couraged myself to ask here too. I've got an application (see image) which consists mainly from two different components. It is media player similar to winamp or so. Two main components are MainPanel and second one Playlist. These contain several other components so MainPanel constains Buttons objects TimeCounter or TrackDescriptionWidnow etc. and Playlist contains AlbumNext AlbumPrev buttons, Display which holds Textfields with names of tracks. So the thing which is most complicated is actually communicatig between some objects. Let's say I click on the track in the Playlist. In fact many objects need data when other one changes its state. When I click NextTrackButton in MainPanel, next songName displayed in the Playlist needs to shine, or if the ShuffleButton is pressed one of the random song will be played. My question is how to communicate between objects that are not in the propagation scope when events occur For example if some object fire an event in the playlist(Component2) only objects that come from Stage through Engine can listen for that event. So objects in MainPanel can not hear dispatched event. I've got many events, many objects listening for some of them, and I ended up with the total mess who is listening for. I register events to my class by public static const EVENT_NAME; and then dispatch it on that occured situtation. I managed to add some events listener to Engine and set bubbling to true, this way Engine can listen for most of the events, but then I have to dispatc new event to the other component to make it listening. Do you know how to communicate properly between differently scoped objects?

View 3 Replies

Drag And Drop Multiple Objects And On Collision Activate/play A Video Clip

Jun 7, 2010

I would like to drag and drop multiple objects and on collision activate/play a video clip.

View 3 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

Professional :: Animation To Play In Parts?

Aug 24, 2010

How do I make an animation play and pause when I click. Meaning.. I want it to play part the first 10 frames when I click, and then stop. Then when I click again it will play from frame 11 to 20, then I click again it plays 21 to 30.

View 3 Replies

How To Handle Video Parts

May 5, 2011

I have a project where I need to have a video clip play as soon as the SWF starts, and once it's done, the video stops at the end and a prompt to continue appears to transition into another video.I just need to figure out how to handle the video parts of this project, and I need to do this without showing any playback controls on the screan.

View 1 Replies

Flash :: Connect To Multiple Netstream In The Same Video Object?

Oct 16, 2011

Is it possible to have a same Video object ( and perhaps StageVideo) connected to multiple NetStream's objects? It's videoconferencing app, in which all members can speak ( So multiple audio sources) but should not hear themselves (that's why I don't join them in a single stream).

That's what I tried:

ns = new NetStream(nc);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
ns.client = this;
ns.play(streamName1);
ns2 = new NetStream(nc);

[Code]...

View 1 Replies

ActionScript 2.0 :: Flash Video - NetStream And Basic Fade In

Apr 17, 2007

Im a beginner at flash video, and have been using the built in FLV component which I can apply actionscript fades to easily. However I don't seem to be able to use them when I use the better method... NetStream. Here is an example fade:

[Code]...

View 1 Replies

Professional :: Video Plays In .SWF But Flash Template Video Controls Don't Show Up

Sep 9, 2010

I'm porting in an .flv to Flash for the first time. I created the .flv from an .MP4 using Media Encoder CS5, and then opened a new Actionscript 3 .fla in Flash Professional CS5, clicked File > Import > Import Video. Then selected 'Load external video with playback component'. Everything seems to have imported fine, but when I publish the SWF and import it via Dreamweaver CS5 and preview the page, the video is there, but the controls are not. There's just a white box where the controls should be. Also, the video is out of sync with the audio, which I believe is a problem with Media Encoder, not Flash.
 
Here are some links:
 
The page that I'm working on (video at the bottom of the page)
 
The .FLA 
The .FLV 
The .SWF

View 2 Replies

Actionscript 3 :: Get Video Controls To Show Up In Fullscreen Video Flash?

Oct 17, 2010

I am building a flash video player with a custom UI, and admittedly I'm not sure exactly what I'm doing. I tried altering a skin, but that always comes out wonky due to whatever coding they use. So I'm altering single video components and putting them in the mc what I want them. It looks great, but the problem is that when video goes to full screen, all of the controls dissappear and I can't figure out how to make them show up. How do I get a movie clip to display on top of the video when it goes to full screen in flash AS3?

View 1 Replies

AS3 :: Flash - Detect NetStream Events With Video Object (not Component)

Jan 11, 2010

I have created a FLV video player using the AS3 flash.media.Video object (not the FLV playback component) and I am trying to listen for meta events and Cue Points embedded in the FLV video but I am not receiving any when I trace the movie. The cue points are not being created dynamically, they are in the FLV video.

Video embed code:
// Initialize net stream
nc = new NetConnection();
nc.connect (null); // Not using a media server.

[Code]....

Is there anything I am missing have wrong to capture events from my net stream?

View 2 Replies

ActionScript 3.0 :: Play Parts Of A Movie Clip With TweenMax?

Sep 9, 2011

Suppose a MovieClip in as3 call myClip is 100 frames long and has labels at the following frames:0-start; 25-early; 50-mid; 75-late; 100-endCan someone explain (either using regular AS3 or with Greensock's TweenMax or TimelineMax) how to make my myClip play frames 0 to 25 then back to 0 again, and frames 100 to 75 and back to 100, Ideally would be able to loop over those ranges during a mouse ROLL_OVER event.

View 4 Replies







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