Professional :: Move An Image And It's Keyframed Animated Mask?
Dec 5, 2011I want to move an image and it's keyframed animated mask to a new position.
What steps do I need to undertake to accomplish the seemingly impossible task?
I want to move an image and it's keyframed animated mask to a new position.
What steps do I need to undertake to accomplish the seemingly impossible task?
Am I completely hallucinating or what ? That's several years I'm working with Flash, and today, i want to do the simplest animation ever, and it just doesn't work....I want to mask an animated clip with an animated mask (a shape animation), but every time the mask arrives at a keyframe, the clip restarts to the frame 1 !!I added a piece of code to see at which keyframe it is blocked, and at every mask keyframe, the code says 'TypeError: Error #1009: null property..
View 2 RepliesThe title should read:Ack! addChild() and keyframed mask... Bug, feature, or my own stupidity?Hehe, anyway, this is a weird one... Or I am just too tired to see the obvious answer.Long story short, I am trying to add a swf to a movieclip which has an animated mask applied to it.Problem: The swf will disappear as soon as the first masked keyframe occurs.Here is the ASAnd the SWFThe CS3 created FLAThe loaded SWFThe loaded
View 4 RepliesI just finished animating something, but I don't like how large it is, and I want to resize it. However when I select the objects to move them, it only selects the current key frame that I'm on for those objects, so moving it only affects that keyframe. How can I select all of my keyframes so I can make them all uniform?
View 7 RepliesI have a question, and I find it hard to find resources on it. I have two layers, and another layer with an image of a broom on it. I want to use the broom to move over layer2, and reveal the layer beneath it. Kind of making a sweeping game. Frankly my search efforts on google have only come up with alot of masking, but I am sure you need actionscript to make the broom move with the mouse.
View 1 RepliesI've completed my first character in Flash. Happy with it's performance. Got eyes blinking, mouth syncing, and hands gesturing. But the character doesn't fill the screen the way I want. I need this to be a close-up shot of the character.When I go to enlarge the character it screws everything up because the head and body are keyed separately.Shouldn't there be a simple way to just group and scale the whole character without messing up the performance inside?
View 2 RepliesI have created a character for animation in illustrator and saved each symbol nessesary as a movie clip.After finally coming up with a decent animation everything seemed fine and exporting as a .swf looked great. When trying to export as a .gif however I get a singal non animated image. I've been looking for a simple answer to this problem such as Radtool converting a .swf or.avi to a gif and it give me a file not found error. I've attempted turning all of my symbols into graphics and I get a single image when I try to view it in flash (ctrl + enter). I've tried saving it as a bitmap and batching in photoshop with more error. I've tried going into flashes publish setting and saving an animated gif. Every export format I choose seems to give me a single non animated image except for .swf.
View 3 RepliesI'm unable to export an animated symbol to image sequence properly because the symbol does not animate.I created the tweens in multiple layers, then cut-pasted all layers to a new symbol.I did this so I could then just do some tween motions on the symbol.The tweening is perfect, but when I export the image sequence, the images do not animate the way it does on the Flash player.All I get is an image sequence with the tweened symbol, but the symbol itself does not animate.how to get the symbol to animate when exporting the image sequence.
Alternatively, is there a way to motion-tween multiple layers simoultaneously? (Layers which are themselves tweened)Any additional info, I'll be checking regularly so I can provide as much description as possible to get this to work.
I'm new to flex/flash cs5, but am an experienced coder, and am trying to help a friend get a site built quickly so they can graduate. They would like their image gallery that displays their portfolio to have:thumbnails floating around slowly and bouncing off of one another - mouse hover would freeze and then resume animation after the mouse leaves - when clicked the thumbnail would grow to the full size image and be displayed in the same window as the floating objects Something similar to whats found at: Flash and Picasa gallery with those other features would be perfect, but without the Google RSS aspect of it. Might anyone know where I could be pointed in the right direction for accomplishing this? Or possibly could be given technical names for the effects I'm trying to implement so I can look them up easier? Perhaps even a link to download something with the floating/bouncing element for the thumbnails, then I could figure out the code for the other effects needed.
View 1 RepliesFlash CS4 AS2 Okay -I have a flash movie, and I want to apply a mask to it. The mask I want to apply, or rather, the "shape" of the mask I want to apply is an external image that was made in photoshop. The shape is an irregular one with a bunch of jagged edges. the shape itself is solid, with a transparent background. I've tried saving it as a PNG with transparent b/g, and I've tried importing the PSD file directly into Flash - however - when I go to use this shape for a mask, the mask that is applied is an entire rectangle bounding the imported image - rather than along the edges.Hopefully you can see what I'm trying to do here, and perhaps offer some insight on how I can get this image into flash (let's stick with the idea that the jagged edged manner of the image is too difficult to recreate inside of flash).
View 13 RepliesI am working on an animation with two masks, which plays in Flash as expected, an exported SWF is ok, an exported Quicktime is ok, except for the dreaded ghosting which renders it useless, but when I export it as an image sequence (gif, png or jpg), one of the masks is consistently ignored, while the other one masks as expected. This already shows when I export one single frame as an image. As a result, I currently have no way to create a quicktime movie for this animation (running CS4 on OSX 10.6.5)
Any other way to arrive at a quicktime movie?
I have a logo that I'd like to animate for a class presentation. The logo can be seen here: [URL]. I would like only the word LEAF to fade in, and then the blue portion to wind its way around (Starting at the gap at the top, going clockwise and finishing by revealing to two shorter lines in the center). At first I tried to mask the blue portion in segments, but couldn't figure out how to link multiple symbols together to mask the same image.
View 1 RepliesBeing a complete beginner in AS3 (and coding in general), I'm trying to do the opposite of what's seen in this swf (I'd like to have the spinning logo filled with the background colors): [URL]. I was thinking of a very simple way with this kind of code:
ActionScript Code:
var i:int=0;
var logo_vector:MovieClip=new LOGO_VECTOR();
logo_vector.x=192;
logo_vector.y=140;
//logo_vector.cacheAsBitmap=true;
[Code] .....
But while a logo_vector.rotation makes the logo spin around the Z axis and works, the rotationX gives a black screen. AS I could see the logo appearing onone frame, I thought that caching as bimtap on each frame would do the trick but it doesn't. I tried to put the logo into another movieclip but still no chance.
I thought about drawing the logo into a new bitmap as well, and then do a work on the pixels directly to have an opaqe background and the black logo transparent but there again, I can't get the logo position to refresh properly (and can't get it to be in the center of the bitmap).
I tried to copy the sprite into a bitmap:
var masque:BitmapData=new BitmapData(384, 282,true,0x00ffffff);
var masque_bmp:Bitmap=new Bitmap(masque);
and
Masque.draw (logo_vector);
In the Enter Frame function but I'm getting an empty rectangle and if not used as mask, the graphics are not refreshed)?
I have a curved graphic that I need masked, but the mask will slowly unveil the graphic below. I'm tweening the mask on the timeline since the graphic has a pretty complex shape (a bunch of curveTo's would take forever).If I apply a shape tween to the mask it doesn't tween on curves that well unless I place a keyframe at every two frames and adjust the shape. Does anyone know if there is a better solution?
View 1 RepliesI'm attempting a neat little effect where I've got a fellow walking (already drawn and animated) and I'm using him as a mask over the top of a simple colored rectangle - the idea being, by changing the color of the rectangle, I can have a walking man with color effects happening. At this stage the square is just green, because the mask is not quite working correctly. The edges of the animated mask glitch up and don't work as expected
View 5 Replies I've got this interactive storybook that loads each page from separate swf files into a movie clip. The movie clip is masked, and with every turn of the page, the mask changes shape so it looks like the pages are covering up the content. Once the page turn is complete, we're supposed to be left with two fresh pages so we can load more content.
Here's my dilemma: It seems the movieclip unloads itself when the mask enters a new keyframe. I don't know how to work around this. I've tried making a separate movie clip out of the mask, and animating it on its own timeline, but that hasn't worked. Nothing else reacts this way to a moving mask. [URL]
Does anyone know where I could find tutorials on AS animated masks etc? Such as this tutorial ([URL]).
View 1 RepliesI want to create a mask from an animated line. I found out pretty quick that you can't use a line to mask, only fills. So, can I convert the line to a fill as it's being drawn? Or do I need to put multiple instances of a shape along my line at intervals?
I keep seeing requests for an animation of writing. I figured it would be easier to have the text in one layer and use the animated line as the mask. It sounded good in theory.
I've attached my test that shows the line being drawn. I was playing around with some different objects to use as masks and that's how I saw that lines can't be used as masks. I wish they could.
I have been tyring to export an animated banner, in animated.gif format. it's a simple animated text with no gradients. it should go on top of a graphic which has some gradients and is multi-coloured and with effects (the colours are similar to the one/i used in the page) as you can see here the text looks a bit funny.url...
View 3 RepliesI've got this interactive storybook that loads each page from separate swf files into a movie clip. The movie clip is masked, and with every turn of the page, the mask changes shape so it looks like the pages are covering up the content. Once the page turn is complete, we're supposed to be left with two fresh pages so we can load more content. Here's my dilemma: It seems the movieclip unloads itself when the mask enters a new keyframe. I don't know how to work around this. I've tried making a separate movie clip out of the mask, and animating it on its own timeline, but that hasn't worked. Nothing else reacts this way to a moving mask.
Here's what I'm talking about: [URL]
And the source: [URL]
And the swf loaded into the movie clip: [URL]
maybe point me towards a better way to mask. png file is way too big. I have been using the mask layer option to create my own mask around a jpg image by drawing around it on the mask layer. There has to be a fetter and faster way to do this. Is it possible to maybe have a specific color range have an alpha value of 0. Similar to green screening whereas If I put the item I want to clip on a green background flash will auto take out the green for me. and by auto I mean action script maybe. I think this can be done but im not finding it.
how are these guys clipping these images [URL] they have the movie clips set up where the black background on the 3 layers of shoes is getting masked out. When I go into the shoe movie clips I see there is a black background but it just disappears when I go back to main timeline.
I've got a movieclip with two layers - a background movieclip, and above that, a mask movieclip (as you might guess, this layer is masking the first). Due to design necessity, the mask is animated on the timeline across 60 frames.The problem arises when I use an Event.RESIZE listener to change the width of the parent movieclip when the browser window is resized. Any code to reference the mask, i.e
parentMC.contentMask.width = stage.stageWidth;
parentMC.contentMask.x = frame.width/2 - frame.contentMask.width/2;
Simply results in the mask animation not playing at all.
I have a site that is fairly complex, but was using a massive amount of CPU power, even when sitting idle on a page with no animations. I went through everything with a fine toothed comb, and couldn't find the culprit.So I just started removing layers one by one, until I found the one causing the problem.
Turns out it was a layer with an animated mask. I have a large black recatangle, that I converted to a mask, and then used a shape tween on it. Once that was triggered. The CPU usage went up 65-75%. Even when the movie was stopped on a frame that that mask didn't exist on. Once it was triggered, the rest of the time you are on the site the CPU usage is through the roof. I can do to fix that. Is there some other way I should build an animated mask?
[URL] I just watched a tutorial where they apply bnes to deform a "bitmap" image. Their image didn't distort like my image. Why is this happening. I imported an image then I "selected "break apart" and then I added bones to it. When I move the bones it makes the image distort, but in this tutorial here the image doesn't distort. What is wrong?
View 6 RepliesI make my fla file and then want to move an image on the stage slightly without recording the movement!
I have tried many ways and cannot - I even set up guides as I end up deleting layer and resetting.
Any link or flash file which explain how to apply mouse move effect on images of gallery. I mean image sof gallery simply move with mouse direction and stop on mouse stop.
View 1 Repliesi saw a flash movie clip used on a site and I like the way it was designed. The whole length of the file file is stable and then only the image outline slides into view on the screen. i have tried to do that but my whole image slides in just like normal motion tween.
View 6 RepliesMotion tween of a png image doesn't move fluently but with little jumps. I have change fps but it doesn't help. What parameters should I check?
View 2 RepliesI've got a script that let's me drag the mask with by clicking and dragging it with with my mouse. Currently the mask will move along x and y axis. I would like it to move only on the x axis.[code]...
View 3 RepliesI try to move a map in a mask with an Event; I have a drag move that works perfectly but I want move automaticly the map on an Event: I make this without success
ActionScript Code:
var my_tween:Tween = new Tween(myMask,"x",Strong.easeOut,0,400,3, true);
The mask move but I don't want : just the map inside ...
map.mask = myMask // the mask is apply with this !