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.
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 02-20-2006, 06:04 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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....
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?
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
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!
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
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] 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
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!
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
Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.
in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)
I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a
I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)
thnx
Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.
in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:
Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}
thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:
Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}
The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.
the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.
thanks!
Mouse Rollover On One Movie Clip Increase Decrease Alpha Of Another Movie Clip..
So I really haven't messed with Actionscript much for a couple years and here is my issue.
I have several movieclips I put together that will eventually be a menu for my website. When you roll over a menu option (movieclip) I am trying to get another movie clip to fade in giving the description of the menu item.
For example - when you roll your mouse over the 'Live Chat' option a brief text description would appear telling you what the live chat is about. This description is a seperate movie clip appearing away from the original menu.
I have made the movieclips for the menu and the movie clips for the descriptions. I tried this action on the menu option to get the description to fade in:
Code:
onClipEvent (load) {
this._parent.mc_text_discussionBoard._alpha = 0;
}
onClipEvent (enterFrame) {
this.onRollOver = function() {
if (this._parent.mc_text_discussionBoard._alpha<100) {
this._parent.mc_text_discussionBoard._alpha += 5;
}
};
}
But the alpha only increases on the description (mc_text_discussionBoard) by 5 when I keep rolling my move over and out and over again. It makes sense why it does that, but I'm not exaclty sure how to get it to continually increase the alpha by 5.
any help would be great and I am anxiously waiting to get this solved!
Kevin
Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:
Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.
__________________________________________
this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________
- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.
- the movie clips are within the same library, not on the timeline or external library.
- Is this possible?
Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.
So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)
But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip
thaks
Vakarm
How To 'stop' A Movie Clip Within A Movie Clip Within A Movie Clip Loop
I've done searches, laughed, cried, and punched holes through the wall, but I can't figure this out.
I'm in Flash MX (pro) and I have a MovieClip on my main timeline (frame 1). Inside that clip is another animation (the static animation scrolling across the screen), and another inside of it of the static animation (6 characters on a train each animated uniquely).
Confused yet? Ha! OK, so I just want the damned animation on the main timeline to run once and then stop (or to 270 frames). I've tried:
myMovieClip.stop()
to no avail. I've tried attaching the script to the movie clip itself, and also to the frame.
Any suggestions?
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 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.
Making A Draggable Movie Clip Control The Location Of Another Movie Clip
http://www.kineticz.net/jba/residental.jpg that is a picture of what i am trying to do. the white bar at the bottom is the draggable movie clip and the group of 3 pictures right above that is the movie clip that i am trying to control w/ the draggable clip. I am having trouble writing a script that will do this. any help you can give will be much appreciated.
A Button Inside A Movie Clip, Within A Movie Clip, Calling Another Scene:
Is it even possible?
I have been trying to do it for the last few days for a site I am working on.
I have done searches in many forums and it's foolish looking for an answer that way, because quite frankly every thread I opened was something to do with LoadMovie or GetURL, etc.
What I have right now is on the button in my Menu Bar Movie Clip:
on (release) {
gotoAndPlay(285);
}
Which plays a fancy little animation in the movie clip and then on the last frame of that movie clip I had:
gotoAndPlay("Contact", 1);
Which is the Scene for the "Contact Us" Scene named "Contact"
One would think that it would load up the scene and play at frame 1, however all that happens is it reloads the movie clip of the "Menu Bar" at frame 1 and starts over, not even realizing what I asked.
Anyways, I figured there's a script or something that tells it to look outside of the movie clip or to the _Root, or whatever.
If someone has a solution, it would be greatly appreciated.
Sorry I have no example to show, since I have yet to upload it. (It's my company's web site, and I don't think customers would want to see some half-arsed web site that's not complete.
Thanks in advance.
On Mouseover Show Movie Clip, On Mouseout Close Movie Clip *HELP*
Basically what I am trying to do is this...
I have a movie clip that is a name. When you put your mouseover the name I want another movie clip to display to the right of the name. This clip has a photo and bio of the person.
The photo and bio have an animation that fades it in and an animation to fade it out. I have 5 frames for the fade in, then stop frame, then 5 frames for the fade out.
What actionscript do I need to use to make that second movie clip load when a user mousesover the name (first movie clip) and to make the second half of the second movie clip play when the user removes their mouse from name (first movie clip).
NOTE: I tried using loadMovie and unLoad movie but I couldn't do it loading another swf. The reason being this is already an swf loaded inside a main movie. I guess you can't load an swf inside an swf that's already loaded inside an swf. I hope this all makes sense!
I appreicate all the help!
Thanks a lot!
Create An Empty Movie Clip Inside An Existing Movie Clip?
I'm making sort of a tabbed navigation scheme by reading the data for each tab in from an XML file. What I'm wondering is if it's possible to use createEmptyMovieClip() to make a new empty movie clip inside a movie clip that already exists on the stage.
Using
ActionScript Code:
m_anchor.loadMovie(bg_image);
works as I would expect. bg_image is just the relative path to an image file, and m_anchor is a movieclip already on the stage. However, doing a similar thing:
ActionScript Code:
m_anchor.createEmptyMovieClip("textbox", this.getNextHighestDepth());
and then drawing a shape (a rounded rectangle, which I then want to put text on top of) doesn't work. It works if I just say "this.createEmptyMovieClip" instead of attempting to create it inside the m_anchor clip, but if I do that, the "textbox" is created at the root level and I can't unload it along with everything else in the "m_anchor" clip. Is it possible to create a new empty movie clip inside of one that is already on the stage?
Thanks!
Load An Internal Movie Clip To An Empty Movie Clip On The Stage
Can any of you shed some light as to why this is not working:
on (release) {
emptyMC.attachMovie("mrimc","instance1",this.getNe xtHighestDepth());
}
what I want to have happen is when the user clicks a button it loads the mirmc into emptyMC on the stage.
I have double checked that my empty movie clip does indeed have an instance name of emptyMC and that the movie I want to load into does in fact have the name mrimc in the library. Any ideas?
Problem Getting Movie Clip Inside Of Movie Clip To Face Mouse
I used the code below to make a movie clip face the mouse, it works when I use it on a movie clip that's not embedded in another movie clip, but when I used it on an embedded movie clip, it's axis seems to change.
Attach Code
var stickGun:MovieClip = this.stick_holder.stickGun_mc;
//stick_holder.stick_mc.stickGun_mc
stage.addEventListener(Event.ENTER_FRAME, onMove);
//stick_holder.stick_mc.stickGun_mc.addEventListener(MouseEvent.MOUSE_MOVE, onMove);
function onMove(event:Event):void {
// get the radian value of the angle between the clip and the mouse...
var myRadians:Number = Math.atan2(mouseY - stickGun.y, mouseX - stickGun.x);
// convert it to degrees...
var myDegrees:Number = Math.round((myRadians * 180 / Math.PI));
// get the horizontal and vertical distance between the clip and the mouse...
// rotate the clip toward the mouse...
stickGun.rotation = myDegrees;
}
Placing Actionscript Movie Clip Inside A Movie Clip Symbol
I'm loading an external image into an empty actionscript movie clip (holder1) using MovieClipLoader(); on frame one of my movie and is invisible. Then when the movie plays, there is an empty movie clip symbol (image1_mc) that is placed manually on the stage within another movie clip symbol (flash_mc), and is also on a bottom layer of a mask layer which is animated. Is it possible to place "holder1" inside of "image1_mc" so that I can treat it as if it were an embedded image? In other words, have the image in "holder1" inside of the manually placed movie clip symbol "image1_mc" so that I can use it like a regular symbol on the stage?
How Can I A Movie Clip Splash Prior To Attaching The Choose Movie Clip..Help
I have a presentation which I would like to publish on CD. What I want is to have movies attached to the container_mc on the stage upon clicking the desired navigation buttone. But before movie gets attached, I would like to have a logo_mc animation (from the library) to play itself before playing the selected clip.
I think I need to write up a function which will call the animation splash clip prior to attaching the clicked movie.
Appreaciate all the help.
Thanks so much.
Control Movie Clip In Container From Button Inside Other Movie Clip
There are three movie clips involved in this question.
1. A main movie clip that has a target empty movie clip where an external swf loads.
2. A menu movie clip that is built from button symbols and has its own timeline.
3. The external movie.
When a user clicks on the menu, the external swf loads into the empty movie clip target. This part works fine. Here's the code:
on (release) {
loadMovie ("Lesson1.swf", "_root.container");
}
I want to use one external swf for all lesson, versus 20 external swfs. The problem I'm having is controling at what frame the external swf loads. I've tried adding --gotoAndStop (15) -- for example. I've also tried adding, gotoAndStop "_root.container" (15), but that doesn't work either. The gotoAndStop action ends up controlling the menu movie clip timeline instead of the movie loaded into the container. I figure this is because the menu mc has "embedded" buttons and it's own timeline.
Any help you can offer will be much appreciated.
Thanks
Sheila
Creating A Button To Open A Movie Clip From Inside A Movie Clip?
I'm using a hexagon menu to display some images. One image is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").
What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it (which is another movie)
I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having
on(release) {
gotoAndPlay("scene 5", 1);
}
this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen (not over the movie) it works.
Please can someone help with this - Ive been working on it flat out over the weekend and desperately want to make it work. any ideas would be appreciated!! thank you
Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,
I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.
I have tried:
on (release) {
loadMovie (ithink.swf, "loader");
and
on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}
and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.
Any suggests or ideas!!?
I would really appreciate it... I am beyond frusterated!!
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
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
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!
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
|