ActionScript 3.0 :: Make A MC Look Like It Has A REFLECTION In A "Mirror"?

Apr 5, 2011

how to imitate a reflection of a movie clip in a "mirror." I don't know if I should have the initial movie clip on custom cursor or have it set to drag... but either way I don't know how to make the second clip the "reflection follow along. Obviously it would need to follow at a slightly offset pattern so that you would be able to see both clips (or majority of them) at the same time. Any ideas would be helpful... let me know if you have any questions. It's for a school project that is due at 9am tomorrow so time is of the essence!

I have already looked at the Adobe files about creating move clips with reflections and mine is much simpler than that. I literally just need a movie clip to follow/attach itself (with an offset) to the mouse/custom cursor and be visible within a defined space (mask)...

View 1 Replies


Similar Posts:


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

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 2.0 :: Make A MovieClip Reflection Using It?

Jul 15, 2007

Is there a way to make a MovieClip reflection using fully actionscript 2?

View 5 Replies

ActionScript 3.0 :: How To Make A Water Reflection

Dec 4, 2010

I have a picture that I want it to look like its sitting in the water how can I do this I have no clue is there water reflection effects in AS3 Flash?If there is can I have an example?

View 1 Replies

ActionScript 2.0 :: Make Reflection Effect For Movieclip?

Jun 1, 2008

how to make reflection effect for movieclip?

View 4 Replies

ActionScript 2.0 :: Make "laserbeam" Bounce Between "mirror" And "mirror2" When "mcShape1" Hits "mcShape2"

Sep 29, 2004

I am still a beginner with actionscript. I got the hittest_example.FLA and used some of the code on a frame in my movie.[URL]..can't get it to work right in my project. I am trying to make "laserbeam" bounce between "mirror" and "mirror2" when "mcShape1" hits "mcShape2"

View 4 Replies

ActionScript 2.0 :: Mirror Top And Bottom Of Stage?

Apr 4, 2011

I'm trying to create an effect such that if an object moves through the right of the stage, it pops out on the left, as if it was just continued on. heres my code so far if its needed

var positiony = 0;
var positionx = 0;
//------------------------------------------------------

[code]....

View 1 Replies

ActionScript 2.0 :: Reverse // Mirror Object?

Jul 4, 2003

Does anyone know how to mirror a movieclip using actionscript? like mirror to rorrim, I tried using the rotation method but it seems to do it but leave the movieclip upside down

View 2 Replies

ActionScript 3.0 :: Movieclip To Mirror The X And Y Of The Mouse

Apr 22, 2010

I'm wanting a movieclip to mirror the x and y of the mouse, so when the mouse moves left I want it to move right, only ever meeting at the center point of the page. I have a feeling this has a really simple answer but it's just not coming to me (and google hasn't helped much either). So far,

[Code]...

View 3 Replies

Professional :: Give An Animation A Mirror Effect?

Jan 26, 2011

flash and followed a tutorial online on how to make a animated spectrum analyser here - [URL]
 
What I wanted to know is if it is possible to have a small mirror effect underneath the animation, sort of like this image
It obviously needs to be a proper mirror and not just a static image.
 
The animation itself is 940px wide, 200px high so I will only need the mirror effect to be around 50 - 80 px high.

View 4 Replies

ActionScript 2.0 :: Create Dynamic Mirror Effect?

Aug 7, 2007

Is there a way to create a dynamic mirror effect that will create a reflection regardless of what is placed above a set line? Meaning, we should not have to duplicate symbols, flip them and create the effect manually. The flash should be smart enough to create the reflection on the fly.

View 14 Replies

Virtual Mirror Required For Site Selling Glasses

Jul 1, 2009

I'm looking to build a site selling glasses (frames and lenses), and wish to put a 'virtual mirror' on the site as seen at: [URL] and other places. Is anyone aware of any form of component to do this? So far I've only found one company [URL] but their pricing is prohibitively expensive. I'd be happy to pay for something 'workable' that we could take and customize.

View 6 Replies

ActionScript 3.0 :: Create Virtual Mirror For Optical Glasses?

Sep 16, 2009

I want to know how to create virtual mirror for optical glasses.

View 4 Replies

ActionScript 2.0 :: Mirror Image Effect For Flash Player 7

Jan 25, 2010

I'm trying to make a UCI (user created interface) for the music player, Cowon D2. Basically, I am trying to create mirror effects for album art movie clips.

I have searched high and low but have been unable to find a suitable solution which would work on Flash Player 7 with Actionscript 2.0. I had started to lose hope but decided to ask on this forum as a last attempt.

I have previously just flipped the movie clips then set alphas on them. However, it does not look very nice. I would prefer a gradiented mirror image.

BitmapData and Matrix classes are however not supported by Flash Player 7.

View 2 Replies

Flex :: Adobe Title Window Showing Mirror Image Of Itself?

Jan 6, 2011

I have a flex 3 application with 2 titlewindows. When I compile it with the flex 4.1 sdk in flash builder, the titlewindows show up as mirror images of themselves with all text invisible (i.e alpha = 0).

View 1 Replies

ActionScript 3.0 :: Remove The Mirror Effect When Rotating An Object On The X Or Y Axis?

Jan 29, 2010

I want to rotate the object on these axes, but it's causing a problem in that I want to flip the image 180 degrees only, however the image becomes mirrored when it flips and you must continue rotating another 180 degrees to get it back to normal.

Is there a way to take off the image mirror when rotating something?

View 1 Replies

ActionScript 3.0 :: Mirror A Dynamic Display Object With Random Movements?

Jul 12, 2009

Does anybody know an easy way to duplicate a display object (placed with addChild() to stage, containing a square which moves and scales and rotates randomly around), and make the duplicate mirror vertically 'everything'. As if it's a water reflection?

I'm only simplifying my case, in reality the display object has complex and multiple moving objects with filters.

View 4 Replies

ActionScript 3.0 :: Art Gallery With Reflection?

Nov 17, 2011

I am new to actionscript 3 and I wanted to know if anyone could direct me to some websites (Tutorials) which can help me create a gallery like the one in the link but using AS3. Any help would be really appricated, I am not asking for the code just tutorials I can use to create someting very similar to it. [URL]...

View 4 Replies

Flash :: Reflection Of A Point Over A Line?

Aug 4, 2011

I have been looking at how to reflect a point in a line, and found this question which seems to do the trick, giving this formula to calculate the reflected point:

Given (x,y) and a line y = ax + c we want the point (x', y') reflected on the line.

Set d:= (x + (y - c)*a)/(1 + a^2)
Then x' = 2*d - x
and y' = 2*d*a - y + 2c

However there are two problems with this implementation for my needs:

My line is not described in the form y = ax + c (so I'd have to translate it, which is easy to do, but it means the process is slower). What if a is infinity ie. a vertical line?

Is there a simple way to calculate (x', y'), the reflection of point (x, y) in a line, where the line is described by the two points (x1, y1) and (x2, y2)?

Edit:

I've found a formula which does this, but it seems as though it does not work with lines that look like they have equation y = x.

Here it is in actionscript:

public static function reflect(p:Point, l:Line):Point
{
// (l.sx, l.sy) = start of line

[Code]....

View 2 Replies

ActionScript 3.0 :: Clone A Flv Video For Use As Reflection?

Feb 4, 2009

i am using 2 instances of an flv, and as you would expect they arent sync'd.so how do i 'clone' an flv in AS3 so that they are exactly the same?i have seen an example, but it was AS2, i am working with AS3, cs4..[URL]

View 5 Replies

3D Carousel - Reflection Not Working Correctly

May 24, 2009

So I followed the 3D Carousel tutorial, the first part of it and the coding worked fine, but the reflection is not working properly. I used a .PSD file and followed the instructions step by step. I added the action script code in the end, but when I take a look at the preview, the reflection image is displayed just like the original picture. Is the .PSD format a problem?

View 1 Replies

Carousel Remove Reflection Off The Icons?

Aug 15, 2009

Does anyone know how to get rid of the reflection off the icons in the carousel?

View 3 Replies

ActionScript 2.0 :: Create A Scroller With Reflection?

Dec 27, 2006

i'm trying to create a "reflection" to scrolling text.i'm using a nice little scroller code that works very well on it's own. i thought just duplicating the movie clip and mirroring it would do the trick, but instead only the "reflection" bit is moving up and down, the rest of the items stay put.

i thought it might be a matter of changing instance names, but then the "reflection" is the same object, just mirrored vertically, so i'm not sure how one should go about doing this...i'm attaching both the FLA and SWF files...

View 3 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 3.0 :: Adding Reflection To Thumbnails Loaded From XML?

Feb 12, 2011

I have a .fla which loads thumb nails and when clicked shows the large image. It all works fine. I would like to have a reflection for each thumb how would I go about doing this, or how would amend my code to add the reflection.

Code:
var holder:thumbNail = new thumbNail();
var thumb:Loader;
var container:MovieClip = new MovieClip();

[code]...

View 3 Replies

ActionScript 1/2 :: Provide A Reflection For The Images (movieclips)?

Jun 10, 2009

I am trying to provide a reflection for the images(movieclips) that I loaded on the stage. For this purpose I am using a reflection class. The class can be used with action script 2. the reflection is working finely. Also after loading the image or movieclip, I tried to give tweening for that image or movieclips. Thus also it works finely. The reflection of that also moves along with the actual image. The problem comes with the resizing the actual image. If I resize the actual image, the reflection would not be seen under the actual image.Can anybody know why it may happening like that. After searching for a long time, I got this class.But unfortunately, the reflection would not be working when the image or moviclip resizes.

View 8 Replies

ActionScript 3.0 :: Reflection On Constructor Parameters (describeType)?

Jun 1, 2010

I'm working on a very simple dependency injector, reflecting on a types constructor parameters.But when ever I use the describeType on my custom classes, all I get in the constructor packet of the returned XML is something like this:

<constructor>
<parameter index="1" type="*" optional="true"/>
</constructor>

[code].....

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

ActionScript 3 :: Flash - Reflection On Static Members?

Apr 3, 2011

Is there a way to "reflect on" static members of an ActionScript object (get all the static properties/methods of that type programmatically)?

Why is that flash.utils.describeType(*) can only show non-static members?

View 1 Replies







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