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


Similar Posts:


ActionScript 3.0 :: Reflection Mask On Multiple Movies Makes Only One Clickable

Sep 11, 2009

I'm having a really strange problem with movieclips that use a mask for reflection. On my main timeline I'm creating two instances of a movieclip named 'item'. In item.as I'm setting buttonmode and cacheAsBitmap to true, then setting a gradient movieclip as a mask. When I run the movie I am only getting the clickable hand icon when I hover over the first clip. However, if I comment out 'this.mask = mask_mc' then both clips are selectable.

Main Timeline
Code:
Select allvar item_mc = new item();
item_mc.x = 0;
item_mc.y = 100;
addChild(item_mc);
var item_mc2 = new item();
[Code] .....

View 5 Replies

ActionScript 3.0 :: Reflection Image Should Appear Under The Image / Loader

Mar 6, 2010

I've looked through a couple threads here about reflecting images... but I don't quite understand it. I will include a link to my project thus far: Final Project First of all, ignore the music/mp3 items at the bottom of the stage. Those aren't wired up yet. When you click on a bike image on the right, the reflection image should appear under the image... but it's not quite working out that way, and I've tried a few things. Here's the segment of AS3 code that is giving me trouble:

[Code]....

View 2 Replies

ActionScript 3.0 :: Added A Reflection Class But Can't See Any Reflection

Mar 6, 2009

i've added this reflection class [URL] to this simple .fla file, but i can't see any reflection [URL]

View 2 Replies

ActionScript 3.0 :: Bouncing Image With Reflection?

Sep 19, 2009

I have an image and I want it to have a reflection and to apply an effect onMouseOver so that image bounces (like a rubber ball) until it stops.I found this example (http:url]....)that does exactly what i want (except I want it to bounce just one time per mouse over), but this is for Flex and I cant manage to translate it to Flash.

View 2 Replies

ActionScript 1/2 :: Runtime Image Reflection Not Working

Feb 3, 2011

I'm trying to create an image reflection at runtime, using this code I found on the WEB. It all seems to work fine as long as I'm loading an image from the local drive, but when I try loading an image from a remote server, the reflection no longer appears.[code]

View 13 Replies

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 3.0 :: Rotate On Y Axis A Bitmap To Have Mirror Reflection Of The Image ?

Mar 30, 2011

The idea is I have 3x3 containers(Sprites) - each one holds 2 tiles of 2 two images (shown one and unvisible - laying behind) . So there are 9containers and 18 tiles. When I click on the image I get rotation of the containers, and when every container is about 90 degrees, its childs swap each oher. So in result I get second image shown. But unfortunely then, shown image is rotated by 180 degrees, that means its left side is on the right. Pre rotating containers ( of tiles gives total mess, as middle tiles seem to be right, but left side of the image and right doesnt match to rest.So I need to rotate tiles, which are bitmapData - parts of Bitmap. But I can not rotate them - there is no property .rotationY for bitmapData, and I can not use matrix's rotate() method as it traits only angle rotation and not axis rotation.If I rotate by Y axis the bitmap before slicing it to tiles nothing happens, so I guess draw method relies on default Bitmap.

So Q : How can I rotate on Y axis a bitmap to have mirror reflection of the image and then apply it reflected to the as a .bitmapData property and slice it to small pieces.

View 0 Replies

Mask Background Of SWF?

Oct 28, 2009

I received an swf movie of a rotating brick with a blue background. I converted to fla but the blue bg and the brick are considered a single object. Is there a way to mask the bg without having to export it as single frames and masking in ps?

View 1 Replies

ActionScript 3.0 :: Gradient Mask On 2 Background?

Nov 13, 2011

In a project, I've got 2 background (one light and one dark). My main background is the dark one and when I move my mouse I wanna show in a small circle with an alpha gradient the light one.

But I don't know how can I do that...

I try and I've got white mask with the light background in my circle or I've just got the dark background and no mask.

If someone already do that and can explain it to me ?

View 1 Replies

Professional :: Mask Background Music On Flash?

Apr 25, 2010

Is it possible to mask the background music in my flash website so it stops when I have my videos running?

View 5 Replies

ActionScript 2.0 :: Movieclip That Is Supposed To Mask The Background?

Mar 5, 2002

I'm very close to achieving the desired effect, however, i have been stopped dead in my tracks. I Used Pom's Real/Fake Mask Drag tutorial, so I have that set, however, my problem is getting the ripples to mask...

I have the background, and then I have the other movieclip that is supposed to mask the background (ripple).However, it either does not mask, or it only masks the first frame of the "ripple" mc...

(oh, btw...the ripple MC is dragged by the mouse, so the ripples follow the mouse. I saw an effect like this, a looooong time ago, probly in the days of Flash 3, and i was curious how to go about it, so I have been trying for the last few weeks...)

View 4 Replies

Javascript :: Video With Transparent Background On Page Above Image Background?

May 2, 2010

I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?

View 1 Replies

Professional :: Mask Background Buttons Under Popup Window?

Jun 2, 2010

Basically, I've built an application which is working fine. I have a 'settings' button that overlays a settings window, semi transparent, over the main application, that has some buttons on it.The problem I'm having is that the buttons on the main window are still selectable, which I don't want. How can I get it to stop tracking the buttons underneath my overlay window?

View 2 Replies

Professional :: Header Banner - Mask Text On Scrolling Background Of Images

Nov 20, 2010

I built a quick and dirty site header banner, with text masking a scrolling background of several images. The text is the mask, so the images show up inside the text. Viewing it works in Flash CS3, but when I publish it, I see the images scrolling from right to left, but they are not masked.

View 3 Replies

Image As Background / Resizing / Scalable Background

Jul 24, 2009

I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.

View 4 Replies

Flex :: Toggle A Mask To A Group In Flex (works For BorderContainer)?

Oct 6, 2011

Here's my test application:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....

I would expect the mask to be applied when the checkbox is selected, and removed when it issin't. But it doesn't seem to work.However, when you change to , it works like a charm. Can anyone explain to me why?

Note: In my actual application, i'm applying this in a skin to a component that is extending SkinnableComponent which can't use BorderContainer so a solution to this would be great.

View 1 Replies

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

Actionscript 3 :: Avoid Image To Get Stretched When Used As Background Image, In Flex

Dec 12, 2009

I am developing a website in flex. And in that, i am trying to set the background image of my application. like this: parentApplication.setStyle("backgroundImage", data.image_src);

From a different location.

My issue is that, the images that i have are small and hence they are being stretched when used as background images. I want to avoid that from happening. How can i do it?

View 1 Replies

ActionScript 2.0 :: Image Pan - Making The Background Image Move Around As If It The Scene Is A POV

Mar 7, 2011

was wondering if anyone could assist me with some actionscript. I am working on a project similar to this (thehideout.org.uk/refuge/) and making the background image move around as if it the scene is a POV.

View 1 Replies

ActionScript 3.0 :: Background Image Scroller To The Left Third Or The Right Third Of The Image?

Aug 4, 2009

Iv got a background image 3 times the length of my stage.. what im trying to do is create a scroller so when you press a right button or a left button, it scrolls to the left third or the right third of the image.

[Code]...

View 0 Replies

ActionScript 3.0 :: Add Border/background Image To Display Image?

Jan 12, 2010

I am using this following code to display images using xml.Everything is working fine for me but i have to add background image or border to the displayed image using function BitmapFileMaterial.

using BitmapData or Bitmap Class but same functionality.

[Code]....

View 0 Replies

ActionScript 3.0 :: Background Image Will Change To This Button Specified Image?

Jul 10, 2011

I am making a new flash website and i stack on the as3 part.My site have a menu like all the site do.Now on the site load there is a background picture.When you press one of the menu buttons, the background image will change to this button specified image.But all that in an animation of fade in and out.My problem that i have everything but i cant know which image was before it changes to the buttons specified one. It maybe require as3 which i dont know.I cant upload here my work. its personal.But i ask you the professionals, please make a short fla file which will have the code and animations i need.(if you cant understand me)Please, make a fla file, which contains random 3 images.At the start it will have main background and a menu on it(just text-for fast and short work)The menu is 3 text ine(main,about,contact)now, make that when you press about(for example) it will change the main image(background) to the image of the about page.

View 2 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







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