Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Sakar

How to complete hideObject from a dropShadowFilter?

Recommended Posts

Hello.!

GreenSock

:mrgreen:_ :geek:_ :ugeek:_ :ph34r:

 

I have two layers.

On bottom layer, I have several buttons,

on top layer, I have a shape inside "test" MovieClip

 

import com.greensock.*;
import com.greensock.easing.*;

TweenMax.to(test, 0, {dropShadowFilter:{color:0x000000, alpha:0.6, blurX:5, blurY:5, strength:1, angle:135, distance:4, inner:true, hideObject:true}});

 

This code works very nice

but I can't have access at the buttons of bottom layer.

 

How to complete hide the "test"? - stay visible the inner shadow and access bottom layer buttons? :roll:

 

I was testing various properties with no chance :cry:

Hope there is a solution :D

 

Thanks

Sakar

Link to comment
Share on other sites

try

 

test.mouseEnabled = false;

Link to comment
Share on other sites

It's not worked for me.

 

Also I import

 

import flash.ui.Mouse;
import flash.display.MovieClip;
import flash.events.*;

 

and still the same.

Link to comment
Share on other sites

perhaps I misunderstood you. attached is a file that I set up as follows:

 

cover has dropShadow applied.

button sits in layer under cover.

button is still clickable.

 

if your problem persists please upload a very simple fla illustrating your problem.

mouseEnabled.fla.zip

Link to comment
Share on other sites

Hi Carl..!!

I don't like my previous reply :unsure:

 

I should very thank you for the code and the idea.

 

My first code, was a sample of my project.

Forgot to say that "originaly" MovieClip is inside 2 mcs from the root.

Also it's on the second scene of the flash movie.

 

After that, I make a new fla with posted code, and it works!!!!

 

But not inside my project

 

Any idea?

 

Also thanks for the attached files.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×