ActionScript 3.0 :: Use Stage Video For Two Videos?

Nov 4, 2011

I have 2 videos playing, one on top of the other. The top video is masked. The user drags the mask around to reveal different areas of the video.I want to use Stage Video for both videos but not sure how that would be possible with the layered setup needed.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Stop Other Videos In A Video Wall?

Dec 9, 2010

So how to stop others videos in a Video Wall when clicking another video?

I'm having a video wall, which was created with a for loop so that every i a new VideoPlayer instance was created. The source was inputed through XML.

Code:
for (var i:int = 0; i < 3; i++)
{
video = new VideoPlayer(source);
this.addChild(video);
}

When I click the play button the clicked Video is playing great. And when I click another video on the wall it also starts playing. BUT HOW can I stop the other video(s) when another is clicked?

I know I need to kinda get access to the Netstream of all other videos and close them

Code:
netstream.close();

I tried is with a Custom Event inside the VideoPlayer class:

Code:
this.addEventListener(PlayerStopEvent.STOP, stopVideos);
function stopVideos(event:PlayerStopEvent)
{

[Code]....

From the output panel I can see the stopVideoPlayer function is being launched, but I'm guessing it's being launched only in the clicked video not in All videos, even though the code is in the VideoPlayer class.

When I tried using a timer event, to close the netstream after 5 seconds it worked for all videos.

How can I make this work? Or make an event similar to the timer event? Access the netstream for all videos?

View 5 Replies

IDE :: FLVPlayback - Importing Videos Via Wizard To Stage

Dec 16, 2009

I imported multiple flvplayback videos on my file via the Video Wizard Import. After that I removed all videos except one. But it's still trying to load those old video and the skin of their player when I preload the file. I am sure there's no player on the stage except the one I need. And when I need to play the file, it's working well, the only problem is the extra loading for 6 skins that I don't use anymore and the time to look for 6 videos that are not there. So here're my questions;

1- When you import a video via Wizard, it there a script hidden somewhere that can be found?
2- When you import a flv to the stage, there's a loading bar saying getting metadata. Is there a place to edit or erase this metadata?
3- Any other ideas of where I could look to find this hidden data or trace or ghost that needs to be remove from the file ?

View 1 Replies

ActionScript 3.0 :: Insert A Video And Play Videos From Youtube?

Jun 15, 2010

I'm working on a website template that includes a video component. I'm assuming I need to use the video object and it only plays actual video files. What if I want to play videos from Youtube? Would I have to download the video and put the video file somewhere where Flash can access it? Like on my computer or uploaded on a server?

View 2 Replies

Embedded Flash Videos - Audio And Video Sync?

Feb 28, 2008

Im having serious issues making a video sync with audio inside an embedded flash video file.

View 2 Replies

Media Server :: Create One Video Out Of Many Videos On A Playlist?

Aug 31, 2011

As stated above, I wanted to know if I can take a video playlist, say with 4 clips, and have FMIS create a separate file out of the 4 individual clips. Specifically, a user selects 4 (or any number) of clips to create their playlist, then at the end, a 'full length' file is created. If this isn't clear, let me know and I'll try to elaborate.

View 2 Replies

Php :: Flex-load Different Videos In Video Player Component?

Jul 17, 2011

As some Internet tutorial suggested I've built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can't change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It's not a good idea because I want to run different videos through this player.how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn't use this mxml file for the different Video Sources?

<s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
color="#000000" skinClass="MySkin" source="Video Source/Coldplay - Clocks.flv"/>
</s:Application>

[code].....

View 1 Replies

ActionScript 3.0 :: Videos Play Locally, But Not On Web - Video Error 1000?

Nov 9, 2009

I have a video interface set up and get the following error....when I play locally,everything plays fine and I don't get any errors, but once I upload to the web, I get the following error:

VideoError: 1000: Unable to make connection to server or to find FLV on server at fl.video::VideoPlayer/stop() at fl.video::FLVPlayback/stop() at movie1_testing_bk_fla::MainTimeline/listListener() at

[code]....

View 9 Replies

ActionScript 3.0 :: Make A Flash Video Gallery That Can Add New Videos Dynamically?

Aug 17, 2011

how to make a Flash Video Gallery that I can add new videos dynamically? just like how XML photo gallery works?

View 1 Replies

ActionScript 3.0 :: Drop Videos/ Write Text In Folder For Video?

Jan 9, 2012

it is possible using Action Script 3.0 to allow a user to drop in videos / manipulate a text file to add or change videos/ text that feed to a media player, without doing it directly through the flash studio actions page. Ideally I would like to have a folder with the swf/fla file, all the video files, and perhaps a text file that alowed the user to manipulate the text of the video i.e. title/description Would it be easier to instead give that user a youtube like solution where they simply had the ability to upload/describe videos, through the webserver, rather than do it through a pc?

View 1 Replies

Actionscript 2.0 :: Load New Menu With Videos On Click On Video Picture?

May 8, 2009

load new menu with videos on click on video picture?

View 2 Replies

Flash Dual Video Player - Load And Play Two Videos At The Same Time?

Sep 17, 2011

Has anyone seen a Flash video player out there that will load and play two videos at the same time, such as for comparing videos? A potential client is looking for something along the lines of this. I've not been able to locate anything out there,and I'm wondering if there's a usability reason for this...Obviously, you wouldn't want the audio playing for both at the same time, and the bandwidth issue for something like this might be a concern too. My feeling is that you wouldn't want to restrict a user to just playing both videos at once, but give them the option to play them separately or at the same time, with controls for each audio and playback.

View 1 Replies

ActionScript 3.0 :: Papervison - Video Material - Pause - Videos To Be Stopped At The Beginning When It Appears

Feb 16, 2009

I have a cube built in papervision. It has a video on each side. I want the videos to be stopped at the beginning when it appears. I thought I could just use pause on the stream. ncStream2.pause(); no luck. When I do that I just get a black box. There is no black at the beginning of the videos. I do not think the papervision part is really a big deal. It's probably just a straight forward AS3 and video problem.

[Code]....

View 3 Replies

Media Server :: Use A Separate Video Hosting Company To Handle My Mobile Videos?

Dec 14, 2010

- Is there a benefit to hosting FLV files on a Flash Media Server when they are under 2-3 minutes?I've been working on a couple different video projects as of late... some are simple web player with 30 second ads and others are working with longer videos like 2-3 minutes. I currently have an FLV hosting provider running Flash Media Server but with videos so small don't they download for the user as progressive anyway and there is no real benefit whether I am using my FLV host or my traditional web host?

i also use a separate video hosting company to handle my mobile videos mainly because I am a bit naive on how that works as well. I had a project with straight links to play video on mobile phones (with three different version served up based on OS). But it seems like most of those were progressive downloads as well.

View 1 Replies

Javascript :: Possible To Create A Flash Video Player That Plays Videos Hosted On Youtube?

Apr 5, 2011

I want to create a custom video player to modify the skin of the play controls etc but still host the videos on youtube.The youtube api allows for minor colour adjustments but not full customisation. I know it would be possible if I download the FLVs but i want the video to remain hosted on youtube.

View 3 Replies

ActionScript 3.0 :: Number Of Video / NetStream And NetConnection Instances Multiple Videos Would Require?

Dec 27, 2010

How many instances of Video, NetStream and NetConnection would be needed for multiple videos?Not sure that's the right question but essentially here's the objective:Currently, I'm working on an interactive product tour, parts of which are to consist of short video clips, each covering a feature. While only one such clip will be playing at any given time, I'd like put them all at the application's fingertips as part of the initial preloading process before launching into it. The idea is to provide a seamless instant-play user experience without hitting the breaks before individual segments.Honestly, I hate pre-caching crap into user's memory, especially when some of that content may be potentially ignored. However, given the target audience, it is reasonable to predict that all features will be explored most of the time, so it's a fair compromise to me. Besides, I went to great lengths to keep the mp4s' sizes to the minimum.Anyway, I'm guessing you don't really need more than one instance of the Video class but how many NetStreams and NetConnections do I you need, probably one of each per video, ha?

View 0 Replies

ActionScript 3.0 :: Flash Number Of Video - NetStream And NetConnection Instances Multiple Videos Would Require?

Dec 30, 2010

How many instances of Video, NetStream and NetConnection would be needed for multiple videos? Not sure that's the right question but essentially here's the objective:

Currently, I'm working on an interactive product tour, parts of which are to consist of short video clips, each covering a feature. While only one such clip will be playing at any given time, I'd like put them all at the application's fingertips as part of the initial preloading process before launching into it. The idea is to provide a seamless instant-play user experience without hitting the breaks before individual segments.

[Code]....

View 2 Replies

Media Server :: Create Videos In A Playlist That Can Limit The Views To 10 Videos Per User?

Nov 1, 2011

Is there a way to create videos in a playlist that i can limit the views to 10 videos per user?

View 1 Replies

Actionscript :: Flash Video: Only Make Video Full Screen, Not Entire Stage

Nov 2, 2011

I have a FLV playing in Flash with a full screen button. The problem is I want only the video to be shown full screen, not the entire stage. This is the code I'm using to make the video fullscreen.

function fullScreenUP(event:MouseEvent):void {
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;

[Code].....

View 3 Replies

ActionScript 3.0 :: Sound From Video Plays After Video Player Removed From Stage

Apr 30, 2011

I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.

View 7 Replies

Flex :: Difference Between Stage Video And Spark Video Display?

Feb 13, 2012

I understand that the spark framework has a video player and a video display. The difference being that video display doesn't have the video controls.I know that stage video is new in AIR3 and uses hardware acceleration to play videos.My question is, does videodisplay and videoplayer take advantage of stage video out of the box? Do I need to implement it another way?

View 2 Replies

Disable Internet Download Manager's Video Download Option From My Youtube Videos?

Nov 23, 2011

I want disable IDM(internet download manager)'s download video option from my youtube videos.

View 1 Replies

Swf - Flash Videos "Bleeding" Above Lightbox Video?

Jan 17, 2010

Have a video in a lightbox on a page that has some other Flash content (banners, animation, etc. in SWFObject). I guess Flash has it's own window that's essentially on top of the document window (although I'm not sure I understand this in it's entirety). Tried setting wmode to transparent, and also tried several lightbox libraries (JQuery and also MooTools based, but NOT prototype yet). For now, we've resorted to temporarily opening in another tab which sucks!

View 1 Replies

ActionScript 3.0 :: Removing A Video From Stage?

Jul 30, 2010

So I have a 5 page website, on the home page when I opens you see a video and it automatically plays. When you click to a different page though you can still hear the sound in the background. The video has an instance name of video, I tried using video.stop(); in the code for each button and it works but then it doesn't allow me to navigate when it isn't away from the home page.Here is the code I have for one of my buttons (it's the same for the others with different names though):

home_btn.addEventListener(MouseEvent.CLICK, gotoFrame);
function gotoFrame(e:MouseEvent):void
{

[code]....

View 1 Replies

ActionScript 3.0 :: Remove A Video From Stage?

Jul 30, 2010

So I have a 5 page website, on the home page when I opens you see a video and it automatically plays. When you click to a different page though you can still hear the sound in the background. The video has an instance name of video, I tried using video.stop(); in the code for each button and it works but then it doesn't allow me to navigate when it isn't away from the home page.[code]...

View 2 Replies

ActionScript 3.0 :: How To Remove Video From Stage

Mar 21, 2011

This is my code for playing an .flv video: I am using this code to play a video when a user clicks on a button:

function clicked(event:MouseEvent):void {
var video:Video = new Video();
addChild(video);
var nc:NetConnection = new NetConnection();
nc.connect(null);
[Code] .....

When I got to frame 2 the last frame of the video is still there.... How can I remove the video when the video has finished and gone to frame 2?

View 3 Replies

Professional :: Moving A Video Across The Stage?

Mar 12, 2012

Is it possible to have a stationary video (ex: of spokesperson) move across the stage, in a manner that would appear to have a "panning camera" effect? I've attempted to produce this effect by simply importing the video as an imbedded video, then dropping a new layer into the timeline, and then simply placing a new keyframe where I'd like the video to begin a panning camera effect, but it starts the video over again where I've place the new keyframe. Is it even possible to acheive this sort of effect through Flash or can I only do this in AE or Premiere?

View 5 Replies

ActionScript 3.0 :: Removing A Video From The Stage?

Jul 30, 2010

So I have a 5 page website, on the home page when I opens you see a video and it automatically plays. When you click to a different page though you can still hear the sound in the background. The video has an instance name of video, I tried using video.stop(); in the code for each button and it works but then it doesn't allow me to navigate when it isn't away from the home page.Here is the code I have for one of my buttons (it's the same for the others with different names though):

home_btn.addEventListener(MouseEvent.CLICK, gotoFrame);

function gotoFrame(e:MouseEvent):void
{
if(e.target.name == "home_btn")[code]....

Do I have to use an else statement or another if statement?

View 1 Replies

Record A Webcam Video Together With Stage Content?

Sep 30, 2009

I hava an application that captures video from webcam and renders some additional elements on its display (augmented reality).Now I need to record this video and stream it to FMS.

View 3 Replies

ActionScript 3.0 :: Video Playing Fullscreen Instead Of Stage

Nov 23, 2009

I'm developing a kiosk-type projector file to play fullscreen & I'm encountering a strange problem. There's a video on the stage (720 x 480) and the stage is 1280 x 768. When the projector switches to fullscreen mode, the video expands to fill the height of the screen instead of the stage filling the screen. It's acting like the fullscreen mode is telling the video to play fullscreen.

View 6 Replies







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