ActionScript 3.0 :: Cannot Have Multiple Flvplayback Instances Using Fullscreen

Feb 20, 2012

I am using AS3 with CS5. I created a flash project which contains multiple instances of flvplayback. Each plvplayback plays a separate video and each has its own controls. It all works fine when playing, pausing and controlling the videos. The problem is with the fullscreen functions. If I click the fullscreen button on the first flvplayback, it makes the second video go full screen. If I click the second video fullscreen button, it opens fine into its own video except when I do it three to four times. After three to four times of toggling fullscreen on the second video, it opens the first video into the browser larger than its original size but not full screen. I have tried recreating the flvplayback instances by re-importing the video files. Each flvplayback has been given its own instance name. Even when I create a separate custom button, not part of flvplayback, and give it the command to launch fullscreen on the first video, it still opens the second video to fullscreen. When I use just one video and remove the other ones, toggling fullscreen works fine for that particular video.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Stopping Multiple Instances Of FLVPlayback?

May 8, 2008

i have one FLVPlayback instance on the Video page and another on the Discography page...when i navigate away frm either of the two pages, i need the loaded flv to stop playing... so i've used the following code for my navigation buttons : (the navbar is a movieclip on the maintimeline...video_mc and discog_mc are also on the main timeline... flvPlayer is the instance name of the FLVPlayback component..)

Code:
stop();
//setting destination frame label variable
var destin:String;

[Code]....

View 3 Replies

ActionScript 3.0 :: Sync Multiple FlvPlayback Instances On Stage?

Jun 7, 2011

i have 4 flvplayback components on stage loading 4 different videos. How do i sync them?

I have ensured they are all fully buffered i.e fully loaded and then play them all at once. But they keep getting out of sync. I.e i am checking the sync with the playheadtime. I had written an timer/enterframe event to check for out of sync at and pause and seek times to the fastest playing player . But this happens for every second. i keep gettting a very jittery video with breaking sounds due to the constant pause /seek / play cycle.

How can we sync multiple flvplayback videos properly.

View 1 Replies

ActionScript 3.0 :: Putting Multiple Instances Of The FlvPlayback Component In Different Frames And Using Buttons To Navigate To Frames

May 2, 2011

there seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.

View 7 Replies

IDE :: FLVPlayback Too Big In Fullscreen

Oct 13, 2009

I have an FLVPlayback component in an video.swf, and it has a fullscreen button. video.swf is being loaded by another main.swf. when the fullscreen button is clicked, it goes into full screen. But, the FLVPlayback scales too big and even the overlaying controls are out of the screen.

View 9 Replies

Can't Get FLVplayback Component To Fullscreen Correctly

Sep 30, 2010

I have tried numerous things but when I insert the FLVplayback Component into flash that is linked to an external video source the fullscreen function will not work but the video plays as needed.

View 15 Replies

ActionScript 3.0 :: Fullscreen For FLVPlayback Control?

Jan 22, 2009

I am facing a weird issue while using FLVPlayback control.I have created a class which internally creates an instanceof the FLVPlayback control and sets the skin toSkinOverPlayStopSeekFullVol.swf.In the main program I have created n instances for this classto load different flv files [just like any multi windowedapplication, with each window playing its own flv file]. Once I click FullScreen button the video loaded last alwaysget in to full screen mode; irrespective of the

View 1 Replies

Overlay Movieclip On Fullscreen Flvplayback

Jul 22, 2009

I'm coding a flash video jukebox. In this movie there will be a small box with subtitles for the flv playing at the moment. The problem is that, when I press the fullscreen button, the text overlay dissapears. I think that what is really happening is that the overlay is "hiding" at the back of the video.
 
Is there any way to put this overlay on top of the video so it remains even if I press the "fullscreen" button on the flvplayback component?

View 1 Replies

ActionScript 3.0 :: FLVPlayback Fullscreen Not Working?

Aug 14, 2009

I dragged the FLVPlayback component onto my stage and attached a source to it using the component inspector. When I view my .swf, I can't get the full screen option to work. I have uploaded my file here:[url]....

View 2 Replies

Professional :: FLVPlayback - How To Get Project Always Fullscreen

Oct 1, 2010

Is there anyway to have a projector ALWAYS fullscreen, and use an flvplayback component with fullscreen button at the same time? It seems that they're somehow incompatible. If I have multiple instances of an flvplayback component on different scenes, when the projector is fullscreen, jumping to a scene with an flvplayback on it, leads to having a black screen only!

View 10 Replies

ActionScript 3.0 :: FLVPlayback Fullscreen Not Working

Aug 14, 2009

I dragged the FLVPlayback component onto my stage and attached a source to it using the component inspector. When I view my .swf, I can't get the full screen option to work. I have uploaded my file here:URL...

View 2 Replies

ActionScript 3.0 :: Custom Fullscreen Controls On Flvplayback?

Jan 16, 2011

I have an stage on wich I have an flvplayback, custom controls to manage the flvplayback and some other infos bellow this controls.when I enter fullscreen with the fullScreenTakeOver set to true all the flash file goes to fullscreen, but I only want that flvplayback and the custom controls to manage go to fullscreen, not all the info below them.Is there a way to select what elements go to fullscreen and what elements not?I try to modify an skin of the flash predefined, but I do not find the way to add textfields to this skins and access dinamically to them from the file that has the flvplayback control.

View 1 Replies

Actionscript 3 :: Keep An FLVPlayback Out Of Fullscreen Mode In Projector?

Nov 14, 2010

I have an FLVPlayback component on my timeline (frame 4 or so), and my Flash Projector is running in fullscreen mode. The problem is that I can't seem to make my FLVPlayback component NOT be in fullscreen mode and at the same time, have my stage in fullscreen mode.

View 1 Replies

Actionscript 3 :: Make The FLVPlayback Control Go Fullscreen?

Feb 3, 2011

I have an Adobe Air 2.5 app that has been written in Flash CS5.There is a need to play video's from within that app and I am not in the mood to write a video player from scratch. Soooooo... we attempted to use the FLVPlayer from http:[url].... but could not get the thing to work properly at all through their API.

The video player must go full screen and have the normal playhead scrubbing, play / pause / stop, and volume controls.Can you make the FLVPlayback control go fullscreen?

View 1 Replies

Actionscript 2.0 :: Fullscreen Mode For FLVPlayback Component

Oct 17, 2010

I am using a FLVPlayBack component to play some videos back inside a flash site I am making. Obviously I am using a Flash CS3 - AS2 skin since I am making the site using AS2.

Does anyone have the code to create a fullscreen mode button so that the videos go into full screen mode that are playing the FLVPlayBack Component?

View 3 Replies

ActionScript 3.0 :: Switching To Fullscreen With FLVPlayback Component On Stage

Sep 5, 2009

I've encountered a really frustrating problem recently when switching to StageDisplayState.FULL_SCREEN with a FLVPlayback component on the stage.

My movie:
bottom layer: a movie clip inside of which is a FLVPlayback component playing a flv movie
upper layer: movie clip (logo), second mc (fullscreen button)

Fullscreen button code:
function doFullscreen(event:MouseEvent):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN){
stage.displayState = StageDisplayState.NORMAL;
} else {
stage.displayState = StageDisplayState.FULL_SCREEN;
}}bFullscreen.addEventListener(MouseEvent.CLICK, doFullscreen);

Effect (Before clicking the fullscreen button):
Everything is okay, the movie plays, logo and button are visible.

Effect (After clicking the fullscreen button):
The only thing that is visible is the playing movie, but logo and fullscreen button disappear.

What happens:
The mc with the FLVPlayback component gets the highest child index and covers the logo and button. It is not the problem with aligning logo and button on the stage, as without the FLVPlayback component they are perfectly aligned. I also tried to manually switch the depth of the mc with the FLVComponent, unfortunately without any result.

View 1 Replies

ActionScript 1/2 :: Create Fullscreen Functionality In FlvPlayback Component?

Aug 9, 2011

How to create the fullscreen functionality in FlvPlayback component.

View 3 Replies

Flash - FLVPlayback Fullscreen Flickers And Back To Normal

Feb 10, 2010

I'm having a problem making my FlvPlayback go full screen. In FF it works great but in IE (8) it will only work once! the next time, it will flicker and return to normal state.

View 1 Replies

ActionScript 3.0 :: Fscommand Fullscreen Auto-scales Flvplayback Component!?

Jan 20, 2010

I have an FLVPlayback component instance on my stage, into which I load videos based on button presses. When I create a .swf of my project though, if I use

fscommand("fullscreen", "true");
fscommand("allowscale", "false");

I get unexpected behavior. What should happen is the file loads, everything is centered, and the area around the project is whatever the background color is.This sort of works .. until the first FLV is played. The FLV gets scaled to 100% (fullscreen)and if I hit "esc" I go back to the "normal" sized player, but if I then maximize the window (almost the same as fullscreen), the entire flash player now decides to scale, not just the FLV playback component

I'd like to be able to have my windows projector file to take up the entire screen when it's loaded (without being scaled), but this doesn't seem possible. Any ideas what's going on? Regarding the FLVPlayback component, I've tried everything to make it fit and not scale ....set height, width, set scale to "noScale", set registrationHeight, registrationWidth, etc. Nothing works.

View 2 Replies

Professional :: FLVplayback Fullscreen Not Working When Stage Is In Full Screen Mode

Jun 8, 2011

I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
 
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
 
I have tried addind the action movieHolder.fullScreenTakeOver = false;  but it did not help.
 
I m working with Flash CS5 and AS 3

View 14 Replies

ActionScript 1/2 :: FLVPlayback: Disabling VolumeBar, Seek, Play/pause, Mute, Fullscreen Buttons?

Feb 15, 2012

Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.

View 7 Replies

ActionScript 3.0 :: Multiple FLVplayback/multiple XML Playlists?

Aug 7, 2010

I'm using the code of the -Web video template: Dynamic video playlist- (with no thumbs)and a ComboBox on the stage. It's OK but I need a help to understand how I can use 3 FLVplayback and 3 XML playlists.Since I can't use multiple classes in a .fla and since I need only one ComboBox that triggers all the 3 FLVplayback with their own XML playlist..
 
-My code with one FLVplayback is the following:
 
package { import flash.display.MovieClip; import fl.video.FLVPlayback; import flash.net.URLLoader; import flash.net.URLRequest; import flash.events.Event; import flash.text.TextField; import fl.controls.ComboBox;

[code]....

View 1 Replies

ActionScript 3.0 :: Multiple Scenes With Multiple Instances Of The Same Slide Show

Sep 8, 2009

Ok so here is my XML slideshow Actionscript:

ActionScript Code:
stop();
var xmlRequest:URLRequest= new URLRequest("graphicImages.xml");
var xmlLoader:URLLoader = new URLLoader(xmlRequest);

[Code]....

So I figured that the coding of separate scenes would work independently of one another, but I guess I was dead wrong, because when I apply this to a different scene and change the XML path for a different set of images, I get all sorts of conflict errors when I test the entire movie. I have my flash film set up so that each link send the user to a different scene, which plays a unique intro for each, and then the slideshow appears on screen and the viewer can navigate the images.

Is there a work around for this? Or am I going to have to break my flash movie into separate movies? Or should I just add a suffix to all my vars and functions so that they are unique for each scene?

View 1 Replies

ActionScript 2.0 :: FLVPlayback After Multiple Runs?

Jul 13, 2011

I am working on a piece of software that was written by someone else (that person is no longer available, but part of my job is repairing/maintaining this software).The software has multiple pages, each is a swf that calls loads and plays an FLV file. I've noticed that the audio is inconsistent after multiple runs.For instance, I'll repeatedly run the code in the Flash player by pressing CTRL + E in Adobe Flash (so no html yet). No changes to the code or anything, just play once, close the Flash player, immediately play again, close, and so on. The first few times, the audio loads and plays with no problems. After a few runs, I've noticed that the audio no longer plays.

I put in trace statements to see the state of the player content, and while when it runs correctly, I'll get the usual "playing", "connectionError", etc., on the times when audio does not play at all, the state is "undefined," like the player content was not created.Again, to clarify, this happens with no change in code or file locations. And the problem is always apparent as soon as I run the swf, because on the first page the state is "undefined" if the audio doesn't play (so in other words, it's not like one particular page breaks it partway through). From what I see there is also no persistent data that should carry over from one execution to the next.

View 0 Replies

ActionScript 3.0 :: Flvplayback Component Viewing Multiple Flv's?

May 14, 2009

i have set up a flvplayback instance and when a button is clicked i want it to load in and play a new flv
 
i have the following code:
 
// Add FLVPlayback Class (required for Playing flv's)import fl.video.*;// Create a new FLVPlayback object to hold the video var myVideo:FLVPlayback = new FLVPlayback();// set the width of the videomyVideo.width = 544;//set the video's widthmyVideo.height = 304;//set the video's heightmyVideo.x = 200;//set the video's horizontal positionmyVideo.y = 88;//set the video's vertical position// set the video source to the current video stored in the variable myFlvmyVideo.source = myFlv;// put the video on the stageaddChild(myVideo);
 
all this works fine and the first flv loads and plays fine no problems

[Code]...
 
I know how to use netstream but unless there is a way to use skins with it its not the way i want to go.

View 3 Replies

ActionScript 3.0 :: Loading Multiple Videos In FLVPlayback

Jun 4, 2009

I am building a video player which should load multiple videos in a FLVPlayback. When the loading of the first video has finished, the second one should start, using the VideoProgress Event.

My code looks like this, videos is an array with the paths to the videos:
 
flvPlayback.addEventListener(fl.video.VideoProgressEvent.PROGRESS, progress);
flvPlayback.addEventListener(VideoEvent.COMPLETE, onComplete);
private function progress(e:fl.video.VideoProgressEvent):void

[Code]....

Now I have the problem when I test this locally, the first video is invisible sometimes when starting to play. This is not happening everytime, but sometimes the video is not shown, but I can hear the sound, and I can see the scrubber on the seekbar moving.
 
I already tried to check in the progress function if the video is already playing, and if not, set a timer that will call the progress function again in 1 second.

View 7 Replies

ActionScript 3.0 :: Multiple Instances Of Same MC

Aug 17, 2009

can I use the same loader or do I have to have a loader for each instance (the one thing I haven't tried as yet)

View 3 Replies

ActionScript 2.0 :: Multiple Instances Of MC?

Mar 21, 2010

i have a movieclip that is instanced on stage everytime i press space. problem being i can't seem to get it to hittest anything other than the first created instance.my spawn mc code is

Code:
function dropbox():Void {
//trace(me);
this.attachMovie("box","box"+Math.random()*300,this.getNextHighestDepth(),{_x: _root.one.me._x-25, _y: _root.one.me._y});

[code]....

the first one returns "It's working" but zip for all of the others.

View 0 Replies

ActionScript 3.0 :: Add Multiple Instances Of Mc?

Aug 26, 2011

How do I add multiple instances of the same mc to the stage dynamically?

View 3 Replies

ActionScript 3.0 :: Multiple Instances Of Same FLV Using Netstream?

Aug 4, 2009

As you can see, after all the items in the Carousel have loaded, a function called fadeItemIn() is called which displays each of them one by one. I am looking to call a small "swoosh" particle effect flv I made in AfterEffects so that as each item tweens in, it instead looks like it is sparkling in from the left.

The problem I have is that using the code below, the swoosh.flv file tends to freeze before it finishes. In this case the swooshIn() function is called three times because there are three items being loaded into the Carousel.

I am wondering why the FLV freezes when multiple instances of it are loaded through AS3 using NetStream.

Code:

private function fadeItemIn(item:CarouselItem):void {
trace("fadeItemIn");
this.tweens.push(new Tween(item, "altitude", Regular.easeOut, item.altitude, 2.5, 0.50, true));

[Code].....

View 1 Replies







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