[flexcoders] charting and/or grid replacements

2009-09-03 Thread Pan Troglodytes
Are there any 3rd-party charting and/or grid replacements in progress that anyone wants to talk about? I'm looking to move away from the AdvancedDataGrid and possibly also Flex charting and am wondering what might be on the horizon. Right now Adobe pretty much has the only game in town for these

Re: [flexcoders] custom components destroy Flex design mode ....

2009-09-03 Thread Pan Troglodytes
I've run into similar situations before with 3rd party components. For some reason, some of them just utterly break the MXML design mode. I've also done it myself when subclassing the charting components. You just get a big rectangle with a big red X over the whole area. On Tue, Sep 1, 2009 at

Re: [flexcoders] Re: why does my MXML act differently than my AS?

2009-07-09 Thread Pan Troglodytes
Yes, that's what I was referring to in the first post about digging through the generated source. On Thu, Jul 9, 2009 at 5:42 AM, Tom Chiverton wrote: > > > On Wednesday 08 Jul 2009, Pan Troglodytes wrote: > > For those interested: > > https://bugs.adobe.com/jira/br

Re: [flexcoders] Re: why does my MXML act differently than my AS?

2009-07-07 Thread Pan Troglodytes
- In flexcoders@yahoogroups.com , Pan > Troglodytes wrote: > > > > I'm torn on whether to submit this as a "bug." I wish someone at adobe > > could step in and say "well, that's not equivalent MXML because you > forgot > > about __." > &

Re: [flexcoders] Re: why does my MXML act differently than my AS?

2009-07-03 Thread Pan Troglodytes
are seeing but couldn't figure out why in the limited > time I had to look at it. > > I am going to have to defer to someone more knowledgeable. > > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes wrote: > > > > No ideas on this one? > > > >

[flexcoders] Re: why does my MXML act differently than my AS?

2009-07-02 Thread Pan Troglodytes
No ideas on this one? On Wed, Jun 17, 2009 at 12:00 PM, Pan Troglodytes wrote: > I have a test program that, as far as I can tell, does the same thing using > an MXML component and the equivalent actionscript. When I click on the > button to execute the AS version, everything is fine.

Re: [flexcoders] Re: how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-07-02 Thread Pan Troglodytes
and you wanted extra functionality, you > can extend AdvancedDataGridGroupItemRenderer for your renderer. Best of both > worlds ;-) > > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes wrote: > > > > Well, the main reason I wouldn't want to write my own item

Re: [flexcoders] Re: how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-06-30 Thread Pan Troglodytes
AM, valdhor wrote: > > > Why not just use an itemRenderer? > > AFAIK. you can't capture a mouse event on a Class object as it does not > implement iEventDispatcher. I suppose you could extend Class and implement > iEventDispatcher but I have never tried it. > > > --

[flexcoders] Re: how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-06-29 Thread Pan Troglodytes
No ideas on how to do this at all? On Tue, Jun 9, 2009 at 4:13 PM, Pan Troglodytes wrote: > I've got a bit of a problem and haven't been able to figure it out. When > using hierarchical views with ADG, I find that the icon can't be clicked on > to select the row. I

[flexcoders] why does my MXML act differently than my AS?

2009-06-17 Thread Pan Troglodytes
I have a test program that, as far as I can tell, does the same thing using an MXML component and the equivalent actionscript. When I click on the button to execute the AS version, everything is fine. But when I click on the button to execute the MXML version, I get a layout flicker. It's bad en

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
nt is that years ago, you helped me with a problem that I > was having with RowColorDataGrid and I was also able to use a tree with > connector lines that you created. Just glad to return the favor. :) > > > -TH > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes >

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
NaN(verticalGap) ? 0 : verticalGap)); if (grid.localToGlobal(new Point(0, 0)).y < grid.owner.localToGlobal(new Point(0, 0)).y) grid.y -= gr.measuredHeight + (isNaN(verticalGap) ? 0 : verticalGap); On Tue, Jun 16, 2009 at 10:38 AM, Pan Troglodytes wrote: > C'mon, Tim, your posts help me lo

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
et what you needed. Glad that I could finally help you out > with something Jason. > > > -TH > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes > wrote: > > > > Thanks, Tim. Knew there must be something, just couldn't find it. > > > >

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
; > > This will trick the popup into redrawing. > > -TH > > > --- In flexcoders@yahoogroups.com, Pan Troglodytes > wrote: > > > > Okay, so given the following application: > > > > > > > xmlns="http://www.adobe.com/2006/mxml";

[flexcoders] how can I get a popupButton's popUp to resize while popped up?

2009-06-15 Thread Pan Troglodytes
Okay, so given the following application: http://www.adobe.com/2006/mxml"; >

[flexcoders] getting files in additional Source Paths to automatically recompile

2009-06-11 Thread Pan Troglodytes
I have a couple of external folders listed in my project's Flex Build Path->Source Path section. These folders are outside of my project hierarchy and contain some common files I share between several different projects. When I'm in my project and ctrl-click on an object in these files, it opens

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-10 Thread Pan Troglodytes
seeing the problem. On Wed, Jun 10, 2009 at 6:54 PM, Amy wrote: > > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes wrote: > > > > Yes, a mushroom indeed - well put! By the way, I found your posts about > > your fun with the various ADG item renderers q

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-10 Thread Pan Troglodytes
fixed grid. The grid is also reused in a couple of different ways, so i don't want the grid to be hardcoded to the chart. It's the perils of abstraction and modularization. On Wed, Jun 10, 2009 at 4:12 PM, Amy wrote: > > > --- In flexcoders@yahoogroups.com , Pan > Tr

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-10 Thread Pan Troglodytes
String; > > private var _highlighted:Boolean; > > public function get highlighted() : Boolean > { > return _highlighted; > } > > [Bindable( event = "highlightedChange" )] > public function set highlighted( highlighted : Boolean ) : void > { > _highlighted

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Pan Troglodytes
anges this bound variable on every repaint of the cell is doomed to break the rollover highlight. On Tue, Jun 9, 2009 at 11:49 AM, Amy wrote: > > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes wrote: > > > > That was a good idea and it does get rid of the arraycol

[flexcoders] how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-06-09 Thread Pan Troglodytes
I've got a bit of a problem and haven't been able to figure it out. When using hierarchical views with ADG, I find that the icon can't be clicked on to select the row. I can't figure out how to capture a click on the icon at all. http://www.adobe.com/2006/mxml"; >

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-08 Thread Pan Troglodytes
t get reliably called for every highlighted row when the highlight leaves it. On Mon, Jun 8, 2009 at 3:46 PM, Pan Troglodytes wrote: > That was a good idea and it does get rid of the arraycollection walking. > But I get the SAME problem with the grid losing highlighting when I did

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-08 Thread Pan Troglodytes
otected* *function* updateDisplayList( w:Number, h:Number ): > *void > *{ > * super*.updateDisplayList( w, h ); > > data.highlighted = adg.isItemHighlighted(data); > } > > Not sure if this will work for your purposes, but it's worth a shot. > > -TH &g

Re: [flexcoders] how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-05 Thread Pan Troglodytes
is losing the ability to highlight. On Thu, Jun 4, 2009 at 11:28 PM, Alex Harui wrote: > > > The rollover handler is scanning the entire arraycollection. > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. <http://www.adobe.com/> > >

[flexcoders] how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-04 Thread Pan Troglodytes
I have the following example that is a very simplified form of what I need to do in my much larger program. The goal is to have a mouseover on a grid item set a variable in the data object. In the real program, this fires off some other code which makes that item visible and the others hidden, et

Re: [flexcoders] Re: using "as" breaks data binding?

2009-05-13 Thread Pan Troglodytes
ic var item3:uint = 1; > } > } > > HBoxItemRenderer.as > > http://www.adobe.com/2006/mxml";> > > &! nbsp; >! > > > > > DataBindingTest.mxml > > http://www.adobe.com/2006/mxml"; > layout="abs

Re: [flexcoders] Re: using "as" breaks data binding?

2009-05-12 Thread Pan Troglodytes
But someone weird and unexpected seems to be going on under the hood. On Tue, May 12, 2009 at 2:39 PM, Pan Troglodytes wrote: > Thanks for giving me some confirmation. Now if we could just figure out > what Alex/Adobe need to do to replicate our tests. > > The reason it doesn't gi

Re: [flexcoders] Re: using "as" breaks data binding?

2009-05-12 Thread Pan Troglodytes
error goes away. Other > variable identifiers I have tried (Very small sample) gives the error as > well. > > It's got me beat. > > Why would the posted code give an error at all? > > Why would y work and everything else not? > > > --- In flexcoders@yahoogro

Re: [flexcoders] using "as" breaks data binding?

2009-05-12 Thread Pan Troglodytes
t; > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. <http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Pan Troglodytes > *Sent:* Saturday,

Re: [flexcoders] using "as" breaks data binding?

2009-05-09 Thread Pan Troglodytes
t on the latest builds that will > ship as 3.4 > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. <http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoo

[flexcoders] using "as" breaks data binding?

2009-05-08 Thread Pan Troglodytes
I've run across some peculiar behavior and I am trying to figure out if I should report it and if so, how exactly to explain it. Given these two bits of code: *TestObject.as:* package { public class TestObject { [Bindable] public var a:uint = 2; [Bindable] public var b:uint = 3; [

Re: [flexcoders] where does AdvancedDataGridColumn.id come from?

2009-05-08 Thread Pan Troglodytes
'id' for every element you add via MXML. > > http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html > > See the second example on this page. > > Charles P. > > > > On Fri, May 8, 2009 at 4:01 PM, Pan Troglodytes wrote: > >> &

[flexcoders] where does AdvancedDataGridColumn.id come from?

2009-05-08 Thread Pan Troglodytes
This puzzles me a bit. There is no such property as "id" on AdvancedDataGridColumn or its ancestors. So why doesn't the compiler barf and give you an unknown property at compile time (it does at runtime)? Is this some kind of kludge in FB such that it always allows an element called "id" to be s

Re: [flexcoders] for better performance, use "as" rather than just leaving an object as Object?

2009-05-06 Thread Pan Troglodytes
you find > misspellings and what not. > > > > > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. <http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod.

[flexcoders] for better performance, use "as" rather than just leaving an object as Object?

2009-05-04 Thread Pan Troglodytes
I was curious as to the difference between a few different ways of approaching the situation of an itemRenderer having a "data" property and deciding whether or not to use "as" to make all the type checking happy. So I tried some test code and found that it made a big difference whether you use "a

Re: [flexcoders] Re: ADG Code Completion Missing

2009-05-01 Thread Pan Troglodytes
ot;/> > > There may be more that I have missed but those three got me going again. > > > This has been reported as a bug which is supposedly fixed in Gumbo (Which I > am not using yet). > > > HTH. > > > > Steve > > > > > --- In flexcoders@yahoog

Re: [flexcoders] ADG Code Completion Missing

2009-04-29 Thread Pan Troglodytes
Well, either I got confused before and though it was working when it was still broken, or it's more complicated. It's back to not working at all for me under 3.3.0 for any Advanced* classes n MXML or ActionScript. On Wed, Apr 29, 2009 at 11:42 AM, Pan Troglodytes wrote: > I had t

Re: [flexcoders] ADG Code Completion Missing

2009-04-29 Thread Pan Troglodytes
I had the exact same problem with 3.3.0. After switching it to 3.3.0, it wouldn't bring up code completion for either MXML or ActionScript on AdvancedDataGrid/AdvancedListBase/Advanced*. It would bring it up for the chart classes, though, which are also in the same SWC. Switching it back to 3.2.

Re: [flexcoders] Re: very strange combobox problem when switching dataproviders

2009-02-05 Thread Pan Troglodytes
he combobox collectionChangeHandler > look for the reset kind and remove the listener at that point. > > --- In flexcoders@yahoogroups.com , Pan > Troglodytes > wrote: > > > > > I'm running into something fairly perplexing. Read the following > code and > >

[flexcoders] very strange combobox problem when switching dataproviders

2009-02-05 Thread Pan Troglodytes
I'm running into something fairly perplexing. Read the following code and think of what you'd expect it to do when you click the change button. Then run it and click the change button. http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="cc()" > What do

Re: [flexcoders] Re: What determines a component's initial skin?

2009-01-21 Thread Pan Troglodytes
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Amy > *Sent:* Wednesday, January 21, 2009 9:55 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Re: What determines a component's initial skin? > > > > --- In flexcoders@ya

[flexcoders] What determines a component's initial skin?

2009-01-21 Thread Pan Troglodytes
I've been dinking with extending PopUpButton and have run into something that really puzzles me - how does it know to load PopUpButtonSkin by default? There is no code that mentions it in PopUpButton. Is it somehow selected based on the class name? In my PopUpButton descendant, I want it to load

Re: [flexcoders] Re: where is the FB Pro 3.0.2 datavisualization source?

2009-01-14 Thread Pan Troglodytes
tp://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html > > Substitute 3.0.0 for 3.2.0 and you should be right. Took me a while to > find this when I needed it - don't know why they don't just install it > if Flex 3 Pro is detected, but anyway... > > 2009/

[flexcoders] Re: where is the FB Pro 3.0.2 datavisualization source?

2009-01-14 Thread Pan Troglodytes
asses\ChartBase.as:4216] Which is really odd, considering I don't have a C:\work folder. It looks like for some reason it's showing the Adobe developer's paths. On Thu, Jan 15, 2009 at 12:32 AM, Pan Troglodytes wrote: > I upgraded to 3.0.2 and seem to have a bit of an issue. Th

[flexcoders] where is the FB Pro 3.0.2 datavisualization source?

2009-01-14 Thread Pan Troglodytes
I upgraded to 3.0.2 and seem to have a bit of an issue. The last time I've seen the datavisualization source distributed is in 3.0.0. Sometimes when I trace into SDK units (BubbleSeries.as at the moment), you can tell the debugger is going to a line from a different version of the file. Crashing

[flexcoders] Strange error about declaration of style conflicting with unrelated class

2009-01-09 Thread Pan Troglodytes
I'm receiving a very peculiar error. I've boiled it down to a simple reproducible test. Given the following two files: GenericTest.mxml: http://www.adobe.com/2006/mxml"; layout="absolute"> TestStyle.as: package { import mx.core.UIComponent; [Style(name="color", type="uint", f

[flexcoders] Anyone written a ComboBox that can take an AdvancedDataGrid as a dropdown?

2009-01-06 Thread Pan Troglodytes
I find myself in the position of really needing a ComboBox that can take an AdvancedDataGrid descendant in the dropdownFactory. Unfortunately, ComboBox is pretty hardcoded to use ListBase and AdvancedListBase does not inherit from it. Recreating a DataGrid version of my existing ADG descendant wi

Re: [flexcoders] My frustrations with the Adobe Bug Report system

2008-12-19 Thread Pan Troglodytes
or some of the > explanations. I don't know that we can explain every features, we may need > you to just make your best guess, but at least for projects we can see what > we need to do. > > Best, > Matt > > > On 12/19/08 10:55 AM, "Pan Troglodytes" > > &

[flexcoders] My frustrations with the Adobe Bug Report system

2008-12-19 Thread Pan Troglodytes
I've put off writing this for a while out of laziness. Going out of my way to report bugs is already sort of outside of the scope of what I should be working on, but I consider it very important for the quality of the product. And it helps that my bugs are typically answered and fixed. But gripi

[flexcoders] any overhead for calling simple getters?

2008-12-02 Thread Pan Troglodytes
If I have this: private var _myvar:int; public function get myvar():int { return _myvar; } should I try to refer to it in other parts of the same class as _myvar, or is myvar equally efficient? In Delphi, you can define a property like: FMyVar: Integer; property MyVar:Integer read FMyVar; an

[flexcoders] Replacement Date class?

2008-12-02 Thread Pan Troglodytes
Now that the whole ECMAScript thing has blown over, Adobe is free of being quite so bound to it as a standard. They've expressed interest in doing some things that they previously shied away from because of divergence from the standard. Is anyone else really interested in ditching the Date class?

Re: [flexcoders] Can you spare 5 minutes to reproduce this 12 line bug?

2008-11-19 Thread Pan Troglodytes
up to just providing a user-unfriendly test case. Thanks Maciek and Tom. On Wed, Nov 19, 2008 at 3:49 AM, Tom Chiverton <[EMAIL PROTECTED] > wrote: > On Tuesday 18 Nov 2008, Pan Troglodytes wrote: > > Does anyone know if they read bugs that say "resolved" but have be

Re: [flexcoders] Can you spare 5 minutes to reproduce this 12 line bug?

2008-11-18 Thread Pan Troglodytes
traces out > mx.charts::ColumnChart) > 2. Click on chart, move mouse again (app traces out null) > > I've added a comment to the ticket. > > > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com > > -Original Message- > From: Pan Trog

Re: [flexcoders] Can you spare 5 minutes to reproduce this 12 line bug?

2008-11-18 Thread Pan Troglodytes
r 10,0,12,36 (debug) > Firefox 3.0.4 > Ubuntu 8.10 > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com > > > -Original Message- > From: Pan Troglodytes <[EMAIL PROTECTED] > > Reply-To: flexcoders@yahoogroups.com > To: flexcoders > > Subject:

[flexcoders] Can you spare 5 minutes to reproduce this 12 line bug?

2008-11-18 Thread Pan Troglodytes
I had a bug marked "cannot reproduce", even though it's reproducible with a 12 line application for me. It might help if a few others here will give it a shot: http://bugs.adobe.com/jira/browse/FLEXDMV-1908 http://www.adobe.com/2006/mxml"; layout="vertical" mouseMove="trace(getQualifiedClas

[flexcoders] need some help with an effect I made and its glitches

2008-11-14 Thread Pan Troglodytes
I'm fairly new to making effects, and it's a miracle I have any hair left. I have created the following effect so that I can transition between various states of a component. The problem is that I want to reuse the same component and not make a new one for every different screen. So I'm making a

[flexcoders] threading, forcing code to run in the main thread, URLLoader, etc.

2008-11-12 Thread Pan Troglodytes
I've read that Flash Player runs flex code single threaded, with the exception of network calls and rendering calls. So if I have a URLLoader and I add an event to it for COMPLETE, does that event handler code get run in the main thread, or in a separate networking thread? If it's a separate thre

Re: [flexcoders] Re: Accessing *other* browser plugins from Flash

2008-10-26 Thread Pan Troglodytes
You might find this informative: http://www.f-in-box.com/forum/viewtopic.php?t=509&sid=43cc9bffc200ae813c56c988b3b777ad The examples are in Delphi for the f-in-box component, but the explanations of ExternalInterface invoke strings might be helpful. On Wed, Oct 15, 2008 at 4:16 PM, Eric Cooper <

Re: [flexcoders] what is a String? (default encoding question)

2008-10-21 Thread Pan Troglodytes
part of the Mozilla project. I > don't have time to look at the code to answer your question, but maybe you > can take a look yourself. > > > > Gordon Smith > > Adobe Flex SDK Team > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > B

Re: [flexcoders] what is a String? (default encoding question)

2008-10-21 Thread Pan Troglodytes
t from the people who can actually see that code. Always frustrating when I bump up against the wall where open source becomes closed. On Tue, Oct 21, 2008 at 6:09 AM, Tom Chiverton <[EMAIL PROTECTED] > wrote: > On Friday 17 Oct 2008, Pan Troglodytes wrote: > > The reason I ask is

Re: [flexcoders] what is a String? (default encoding question)

2008-10-18 Thread Pan Troglodytes
about that, and it > might change in the future. I suggest that you do some timing tests to see > what's fastest. > > > > - Gordon > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Pan Troglodytes > *Sent:* Fri

[flexcoders] what is a String? (default encoding question)

2008-10-17 Thread Pan Troglodytes
How is a string represented internally in Flex? It never actually says it in the help for String. Is it UTF-8? I think this because because mxml uses utf-8 as the encoding in the ?xml directive, ByteArray seems to treat utf-8 specially, and ByteArray.readMultiByte says the return value is a utf-

Re: [flexcoders] function to get a color uint value from a color name string?

2008-10-13 Thread Pan Troglodytes
t; > > - Gordon > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Pan Troglodytes > *Sent:* Monday, October 13, 2008 12:50 PM > *To:* flexcoders > *Subject:* [flexcoders] function to get a color uint value from a color > name string?

[flexcoders] function to get a color uint value from a color name string?

2008-10-13 Thread Pan Troglodytes
Is there a function somewhere that takes something like "red" as input and returns 0xFF? I've looked all over in the docs and can't find it. Thanks. -- Jason

Re: [flexcoders] force SeriesInterpolate on BubbleSeries to preserve bubble order?

2008-10-13 Thread Pan Troglodytes
cording to Z field and after that the > colors are attributed. So when you change the z value for (1,1) element this > will be second value from red ball (3,3) not (2,2) because the order is made > according to z value. > > *I also attached a small graphic explication in order.pdf

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Pan Troglodytes
AM, Michael Schmalle <[EMAIL PROTECTED]>wrote: > Hi, > This works, I tested it; > > callLater(function (stack:ViewStack, container:Container):void { > stack.selectedChild = container; > }, [viewStack, someBox]); > > > Mike > > > On Fri, Oct 10, 2008 at 12:10

[flexcoders] using callLater with setter?

2008-10-10 Thread Pan Troglodytes
Is there some way to use callLater to set a property that has a setter? So far, all I can think of is to create a dummy function that does the setting and pass it in the callLater: private function setSelectedChild(viewStack:ViewStack, newChild:Container):void { viewStack.selectedChild = newChi

Re: [flexcoders] any way to integrate 3rd-party help into FB?

2008-10-06 Thread Pan Troglodytes
sion of > eclipse (not FB) to create plugins. > > See the Creating a plugin using the help extension point (in the PDE docs). > This might be worthy of a blog post someday. :) > > Mike > > On Mon, Oct 6, 2008 at 12:15 PM, Pan Troglodytes <[EMAIL PROTECTED]>wrote: > &

[flexcoders] any way to integrate 3rd-party help into FB?

2008-10-06 Thread Pan Troglodytes
I'm been hunting around to no avail on this question. I have created help for my components using ASDOC. What's the recommended procedure to get that help to show up in FB? Is there one? Thanks. -- Jason

[flexcoders] force SeriesInterpolate on BubbleSeries to preserve bubble order?

2008-09-22 Thread Pan Troglodytes
Following is a simplified example of what I'm running into. Basically, BubbleSeries doesn't preserve the order of the bubbles when you switch the dataprovider. Run the following program and click the left and right buttons. http://www.adobe.com/2006/mxml"; layout="vertical">

Re: [flexcoders] possible to get bytes from a pre-existing Image?

2008-09-17 Thread Pan Troglodytes
hem get actually used, it might be > better to get them over http. After the first fetch it should be in their > browser cache. > > > > -Alex > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Pan Troglodytes > *Sent:* Wednesday, Se

Re: [flexcoders] possible to get bytes from a pre-existing Image?

2008-09-17 Thread Pan Troglodytes
> > http://dispatchevent.org/roger/embed-almost-anything-in-your-swf/ > > which I think might be at least along the lines of what you want to know, > apologies in advance if I've got the wrong end of the stick. > > -Original Message- > From: flexcoders@y

Re: [flexcoders] possible to get bytes from a pre-existing Image?

2008-09-17 Thread Pan Troglodytes
/dispatchevent.org/roger/embed-almost-anything-in-your-swf/ > > which I think might be at least along the lines of what you want to know, > apologies in advance if I've got the wrong end of the stick. > > > -Original Message- > From: flexcoders@yahoogroups.com

[flexcoders] possible to get bytes from a pre-existing Image?

2008-09-17 Thread Pan Troglodytes
This question is really part of a larger ball of stuff I'm trying to untangle. Basically, the first part is that if I have this: [Embed(source="logo.png")] public var logo:Class; ... var img:Image = new Image; img.source = logo; Is there any way to get a ByteArray from img that can be fed to Loa

Re: [flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread Pan Troglodytes
like verticalGridLines. Now if >> I override headerSeparatorSkin in StandardTreeGrid, everything works >> fine. But if I subclass StandardTreeGrid and override >> headerSeparatorSkin there, I lose a bunch of ADG attributes. >> >> Any idea how I can fix this? >> >>

Re: [flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread Pan Troglodytes
ke verticalGridLines. Now if > I override headerSeparatorSkin in StandardTreeGrid, everything works > fine. But if I subclass StandardTreeGrid and override > headerSeparatorSkin there, I lose a bunch of ADG attributes. > > Any idea how I can fix this? > > > --- In flexcoders@

Re: [flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread Pan Troglodytes
s of ADG settings, like > verticalGridLines, alternatingItemColors and sortExpertMode. Is there > any way to avoid that? > > > --- In flexcoders@yahoogroups.com , "Pan > Troglodytes" > <[EMAIL PROTECTED]> wrote: > > > > I THINK I know what you're talkin

Re: [flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread Pan Troglodytes
uld replace to get rid of that if it's a problem. On Tue, Sep 16, 2008 at 1:10 PM, whatabrain <[EMAIL PROTECTED]> wrote: > That's a little closer than what I was trying (adding a Shape to the > list of children), but it still has one problem: The column separator > pixels

Re: [flexcoders] Overriding parent's style in custom component

2008-09-16 Thread Pan Troglodytes
This might be kind of a hack, but you could override setStyle, catch the backgroundcolor style being set and not call the super for it. On Tue, Sep 16, 2008 at 9:52 AM, aaronius9er9er <[EMAIL PROTECTED]>wrote: > Hi all, > > I'm creating a custom component which extends Container. I would like >

Re: [flexcoders] Drag and Drop question

2008-09-16 Thread Pan Troglodytes
I believe you're going to need to handle the drop events yourself and not use the dropEnabled=true setting. When you do that, by default drop is denied and you have to tell it to allow it, like in the dragEnter event. For example: private function dragEnterHandler(e:DragEvent):void { DragManage

[flexcoders] any way to use embedded image in htmlText?

2008-09-16 Thread Pan Troglodytes
The answer to this is probably going to be "no", but I figure it's worth a shot. I have a number of images embedded into my flash application. I would like to allow the user to type some html that would include an tag that references those images. That would then get applied to a UITextField's

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-16 Thread Pan Troglodytes
t; return -1; > } > else if (obj1[sortField] > obj2[sortField]) > > { > return 1; > } > else > { > return 0; > } > } > > This seems to work nicely now, but as I say I think it is restricted to > single column sorting, which is fine for me. > > Thanks for y

Re: [flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-15 Thread Pan Troglodytes
ape object to > the display list in the header renderer, but that had gaps in it > where the header separators were, and interacted very poorly with > word wrap. > > Any ideas? Should I be overriding the AdvancedDataGrid's renderer? > > --- In flexcoders@ya

Re: [flexcoders] Issue with runtime adding of axis labels in DateTimeAxis

2008-09-15 Thread Pan Troglodytes
that because > there is no straight forward to do that in flex. > > --- On Mon, 15/9/08, Pan Troglodytes <[EMAIL > PROTECTED]> > wrote: > > > From: Pan Troglodytes <[EMAIL PROTECTED] > > > > Subject: Re: [flexcoders] Issue with runtime adding of axis label

Re: [flexcoders] Styling AdvancedDataGrid's header

2008-09-15 Thread Pan Troglodytes
Check out the help for AdvancedDataGridHeaderRenderer. That's what the grid is using by default. It should show all the styles there. The following code worked as expected: http://www.adobe.com/2006/mxml"; layout="vertical" >

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-15 Thread Pan Troglodytes
i.e. the signs are reversed. So now when you do the initial sort the > summary > row stays as the last row. However if the user sorts that column again then > the sort order is reversed, and the summary row moves to the first row. Am > I > missing a simple way to resolve this? > &

Re: [flexcoders] Issue with runtime adding of axis labels in DateTimeAxis

2008-09-15 Thread Pan Troglodytes
This may be caused by a lack of binding in your data objects. Can you post an short, simple example that replicates your issue? On Mon, Sep 15, 2008 at 4:21 AM, arajendr <[EMAIL PROTECTED]> wrote: > Hi All, > > I've been facing this problem for a while. My application gets new > data every 5 m

Re: [flexcoders] Property "isLoading" in class Image?

2008-09-15 Thread Pan Troglodytes
I don't think so, but there is percentLoaded, bytesTotal and bytesLoaded. I think those may get you what you need. On Mon, Sep 15, 2008 at 8:18 AM, João <[EMAIL PROTECTED]> wrote: > Hi, > > I need to know on a specific moment if an instance of class Image is > loading content or not. Is there

Re: [flexcoders] circleItemRenderer border color

2008-09-13 Thread Pan Troglodytes
You may have already figured this out, but just in case - you need to use the stroke style of the LineSeries: On Thu, Aug 28, 2008 at 2:25 AM, lolr3a <[EMAIL PROTECTED]> wrote: > Hi, I've created circles for my data in a line chart. > > I'm able to change the line color to black, and th

Re: [flexcoders] tree control child node color

2008-09-13 Thread Pan Troglodytes
First off, which menu do you mean at the website? I only saw a menu at the top, and all the nodes were all one color as far as I can tell. But if you just wanted to specific a lit of colors for different levels, I believe the depthColors style of Tree would be what you wanted. On Tue, Sep 2, 200

Re: [flexcoders] Getting a the supplied DisplayObject must be a child of the caller error

2008-09-13 Thread Pan Troglodytes
The problem is your line: addChild(win); Omit that and you should stop getting that error. On Wed, Sep 3, 2008 at 4:26 PM, lynnkuh <[EMAIL PROTECTED]> wrote: > I'm using the Flex MDI Explorer and instead of using > > verticalScrollPolicy="off" > width="100%" height="100%" backgroundColor="#F

Re: [flexcoders] Flex Charting Issue with Data Effects

2008-09-13 Thread Pan Troglodytes
Ooops, the bug report is at: https://bugs.adobe.com/jira/browse/FLEXDMV-1879 On Sat, Sep 13, 2008 at 2:12 PM, Pan Troglodytes <[EMAIL PROTECTED]>wrote: > Okay, I think I figured it out. I had the same problem in the 3.1 SDK. > You were definitely being stumped because you didn&#x

Re: [flexcoders] Flex Charting Issue with Data Effects

2008-09-13 Thread Pan Troglodytes
Okay, I think I figured it out. I had the same problem in the 3.1 SDK. You were definitely being stumped because you didn't have the Pro source code. I went ahead and created a bug and entered the reason it's broken and how you can go about working around it. If you vote for the issue, there's m

Re: [flexcoders] Date field in either arraycollection or datagrid

2008-09-13 Thread Pan Troglodytes
For #2, look at ArrayCollection.sort. You can create a sort object and use a slightly modified version of your date_sortCompareFunc for the compareFunction of the Sort object. I've never really found a good way to do #1, so I'd be interested in that if you or anyone else finds a way. On Thu, Sep

Re: [flexcoders] Custom vertical axis line on plot chart

2008-09-13 Thread Pan Troglodytes
There are several ways you could go about doing it, though nothing built in to support it. One way would be to make your data so that 30 is actually 0 in the underlying data. You'd write an axis label function that would add 30 to the values for labelling. If you wanted datahints, you'd have to

Re: [flexcoders] Bug ? IE & FireFox Menubar

2008-09-13 Thread Pan Troglodytes
I believe you're just running into how different browsers handle embedded flash objects. Once you click on a flash app, firefox generally lets it have every keystroke after that until you actually click somewhere outside it. IE is less permissive and continues to listen for keystrokes even when a

Re: [flexcoders] How to do a State Change Area Chart with Time Series State Change Source Data?

2008-09-13 Thread Pan Troglodytes
This shouldn't really be hard at all. Have you actually tried it and are running into difficulties? You need to make sure your x values are in the format that Date() likes, and if using a DateTimeAxis doesn't work, you can use a LinearAxis and a custom axis label function. If you want a stairste

Re: [flexcoders] Browser Bug ? Display 2 scrollbars

2008-09-13 Thread Pan Troglodytes
It would probably help a lot if you can post a small test app the shows what you're talking about. Keep it as simple as possible to illustrate your problem. But my first instinct is that it's kind of an age-old problem in programming with scrollbars. Say you have an element that is 500 pixels wi

Re: [flexcoders] Not able to capture event dispached from custom state override - what's wrong?

2008-09-13 Thread Pan Troglodytes
You need to register your event handler with the object actually dispatching events. ... mytest.addEventListener("testEvent", handleIt) On Wed, Sep 10, 2008 at 1:39 PM, Dan <[EMAIL PROTECTED]> wrote: > I have a class TestOverride that implements IOverride. This class is > dispatching event.

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-13 Thread Pan Troglodytes
Yes, it's fairly easy to do with a custom sort function. Here is an example function that assumes you set a "summaryRow" property on the last row object: private function compareWithSummary(obj1:Object, obj2:Object):int { if (obj1.summaryRow) return -1 else if (obj2.summaryRow)

  1   2   3   4   >