Have you tried:

title.addEventListener(  CloseEvent.CLOSE, setState );

instead of:

title.addEventListener(  MouseEvent.CLICK, setState );

 

That should take care of it…

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Jeremy Rottman
Sent: Thursday, October 19, 2006 1:55 PM
To: [email protected]
Subject: [flexcoders] Creating JarJam button Effect.

 

I am taking an idea from the JarJam demo that adobe has posted on adobe
labs and recreating it to suit our needs. I almost have it complete and
working, but I have run into two little snags.

When I create the titlewindow with actionscript, I am unable to get the
close button at the top of the titlewindow to work. I have looked at
every example I could find and not a single one works. With the code I
have provided does anyone see why this wont work?

Any help with this is greatly appreciated.

Here is a link to my test application, and source.
http://beta.homesmartagent.com/transitions/JamJarEffect.html
http://beta.homesmartagent.com/transitions/srcview/

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to