Jump to content
onequickmemory

Problem changing movie clip color

Recommended Posts

Hello experts,I am working with FLASH for the very first time and I have made a big effort trying to do something that appears simple-To change the background color of my .swf finished movie on a series of frames toward the end. I have unlocked the layers of the frames in question, attempted to insert action script in the root frame of the clip, but any advice at this point would be highly appreceiated. I did not create the .swf movie, so this is new stuff in my camp. Thanks.Onequickmemory.

Share this post


Link to post
Share on other sites

The .swf can only have one bg-color for the file and cannot be changed, at least in MX 2004, but as an alternative.....1. Create the layer 'bgchange' or something that you'll remember.2. Click the rectangle tool and give it any size, your desired color, but make sure it has no border.3. Make sure your rectangle is selected, and then open up the properties box. 4. Change the width and length of your rectangle according to the stage size. E.G.: width: 500; length: 400;5. Press F8 to convert the rectangle to a symbol, a movie clip would probably be most convenient, although a graphic may also work.6. Now open the align panel.7. Make sure 'To Stage' is selected, and align horizontal and vertical center.8. Now insert a keyframe on the frame with the final result of the change.9. On that keyframe, open up the properites box again, make sure your MC(Movie Clip) is selected.10. From the dropdown box 'color', select tint, and the desired color of your changed BG.11. In the timeline, right-click > Create Motion Tween, anywhere between the start and end of your change.*If you don't already have the properties or align box open, find them somewhere in Window>.

Share this post


Link to post
Share on other sites
The .swf can only have one bg-color for the file and cannot be changed, at least in MX 2004, but as an alternative.....1. Create the layer 'bgchange' or something that you'll remember.2. Click the rectangle tool and give it any size, your desired color, but make sure it has no border.3. Make sure your rectangle is selected, and then open up the properties box. 4. Change the width and length of your rectangle according to the stage size. E.G.: width: 500; length: 400;5. Press F8 to convert the rectangle to a symbol, a movie clip would probably be most convenient, although a graphic may also work.6. Now open the align panel.7. Make sure 'To Stage' is selected, and align horizontal and vertical center.8. Now insert a keyframe on the frame with the final result of the change.9. On that keyframe, open up the properites box again, make sure your MC(Movie Clip) is selected.10. From the dropdown box 'color', select tint, and the desired color of your changed BG.11. In the timeline, right-click > Create Motion Tween, anywhere between the start and end of your change.*If you don't already have the properties or align box open, find them somewhere in Window>.
Sorry for the slow reply, but I am still attempting this(once again). I tried the method you mentioned but I cannot seem to get it. I did notice however that the frames in question have both a bitmap image and a symbol that are identical in the Library. I tried the floodFill method since there is only one color to chage in the bitmap. This however only changed a small section of color when I tested the movie. I started a new layer in a .fla format and then imported the .swf movie to the stage. If you could offer any more insightful advice I would appreceiate it. Perhaps it is easier to simply edit the bitmap or symbol that is used during that section of the .swf movie(about 50 frames total consisting of two layers)?Thanks again,onequickmemory

Share this post


Link to post
Share on other sites
Sorry for the slow reply, but I am still attempting this(once again). I tried the method you mentioned but I cannot seem to get it. I did notice however that the frames in question have both a bitmap image and a symbol that are identical in the Library.
If choose the symbol (movie clip) and place that in the place of the bitmap, sniffy's method will work.E xAs your new too flash...i will give you a helping hand =]So you cant get it wrong!! and therefore...you will learn =]waffles01.pngOk so first.Import the Bitmap to stage!File>Import>Import to stagewaffles02.pngClick on the image and press f8 and convert it into a movie clipwaffles03.pngAdd a keyframe somewhere along the timeline!waffles04.pngClick on the keyframe. Now go to the properties box (Ctrl+F3) and select the little "color" drop down box.Select tint.waffles05.pngNow select color and alpha (how transparent it is) using the drag control and drop down palletewaffles06.pngRight click on the time line and create a motion tween!And thats it! :)

Share this post


Link to post
Share on other sites
If choose the symbol (movie clip) and place that in the place of the bitmap, sniffy's method will work.E xAs your new too flash...i will give you a helping hand =]So you cant get it wrong!! and therefore...you will learn =]waffles01.pngOk so first.Import the Bitmap to stage!File>Import>Import to stagewaffles02.pngClick on the image and press f8 and convert it into a movie clipwaffles03.pngAdd a keyframe somewhere along the timeline!waffles04.pngClick on the keyframe. Now go to the properties box (Ctrl+F3) and select the little "color" drop down box.Select tint.waffles05.pngNow select color and alpha (how transparent it is) using the drag control and drop down palletewaffles06.pngRight click on the time line and create a motion tween!And thats it! :)
Hello once again,I really appreceiate the efforts in helping me with this issue. I have tried both approaches above numerous times now but it seems the frames I am trying to edit stem from a bitmap wich appears to be an instance of a .jpg. When trying the above methods and others it seems I can only change the percentage values (RGB) of the bitmap giving me still and undesirable background color on that image set. If a new layer in the form of a rectangle is created, the same problem: a mix of colors rather than a NEW background color. Question: Could I export this bitmap image to an image editing program or fireworks and then change the background color manually? If so could I re-import it back to my flash movie and rename it the same as the frames call for? Just a thought. Any solution would be greatly appreceiated. I keep hearing how much "fun" Flash can be. Thanks,Onequickmemory.

Share this post


Link to post
Share on other sites

You can do it on Adobe Illustrator. Choose object live paint on the open jpg file. But you may not be satisfied with the results (I've tried that). But Illustrator is probably the closest to Flash, closer than Photoshop. If you use live paint on a cartoon or drawing image is easier that a live picture.Let me add that if you take a live picture it would have more variety of colors making the live paint more difficult. Thus converting to Flash will create hundreds of layers; one layer per color.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...