Re: [flexcoders] Re: Framework Choice

2010-03-24 Thread Richard Rodseth
I think the discussion of modules is only relevant in so far as some frameworks (Cairngorm?) won't work well with them if they make use of singletons. Any reasonable-sized single-module app (a pretty large proportion of Flex apps, I'd wager) benefits from a good MVC architecture. On Wed, Mar 24,

Re: [flexcoders] Re: Framework Choice

2010-03-24 Thread Richard Rodseth
%40yahoogroups.com, Richard Rodseth rrods...@... wrote: I think the discussion of modules is only relevant in so far as some frameworks (Cairngorm?) won't work well with them if they make use of singletons. Any reasonable-sized single-module app (a pretty large proportion of Flex apps, I'd wager

Re: [flexcoders] daylight savings time and charts

2010-03-17 Thread Richard Rodseth
I posted about this recently, but it hasn't shown up. Turns out there's a bug in DateTimeAxis, fixed in 3.4 http://bugs.adobe.com/jira/browse/FLEXDMV-2043 On Wed, Mar 17, 2010 at 5:53 AM, netdeep deep...@chartertn.net wrote: I have an app which displays any type of chart based on

Re: [flexcoders] daylight savings time and charts

2010-03-17 Thread Richard Rodseth
Sorry, I missed that you'd tried 3.5a. It did fix my problem. On Wed, Mar 17, 2010 at 8:47 AM, Richard Rodseth rrods...@gmail.com wrote: I posted about this recently, but it hasn't shown up. Turns out there's a bug in DateTimeAxis, fixed in 3.4 http://bugs.adobe.com/jira/browse/FLEXDMV-2043

Re: [flexcoders] Re: daylight savings time and charts

2010-03-17 Thread Richard Rodseth
a bug in there somewhere though. I never had any problems before this. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: Sorry, I missed that you'd tried 3.5a. It did fix my problem. On Wed, Mar 17, 2010 at 8:47 AM, Richard Rodseth rrods

[flexcoders] copylocale

2010-03-16 Thread Richard Rodseth
I just did the following: cd /Users/Rodseth_MBP/dev/tools/sdks/flex\ 3.2/bin copylocale en_US nl_BE And got: In Flex SDK at /Users/Rodseth_MBP/dev/tools/sdks/Flex 3.3/bin/.. ... Why is it mucking with the 3.3 folder?

[flexcoders] Daylight savings bug

2010-03-15 Thread Richard Rodseth
Wouldn't you know it. A bug showed up today. I have a label function for a chart axis that does this: return dateTimeFormatter.format(DateUtils.adjustForTimeZone(labelValue)); public static function adjustForTimeZone(d:Date):Date { // Assumes d

[flexcoders] Re: Daylight savings bug

2010-03-15 Thread Richard Rodseth
It looks as though I ran into this: http://bugs.adobe.com/jira/browse/FLEXDMV-2043 Switching to 3.4 cleared it up, though some of the comments in that bug make me a little nervous about November... On Mon, Mar 15, 2010 at 1:15 PM, Richard Rodseth rrods...@gmail.com wrote: Wouldn't you know

[flexcoders] Data visualization set free

2010-03-12 Thread Richard Rodseth
http://iamdeepa.com/blog/?p=53 This is fantastic news. My hope is that not only will it yield some bug fixes, but also simplify flex-mojos builds. On the flip side, I suspect it's a way to minimize future investment by Adobe in these components. Does this take effect with Flex 4 only?

Re: [flexcoders] Re: range of values checked in a case (switch)

2010-03-12 Thread Richard Rodseth
4:16 PM, valdhor wrote: Probably. But that's not what he asked for ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: That's very creative! But I think an if statement would be clearer... On Wed, Mar 10, 2010 at 6:00 AM, valdhor

Re: [flexcoders] Re: ViewStack and CreationComplete...

2010-03-12 Thread Richard Rodseth
It's not exactly what you're looking for, but you can use the childIndexChange event dispatched by the ViewStack. On Fri, Mar 12, 2010 at 12:05 PM, Laurence lmacne...@comcast.net wrote: I replaced creationComplete=init(); with show=init();, but it never seems to get called now... So I

Re: [flexcoders] Re: range of values checked in a case (switch)

2010-03-10 Thread Richard Rodseth
That's very creative! But I think an if statement would be clearer... On Wed, Mar 10, 2010 at 6:00 AM, valdhor valdhorli...@embarqmail.comwrote: Yes. You need to change the expression you are switching on... switch(true) { case age = 0 age = 4: ageGroup = 1; break; }

Re: [flexcoders] Convert ArrayCollection to Array

2010-03-10 Thread Richard Rodseth
If you've exhausted the possibilities of FlexBuilder's debugger, you might want to try Charles, which is a fantastic tool: http://www.charlesproxy.com/ On Wed, Mar 10, 2010 at 11:43 AM, s_hernandez01 s_hernande...@yahoo.comwrote: I'm trying to convert my ArrayCollection in my datagrid to an

[flexcoders] PieChart scaling

2010-02-26 Thread Richard Rodseth
I have a PieChart displayed in a variable-sized area. Unfortunately the scaling by the charting library is less than ideal. In particular, the called out labels are illegible in some circumstances. Is there any way to set a minimum font size below which the labels would be omitted?

Re: [flexcoders] Partial LineSeries - is it possible?

2010-02-23 Thread Richard Rodseth
I'm not sure I quite understand the question, but a couple of thoughts: - if you have a data function that returns null you can get gaps in a line chart, if that's desired - on the other hand, if your data provider filters out the empty data points, the chart should fill the available space - I

Re: [flexcoders] Initial sort on computed column

2010-02-16 Thread Richard Rodseth
thought I'd mention this, as it solved one problem I was seeing. On Fri, Feb 12, 2010 at 11:22 PM, Richard Rodseth rrods...@gmail.comwrote: Lots of crossed wires here. Sorry I wasn't more clear. My last two messages were the solution for the benefit of others, not further puzzlement. Yes the test

Re: [flexcoders] Initial sort on computed column

2010-02-12 Thread Richard Rodseth
are specifying a labelFunction and sortCompareFunction. On Thu, Feb 11, 2010 at 11:52 PM, Alex Harui aha...@adobe.com wrote: I also noticed your code snippet did not call refresh() On 2/11/10 9:32 PM, Richard Rodseth rrods...@gmail.com wrote: It is. Sent from my iPhone On Feb 11

Re: [flexcoders] Initial sort on computed column

2010-02-12 Thread Richard Rodseth
properties you can hit this error. On 2/12/10 11:35 AM, Richard Rodseth rrods...@gmail.com wrote: Yes, it's in an override of set dataprovider which calls super (I would not have done things this way). And it does sort correctly initially. It's only when I click on the column that I get

Re: [flexcoders] Initial sort on computed column

2010-02-12 Thread Richard Rodseth
And it appears the error *was* caused by having a column with a value for both labelFunction and dataField. On Fri, Feb 12, 2010 at 3:36 PM, Richard Rodseth rrods...@gmail.com wrote: Original question: Is there a recipe for sorting initially on a column which has a computed value in it? I

Re: [flexcoders] Initial sort on computed column

2010-02-12 Thread Richard Rodseth
listen for a collectionEvent with CollectionEventKind.RESET and apply the sort then. On 2/12/10 4:47 PM, Richard Rodseth rrods...@gmail.com wrote: And it appears the error *was* caused by having a column with a value for both labelFunction and dataField. On Fri, Feb 12, 2010 at 3:36 PM

[flexcoders] Initial sort on computed column

2010-02-11 Thread Richard Rodseth
I'm thoroughly confused by the DataGrid sorting stuff. Is there a recipe for sorting initially on a column which has a computed value in it? Some code I inherited is doing this by overriding the dataprovider setter and calling if (sortEventCounts value is ArrayCollection

Re: [flexcoders] Initial sort on computed column

2010-02-11 Thread Richard Rodseth
It is. Sent from my iPhone On Feb 11, 2010, at 9:30 PM, Alex Harui aha...@adobe.com wrote: Also assign the sortCompareFunction to the column. On 2/11/10 5:07 PM, Richard Rodseth rrods...@gmail.com wrote: I'm thoroughly confused by the DataGrid sorting stuff. Is there a recipe

Re: [flexcoders] How do create two different charts?

2010-02-10 Thread Richard Rodseth
Quick answer, and I may not have time to follow up with more detail . You can have different series types within the same chart definition. In other words, an mx:ColumnSeries element doesn't have to be inside an mx:ColumnChart element. So just use an mx:CartesianChart (I believe that's what it's

[flexcoders] defaultButton/focus management

2010-01-26 Thread Richard Rodseth
We have a form - it's just a VBox with the defaultButton property set and a couple of date fields, radio buttons and other controls. No tabIndex set yet. Clicking on a radio button causes the default button to highlight and function as expected. Right arrow to the next radio button in the group,

Re: [flexcoders] NumericStepper and change event

2010-01-05 Thread Richard Rodseth
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Richard Rodseth *Sent:* Monday, November 09, 2009 9:19 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] NumericStepper and change event Is there any way to get a NumericStepper to fire a change event on each keystroke

[flexcoders] DataGrid vs custom getter

2009-12-23 Thread Richard Rodseth
I have a DataGrid column which is not updating when the relevant property is changed, *unless* I have a custom itemrenderer, which I no longer have any other need for. The data provider contains objects with the following properties: [Bindable(event=editedNameChanged)]

Re: [flexcoders] DataGrid vs custom getter

2009-12-23 Thread Richard Rodseth
aha...@adobe.com wrote: I don’t see the bindable events getting dispatched. 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 *Richard

Re: [flexcoders] DataGrid vs custom getter

2009-12-23 Thread Richard Rodseth
. 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 *Richard Rodseth *Sent:* Wednesday, December 23, 2009 11:51 AM *To:* flexcoders

Re: [flexcoders] DataGrid vs custom getter

2009-12-23 Thread Richard Rodseth
} Rather than depend on this, it's probably best for me to ensure that itemUpdated() gets called. Most educational! On Wed, Dec 23, 2009 at 1:51 PM, Richard Rodseth rrods...@gmail.com wrote: I haven't ever dug into the basic mechanism here (never needed to). Does the event that my custom setter

[flexcoders] Printing vs font

2009-12-18 Thread Richard Rodseth
Is there a simple sample anywhere of printing a chart with legend? My legend text is getting cut off. I believe I'm using the default font and am not embedding. Thanks.

Re: [flexcoders] libs in a lib

2009-12-10 Thread Richard Rodseth
just delete the libs folder and directly referring to my Library Project. On Thu, Dec 10, 2009 at 7:50 AM, Richard Rodseth rrods...@gmail.comwrote: Any particular reason that a Flex library project can't have a libs folder the way an application project can?

[flexcoders] libs in a lib

2009-12-09 Thread Richard Rodseth
Any particular reason that a Flex library project can't have a libs folder the way an application project can?

[flexcoders] JSON

2009-12-09 Thread Richard Rodseth
Have there been any recent developments/improvements in JSON - AS3 serialization? The goal being to get typed value objects, not generic Objects. I'm aware of (and have used) as3corelib and Darron Schall's ObjectTranslator class. Thanks.

Re: [flexcoders] Re: Charting error

2009-12-07 Thread Richard Rodseth
Bump, and https://bugs.adobe.com/jira/browse/FLEXDMV-2275 On Tue, Dec 1, 2009 at 2:29 PM, Richard Rodseth rrods...@gmail.com wrote: I appreciate your sincere effort to help, but you misunderstand. AxisRenderer is code in the flex charting library, not my code. It looks to me as though

Re: [flexcoders] Re: How to know when a popup component is visible?

2009-12-07 Thread Richard Rodseth
Bump. Still trying to find a way to detect that a popup is visible. On Mon, Nov 30, 2009 at 9:55 AM, Richard Rodseth rrods...@gmail.com wrote: Yes, I have tried using callLater(). I was hoping there was an event I could tap into that got dispatched once the window is visible. On Mon, Nov 30

Re: [flexcoders] Re: How to know when a popup component is visible?

2009-12-07 Thread Richard Rodseth
encoding of the image? The popup is a child of the system manager try adding your event A popup is a child of the system manager try adding an child added eventlistener to it. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: Bump. Still trying

Re: [flexcoders] Re: How to know when a popup component is visible?

2009-12-07 Thread Richard Rodseth
flexcoders%40yahoogroups.com] On Behalf Of Richard Rodseth Sent: Monday, December 07, 2009 2:43 PM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Re: How to know when a popup component is visible? Bump. Still trying to find a way to detect that a popup

Re: [flexcoders] Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
Personally, I like Mate and suggest you check it out before committing to either of those too. On Tue, Dec 1, 2009 at 8:16 AM, Christophe christophe_jacque...@yahoo.frwrote: Hello, Is it easy to learn and use Cairngorm or PureMvc. I have a one year application and I would like to use these

[flexcoders] Charting error

2009-12-01 Thread Richard Rodseth
Since I don't have the Flex 3.3 charting sources handy, has anyone encountered this error? TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
at 10:42 AM, Richard Rodseth rrods...@... wrote: Personally, I like Mate and suggest you check it out before committing to either of those too. On Tue, Dec 1, 2009 at 8:16 AM, Christophe christophe_jacque...@... wrote: Hello, Is it easy to learn and use Cairngorm

Re: [flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
. ;) --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: Not to disparage PureMVC (glad it works for you), but I don't really get the significance of the fact that it's not Flex-specific. We're developing Flex apps. One complaint I have

Re: [flexcoders] Re: Charting error

2009-12-01 Thread Richard Rodseth
%40yahoogroups.com, Richard Rodseth rrods...@... wrote: Since I don't have the Flex 3.3 charting sources handy, has anyone encountered this error? TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts::AxisRenderer/calcStaggeredSpacing

Re: [flexcoders] Re: Charting error

2009-12-01 Thread Richard Rodseth
of the little bit I'm seeing here. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: Yes, I know a null pointer exception is not charting-specific :) None of my code is in the stack crawl (shown below). The line in question

[flexcoders] Re: How to know when a popup component is visible?

2009-11-30 Thread Richard Rodseth
This message hasn't showed up yet. Awaiting moderation? Any ideas? On Wed, Nov 25, 2009 at 10:40 AM, Richard Rodseth rrods...@gmail.comwrote: I had a thread going here about how to show progress before a potentially long-running but synchronous operation (in my case encoding a DisplayObject

Re: [flexcoders] Re: How to know when a popup component is visible?

2009-11-30 Thread Richard Rodseth
is visible to display start the encoding. Have you attempted using callLater() to start the encoding of the png a frame after the event is dispatched? On Mon, Nov 30, 2009 at 9:47 AM, Richard Rodseth rrods...@gmail.comwrote: This message hasn't showed up yet. Awaiting moderation? Any ideas

[flexcoders] Drawing glitch

2009-11-25 Thread Richard Rodseth
I have a banner consisting of a left-to-right gradient (ending in white) followed by a logo. The programmatic skin below is used as a border skin of an HBox. It looks great, and you can resize the window, but if you maximize it, the darker color of the gradient appears on either side of the logo.

[flexcoders] How to know when a popup component is visible?

2009-11-25 Thread Richard Rodseth
I had a thread going here about how to show progress before a potentially long-running but synchronous operation (in my case encoding a DisplayObject as a PNG or JPEG to add to an AlivePDF PDF. Since I can't seem to force a busy cursor (ironic), one of the suggestions was to pop up a window

Re: [SPAM] [flexcoders] FB Serial number invalid

2009-11-18 Thread Richard Rodseth
...@yahoogroups.com] *On Behalf Of *Richard Rodseth *Sent:* Tuesday, November 17, 2009 3:36 PM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM] [flexcoders] FB Serial number invalid My employer purchased a FlexBuilder 3 license for me to use. When I enter the serial number in FB (plug-in version

Re: [flexcoders] Re: Progress for synchronous operation

2009-11-18 Thread Richard Rodseth
I'm really stumped by this. Is there *any* way I can display a busy during a long-running *synchronous* operation? On Mon, Nov 16, 2009 at 10:29 AM, Richard Rodseth rrods...@gmail.comwrote: Can anyone suggest a solution? On Wed, Nov 11, 2009 at 3:23 PM, Richard Rodseth rrods

Re: [flexcoders] Re: Progress for synchronous operation

2009-11-18 Thread Richard Rodseth
); this.callLater(bigNastySynchronousThing); CursorManager.removeBusyCursor(); } ]] /mx:Script mx:Button label=no good click=noGood(event);/ mx:Button label=kinda good click=kindGood(event); x=81/ /mx:Application --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth

[flexcoders] FB Serial number invalid

2009-11-17 Thread Richard Rodseth
My employer purchased a FlexBuilder 3 license for me to use. When I enter the serial number in FB (plug-in version, Eclipse Ganymede, OS X Snow Leopard) it shows a green checkmark but says the serial number is invalid. Customer service claims the number is valid and suggests I edit

Re: [flexcoders] Re: Progress for synchronous operation

2009-11-16 Thread Richard Rodseth
Can anyone suggest a solution? On Wed, Nov 11, 2009 at 3:23 PM, Richard Rodseth rrods...@gmail.com wrote: So I tried this pattern: private function onClickSave(event:Event):void { CursorManager.setBusyCursor(); var generatePDF:Function = function(e:Event):void

Re: [flexcoders] Re: Progress for synchronous operation

2009-11-11 Thread Richard Rodseth
at least see something. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote: What's a good way to display progress or a busy cursor for a potentially long-running, but synchronous operation (in my case generating a PDF using AlivePDF

Re: [flexcoders] Re: Progress for synchronous operation

2009-11-11 Thread Richard Rodseth
::FileReference/_save() Any good ideas for displaying a busy cursor or indeterminate progress bar while doing a long-running synchronous operation? On Wed, Nov 11, 2009 at 9:59 AM, Richard Rodseth rrods...@gmail.com wrote: Thanks. Yes, I wasn't expecting to show dynamically-updating progress

Re: [flexcoders] NumericStepper and change event

2009-11-10 Thread Richard Rodseth
://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Richard Rodseth *Sent:* Monday, November 09, 2009 9:19 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] NumericStepper and change event Is there any way to get

[flexcoders] Progress for synchronous operation

2009-11-10 Thread Richard Rodseth
What's a good way to display progress or a busy cursor for a potentially long-running, but synchronous operation (in my case generating a PDF using AlivePDF) ? As noted here, CursorManager.setBusyCursor doesn't display the cursor until there is no code running, and PopupManager seems to act

[flexcoders] NumericStepper and change event

2009-11-09 Thread Richard Rodseth
Is there any way to get a NumericStepper to fire a change event on each keystroke? I got a bug report that the form save button is not enabled until the stepper loses focus.

[flexcoders] Caputre DisplayObject as high res image for use with AlivePDF

2009-11-05 Thread Richard Rodseth
AlivePDF ooks like a noble effort. I'm trying to get higher resolution chart shapshots into a PDF, and it appears that 1) PNGEncoder can't handle transparency 2) JPEGEncoder is very slow 3) These might be addressed in a forthcoming 0.1.5 release, but I'm not sure how imminent that is. There is

[flexcoders] Is callLater() a hack?

2009-11-03 Thread Richard Rodseth
I'm wondering if I'm excessively purist about not wishing to use callLater(). The specific case I have now is that I wish to set focus to the first field of a re-usable form when a new item is created, and select all the text in the field. Since I am using Mate, I have an injected listener in the

Re: [flexcoders] Skinning a container - Canvas

2009-11-03 Thread Richard Rodseth
You can skin VBoxes, HBoxes, and presumably Canvases by setting the borderSkin style property to a programmatic skin, for example. You can find example programmatic skins (eg. for gradients) on the web. On Mon, Nov 2, 2009 at 3:13 PM, hworke kanps...@gmail.com wrote: Hi, I see all the

Re: [flexcoders] Binding Model Objects

2009-10-27 Thread Richard Rodseth
This is consistent with the way I've done things. In my case conversion was necessitated by needing a dirty flag on each record, but I also like it philosophically. However, in another portion of the application that I don't own, there is a large DTO displayed in a table (with user-configurable

Re: [flexcoders] Binding Model Objects

2009-10-26 Thread Richard Rodseth
Jeff I hope we see some responses to this. I like the idea of non-bindable and immutable DTOs, but isn't it true that if you have a very large list, you've got substantial memory overhead in the conversion of those DTOs to the bindable objects. Or are people tackling that with virtualized

[flexcoders] DividedBox without thumb

2009-10-23 Thread Richard Rodseth
I don't suppose there's a simple way to get a divided box with no thumb, and no apparent gap. I'm looking for the appearance of a grid (one row) with the resize cursor on the lines between cells. It looks as though I would have to replace the dividerskin with one which drew a line, rather than use

Re: [flexcoders] Button skin without button behaviour

2009-10-22 Thread Richard Rodseth
Thankyou! Just what I needed. On Thu, Oct 22, 2009 at 1:33 AM, Andriy Panas a.pa...@gmail.com wrote: Hi Richard, mx:PopUpButton focusEnabled=false mouseEnabled=false label=Hello/ -- Best regards, Andriy Panas 2009/10/21 Richard Rodseth rrods...@gmail.com I have a menu bar-like

[flexcoders] Button skin without button behaviour

2009-10-21 Thread Richard Rodseth
I have a menu bar-like structure composed of PopUpButtons with no gap between them, and wish to extend the bar to the edge of the page. If I do that by adding a dummy button what's the easiest way to suppress the appearance changes due to rollover and mousedown? I figured that might be easier

[flexcoders] Capturing images and text in style sheets

2009-10-12 Thread Richard Rodseth
I have two style sheets for different brands. In response to an earlier post about specifying Image source in CSS, someone suggested the workaround below. Are there any other/better techniques I should be aware of? What about brand-specific text? Any way to specify that in CSS? Any way to refer

[flexcoders] Conditional compilation of CSS

2009-10-07 Thread Richard Rodseth
Is there any way to compile different CSS files based on a compile-time flag? For better or worse, I'm trying to avoid the build/deploy complexity of multiple SWF artifacts. I can't use the following because I get the error Data binding expressions not supported with attributes processed at

Re: [flexcoders] Conditional compilation of CSS

2009-10-07 Thread Richard Rodseth
/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Richard Rodseth *Sent:* Wednesday, October 07, 2009 11:34 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Conditional compilation of CSS Is there any way

[flexcoders] Branding/Runtime CSS

2009-10-01 Thread Richard Rodseth
I've been looking into the runtime css stuff. Given the build complications, it may be overkill for my requirements, which may not be much more than a different background colour and logo, based on a flashvar value. But I'm curious how people organize things. For example, if you embed a logo

Re: [flexcoders] Flash Builder 4 project structure

2009-10-01 Thread Richard Rodseth
Couple of quick thoughts 1) Up the Eclipse/FB memory (Google for instructions) 2) Look into flex-mojos for maven-based builds 3) If you're sharing code you *are* going to need library projects as you describe, and in my experience a bunch of projects does slow down FB considerably. On Thu, Oct

Re: [flexcoders] Re: FB3 Plug-In Migration

2009-09-30 Thread Richard Rodseth
Thanks, I saw James' post this morning but had already decided to stick with the supported Eclipse for now. Event after copying all the relevant files over from the old machine I did find the following key to reconnecting FB and Eclipse:

Re: [flexcoders] Re: FB3 Plug-In Migration

2009-09-30 Thread Richard Rodseth
The link seems to be broken right now, but you can see it in Google's cache. On Wed, Sep 30, 2009 at 1:40 PM, Richard Rodseth rrods...@gmail.com wrote: Thanks, I saw James' post this morning but had already decided to stick with the supported Eclipse for now. Event after copying all

[flexcoders] FB3 Plug-In Migration

2009-09-29 Thread Richard Rodseth
I have a new computer (Mac running Snow Leopard) to set up, and after struggling with Eclipe Galileo/Flashbuilder for a while, I decided to just bring over my previous installation. I copied the Eclipse folder and the FB3 folder and updated the .link file in the Eclipse folder accordingly. But FB

[flexcoders] Background colour in htmlText

2009-09-08 Thread Richard Rodseth
Am I right that the html rendering in the Flex text control does not support the style attribute of the font tag? mx:Text width=100% mx:htmlText ![CDATA[ This is font style=background-color: yellow yellow/font text. ]] /mx:htmlText

Re: [flexcoders] Flex and REST

2009-09-03 Thread Richard Rodseth
The other issue is error responses. In the apps I work on we have specific XML or JSON result formats for application errors, which means the Flex app must handle those responses differently. If the service is using HTTP header error responses instead I believe the Flex app can't see them, though

Re: [flexcoders] Largest DataGrid

2009-08-31 Thread Richard Rodseth
Here's an excellent resource: http://www.jamesward.com/census/ On Mon, Aug 31, 2009 at 10:31 AM, Tracy Spratt tr...@nts3rd.com wrote: Not a simple question. The issue with performance and datagrid is rendering. Poorly optimized item renderers are the primary problem. A large number of

Re: [Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-26 Thread Richard Rodseth
Nick He's using the command line and invoking the MXML compiler with the -version option. In FlexBuilder, you can right-click on a project, and choose Properties, then choose Flex Compiler. On Wed, Aug 26, 2009 at 7:44 AM, Nick Middleweek n...@middleweek.co.ukwrote: Hi Tom, Thanks for your

Re: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Richard Rodseth
://mitek.id.au/blog/2008/10/28/combobox-madness-continues/ http://mitek.id.au/blog/2008/08/18/combobox-selecteditem-problem/ http://mitek.id.au/blog/2008/06/09/unselect-in-combobox/ Cheers, Dmitri. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard Rodseth rrods...@... wrote

Re: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Richard Rodseth
, this.availableOperators)} I have custom custom setters for selectedOperator and availableOperators, and update selectedIndex in those. On Wed, Aug 19, 2009 at 9:34 AM, Richard Rodseth rrods...@gmail.com wrote: Thanks. I should add that my combobox is in use in an item renderer. A colleague had a similar problem

[flexcoders] ComboBox not updating

2009-08-18 Thread Richard Rodseth
The full story is too long to relate and involves the component which has given me more grief than any other - ComboBox. I'm pretty sure I established a while ago that there's a bug in using a ComboBox with a bound value for selectedIndex. I have one whose dataprovider (and current selected

[flexcoders] Line chart with no axes

2009-08-06 Thread Richard Rodseth
I have a line chart where the user can show/hide the left and right axes (which have custom colours) and the corresponding series. mx:LineChart dataProvider={...} verticalAxisRenderers={this.buildAxisRenderers(...)}

Re: [flexcoders] Line chart with no axes

2009-08-06 Thread Richard Rodseth
I don't think that's it. Seems others have the same issue: http://www.nabble.com/flex-charts:-disable-default-verticalAxisRenderer-issue-td22309463.html Even if I do what that thread suggests as below, I get a gap on the left when the right axis is added. private function

Re: [flexcoders] Line chart with no axes

2009-08-06 Thread Richard Rodseth
The chart has two sets of dynamically-generated series A B, one associated with the left axis, one with the right. There are two checkboxes controlling the visibility. I would like each checkbox to remove the corresponding series set, and corresponding axis. So you can view none, A (left), B

Re: [flexcoders] Line chart with no axes

2009-08-06 Thread Richard Rodseth
Yes, that's pretty much what I've got now. It's not bad (and some might even prefer not having the chart re-layout to occupy the freed up space when an axis is hidden). Thanks. On Thu, Aug 6, 2009 at 3:16 PM, Vivian Richard kanps...@gmail.com wrote: Try this code it does make the axis

[flexcoders] Stacked column chart with a twist

2009-08-04 Thread Richard Rodseth
I seem to recall a blog post recently about doing a stacked column chart where the height of the total column was based on a value in the data set, rather than summing each column segment. Or, to put it another way, the column height is determined by data, then each series gets a percentage of

[flexcoders] Styling menu of PopUpButton

2009-07-29 Thread Richard Rodseth
I have a PopUpButton subclass which pops up a menu built as follows: private function buildMenu():void { _menu = new Menu(); _menu.dataProvider = _availableItems; _menu.labelFunction = this.menuItemLabelFunction;

[flexcoders] Re: Styling menu of PopUpButton

2009-07-29 Thread Richard Rodseth
Damn gmail, wasn't ready to send. Anyway, I'm trying to style this menu, and calling setStyleName or setStyle (as below) has no effect. Even a Menu { open-duration:3500; } in the css file affects other menus but not this one. Any ideas? On Wed, Jul 29, 2009 at 10:17 AM, Richard Rodseth rrods

Re: [flexcoders] FileReference.load()

2009-07-27 Thread Richard Rodseth
Yes, I suppose that could work, though it would complicate the build and the test matrix. On Mon, Jul 27, 2009 at 5:31 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 23 Jul 2009, Richard Rodseth wrote: Thanks for the explanation. More or less what I expected until Gordon

Re: [flexcoders] FileReference.load()

2009-07-23 Thread Richard Rodseth
Of *Richard Rodseth *Sent:* Wednesday, July 22, 2009 6:12 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] FileReference.load() I was hoping to provide an optional feature that requires reading a local file if Player 10 is available, without requiring 10 for the whole application

Re: [flexcoders] FileReference.load()

2009-07-23 Thread Richard Rodseth
Unfortunately, if (load in fileReference) does not succeed unless I specify Player 10 in the build settings. On Thu, Jul 23, 2009 at 9:56 AM, Richard Rodseth rrods...@gmail.com wrote: Nice! But it's not working for me yet. The in expression doesn't succeed. I'll keep digging through

Re: [flexcoders] FileReference.load()

2009-07-23 Thread Richard Rodseth
Nope, I've tried that too. Has that worked for you, or are you guessing? On Thu, Jul 23, 2009 at 11:23 AM, Beau Scott beau.sc...@gmail.com wrote: if(fileReference.hasOwnProperty('load')) fileReference([load'](); Beau On Thu, Jul 23, 2009 at 12:18 PM, Richard Rodseth rrods

Re: [flexcoders] FileReference.load()

2009-07-23 Thread Richard Rodseth
{ var lbl:Label = new Label(); lbl.text = It worked; addChild(lbl); } ]] /mx:Script /mx:Application Beau On Thu, Jul 23, 2009 at 12:33 PM, Richard Rodseth rrods...@gmail.comwrote: Nope, I've tried that too

Re: [flexcoders] FileReference.load()

2009-07-23 Thread Richard Rodseth
, 2009 at 12:57 PM, Richard Rodseth rrods...@gmail.comwrote: But it's the flash.netFileReference class that's in play: private var fileReference:FileReference = new FileReference(); private function onAddFile(event:Event):void { var filter:FileFilter = new

Re: [flexcoders] Flex Compilation takes long time

2009-07-22 Thread Richard Rodseth
I too get frustrated by FlexBuilder build times on a project with a few libraries and an application. As a side note, maven builds using flex-mojos are *really* fast. On Wed, Jul 22, 2009 at 8:23 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Wednesday 22 Jul 2009, ondemand_mayur

[flexcoders] FileReference.load()

2009-07-22 Thread Richard Rodseth
I was hoping to provide an optional feature that requires reading a local file if Player 10 is available, without requiring 10 for the whole application. But it appears that I can't compile code that uses FileReference.load() without setting the target player in FlexBuilder. Anyone dealt with

Re: [flexcoders] firefox/mozilla file upload issue

2009-07-20 Thread Richard Rodseth
If you're using SSL it might be related to my most famous bug report ever :) http://bugs.adobe.com/jira/browse/SDK-13196 On Mon, Jul 20, 2009 at 10:52 AM, [p e r c e p t i c o n] percepti...@gmail.com wrote: Hi Coders, I'm having an issue uploading a file to a server only when performed

Re: [flexcoders] firefox/mozilla file upload issue

2009-07-20 Thread Richard Rodseth
. Sorry to be so vague. On Mon, Jul 20, 2009 at 2:29 PM, [p e r c e p t i c o n] percepti...@gmail.com wrote: oh yes...but here's the thing...i'm not using ssl and it still doesn't work...there's must be a workaround On Mon, Jul 20, 2009 at 1:50 PM, Richard Rodseth rrods...@gmail.comwrote

Re: [flexcoders] Listen for event of unknown type?

2009-07-09 Thread Richard Rodseth
Yes, but addEventListener takes a type parameter (not a class), so I don't think this will help the poster. On Thu, Jul 9, 2009 at 11:54 AM, Jake Churchill j...@cfwebtools.com wrote: Yes, listed for Event (all events extend this class) Jake Churchill CF Webtools 11204 Davenport, Ste.

Re: [flexcoders] Re: Fishbone Chart/Ishikawa Chart

2009-07-08 Thread Richard Rodseth
Also take a look at Degrafa. And I recently saw this: http://www.insideria.com/2009/07/axiis---an-introduction-and-tu.html On Wed, Jul 8, 2009 at 8:55 AM, valdhor valdhorli...@embarqmail.com wrote: I don't know of anything available at this time. You may like to make a suggestion to ILOG (

Re: [flexcoders] mx:DataGridColumn

2009-07-08 Thread Richard Rodseth
You mean something like: mx:Script [Bindable] public var columnName:String; /mx:Script mx:DataGridColumn headerText={columnName} This is pretty standard data binding. See: http://www.adobe.com/devnet/flex/quickstart/using_data_binding/ On Wed, Jul 8, 2009 at 2:05 PM, ram ramesh

<    1   2   3   4   5   6   7   >