Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread David Benman
I found this script which shows the mouse event propagation in a movie: http://www.bigspaceship.com/blog/labs/snaring-mouseenabled/ It has really helped me determine when I think events are going astray. On Mar 12, 2010, at 8:09 AM, Susan Day wrote: On Fri, Mar 12, 2010 at 8:48 AM, Susan Day

[Flashcoders] Weird Embeded Font Issue

2010-03-13 Thread David Benman
I have an embeded font that renders really weird when published. I am using CS4 on the Mac and the font has been both embeded into a dynamic text field and used as the font face for a static field. I have gotten the same results, which as some of the characters render as really big ugly

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Susan Day
On Sat, Mar 13, 2010 at 6:20 AM, David Benman d...@dbenman.com wrote: I found this script which shows the mouse event propagation in a movie: http://www.bigspaceship.com/blog/labs/snaring-mouseenabled/ It has really helped me determine when I think events are going astray. I'm studying

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Paul Andrews
On 12/03/2010 19:48, Anthony Pace wrote: agreed, cause: MouseEvent.ROLL_OVER, MouseEvent.ROLL_OUT, and mouseChildren set to false makes it so both target and currentTarget return the object the listener was applied to. Unfortunately the OP has a rollover handler but not in response to a

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread David Hunter
hi susan. you can paste this directly into a new FLA and it should work. it works for me: http://pastebin.org/111702 i've passed it two parameters one for the actual url to navigate to and one without the http://...; junk for display in the textfield. but you could add or remove the http...

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Susan Day
On Sat, Mar 13, 2010 at 10:36 AM, David Hunter davehunte...@hotmail.comwrote: hi susan. you can paste this directly into a new FLA and it should work. it works for me: http://pastebin.org/111702 i've passed it two parameters one for the actual url to navigate to and one without the

Re: [Flashcoders] mxml to AS3

2010-03-13 Thread Paul Andrews
On 12/03/2010 18:29, Anthony Pace wrote: I only do this after using catalyst (beta 2) and there is a ton of mxml over a thousand lines or so, that I just don't want to have to filter through, but so far, what I have been doing is publishing the project as an swf, and the using a decompiler to

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread David Hunter
why are you removing the click handler when you roll over surely when you click it won't work? and why are you testing for Home? what is Navigation doing? how are you generating the item you are clicking and how are you assigning the eventlisteners to it? fetching the text out of a child

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Odie Bracy
In the code below-- it looks like in the first function you have MouseEvent.MOUSE_DOWN associated with the onMouseOverHandler and in the second function you have Mouse.Event.MOUSE_OVER associated with the same handler. Odie On Mar 13, 2010, at 10:02 AM, Susan Day wrote: On Sat, Mar 13,

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Susan Day
On Sat, Mar 13, 2010 at 11:31 AM, David Hunter davehunte...@hotmail.comwrote: why are you removing the click handler when you roll over surely when you click it won't work? I was just testing. It doesn't work with or without that line, so it's a mute point. and why are you testing for

Re: [Flashcoders] Weird Embeded Font Issue

2010-03-13 Thread Meinte van't Kruis
odd, never seen anything like it. I always refrain from using static text fields though. Mixing dynamic and static fields which share the same font creates weird situations somehow. Just make it dynamic, and if you want to be sure it embeds correctly, just embed the glyphs used in that textfield

Re: [Flashcoders] Passing Call To Child

2010-03-13 Thread Susan Day
On Sat, Mar 13, 2010 at 10:22 AM, Paul Andrews p...@ipauland.com wrote: On 12/03/2010 19:48, Anthony Pace wrote: agreed, cause: MouseEvent.ROLL_OVER, MouseEvent.ROLL_OUT, and mouseChildren set to false makes it so both target and currentTarget return the object the listener was applied to.

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread David Hunter
why are you creating more nav's when you mouseover or click an instance of nav? that seems unnecessary and quite possibly the source of the problem. i might be wrong but are you using it to try and change the color of the button? if so this should be done a different way. so i notice with this

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread David Hunter
ok i've modified the stuff you put on pastebin and i think its working. (( i'm learning OOP at the mo so i'm a little shaky on some stuff )) . i've rewritten as little as possible of your test class (which i renamed Test2), just the mouseover and mousedown actions and changed the nsprite to a

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
I think Susan has gone back to the boat with Victor. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
now to change the color of the button, you could redraw the child sprite which has the color, or change the textformat of some text, or maybe use colortransform, or create multiple versions of the same thing (like three rectangles each with a different color) and toggle their visibility, or