Same Mask Effect For Multiple Images?

Jul 27, 2011

I have a mask and I want to take 12 images and put the same mask to it and then loop them.I can apply the mask to one image but would this be easier to do in actionscript or am I completely off base here?

View 21 Replies


Similar Posts:


Actionscript 3 :: Flash - Applying Mask To Multiple Images?

May 7, 2011

I am writing an application that looks into an XML file and pulls out the images within. I would like to pull out the raw images and apply a mask to them dynamically.As you can see below i create a blank movie clip and put the images into it.. At this point i want to create the mask.

var thumbLdr:Loader = new Loader();
var thumbURLReq:URLRequest = new URLRequest(galleryDir + thumb);
thumbLdr.load(thumbURLReq);

[code].....

View 3 Replies

ActionScript 3.0 :: Mask Multiple Images Adding To Stage From The Library

Nov 23, 2009

I have a series of images I'm adding to stage from the library. I need them in separate movie clips for tweening. If I create a new layer... add a shape to the layer... mask the layer... finally, add a layer below that layer (with nothing on it) then all of the images I've added from the library are masked. No matter what I try with code however, I can only get one image to be masked. must you create a new mask for each image you would like to mask? I thought maybe if I could do it all in one go on a layer, there must be some code that allows one shape/mc/object to mask several clips.

View 3 Replies

ActionScript 3.0 :: Possible To Mask Multiple MC Or Sprites Under One Mask?

Nov 26, 2009

I was wondering if its possible to mask multiple MC or Sprites under one mask, when using AS3.abc.mask = a;cba.mask = a;something like that

View 2 Replies

Flex :: Use Transparent Images To Mask Images And Add An Eventlistener?

Sep 2, 2009

the easy part is to create the image and the mask for it:

// The jpg
var elementImage:Image = new Image();
elementImage.source = "/assets/materials/9/main-body.jpg";

[Code].....

but that's not working here. the event listener reacts even if i hover over the trasparent parts.

if i draw an vector graphic and use it to mask the image it works just fine...

View 3 Replies

Creating An Effect Using A Mask?

Sep 18, 2009

im trying to create a flash effect using a mask layer.i want to have a text box which is invisible, and throu the timeline small peices of a mask layer will move over the text box, revealing the text. My problem is this, if i create a mask layer with more than 1 object, when i try to move the objects (for example in different directions so the text will reveal from both sides) then i get a weird movement from the objects (like the sum of both movements i wanted) so i was think maybe a layer can contain only one moving object.So i just cant figure how can i get the effect i want.

View 4 Replies

IDE :: Mask Effect With Smoke

Oct 6, 2005

I want to achieve smoke mask but it doesn't look realistic so I was wondering is it posible to do this.I have two images one black&white and the other one is color and with mask I reveal the color picture and for that I'm using mask ( best solution is something like smoke)

View 6 Replies

CS3 Logo Mask Glimmer Effect?

Apr 14, 2011

I'm guessing this would be simple but I just started in flash and have no clue what I'm doing wrong here. I'm trying to add an animated logo effect using a linear gradient to create a glimmer effect, using a motion tween. In order to make it appear the logo glimmered with light every so many seconds.When I add a mask to the glimmer layer but the effect comes out obviously wrong. I read somewhere that in the action script I have to use "cacheAsBitmap" but that does not seem to effect anything.I found an example of the effect I am looking to do in a tutorial pertaining to text effectsI have seen this effect used thousands of times online, but there doesn't appear to be any tutor

View 6 Replies

ActionScript 2.0 :: FLASHMO Mask Effect Freezing In Ie7 / Others

Sep 10, 2010

I have a mask transitioned 2 pic banner I'm using for a site. Everything appears perfect and am happy with the result.

After a while in ie7 or Chrome (indeed possible any browser!) the transition will freeze - most often mid transition! I have racked my brain trying to figure it out and can only conclude it is an issue with the loop killing the cache of browser or something.

It's an ol' favorite AS2 fla of mine and was taken from a FLASHMO template. how the original that mine was built from and see any problems with cache or runtime etc.? Would a conversion to AS3 fix?

flashmo website > flash templates > page 13 > bottom > flashmo_039_mask_effect

The difference with mine is it does not run after click, it loops.

View 1 Replies

ActionScript 2.0 :: How To Make Preloader With Mask Effect

May 15, 2005

I'm trying to make a preloader with a mask effect.
preloader.zip
I need the animation to follow the path the right way - from point 1 to point 2. Of course this is wrong now because the mask effect isnt well done.

View 4 Replies

ActionScript 2.0 :: Dripping Water Mask Effect?

Aug 17, 2007

how they created the dripping water mask effect that reveals the images in the swf file located at the following address:

[URL]

View 2 Replies

ActionScript 2.0 :: Dynamic XML Slideshow With Mask Effect?

Jul 14, 2008

I am trying to dynamically load images into this slideshow. I have 2 MC's, one with an animated mask, one without. I am trying to load an image into the first MC, have the mask reveal it, then load that image into the 2nd MC which is behind this one. This way, when the next image loads and has the mask show it, the other image will still be on the stage behind the new one, and so forth.Here is the excerpt of code from where the main actions are being done..

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
var canMoveOn:Boolean;

[code]....

View 1 Replies

ActionScript 3.0 :: Dynamic Mask Effect Like In Photoshop

Jan 31, 2009

I have seen how mask in photoshop works. However flash mask does not work like that. I want to create a effect in flash with a image dynamically. Probably involving bitmapdata. As yo can see the second image is the actual one. I want to create the first one from the second one using actionscript. But the problem is flash masking does not understand gradient mask etc.

View 6 Replies

ActionScript 2.0 :: Make A Preloader With A Mask Effect?

May 15, 2005

I'm trying to make a preloader with a mask effect.

preloader.zip

I need the animation to follow the path the right way - from point 1 to point 2. Of course this is wrong now because the mask effect isnt well done.

View 4 Replies

ActionScript 3.0 :: MovieClip HealthLibrary The Mask Effect Fails

Sep 15, 2009

When I run this with the movieClip "screens" tweening through the mask everything works as expected. As soon as I try to do the same with the movieClip healthLibrary the mask effect fails. One thing I just noticed is that all the assets in the healthLibrary mc are png files while all the assets in the screens mc are jpg. Could that be the problem?

[Code]...

View 3 Replies

Professional :: Swf File Not Showing Mask (text Effect)?

May 10, 2011

I have been searching for a few days now, I keep seeing the question, but no answer.  I created a text effect using a mask. It works great when I move through the timeline.However, when I test the movie or publish it as swf or htmp, the mask doesn't work. As I was searching for an answer, I noticed several references to making sure the font is embedded, so I made sure I did, but it's still not workingI am using:Flash Professional CS5Windows 7Flash Player 10ActionScript 3.0

View 8 Replies

ActionScript 2.0 :: Do A Lighting Mask To Have The Effect Of The Moving Gleam Across Logo

Jun 14, 2003

I have a logo I created for my webpage with FreeHand. I have finally learned how to do a lighting mask to have the effect of the moving gleam across my logo, but whenever I try to create the effect (using different methods even) it isnt' working correctly. Only part of my logo is being affected by the mask. I have tried all the things that I can think of to make this work. So far the only thing that has worked is changing the vector logo into a jpeg and plugging it into flash, but I really don't want to do that due to resolution and cleaness of the image. I am including links to the 2 files - the original logo as well as the masking .fla file that I have been trying to make work.

[Code]...

View 11 Replies

IDE :: Give A Fade In Effect To My Galleries - Mask Get Smaller Or Dissapear?

May 28, 2009

I use this method to give a fade in effect to my galleries, but there is a problem with it when i m viweing it in the browser if i go to another tab then go back to the tab wich has the sef with this fade in mask t messes all up the mask get smaller or dissapear anyone knows how to fix it or another way of making an fadein/out mask? here is the code i use

Code:
this.clip.cacheAsBitmap = true;
this.mask.cacheAsBitmap = true;
this.clip.setMask(this.mask);

View 2 Replies

Actionscript 2.0 :: Top Down Falling Particle Effect To Reveal Dynamic Mask / Logo

Apr 8, 2009

I have plenty of ways of creating falling snow like effects, but a client has just comitted me to an effect as a test of my ability without talking to me first, that I am a little stumped by.I need to have a top down falling snow effect (its actually supposed to be flour falling from a sieve but hey...). All the snow effects I know, fall down sideways on, from top to bottom, and then they disappear off the page (the flakes).I need the particles (movieclips) to fall downwards from a birds eye view, and 90% of them to disappear, but the remaining 10% to gradually (over about 5 seconds) build up a white logo (shape) in the middle of the screen.So I am guessing that I am going to have to be clever with dynamic masks to get the shape appearing a little bit at a time, and then I also need some random motion, and scaling as the particles fall downwards (and away) from the eye.

Before I jump in at the deep end, has anyone got any ideas on this, even just part of it (the falling particles or the revealing dynamic mask part) would be a great help.Please let me know if you can help with ideas and input in anyway, and I'll give you credit on the final project when complete, as well as much help as I can with game related scripting and deisgn/URL...

View 2 Replies

ActionScript 3.0 :: Possible To Mask Complex Images?

Aug 15, 2009

...for example, I'm trying to import a sun shaped PNG... I want the suns rays to act as the masking object... so I can see what's beneath it through the rays. Think of taking the paint brush, making a circle and then the rays are just again a paintbrush stroke.When I set up the mask however, though it's a transparent png, it ignores the actual shape & turns into a rectangle.

View 6 Replies

ActionScript 2.0 :: Load External Images Into A Mask?

Apr 1, 2007

I have 6 frame labels on my stage and on each one I have a mask animation, it's the same animation but on each frame label loads a different image, basicaly the image just fade's into the mask. I was hoping to try and do this with actionscript, just not sure how. Would also like to load the images externally too if possible.

View 1 Replies

ActionScript 3.0 :: Use An Mc To Mask Dynamically Loaded Images?

May 26, 2009

I have created a custom 3d wall gallery and I would like to mask it to give it right and left fades. I have posted the code that places the images on the stage but for the life of me I cannot mask it. Themc in the library mask_mc already has the correct gradient so now how do I add it to the top of the dynamic gallery?

Code:
private function viewCarousel():void {
viewport = new Viewport3D(stage.stageWidth, stage.stageHeight, false, true);
addChild(viewport);[code]......

View 1 Replies

Mask Multiple Shape Tweens?

May 18, 2011

I'm trying to mask multiple shape tweens for a slideshow animation I'm working on. (the transition would look just like the main animation on this page url...)

Everything works fine when I'm only masking/tweening one shape. But as soon as I add a few more dquares to the mix everything goes to hell. Can someone tell me the most efficient way to have multiple shapes tweening, while masking an image underneath them?

View 2 Replies

ActionScript 3.0 :: Use Same Mask On Multiple Sprites?

Jan 21, 2009

im trying to use a mask on multiple sprites:[code]But the mask seems only to affect the last object, that i added to mask (righttxt). Is there a way to use the same mask for multiple sprites?

View 1 Replies

ActionScript 3.0 :: Loading Multiple Images - Make Sure The Program Will Start Once All Images Have Dispatched A Complete Event?

Jan 26, 2009

im loading multiple images but how do I make sure the program will start once all images have dispatched a complete event. like make a universal loader for all the other "small loaders" if you understand.

View 1 Replies

Load Multiple Images Into A Scene And Then Cycle Through The Images One At A Time?

Nov 20, 2009

I am trying to load multiple images into a scene and then cycle through the images one at a time.So, here are the essentials what I've put together in AS3:First I set up a counter and a Loader

[code]....

Then, after loading a list of images from an XML file, I call a function that I called "createImages". This function then takes the list of images and creates a bunch of loaders:

[code]....

So far, so good! I now have a bunch of loaders each with a different name "img1","img2","img3" etc.

View 4 Replies

ActionScript 2.0 :: Attaching Multiple Images - Load Images One At A Time?

Jun 21, 2007

I have a photo gallery that loads many images using a for loop (image data is from XML file). Simplified code looks like this:

Code:
var photos_xml = new XML();
photos_xml.ignoreWhite = true;

[code].....

View 2 Replies

ActionScript 3.0 :: Applying A Mask To Multiple Objects?

Jun 20, 2009

is there a way to apply the mask to multiple objects in as3.0 ? one i try to do it using the .mask = it can only effect one object at a time ...

View 2 Replies

Actionscript 3 :: Apply Mask To Multiple MovieClips?

Aug 6, 2011

I have two MovieClips onscreen, and I want to apply the same mask to both. I set the the masks using

mc1.mask = mymask;
mc2.mask = mymask;

Only mc2 receives the mask. How can I set the same mask for two different MovieClips without having to resort to putting them both in a single MovieClip?

View 2 Replies

ActionScript 3.0 :: Mask Multiple Object Through A Loop?

Oct 4, 2010

can I mask multiple object through a loop

should be the question

ActionScript Code:
for (var m = 0; m < mylooper; m++ ) {
MovieClip(holdbox.getChildByName("mytxt" + [m] )).mask = mymask
}

it seems to only mask the last object not all of them

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved