[flexcoders] Re: Copy or enumerate a CSSStyleDeclaration? (Flex 3.4)

2009-11-19 Thread graham.t...@rocketmail.com
How did you resolve this without access to the protected CSSStyleDeclaration.overrides property? --- In flexcoders@yahoogroups.com, "droponrcll" wrote: > > > > --- In flexcoders@yahoogroups.com, "droponrcll" wrote: > > > > I have a custom class that extends Canvas. I'd like this class to h

[flexcoders] Re: Pb with Drag and Drop

2009-08-28 Thread graham.t...@rocketmail.com
If drag performance is your issue, then this might be related: http://bugs.adobe.com/jira/browse/SDK-22828. --Tony Graham --- In flexcoders@yahoogroups.com, "christophe_jacquelin" wrote: > > Hello, > > I have problems with the Drag and Drop when I move the mouse too fast. When I > move the

[flexcoders] Calling getRect on blank containers

2009-08-28 Thread graham.t...@rocketmail.com
I've got some behaviors that allow a user to select components in a container. It uses Rectangle.intersects() to check a selection window against the rectangles (retrieved with getRect) of components in that window. It works peachy unless those components are blank containers, when their rect

[flexcoders] getRect returns content area, not display area?

2009-03-20 Thread graham.t...@rocketmail.com
In the following example, I'm trying to get the rectangle of "theParent" from the perspective of "theGrandparent" (theParent.getRect(theGrandparent)). Here is the traced output: 0 0 100 250 0 0 100 100 I expected the rectangle of "theParent" to have a height of 100, which is its constrained h

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-16 Thread graham.t...@rocketmail.com
That took some legwork. The short of it is that the behavior appears in IE, but not Firefox. The current system that I'm using for testing is Windows XP, Flash Player 10 (10.0.12.36) Debug, Flex SDK 3.2.0. IE is 7.0.5730.11CO. Firefox is 3.0.5. I can also describe the IE behavior more preci

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
You bet. Here's my current version (modified from my first post). Many thanks! http://www.adobe.com/2006/mxml"; layout="absolute" applicationComplete="onApplicationComplete(event)" viewSourceURL="srcview/index.html">

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
Many thanks for the response! For me, this is behaving just like mouseUp. I do get a mouseLeave when I mouse out of the application, and I _can_ get one when I click-drag out of the application. However, I do _not_ get a mouseLeave when I click on the label and drag out of the application (an

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
I gave it a shot, but the behavior was the same: click-drag from a label to somewhere off the application screen won't report a rollOut or subsequent mouseUp. So I begin to think I simply can't track click-drag's off screen (or that they even went off-screen). I'm working on a particular sc

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
Many thanks for your response! I was hoping for the mouseUp, but I did try the rollOut, as you suggested. I couldn't even get it to work on Stage. SystemManager worked fine on a normal rollOut, but it worked only intermittently (I know that sounds strange, but it's what it is) on a click-drag

[flexcoders] stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
In the following example, I've got a stage-level mouseUp listener. In the application window, I can click-drag off-window and, when I release, the mouseUp event will fire. However, if I start my click-drag on the label and release off-screen, I do _not_ get the mouseUp event. (I think sett

[flexcoders] Constraint-Based Layout with ColSpan?

2009-01-14 Thread graham.t...@rocketmail.com
Using constraint-based layout with content sizing, is there an easy way to have a child span columns (or rows) without resizing the child? As an oversimplified example, I have a 2x2 grid: * In each "cell" of the first row, I have a child. * In the second row, I want to center (or otherwise alig