ActionScript 2.0 :: Add Movie As A Background?
Feb 19, 2009Is there any way how to add a movie while i can place an animated text on different layer while the movie is running...
View 1 RepliesIs there any way how to add a movie while i can place an animated text on different layer while the movie is running...
View 1 RepliesI have various movies as movieclips that I want to serve as background movies for every section of the site (e.g. about, contact, etc.). How can I make a particular frame (e.g. about area) have a different embedded movie?
View 4 RepliesI am using Action Script 3. I cannot unload movies. I have a movie playing and when one of six buttons are clicked, the appropriate movie plays. Movies keep playing in background, however I got the sound to stop.
import flash.display.MovieClip;
import flash.events.MouseEvent;
//This is where the Stop Sound is
function fl_ClickToStopAllSounds(event:MouseEvent):void {
[Code]....
The problem is, when I specify where the background movie should start (which would be where it moves to when you click home) it moves off to the same place as soon as the movie is loaded...When home is clicked, it goes to the right place.. And I can see the movie is loading in the right place, but then it promptly moves off to the side, but if you click on home again, it moves straight back and stays there, as it should...
View 7 RepliesI need to loop an flv in the background of my flash movie. I don't normally work with video a lot so I don't know much beyond using the general video player and customizing skins. Everything I'm looking at is either for a standalone player or using AS3. I'm on CS3 using AS 2.
View 1 Repliesit seems some browsers will not unload the background movie?
on (release) {
getURL (clickTAG, "_blank");
}
on (rollOver) {
background3.loadMovie("http://someaddress.com/background4.swf");
}
on (rollOut) {
background3.unloadMovie("http://someaddress.com/background4.swf");
}
PS I know and apologize for the dumb question- it's just that I only use flash for some occasional banners and am not too familiar with AS.
Im trying to use a Flv video effect like a movie clip in As3...
I want this Flv effect to work like my background on my WebSite... i already imported the flv and convert it to a movieclip... but i dont dont the code to make it work like my background always in loop.. and when i enter a certain frame...
How to swap depths of one movie clip with another, but what I need is to click on a movie clip and have that clip be sent to the back, or lowest level. Basically I will have four movieclips, what I want is to click on one clip and make that clip the background so the other three will play on top of it.
View 2 RepliesI'm trying to change the background color of a movie... I've tryied
[Code]...
But that just adds a color to every single movieclip on stage... Without changing the background color...
I just want to change the background color of my movie.Is there a way to do this with Actionscript, or should I just create a 'fill' the size of the stage, and do it that way?
View 1 RepliesThis 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 RepliesI'm trying to change the background color of a movie...
I've tryied
bgcolor = new Color(_root);
bgcolor.setRGB(0xF20000); // (red)
But that just adds a color to every single movieclip on stage... Without changing the background color..
I've got a single scene Flash movie with a number of embedded MovieClips. In the parent movie, on the first Actions frame, I have the following script to get the background music to play:
[Code]....
I have created a simple movie and placed it in an 'Under Construction' page. The whole page is meant to be black. When I open the browser a white box shows, where the movie will appear, while it is loading. I want the whole page to appear black.[url]...
View 2 RepliesI want to place MCs in various places on top of an html background. the code for the background is here:
<div style="position:relative; width:100%; height:100%; z-index:10; left:
0px; top: 0px; visibility: visible;
<div align="center"><img src="Demo/Mech-Brake-LR.jpg"></div>
Its not officially a background image, but I want it to stay the same no matter what is being played...
how to load different background images into the flash movie, so that they appear randomly (each time a different image, not in the same order). I would think to put the imgs into external swf and then load them into my main swf, but how do I get the random effect?
View 4 Repliesthere is a way to change movie bacground color with action script in flash MX.
View 5 Repliescan i dynamically load a movie with transparency background? and one more thing i load a jpg with loadmovie command but the size of the jpg in pixel is not the same with the output of the fla..
View 3 RepliesI have a movie clip symbol that is linked to the Ball class. I need to change the color of the background fill for this movie clip. moving the fill to a nested movie clip and using ColorTransform on it, but I can't make it to work.
So far, I have this:
Code:
package
{
import flash.display.MovieClip;
import flash.geom.ColorTransform;
[Code].....
how to change background color with buttons. specifically the tut in the link below. Question is, is this possible with images instead of just colors?This is the coding I have to get the background to change color..
btn4.buttonMode = true;
function allButtonsUp():void {
btn4.gotoAndStop("up");
}
[code].....
I have multiple movies that I loaded one at a time depending on which option is selected. I would like to load movies in the background while they are browsing one selection. Is it possible to load a movie without loading into target? So that when they select a different option it will have already been loaded in the background and would just have to be displayed in the container.
View 1 Replieshow can i fill a background color to a movie clip instance?
View 2 RepliesI have background elements that slide left and right on the stage depending on where the mouse is on stage. If I take focus off the browser, like if I decide to check my email or open another tab in Firefox, when returning to my flash movie, all the elements have moved off the stage, and when focus is put on the stage, will slide back to the correct position.
I'm using an event listener on the stage to detect mouse movement...
ActionScript Code:
stage.addEventListener(MouseEvent.MOUSE_MOVE, parallax);
The function is below is trimmed down example of the function I use...
ActionScript Code:
function parallax(event:MouseEvent) :void {
distFromCenter = (stage.stageWidth / 2) - mouseX;
[Code]....
Tweener is a tween engine used for the movements,
So I am working on a full screen website, and background_mc I want to be centered and scaled 100% to the stage. But I also do not want the image to loose it's proportions. Here is my code so far, it is only seeming to center the movieclip:
Code: Select allfscommand ("fullscreen", true);
Stage.scaleMode = "noScale";
Stage.align = "TL";
[code].....
I'm creating a movie that is 500px wide but the background image is 1500px wide. How can I show the image at 100% without it being cut at 500px?
View 4 Replieslook at my attachment and you will see that it creates 10 little pieces of ammo. When u click on the background it should delete one of those movie clips. But it deletes 2 of them. the code for creating is on the first layer and the deleting is on the background button symbol(click on the background to find it if you don't know what im talking about). create code
[Code]....
can any body tell me how to change the background of a movie through external text file
View 8 Replieshow do you control the backround colour of a movie clip and the stage? i have thought about placing a mc within the mc as a backround_mc, then change the tint attribute from my main timeline, is this on the right track?
i have a movie where a user loads images into an image viewer (mc) i have craeted. If a user clicks on gallery 1, the loader appears, and load the jpg and then tells the viewer to show onceloaded. But, if a user clicks on gallery 1, then clicks on gallery 2, the movie finishes loading picture 1, before loading picture 2, is there any waqy i can force the loader to stop loading one,a dn load two immediately.
I have careted a class, now, how do i assign an mc to be an object of that class, from the main timeline or the onclipevent load event
the conent will not be able to be seen unless the user hits the arrow keys on there key board. So i need to make a group of objects i can make into a movie clip and than inside that movie clip make an animation that plays the squirrel running. i will pause here to ask two things i dont know how to do i want the squirrel to have an animation when standing still where it flicks its tail (like a real squirrel would). and also how would i flip the squirrel so when the left key is pressed it points left and when the right arrow is pressed it faces left? and my main question when it reaches the edge of the stage the extended background that runs off stage moves over to reavel more content. as well as not have the squirrel run off stage? in short i am using the squirrel to view the full pages content.
View 2 RepliesI have a dynamic text field being fed html formatted text from an external text file, and is set to autosize vertically (left), works no problem. I have an animated movie clip behind the text field for a background, so the text looks like it's inside a (animated) colored box. How do I make the background movie clip autosize (vertically) along with the text box above it?
View 2 Replies