ActionScript 3.0 :: Get Ullscreen Video Background?
Apr 22, 2009I am wanting to learn how to achieve this effect.
View 1 RepliesI am wanting to learn how to achieve this effect.
View 1 RepliesI 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 Repliesjust fond a cool page and would love to know how they did it.
[URL]
I've been trying to make a flash website with a video background; I've been trying to use the FLVPlayer with no controls, but theres no loop option nor resize...all of my work is on Flash CS3
View 2 RepliesHow can you take a video clip and keep it looping in the background while you place other conten over it?
View 1 RepliesI want to make a video background for my homepage as a welcome page. I found this code on the internet that seems to work more or less... problem is it just stretches out and fills out to much, it only stretches out to perfectly fill on the with of the swf, but goes way over the boundaries on the length... the video fills the page exactly but when the expands according to the size of the browser?
[Code]....
I need to set up a website with a video as the background.
Will I be able to use z-index to position other elements on top of the video? Is there a better alternative?
When I load movie (from youtube), I press play and click on other button in menu - the video is still buffering and plays sound in background.
How to stop it from buffering?
ActionScript Code:
System.security.allowDomain("http://www.youtube.com");
System.security.loadPolicyFile("http://www.youtube.com/crossdomain.xml");
this.createEmptyMovieClip("video_mc", 10);
[Code].....
Iam designing a dj website, i want an effect similar to the one on this website [URL]its not the forground that i want, i'd like to achieve a similar video effect with dots in it... i can easily place the video to the back.. but how is the video effect achieved?
View 1 RepliesWhen this video page loads, it displays a white stage background, even though I've tried every method I know to make the bg color black. What am I missing?
[Code]...
I have a question regarding which version of Flash Media Server will best serve the project I am currently working on and whether the approach I have in mind is possible with FMS.The project envolves Flash Media Server syncing a dynamic background across multiple Flash Players running on separate computers on the same local network. One approach is to have FMS handle the variables and calculation on its side and communicate this to the other Flash Players (this I understand can be done with the Streaming Server).The second approach is to have FMS execute ActionScript on its own side to create the dynamic background and then serve this out as a video stream to the other computers. (With this approach FMS can completely takeover the processing required to generate the background content and the other computers only need to play it back as video. Is this type of approach possible with FMS and, if yes, with which version.
View 1 RepliesI 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?
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 RepliesHow to make a video background in as3 with scanlines added to? i don�t need controls or something like that, just the video loop in background.
View 1 RepliesThe problem which I am facing is that I have a video clip which has a black background. Now the website which I am working on has images in it. When i load this video clip externally by the action loadMovie("fire.swf", 2); the black background of the video clip also starts showing. I want this video clip to be transparent "without the black background".I have googled it, but all explains the "transparent Flash overlay", which is done with the HTML tags i.e <param NAME="wmode" VALUE="transparent">.
View 5 RepliesI'm looking to create a site that has video playing full browser in the background. A very perfect example lies here:[URL]..As you can see, the video is scaled according to stage resize while the menus and such stay where they should like a perfect liquid layout. I've watched the Liquid Layout video (from this site i'm pretty sure?) and understand how to position objects on the stage according to stage resize, but I've never figured out how to scale only the video like that. The only way I've been able to do that is by setting my publish settings to NoBorder with 100% width and height, but that defeats the whole liquid layout because it scales your entire swf. I feel like it's some sort of math I'm not grasping.
I'm probably wrong, but I feel like the way I'd go about doing this would be to set everything up as a liquid layout site; that is specify stage align and scale to TOP_LEFT and NO_SCALE. I'd have my liquid menu items positioned accordingly with a resize function and for the background video I'd use a FLV Playback Component that would be manipulated through another as3 function to scale accordingly. I'd use a Playback Component so as to be able to load multiple external videos (.h264) when a link was clicked. Am I on the right track? AS3 only please!
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.
i am having this little problem of making my video fit to my browser width and height.and it needs to get itself be the last layer as well. is getNextHighestDepth() a wrong command here?how do i add swap depth or something?it needs to be a layer beneath my navigation and everything.
Code:
Stage.align = "TL";
Stage.scaleMode = "noScale";
[code]........
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.)
[URL]
The picture explains my dilemma. I really want my BGvideo layer (which is an animated looping footage for the background) to be independent from the actions that I have put in to stop my button animations.
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 RepliesI get a weird bug only on Mac, only on Safari. On Pc, on Safari it's ok:
when I click to allow the camera the text, that is contained in a movieclip, the xmas ball and the snow fail the transparency on the video!
I've read through several tutorials but I must be doing something wrong on this. I'm using Adobe Flash Pro CS4. I am trying to create a short clip that fades text in over a bacground video. When I create a motion tween on the text track, I'm generating an error and the background video is no longer visible in the preview. Instead, I see the text over the stage background color. It is as if the background video track has switched to wireframe. Here are the steps I've followed:
1. Created Flash File (ActionScript 3.0).
2. Imported Video into the State background layer - it appears as a black image in the it previews fine at that point
3. Created new layer for text and placed text - it previews fine at this point, text is overlaying video
4. I right click on the text block and choose convert to symbol.
5. Next with the play head on the first frame and the Text layer selected I choose Create Motion Tween. This is when AFP throws this error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::hookUpCustomComp onents() at [code]...
I've recently began learning flash after extensive training with photoshop. Anyway, I have created a forum signature, in photoshop. I want to add a small background video into it using flash. I was wondering how I can insert a video into an image in flash. If this is even possible.
View 3 RepliesTrying to build a website where the background of the site is a video and then there would be an actual html page laid on top of it.
View 4 Replieshow to change this on my 'flash template' and how to successfully mute the background music as my VIDEO starts to play.
I have uploaded my FLA file so that you can see what the problem is:
[URL]
The background music is set as per TEMPLATE that I got. I would like to add a quicktime movie to the website, under the page titled "TRAILER" - and have tried to do so myself by adding the QUICKTIME to the project through another SWF that I got elsewhere (a different 'template' so to speak).
The original quicktime file that I wish to add is available here:
[URL]
I'd like to be able to stop the background music when the viewer visits the TRAILER page of the site, as that is when the trailer starts to play. The music can stop abruptly, that is fine.
I'd like for the music to continue to play (either from the start, or where it was stopped) when any other pages are visited after watching of the trailer.
Here I've a sound track included in timeline from first frame (not in actionscript).
And after intro, I've a video button where I added a video with sound which starts to play by clicking
Now the problem is both background music & video sound mixing & creates a noise kinda combination.
I need a solution like fading out the background music if i click the video button & fading in when clicking some other button or navigating to other pages?[code]...
So, I've been trying to attempt to make it so a .flv video will fit to the entire screen of the browser window. ( I already have my file file fit to re-size to any browser on any computer. I just can't figure out how to make the video as well) And obviously an external video so the flash file wont take forever to load.
The point is this is to be able to have the Video be the background. So I may put content (Links, information or whatever else) on top of the video.
This is other part to my earlier question that i posted before for those of you that came across it.Part 2: What i'm actually looking for is to do something similar to the Star Trek Movie website [URL]..for those unfamiliar. The bit that im looking for is a solution to achieve the full screen video background they have that simulates the user walking through the starship. Everytime you navigate to a different part of the website, this background video walks you through to another section of the ship.
I'm presuming its all flv, and i'm presuming its one big flv file divided into various "scenes", as the problem with having a seperate flv file for each "scene" is that it take a few seconds to load in between flv's and you get a blank white screen for a few moments (i've tried). Am i presuming the right method to go about achieving what they've done?
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.