ActionScript 2.0 :: Fullscreen Video Playing At The Background?
Oct 19, 2010
i have a fullscreen video playing at the background.
Code:
//makes loader visible on initial load
bufferClip._visible=true;
//create NetConnection for playing video
[Code]....
and upon clicking a button, i want to goto a frame and will need to remove the video from that background mc (or rather make the video stop or disable the background sound.)
View 1 Replies
Similar Posts:
Oct 20, 2009
I'm using the normal
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
and it's just fullscreening the video part of my swf, not the entire swf.
View 6 Replies
Mar 18, 2011
I need to know how it's possible to force playing a video in fullscreen mode?
Fullscreen is in most of the cases a function by ActionScript and is triggerd with a user action, like mouse click or double click.
The other way is to force playing a video in the mobile devices native player, like youtube does. I have no clue how this approach is realized.
View 1 Replies
Sep 26, 2011
I'm creating a site and am trying to achieve a full screen video background like this: [URL]. The idea is that it adapts to any screen resolution/size (is this called ScaleMode?) Which is the easiest way to get this effect - is there some sort of code or application to make it easier? Also, which video size should I pick so it shows correctly in all resolutions?
View 1 Replies
Dec 1, 2009
This fullscreen code works properly if the stage is 400 x 400 px or smaller than .flv ( I tested it in both in html and swf ).
stage.addEventListener(Event.RESIZE, onF);
function onF (event:MouseEvent):void{
stage.displayState = StageDisplayState.FULL_SCREEN;
video.fullScreenTakeOver = true;
}
But the video is not going fullscreen if the stage is bigger than 400 x 400. I have to make a stage big in order to design the rest of my website.
Publish settings : exact fit, 100% width 100% height, flash only Allow Full Screen.
View 3 Replies
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
Sep 15, 2011
I have a video player program, there is a list page and a player page, once you click on an item in the list it takes you to the player page and it loads the correct video from a streaming server for you, easy peasy When each item is picked it finds the corresponding item in an XML file and loads my video player source with the XML data url
function beginLoad():void { this.addChild(videoPlayer) videoPlayer.source = myXML.video[videoIndex].@url; }
(it has nothing to do with this function not happening on mouse event, this is only the part that happens when it loads)My issue is that if you are fast enough and click to return to the list page before the video has started playing, the video will play in the background, even though the code actually removes the video player child from the stage the code on the button to return to the list page is
function navToList(e:Event):void { videoPlayer.stop(); videoPlayer.parent.removeChild(videoPlayer); }
there is more code in the button but none of it relates to the videoPlayer item why on earth it continues to play is beyond me, surely if there is no videoPlayer componen on the stage (and this is the only one) then the video has no ability to play whatsoever is there a specific command to tell the videoPlayer item to stop everything and just return to a blank state, do I set its 'source' to nothing?
View 1 Replies
Jun 1, 2011
does anybody know how to stop background sound when clicking play button for a video and when the video is finish how to turn background sound again on?
View 1 Replies
Jan 23, 2011
I'm using for my video player, it loads and plays fine and it stop playing music on the main template when loaded. I have actually two requests: First: How do I pause the video when the player is loaded ?
Second: When the player is unloaded from the main template using root.main_mc.close_btn the video still playing in the background and the close button (close_btn) pause and play the music player each time it is pressed and from the same position it was left last time.
View 1 Replies
Apr 13, 2009
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
View 9 Replies
Nov 13, 2010
I have a sound clip that I'm loading externally into my flash file. The code I'm using looks like this and is placed in the as layer on the first frame,
var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
var lastPosition:Number = 0;
mySound.load(new URLRequest("introaudio.mp3"));
myChannel = mySound.play();
[Code]....
View 14 Replies
Feb 24, 2011
I'm hoping someone can help me with an issue I'm having.
I currently have an AIR Application that runs fullscreen.
At some point in the application, I am trying to get a video to play fullscreen as well.
[Code]...
View 3 Replies
May 26, 2009
I'm no professional flash designer but I've got a partially built site at url... and I've used a piece of generic javascript to make the background scaleable, but it doesn't seem to be the most appropriate thing to be doing as it doesn't detect any scaling of the browser while the preloader is running,(eg. if you resize the browser while its loading it wont have resized the background once its loaded), could anyone direct me to a script or tutorial in AS3 that would resize even if adjusted while the preloader is running? I've found a couple in AS2 but i'm not quite smart enough to make it in AS3 myself yet.
View 9 Replies
Jul 8, 2010
i am using the code from noponies on a personal project i am finding some issues that i cant solve with my limited knowledge the main code is
Code:
//init
import flash.display.BitmapData;
[code]....
View 5 Replies
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
Jan 29, 2010
I wonder how you can put a fullsize background image to a website using Flash, similar to how www.zugspitze.de does.I can copy the HTML code but what does the flash document looks like?
View 1 Replies
May 21, 2010
I need to create a fullscreen background when I press a button, so I created this code, it works only if I'm not in fullscreen mode... why??
ActionScript Code:
import flash.display.Sprite;
stage.addEventListener(Event.RESIZE,resizing);
[Code].....
I can't understand why if I push de button to go full screen and then I press the button to create the "ombra" sprite, it doesent work, it doesnt create the sprite, but If I press esc to go out the full screen, it magically apper.
If I press the createOmbra button before going full screen everithing works fine.
View 2 Replies
Oct 21, 2009
I just wana use a full screen background one that fills up the screen and not the browser controls that's not what I want. I mean like this: [URL].
View 6 Replies
May 2, 2010
I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
View 1 Replies
Aug 7, 2009
I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...
If the VIDEO (FLV) is done playing, gotoAndPlay(X)?
View 4 Replies
Feb 4, 2010
I want to load an image into the background of my Flex app. However, I am wondering about a few things, and have a few contraints.I want it to be much like the way it's done with CSS. See this example of fullscreen background images with CSS.It is very important that there is no white-space (background colour) showing behind the image, and that the image is not stretched. This would mean some of the image would be cut off. This is absolutly fine. Actually, the first five points in the bulleted list on the linked page above are all exactly what I am after.I am relitivly new to the Flex framework, but have a strong AS3 background. So I can do this easily with actionscript using a mask, stage.width/height, the stages RESIZE event, and a little bit of Math. But I am wondering what would be the "Flex" way of doing this?I don't want to narrow the answers, but would I create my own component, that extends canvas, that I put behind all my other content? Or to I set some property of the application?
View 5 Replies
May 31, 2011
Is there a way to get transparent background when in fullscreen mode in flash? I tried the following:
<!DOCTYPE HTML>
<html><head>
<style type="text/css">
body{background:#666;}
</style>
[Code] .....
View 1 Replies
Feb 6, 2012
I'm creating a fullscreen projector that has an FLV file on the stage. I successfully got the FLV to appear non full screen by using the answers for the following question:
Non-fullscreen FLVPlayback
However, the background still goes black just before the FLV comes to the stage.
It runs fine when the projector is not set to fullscreen - background is there along with my close button.
View 1 Replies
Mar 5, 2010
I have used Ultimate 3D Carousel AS2 which is a great little flash script for 3D menus and integrated it with a script i found for getting the background to stretch full screen. But I need it so that the menu stretches larger the bigger the screen is like the background and to stay in the centre. Here is my flash file [URL].
View 7 Replies
Apr 11, 2011
I'm currently working on this site, which was made on a linear timeline and just rewinds and fast fowards to the frame with each page on [URL]
This was done with limited Actionscript, but now I need to redo it almost entirely in AS
I figure I need to keep everything on one frame (separate vertical frames, but no animation horizontally) and create movieclips for each page's content and tell it to fade in the content of whatever page is clicked on the nav, and fade out the rest. I will also need to do the same, but with the background images in fullscreen. I also have a problem with the bottom nav. It adjusts to window height on resize, but I can't get it to adjust automatically.
So how do I
1. Tell the movieclips to fade in and out when a button is clicked
2. Get the background images to fit full screen, and also fade in/out for each page
3. Get a movieclip to adjust to screen size without using onResize
View 0 Replies
May 6, 2011
I'm creating a flash projector file and need to scale background full-screen.The background is a gradient shape.I made it full screen and resized background so width and height is stage width and height but it still won't work.
View 4 Replies
May 14, 2010
This is probably something very simple, but I can't find the answer...I have a movie (say 1024x768) that I want to play full screen, which it does. How do I get the area around the movie to be a color? Right now it shows white and I want it black.
View 3 Replies
Jun 11, 2011
I'm working on an AS 3 file but I can't make it go to fullscreen. The other problem is that it plays a list of youtube video's, but I want it to be just looping the list, not playing them randomly.
ActionScript Code:
package
{
import flash.display.*;
import flash.display.MovieClip;
[code].....
View 3 Replies
Aug 16, 2010
- From my XML file an array is created with several background images
- The first image gets randomly loaded into a BitmapData and is attached to the first movieclip for smoothing. After that the movieclip gets proportionally scaled to fit the Stage.
- After an interval (set in the XML) the second image gets randomly loaded into a BitmapData and is attached to the second movieclip with a nice fade-in effect. After that the movieclip gets proportionally scaled to fit the Stage and the movieclips swap their depths.
- The third image gets loaded into a BitmapData and is attached to the first movieclip again.
etc etc etc.
[Code]...
View 1 Replies
Jul 29, 2009
I'm working on a fullscreen flash project. I've got everything working fine, background tile, autocenter, etc one thing I can't find out is how to have a circle gradient over the background (fullscreen / autoresize) [URL]
View 1 Replies