Search  

ADVANCED REFLECT EFFECT

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesadvanced reflect effect

Advanced version of the reflect effect.

Very simple usage: simply call the following function: Effects.reflect(...);

With this version you can easily create animated reflections or reflect just a portion of a movieclip ( by using the Rectangle class ). And it won’t affect your file weight.

NOTE : the reflection is done by a static class and not just with the tools of the Flash IDE , so you can reflect anything you want at runtime. You can even choose the alpha and depth of the reflection.

You can then also animate it with the tween class (as in the example above) or also just with an onEnterFrame event.

visit my complete portfolio

Posted about 1 year ago

this sucks.

Posted about 1 year ago

@ unovis: just saying “this sucks” doesn’t mean anything.

Perhaps you could be a bit more helpful for other buyers explaining why the file “sucks”

thanks, Marco

Posted about 1 year ago

NOT worth 5 credits…. >.<

You can make this in less than a minute!

Posted about 1 year ago

@knvb1123 : i’d agree if it was done just using the tools in the flash ide.

In this case the reflection is all done by code, so you can dinamically reflect any part of your movieclip at runtime any time you want :) So I don’t really think is a “1 minute” file

Marco

Posted about 1 year ago

I agree, it doesn’t suck by any means. ;) Great file, I’ll probably be using on with one of my client’s web projects.

Posted about 1 year ago

I think that this swf is very useless…

Posted about 1 year ago

@TopoFilms: another very useful comment posted by another person registered in june 2007…

...coincidence?

Posted about 1 year ago

yes you’re right

Posted about 1 year ago

If I delete the Tween section and just let Effects.reflect(...); , the effect doesn’t work no more. Why ?

Posted about 1 year ago

@pixelemotion: you don’t see the clip vecause it is masked!

Simply add: clip1.mc1._y = 0; in the .fla file just before calling the reflection

Posted about 1 year ago

Thanks for your answer. In fact, I have delete the mask, and it doesn’t solve the problem. Do I have to call the Effects.reflect(...) with a function or something else ? Or this simple line in the time frame is enough ?

Thanks for your help

Posted about 1 year ago

@pixelemotion: could you please contact me at loziosecchi@gmail.com, sending me your file, so I can see what’s the problem.

bye

Posted about 1 year ago

does this work with scrolling text?

Posted 10 months ago

@no3l : it works with any movieclip (in your case text should have embedded fonts)

Posted 10 months ago

I would also like to see an example where there is no tween involved. If you could answer the questions above, instead of asking for their email address or file. Others like myself could see the answers.

I too am having trouble just calling the class

Effects.reflect( _root.DesignStudio, _root.designReflect, new Rectangle( 0, 0, _root.DesignStudio._width, _root.DesignStudio._height), 60, 250);

Does nothing

I have a mc named DesignStudio and a empty clip named designReflect

What am I missing here?

Posted 9 months ago

@jimrobin: your code seems fine,

If you could answer the questions above, instead of asking for their email address or file. Others like myself could see the answers.

...but without seeing your modified file I cannot understand what’s wrong…

Send me your file at loziosecchi@gmail.com and I’ll check it

Marco

Posted 9 months ago

To others that have the same problem I had – the answer was that my movieclip had a registration point in the center when I move the registration point to top left of the movie clip- everything worked as expected.

loziosecchi emailed me with this info after seing my file
Posted 9 months ago

So, it applies to a Movie Clip?

Can I use it with a flv video,

That would be great isn’t?

Posted 7 months ago

@pabloho: as long as it is a mc, it can be reflected (and everything in it). Regarding a flv, you will have to syncronize the reflection call to the framerate of the flv.

Posted 7 months ago

how can I reflect a dinamically loaded .jpg?

Posted 7 months ago

@EILER2: simply call the reflect effect AFTER the image is loader and added to the movieclip

Posted 7 months ago

Hi, just purchased the file, its great but it could do with some more documentation, just a few questions how to i expand the reflection mask e.g. width & height of the reflection, ive tryed everything but not luck, also ive tryed to make it a button wit AS only and a motion tween for alpha, the button hit area comes up but no tween?

Thanks

Posted 7 months ago

@gusbus: you just have to play a bit with the clipping rectangle.

Posted 7 months ago

still not wokring, it just distorts the aniamtion, one thng i would like to ask too, is how do you reference the location of the used layers e.g. the empty MC named reflect1 if it is not sitting in the _root. ive got it sitting in button01i_mc e.g. (below)

Scene1 > Main_mc > button01_mc > button01i_mc

how would it work?

Posted 6 months ago

no answer?

Posted 6 months ago

@gusbus: I don’t think i understand what’s your problem :(

Posted 6 months ago

Just purchased this file and there were a few errors, for one Effects was spelt wrong in the constructor (not a trainsmash, doesn’t get used), but the example file didn’t work! I didn’t see why it needed to have a class declaration so I dumped the .as file and copied the function code into the fla file instead and with a bit of tweaking it now works perfectly.

Posted 6 months ago