Loading Clip To Background
Is there a way to load a clip directly to the background of the main movie that loaded it. Becasue what its doing now is covering up all the stuff that was previously on the stage.
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 05-25-2004, 12:01 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loading Clip To Background
Is there a way to load a clip directly to the background of the main movie that loaded it. Becasue what its doing now is covering up all the stuff that was previously on the stage.
Loading A Movie Clip With A Different Background Color
Hey guys, im loading a movie with a green background into a movie with a bluebackground, on level 0. When i run it and it loads the movie, it loads the movie with a blue background, instead of green? how may I accomplish this? thank you in advance!
-Jon
Background And Movie Clip
I need that the background is one movie of the size 100% x 100% and over that another movie of the size 400 x 300.If I do it, another movie is acting like it was also 100% x 100%. Is there any way how to make it, so that the second movie has the size I want to and also that the movie is in the middle of site? Thanks for any ideas....
Background For Movie Clip
Is there any way to change the background color of a movie clip or better yet make it transparent? I have one movie clip that I use to load several images into at different times in the program. It works well for 99% of the images. However - one image is smaller in size and really can't be changed. The background of the movie clip shows up white around the edges of the image.
Thanks.
Loadmovie In Blank Clip In Background
Hi again.
I am looking to load movies in a blank movie clip while the intro.fla is playing. I don't want the loading movies to play until I initiate it.
How is this done? Any examples would be EXCELLENT!!!
Thanks again!!
Andrea
Changing Background Color During A Clip?
Hello,
I am trying to make swish file. I have made my letters drop on to the screen. But after that is done - I want to change the top half of the background color to red and the bottom half to yellow. I would like those to colors to slide in.
How should I go about doing this?
Thank you!
Tmuld.
Where And What?....need To Change A Background Clip Color
Trying to get a background clip or target mc to change its color accoring to the respective tab the user clicks in my application prototype.
Everything now works great, but I am stuck as to how and wehere I would put and call an event handler to the users actions. So for example, the user clicks the purple tab option, it animates up and then also simultanelously fades in a background to the purple color repectively at say 50% or so.
Can anyone help me with this actionscript to get me started so may properly impliment this? Here is the prototype of this so you can see what this looks like: See sample here
I have the following code in the first frame of my movie thus far:
Code:
// declare variables
//
var menuUp:MovieClip;
var menuDown:MovieClip;
var tabBtnShow:MovieClip;
var tabBtnHide:MovieClip;
//
// tab button actions
//
buyingFreshBtn.onPress = function() {
slideMenuUp(buyingFreshBtn, buyingFresh);
};
countyProfileBtn.onPress = function() {
slideMenuUp(countyProfileBtn, countyProfile);
};
countyEventsBtn.onPress = function() {
slideMenuUp(countyEventsBtn, countyEvents);
};
whatsInSeasonBtn.onPress = function() {
slideMenuUp(whatsInSeasonBtn, whatsInSeason);
};
countyInfoBtn.onPress = function() {
slideMenuUp(countyInfoBtn, countyInfo);
};
//
// slides the menu up or down
//
function slideMenuUp(btn:MovieClip, clip:MovieClip) {
tabBtnShow = tabBtnHide;
tabBtnHide = btn;
tabBtnHide._visible = false;
menuDown = menuUp;
menuUp = clip;
slideMenuDown(tabBtnShow, menuDown);
var menuY:Number = 0;
clip.onEnterFrame = function() {
// menu y stop point
var menuStop:Number = 373;
// menu speed
var menuSpeed:Number = 0.5;
with (clip) {
menuY = menuStop-_y;
_y += menuY*menuSpeed;
}
if (clip._y<(menuStop+0.5)) {
delete clip.onEnterFrame;
}
};
}
function slideMenuDown(btn:MovieClip, clip:MovieClip) {
var menuY:Number = 0;
clip.onEnterFrame = function() {
// menu y start point
var menuStop:Number = 565;
// menu speed
var menuSpeed:Number = 0.5;
with (clip) {
menuY = menuStop-_y;
_y += menuY*menuSpeed;
}
if (clip._y>(menuStop-0.5)) {
delete clip.onEnterFrame;
btn._visible = true;
}
};
}
Thanks in advance for your help, I really appreciate it
Flash Movie Clip Background
I made a movie clip but I want the background clear or no color so you can see the stage behind it.
Anyone know how to do this?
Setting A Clip As Background Problem
Hi,
I am creating movieclips with :
__contenedor_mc.createEmptyMovieClip("image", _image_prof);
and then, inside in imagen i load
loadClip();
(the code is not exactly like that, but that is the idea)
well the problem is that I want to load it and leave it on the background,
is a background, but i dont know how. I have mcs created with the GUI of
flash and other elements created by code.
How can put that new image on the back ground?
Is there any code for it?
Thank you very much!
J
Movie Clip - Transparent Background?
I have a website that uses a vertical gradient-fill background and I would like to place a flash movie clip on it which is basically a cartoon figure.
My probem is that I would like the movie clip background to match the gradient fill background of the website - so that effectively the movie clip is invisible with just the cartoon figure showing above the website background.
It will be a tedious task cloning the gradient fill as the background in the movie clip and aligning them up properly, so I was wondering....
can movie clip backgrounds be transparent?
This would solve the problem, but I dont know if it can be possible
Cheers!
Tony
Importing Video Clip With Transparent Background
Hi there,
I'm wondering how can I import a video clip with a transparent background to flash MX? one of the examples is like the flash movie at "Macromedia Contribute" section. The person is talking and the background of the video clip is actually trimmed off so that you can still see the text behind the video clip.
For the still images, we can just use photoshop to get rid of the background and save it as png so that the background will become transparent when its being imported to flash but I need to know if i want the same effect on video clips?
cheers!
Background: Movie Clip To Static Frame?
Hi all, i've attached a file to help in trying to explain what I mean.
Its probably a really stupid question, but hey ho.
Basically im making a site where the background of the whole site remains the same. However, the background is animated in to begin with, then remains stationary from that point on.
The attached file shows how the background will kinda be (it is just for an example), it starts as a small square then animates from there.
The last frame of the attached file is how the background will remain from that point on, throughout the whole site.
I have done the animation part as a movie clip, How do I put that movie clip onto frame 1 of the scene, then on frame 2 put a frame exactly the same as the last frame of the movie clip? so that it plays the entire animation, and then goes to frame 2?
At the moment he way I do it, means it plays like the first frame of
the animation and then goes to frame 2 - so it jumps immediately from
a small square to the full screen background i.e none of my animation
is shown.
Im using Flash 5.0 by the way.
lol I hope I have just made sense - in my defence it is late!
Applying New Background Color For A Video Clip?
Hi there,
I have a video clip. Now I am going to apply a new background color for it. Is there anyways to erase the clip background?
If so I can use new background for my clip.
Do I need a program to do this? Any hits?
Cheers
How To Dynamically Set Background Color Of AttachMovie Clip?
I'm working on a card game where the cards are face down and the side facing up will be a different color for each game, When I attach the movie clip via the attachMovie command and try and change the color, both the foreground and background are the same color. As a result, the face of the card cannot be seen. Any idea how to only change the background color? Here is a snippet of my code:
for(i=0;i<36;i++) {
cardPosition = i + offSet;
attachMovie("Card","Card"+i,i);
var gColor = new Color("Card"+i);
gColor.setRGB(0x000000); // everything is black, foreground and background
_root["Card"+i].picture = cardsListSorted[i];
_root["Card"+i]._x = x*62+190;
_root["Card"+i]._y = y*62+130;
// move to next card spot
x++;
if (x > 5) {
x = 0;
y++;
}
}
The Movieclip "Card" is in the library and the linkage set to export.
Thanks!
Lucy
Black Background When I Print Movie Clip
I have a movie clip that loads a schedule. I have a print button that prints the schedule ok but then i get a black background for the rest of the page which kills my ink cartridge.
The main movie background is white.
Heres the wierd thing, when i publish the movie in Flash MX 2004 it prints perfectly with a white background. Once I upload the movie to the site and try it there, I get a black background?!?!
The site is www.physiqueplus.com and select GROUP EXERCISE > SCHEDULE to load the movie in question.
My print code is
Code:
on (release) {
getURL("print:", "schedule");
}
I hope you can help me out with this annoyance
Nick
Change Background Color In A Movie Clip
Hi all,
I have a movie clip with an animation. The animation is a line that at certain point starts moving all the way to its right.
I would like to change the background color (or maybe add a background image) as the line travels to the right .
I suppose that the line has to move to the right and the new background to the left to make the effect that the line is entering in a new color as its travels ...but everything that I try is a wrong try. Can anyone please give me a hand??
Thanks in advance!
[F8] Background Music / Video Clip Issue
Hopefully this isn't too bothersome a question, as i know this topic has been covered in length already... only that i have tried a variety of methods mentioned, and I am obviously doing something wrong, LOL!
I am attempting to build a flash site in which there is background music (with an on off switch) and on one of the particular pages, there is a video (flv) that automatically plays once that page is accessed. The problem lies in that when the I am on the video page and try to turn off the music, the video turns off as well. Initially i was using the stopAllSounds method, which made perfect sense as to why the problem was occuring.
So I had then found [what seemed to be] an incredibly easy-to-follow tutorial at kirupa.com (http://www.kirupa.com/developer/actionscript/sound.htm) which involves creating a new sound object and having the off button specifically point to that same sound object in order to turn if off. Yet, still whenever I attempt to turn the music off, the video still stops as well.
Ultimately i am not sure if the error lies in the actionscripting or perhaps in the video configuration, but I am suddenly at a standstill, and unsure what to try next. If anyone can shed some light on what I am doing wrong, I would be forever grateful!!
[F8] Change Background Of Movie Clip Into Flash
Hi All,
Can anybody please explain how to insert a real movie into flash and remove or change their background so the only active person in that movie can view in flash move..... for example a man running or a girl advartising some product.
please give a tutorial link if have.
Make Background Move With Movie Clip
Well i'm not the greatest flash guru. I'm making a Flash movie for my computers class. I want to make a Person walking threw a gallery of paintings on the wall. Every painting is a button and you can click on to get to a info page on that. I already know how to do buttons and all. I just need help making the person move and the background to move with the person. here is my coding to make the person move. But i also have another problem. whenever nothing is hit the person is still walking. and when i hit the left arrow it appears he is "moon walking". Someone please help
onClipEvent (load) {
_root.up=true
_root.down=true
_root.left=true
_root.right=true
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT) && _root.left == true) {
_x-=5
}
if (Key.isDown(Key.RIGHT) && _root.right == true) {
_x+=5
}
}
What Is The Easiest Way To Send To Movie Clip To The Background?
Hi, I understand 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. I don't want to have a whole mess of code, just something as simple as possible. Does anyone have any suggestions as to what the simplest way of doing this would be? Thank you.
Change Background From External Movie Clip
Hi all ^^
i have a little problem.
i'm making an all flash website, there's a main swf (the web page), with all the content, a Background and Buttons . from this swf, i load an other one, externaly. it contains a menu, with four buttons. (here's the action script)
Code:
// Create a Movie Clip to load the swf Movie into
this.createEmptyMovieClip("myExternallyLoadedSWFMovieHolder", 0);
// A variable to hold the name and location of where the external swf Movie is located
var myVariable = "web_menu.swf";
// Set the Movie's location on the Stage
myExternallyLoadedSWFMovieHolder._x = 400;
myExternallyLoadedSWFMovieHolder._y = 0;
loadMovie(_root.myVariable, _root.myExternallyLoadedSWFMovieHolder);
each button of the menu is supposed to refer to the "skin" of the main page. by "skin" i mean the Background and the Buttons.
is there a way to do that, keeping the two movies sperate?
will i have to remake the menu inside the main movie? and then how will it work?
thank you for helping me, i hope i was clear in my explanations.
edit : here's the link to the page : http://cinozarts.free.fr
the menu is the turning symbols upside, i want them to change the global background, and the shape of the buttons.
Change Background Color Of A Movie Clip
Hi everyone:
I'm not new to programming, but I'm fairly new to Flash & ActionScript. Here's my dilemma. I 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. Someone on this forum suggested moving the fill to a nested movie clip and using ColorTransform on it, but I can't make it to work.
Can someone tell me what am I not doing right?
So far, I have this:
Code:
package
{
import flash.display.MovieClip;
import flash.geom.ColorTransform;
public class Ball extends MovieClip
{
function Ball(color:uint):void
{
var colorTransform:ColorTransform = this.transform.colorTransform;
colorTransform.color = color;
this.transform.colorTransform = colorTransform;
}
}
}
and from the main time line:
Code:
var ball:Ball = new Ball(0xff0000);
addChild(ball);
What Is The Easiest Way To Send To Movie Clip To The Background?
Hi, I understand 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. I don't want to have a whole mess of code, just something as simple as possible. Does anyone have any suggestions as to what the simplest way of doing this would be? Thank you.
Static Background Shape Or Movie Clip?
Hi
I have a big static background. What is better to use for it so computer will not be under stress?
Shape that i made or to convert it to movie clip and than to catche it as bitmap?
tnx
Luka
How To Remove Only The Background Of A Video Clip In Flash
The 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 helps explains the "transparent Flash overlay", which is done with the help of HTML tags i.e
<param NAME="wmode" VALUE="transparent">.
I want to do it in flash, not in HTML or DHTML
Change Background Color In A Movie Clip
Hi all,
I have a movie clip with an animation. The animation is a line that at certain point starts moving all the way to its right.
I would like to change the background color (or maybe add a background image) as the line travels to the right .
I suppose that the line has to move to the right and the new background to the left to make the effect that the line is entering in a new color as its travels ...but everything that I try is a wrong try. Can anyone please give me a hand??
Thanks in advance!
Loading Txt Clips--scroll Arrow Stays Down From Clip To Clip
Hi there,
I found a nifty piece of code that loads external txt files into a movie clip, complete with scroll arrows, and it's working like a charm--almost. The client has had the audacity to find a bug: if you summon up one text file, scroll to the bottom of it, and then click to load a different text file, that second text file will appear at the end of the text, not at the beginning; somehow the arrow stays scrolled. I don't think I can figger out how to fix this.
The problem can be viewed here: http://www.nicholsongallery.com (click on artists, then click on any artist name--that will load a text file. Scroll down the bio, and the next bio you load will also be scrolled. Sux!
The .fla is here: http://www.amnecia.com/jn/artists2.fla
If anyone has any advice, that would be great. Thanks a lot.
Peace,
necia
Loading A Movie Clip With Preloader Into Empty Clip
OK, stoopid question for those who know the answer:
I am trying to load a movie contac.swf into an empty movie clip "thedmovie" thus:
loadMovie ("http://321webliftoff.net/contac.swf", "thedmovie");
The problem is that the movie contac.swf contains a preloader:
frame 1:
_root.firstloading.percent = int ((this.getbytesloaded() / this.getbytestotal()) * 100);
frame 2:
if (_root.firstloading.percent < 100) {
gotoAndPlay (1);
} else {
gotoAndPlay (5);
}
and I can't work out how to get contac.swf to display in the empty movie clip, "thedmovie".
Loading A Movie Clip With Preloader Into Empty Clip
I am trying to load a movie contac.swf into an empty movie clip "thedmovie" thus:
loadMovie ("http://321webliftoff.net/contac.swf", "thedmovie");
The problem is that the movie contac.swf contains a preloader:
frame 1:
_root.firstloading.percent = int ((this.getbytesloaded() / this.getbytestotal()) * 100);
frame 2:
if (_root.firstloading.percent < 100) {
gotoAndPlay (1);
} else {
gotoAndPlay (5);
}
and I can't work out how to get contac.swf to display in the empty movie clip, "thedmovie".
Loading A Movie Clip With Preloader Into Empty Clip
OK, stoopid question for those who know the answer:
I am trying to load a movie contac.swf into an empty movie clip "thedmovie" thus:
loadMovie ("http://321webliftoff.net/contac.swf", "thedmovie");
The problem is that the movie contac.swf contains a preloader:
frame 1:
_root.firstloading.percent = int ((this.getbytesloaded() / this.getbytestotal()) * 100);
frame 2:
if (_root.firstloading.percent < 100) {
gotoAndPlay (1);
} else {
gotoAndPlay (5);
}
and I can't work out how to get contac.swf to display in the empty movie clip, "thedmovie".
Background Loading
Is there a tutorial for this?
I have a 12 scene movie. the first 3 scenes need to load and display first, while the 9 subsequent pages load behind it. i can do this. BUT, if you click to go to one of these 9 pages before they are completely loaded, how can I display a loading page to let folks know thye will have to hang on a bit.
Clear as mud?
Go to http://www.ernstbenz.com/benzsite.html if you wish to help and you will see what I mean. It may be easy, but I've been staring at this thing for a couple daze and I'm worn.
God Bless
Background While Loading
Hello!
Does anybody know how I can prevent to see
the outline of a film while it is loading.
Is it possible to change the color so it will blend
with the background of the page?
Thankful for answers!
Homeland
Loading In The Background
I want to know how to load a movie clip in the background while another is playing.
I have a series of memory intensive movie clips that I was to play in succession. Can I load one while another is playing so that there isn't a delay between clips?
I assume the "if" statement is the key, but I'm not sure exactly how to cobble the script together.
Thanks in advance for any suggestions.
Loading SWF Without Background
Ok...i think this is a regular question here on FK, however, i can't figure it out.
I'm loading external SWF on a main movie... it's possible to load this SWF without his background(transparent) ? If it is...tell me how.
Regards
Background Loading
Hi all,
i really need to know how to load something in background
exemple:
I have a radio and until you are listening one music another one is loading in background. So, when the first one finished the other begin imediatly.
Thanks for trying to help me
Bruno Miod
Loading In The Background
Hi
Once my main movie has loaded, I would like another movie to load in the background without the user knowing, so that later on when that movie is put into the original movie using a preloader, it will already have laoded and come up straight away.
How can I background load a movie like this?
Thanks.
[F8] Loading Wav In Background
I am making a game in Flash8 and have a big sound file that makes the loading time Veeeeeeeryy looong. Is it possible to load the sound file in the background? Like the person can play the game while loading the sound file at the same time
Thanks in advance!
Loading The Background First
I have this background image in my movie and I'd like the background to show while the movie is preloading but I'm not sure how to make this happen other than putting the background in the first frame but then it stunts my preloader that is in the first frame as well. Any suggestions? Thanks.
Loading Swf In Background
I don't know if this is the right forum but I am going to start here. I have a web page with some text on it. There will be two links, one for dail-up and one for cable.
What I need to have happen in while I am on this page I need the cable version of my flash movie to be loading in the background. How do I accomplish this with out the user aware that anything is going on?
I have a client thats driving me crazy!
Loading In The Background?
I have a preloader that shows until my site is loaded, is there a way that I can start to load some jpg's after the preloader is finished so that my site is up but the pictures are not cached yet?
Thanks
Background Loading
Hi,
I would like it so that when my intro for my site is playing that my main swf is loading in the background. Is there a way to load a movie into the viewers temporary internet files without loading into the movie that is currently loading? Like a preloader does.
Andrew
Loading SWF's In The Background
Does any know of a tutorial, a book, or can exlpain the proper way how to load contents in the background while the end user is is interacting with the flash piece?
Thanks
erase
Loading SWF's In The Background
Is there a way to load external SWF's in the background while the user is looking at the intro. Is it recomended to do this?
erase
Loading SWF And FLV In The Background
I have two FLVs, each of which are viewed via progressive download since true streaming is not available. Each FLV is more than 5 minutes long.
Scenario: FLV 1 has been fully downloaded and the user is now watching it. While the user is watching FLV 1, it possible to buffer FLV 2 in the background so that after watching FLV 1, the user can watch FLV 2 immediately without having to wait for the download process?
(My understanding of progressive download is that the FLVs will be fully downloaded and located in the browser's cache. Is this accurate?)
Finally, is this "behind-the-scenes" loading procedure also possible with regular SWF?
Thanks in advance for any tips and suggestions! :)
Using A Dynamic Text Field To Resize A Background Movie Clip?
Hello,
I 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? I am a beginner actionscripter.
Thanks!
r
Loading A Dynamic Background
Hi,
I need to load a dynamic background image for the background. I would be willing to use the most favorable format for background image.
- Is there a command that allows me to load an image.
- Or would I have to convert the jpg-files to swf-file?
Thanks
Markus
Loading A Movie In The Background
Guys,
How does one load a movie, in the background, while loading the current movie. The result is to have the second movie already loaded so that when its called it comes up immediately and doesn't stall. Help!
Thanks,
Marc
Loading Movies In The Background
How do I get a large movie to load in the background while another movie is playing, so the movie will be ready to go when called upon?
I don't want the movie to load on top of the other movie. I just want it to be ready when the other movie is finished, so that the user doesn't have to wait.
Thanks in advance.
Loading Background Images
I just added the option to my site to change background images. I set it up by loading external movies into the target BGFrame which is on the main timeline of my site. The target is on the layer right above my original background image. All background .swf's are loading into the same target BGFrame.
I was wondering if there's a way to load a new background image more smoothly than the way I have it now. It's annoying that when you switch from one new background to another, there's a brief moment where you can see the original image during loading time.
Here's the code I used:
To load the backgrounds:
Code:
on (release) {
_root.BGFrame.loadMovie("BG7.swf");
}
To return to the original:
Code:
on (release) {
_root.BGFrame.unloadMovie();
}
Any thoughts or tips would be greatly appreciated.
My site: http://calpomatt.lavista.org
|