Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
jakie Nguyen

Got stuck when try to make TweenMax - glowFilter with Starling framework

Recommended Posts

Hey every one, i'm newbie with Starling and greensock

 

I try to use Greensock with Starling but i find down there's some problem

 

When i try to make a glow filter with MovieClip of starling. i got this error

 

<B>ReferenceError: Error #1069: Property filters not found on starling.display.MovieClip and there is no default value.</B>

 

Here is the code

TweenPlugin.activate([FilterPlugin]);

TweenMax.to(heroArt, 1, {glowFilter:{color:0x99cc33, alpha:1, blurX:30, blurY:30, strength:3}});

 

with heroArt is the MovieClip from starling.display.MovieClip

 

But if i use heroArt is flash.display.MovieClip, everything's okay.

 

So, how can we deal with that problem ?

I got stuck with Image too :(

Link to post
Share on other sites

Sorry, I don't know how to do that with Startling.

The Starling MovieClip from my understanding doesn't support filters in addition to many of the properties of a standard MovieClip.

http://doc.starling-framework.org/core/starling/display/MovieClip.html

 

The GreenSock filter-related plugins are tailored for standard AS3 MovieClips and their native filter objects.

Link to post
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.

×