[flexcoders] Memory Leak but why?

2012-05-15 Thread dorkie dork from dorktown
I've created a custom Effect called EndEffect that when played will call the end() method on the target effect sequence. I've tested this code in both the Effect.initInstance() call of the Effect and the EffectInstance.play() method: /** * @private */ override

[flexcoders] Dynamic Composite Effects

2012-05-15 Thread dorkie dork from dorktown
I need to be able to switch between two different child effects based on a condition at runtime such as this: DynamicSequenceEffect conditionOneEffectsArray Fade / /conditionOneEffectsArray conditionTwoEffectsArray Fade / /conditionTwoEffectsArray

Re: [flexcoders] Memory Leak but why?

2012-05-15 Thread Alex Harui
Not sure, but sounds like a scope chain is being stored in the .end() call. On 5/15/12 5:36 AM, dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com wrote: I've created a custom Effect called EndEffect that when played will call the end() method on the target effect

[flexcoders] Customizing a (spark List) selection indicator?

2012-05-15 Thread Keith
For an MX List I could override the protected drawSelectionIndicator method in a List itemRenderer. For a Spark List, I have no idea how to do this, since there is no drawSelectionIndicator method My goal is to draw my own graphics for the selection indication. I tried overriding the

Re: [flexcoders] Customizing a (spark List) selection indicator?

2012-05-15 Thread Keith
Figured the problem out enough. -Even though I had autoDrawbackground set to false, I DID NOT include all the states I wanted the renderer to show. -Also since I'm using scripted Drawing API instead of MXML tags to draw my graphics I was able to include my script inside the overridden

[flexcoders] DataGrid header styles...

2012-05-15 Thread aceoohay
Here are two related questions, I am using SDK 3.5 FlexBuilder 3; 1) How can I get the header style information from a datagrid? What I need to do is to extract enough info about each column's header to be able to pass it to an Excel component to style the headers of the spreadsheet. 2) Is