Actionscript 3 :: Mask Image With Another Image?

Jun 1, 2010

my issue is this, my users import an image with FileReference and I need to mask it and then send it to server.My problem is this: I'm be able do keep the filereference event and transfer the image data into my canvas. I'm be able to send to server the result of masking.But I'm NOT be able to mask the image that my users have load in my canvas.

View 2 Replies


Similar Posts:


Create Own Mask Around A Jpg Image By Drawing Around It On The Mask Layer

Dec 4, 2009

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.

View 3 Replies

ActionScript 2.0 :: Using An Image As Mask

Jan 14, 2011

I'm wondering if I can use a image as a mask. For example, a shape of a dog as a mask. I want to achieve that load in the mask as a jpg or png from disk and apply it to a image. I tried it doesn't work. I don't know if there is something I did wrong.

[Code]...

View 0 Replies

ActionScript 3.0 :: Using A Png Image As A Mask?

Nov 18, 2011

I recently tried using a png image from the library as a mask for a movieclip on stage. Much to my surprise, the mask is just a rectangle. I expected it to ignore the 0-alpha pixels in the image and just mask out the visible shape. I managed to come up with a work around, but I just wanted to know if it was possible to use a png image as a mask and get the shape of the visible image as the mask as opposed to the whole, rectangular image area. I totally thought it was.

View 5 Replies

Flash :: Mask Image Can Not Appear On Screen

Apr 15, 2010

I have imported to the library two images and have given them the custom class names MaskImage and MaskedImage.[code]...

View 1 Replies

Flex :: Crop Image Under Mask?

Jul 25, 2011

I have this image over which i have a circular crop. The user can move the underlying image and when he is ok with the result hits the crop button. How can i crop only that part of the image which is under the mask?

View 1 Replies

ActionScript 2.0 :: Mask Image From B/w To Color?

Feb 9, 2006

I want to use a b/w image as a preloader and as the content loads, the image gets colored the same percent. Just like a regular preloaderbar, just that the counter is the color.

View 1 Replies

ActionScript 2.0 :: Mask Between XML Image Gallery?

Nov 5, 2006

I've been playing around with the gallery in this tutorial.[url]...

I was wonderig though, if anyone knows a way to create a mask transition between each loaded image. I fiddled around with it a bit, but can't seem to come up with anything, and I was wondering if it was even possible?

View 7 Replies

Professional :: Mask / Masking Using An Image With Transparent Bg?

May 30, 2010

Flash 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 Replies

Professional :: Mask Ignored When Exporting To Image Sequence?

Mar 23, 2011

I 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?

View 1 Replies

Web Development :: Image Mask Not Following Movie Animation

Jun 3, 2011

I'm putting a mask on an image that is being animated around the stage which works fine, but when i change the mask using as3 the mask stops following the image and stays in one place.. while the image moves around the stage... is there a way to force the mask to stick on the image?

[Code]...

View 2 Replies

ActionScript 3.0 :: Image Loader With PNG Bitmap Mask?

Aug 27, 2009

I'm trying to create a AS3 image loader with the possibility of a PNG (transparent) mask...

Tried and searched for hourse, but I won't get it right...

View 9 Replies

ActionScript 3.0 :: Why Does The Mask ERASE The Underlying Image

Feb 13, 2012

I'm using FlashDevelop, trying to create a wipe away effect. But for some reason, if you hold the mouse button down for a little while in one place, the underlying image (ice) gets erased and reveals the default background. How do I prevent that from happening?

ActionScript Code:
package MyProjectPackage
{
import flash.display.Bitmap;

[Code].....

View 0 Replies

ActionScript 2.0 :: Dynamic Mask For Loaded Image

Mar 24, 2004

I am dynamically loading an image which I am dynamically trying to mask.
_root.createEmptyMovieClip("clip1_mc", 1);
_root.clip1_mc.createEmptyMovieClip("photo_mc", 1);
_root.clip1_mc._x = x;
_root.clip1_mc._y = y;
_root.clip1_mc.photo_mc.loadMovie("pics/pic1.jpg");
[URL]

View 2 Replies

ActionScript 2.0 :: Mask A Dynamically Loaded Image?

Jun 18, 2009

I'm back and having trouble masking a dynamically loaded image. For some reason I see both the mask and the image...
Here's my code:

Code:
_root.createEmptyMovieClip("container", _root.getNextHighestDepth());
container.loadMovie("myImage.jpg");
_root.createEmptyMovieClip("square_mc", _root.getNextHighestDepth());

[Code].....

View 5 Replies

IDE :: Mouse-over Mask That Slowly Reveals Image?

Jul 21, 2009

I am trying to create a simple interactive flash video, where the user moves the mouse over the image to reveal an image underneigth (almost like a rubbing-out effect).

View 1 Replies

ActionScript 2.0 :: Create A Draggable Mask With An Image Around It?

Feb 13, 2010

I am trying to create a draggable mask with an image around it. More specifically an iPhone that looks as if it has X Ray cappability. I know how to make a draggable mask but can't seem to figure out how this situation might work.

View 1 Replies

ActionScript 2.0 :: Image Mask Follows Cursor With Fade-in/out?

May 13, 2010

I am trying to replicate this close up feature on Modavo's watch website. [URL].. I looks like the have a large image of the watch, masked over a thumbnail of the watch. Then when the mouse rolls over the stage the mask appears and follows the cursor. When the mouse rolls off, the mask disappears.

[Code]...

View 3 Replies

ActionScript 3.0 :: Particle System As Image Mask?

Dec 30, 2010

I'm a self proclaimed n00b when it comes to as3, but I'm learning rapidly.I followed this guide and created a great particle system: url...What I'd LIKE to do, if possible, is make those particles that are generated be the only part of an image that shows(mask). The tutorial contains a fla with a movieclip of a circle, two classes...particle and ball which call the movieclip and generate it on the stage.

View 1 Replies

ActionScript 2.0 :: Multiple Mask And Random Image?

Aug 24, 2004

I am doing a multiple mask where an image is being masked by multiple little squares that drop down.I created 2 layers, mask and masked for each square and image.That part works fine, however, I wanted to load a different image everytime when the page loads, I used the example on this site:

choice = Math.round(Math.random()*6);
switch (choice) {
case 0 :[code]...

Now, every little square load a random image instead of all loading the same image. Is it possible to ask all other masked layer to call on that one random image? What should I do?

View 8 Replies

ActionScript 3.0 :: Stop Mask Being Dragged Outside The Bounds Of The Image?

May 13, 2010

I wish to stop my mask being dragged outside the bounds of the image. The current set up I have is as follows. I created a circle and added a blur; I then exported it for action script setting its class as a sprite with the class name "Circle". I also made my image i was going to mask a Movie clip with the isntance name "mc_bee". In the actionscript I added it to the stage, positioned it and cached it. I tried to add in actioscript to create the bounds the image the mask is making with the code below:

[Code]...

View 1 Replies

Professional :: How To Link Multiple Symbols Together To Mask Same Image

Nov 12, 2010

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 Replies

Professional :: Move An Image And It's Keyframed Animated Mask?

Dec 5, 2011

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?

View 2 Replies

Actionscript 2 :: Load Large Image & Mask In Flash?

Jul 24, 2010

I'm just starting out with Flash, I'm using ActionScript 2.0, and trying to acomplish something seemingly simple but it is not happening like I would think it should,'m trying to load a large image about 3000x2000 pixels and then mask it with a small square, so that later I can scroll through the image to view it.Here is the code I have so far, it produces a blank white screen.

createEmptyMovieClip("container", getNextHighestDepth());
container.createEmptyMovieClip("fullImage", container.getNextHighestDepth());
//When I replace the above line of code with the line of code bellow the image is displayed

[code]........

View 1 Replies

Flex :: Setting MX Image As Mask On Graphic Object?

Feb 22, 2011

I'm having trouble setting up a Graphic object (a solid filled rectangle) to be masked with an image that gets loaded at runtime. I've managed to get it to work with the following code:

<?xml version="1.0"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init()"
[Code] .....

Setting the PNG inside the <s:mask> makes the stage render nothing, while adding the mask programmatically in the init() method causes correct behaviour. It took me quite a while to figure this out and I'd like to understand what it is that I'm doing incorrectly in the MXML approach, as that seems to be what is being done in the Cookbook (other than me using an Image and the example using a Group wrapped BitmapImage).

View 1 Replies

Actionscript 3 :: Image Circle Mask Using Adobe Flash

Apr 27, 2011

I am wanting to achieve a particular image effect using Adobe Flash (Actionscript 3). I would like an image (width 200px, height 600px) to appear on the timeline by being revealed by different sized circles (varying from 30px-5px). I am thinking of using an image mask and creating seperate circles across the timeline, so that when the movie plays, each random sized circle, one after one, will reveal the image at the end. So this is probably going to be quite time consuming. Also, does anyone know of any flash image effects helpers in general, I'm looking for something similar like green socks except for image effects...

View 2 Replies

Web Development :: Saving Image Out From Beneath Mask From Within Sprite

May 31, 2011

I've got a sprite object that gets a custom shape loaded into it, that gets used as a mask so as to cut out a custom shape from an image that is loaded in with a loader object - The loader(loada) and shape(lines) objects are both children of the sprite object - I've added code to save out the image from beneath the mask but when the save function is called nothing is saved out, and no errors are thrown.[code]

View 1 Replies

ActionScript 3.0 :: MovieClip - Mask Image And Get Some Squares To Shine

Nov 5, 2009

I got 1 movieclip, in that movieclip I got 1 image in 1 layer and in other layer I got one matrix of squares. So then when I mask the image I only get only the images by squares. I am trying to had a motion so that some squares shine over the time.

View 0 Replies

ActionScript 2.0 :: Image Reflection With Mask That Works With Any Background?

Feb 27, 2008

I have a a movie clip that is duplicated. It is used twice as the image and the image's reflection. I have a mask over the reflection that gives it the effect. Is there any way I can make it that I works with any background.

View 2 Replies

ActionScript 3.0 :: Add Mask - Text Revealed When User Click Image

Jul 22, 2009

Eventually I would like it to show our projects along a horizontal axis, when the user clicks an image additional images and text is revealed. At the moment I have got the horizontal axis working with images loading in and separating into each project. Now I am trying to code it so that for every project a mask is loaded in with the height of the mask equaling the length of the pictures (which I think may need me to restructure my code). So that only the first image is shown.

The important code for this is:
function processXML(e:Event):void{
var myXML:XML = new XML(e.target.data);
xPos = 0;
yPos = myXML.@YPOSITION;
thumbWidth = myXML.@WIDTH;
thumbHeight = myXML.@HEIGHT;
[Code] .....

I'm not sure if i need to restructure the code so that for every project in the xml file it inserts the images of that project into a new movieclip, not sure how to do that though.

View 1 Replies







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