Re: [flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread Richard Rodseth
I do 2) all the time. Didn't know 1) was even an option. On Fri, Jun 27, 2008 at 12:08 PM, securenetfreedom <[EMAIL PROTECTED]> wrote: > Any thoughts? > > In an DataModel class what is the best way to bind data. > > 1) Make the Setter Bindable, or > 2) Make the Getter Bindable and dispatch an even

Re: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Richard Rodseth
based component that you want to > update with the new locale. > > > > Gordon Smith > > Adobe Flex SDK Team > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Fri

Re: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Richard Rodseth
ing I override ResourcesChanged, what's the best way to re-trigger the functions?. Assign them to null, then back? Call invalidateDisplayList ? On Sat, Jun 21, 2008 at 9:21 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > That's very clever. > > Gordon's suggestion of

Re: [flexcoders] Report Formatting

2008-06-27 Thread Richard Rodseth
I haven't used it, but take a look at AlivePDF. On Fri, Jun 27, 2008 at 12:32 AM, Dan Pride <[EMAIL PROTECTED]> wrote: > Hi > I want to print out a report. The data goes beyond the scope of a datagrid. > I suppose I could use php but is there a way to do a long multi page report > in Flex? > > Dan

[flexcoders] DateTimeAxis week is weak

2008-06-26 Thread Richard Rodseth
Sorry, I couldn't resist. It appears that to get a DateTimeAxis to display labels correctly for weekly data, I have to explicitly set the dataUnits and labelUnits to "week" rather than let it figure things out for itself. The same is not true for days or months. Just sharing/wondering if anyone els

[flexcoders] DateTimeAxis hours AND date

2008-06-26 Thread Richard Rodseth
Has anyone figured out a simple way to get a DateTimeAxis to display dates and hours when the number of hours shown spans more than one day?

Re: [flexcoders] interactive chart

2008-06-25 Thread Richard Rodseth
Not built into Flex charts, but if you Google "Flex Google Finance Chart" you'll get some hits. On Wed, Jun 25, 2008 at 5:21 PM, coder3 <[EMAIL PROTECTED]> wrote: > > Hi, > > where can i find sample and source of an interactive chart, like google > finance? such as there is a upper main chart, and

Re: [flexcoders] Measurement and scrolling

2008-06-25 Thread Richard Rodseth
gt; wrote: > It is because of another call to measure(), but that's not getting lucky, > it's being scheduled when you change includeInLayout. > > -Josh > > On Mon, Jun 9, 2008 at 10:39 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote: >> >>

Re: [flexcoders] Resizing Images

2008-06-25 Thread Richard Rodseth
Yes, I think SuperImage does that, and I've seen other blog posts address this. Example from Googling "flex image smoothing": http://weblogs.macromedia.com/mc/archives/2006/09/enable_smoothin.html Hope this helps. On Wed, Jun 25, 2008 at 9:02 AM, Jim Hayes <[EMAIL PROTECTED]> wrote: > There is a

Re: [flexcoders] Re: Here's a great idea for flex 4 - simple color pallette utility

2008-06-25 Thread Richard Rodseth
ay. > > -Josh > > On Wed, Jun 25, 2008 at 3:08 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote: >> >> What would be *really* nice would be an adapter to write Flexbuilder >> plug-in panels in Flex, or package Flex/AIR apps to run within >> Eclipse/FB wit

Re: [flexcoders] Runtime exception handling, what's your method?

2008-06-24 Thread Richard Rodseth
Not a direct answer, but I did recently learn about this approach to debug vs release builds, which at least allows one to put liberal asserts etc. in a debug build: http://www.pixelate.de/blog/categories/actionscript On Tue, Jun 24, 2008 at 1:09 PM, dave_defusion <[EMAIL PROTECTED]> wrote: > I'

Re: [flexcoders] Re: Here's a great idea for flex 4 - simple color pallette utility

2008-06-24 Thread Richard Rodseth
What would be *really* nice would be an adapter to write Flexbuilder plug-in panels in Flex, or package Flex/AIR apps to run within Eclipse/FB with special integration APIs (just as AIR apps can re-use code from Flex apps, and have additional APIs to access the file system). Imagine what the commu

Re: [flexcoders] Scrolling - Firefox 2/3 vs IE

2008-06-23 Thread Richard Rodseth
rowser, so in some way this > will probably be traced back to the player (Stage, Application, > SystemManager or their events?). In all cases where I have seen things like > this, the previous statement has turned out to be true. > > - Daniel Freiman > > On Sun, Jun 22, 2008 a

[flexcoders] Scrolling - Firefox 2/3 vs IE

2008-06-22 Thread Richard Rodseth
I don't have a simple test case to share yet, but we are seeing scrollbars (not at the application level) which appear as desired on Firefox 2, but not on Firefox 3 or IE. Anyone else run into any such anomalies? - Richard

Re: [flexcoders] Re: internationalization @ switching runtime

2008-06-21 Thread Richard Rodseth
ale is changed, and the eval property > will simply pass through the new value. Voila! > > -Brent > > --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> > wrote: >> >> No, no, I am definitely using the ResourceManager. But the ex

Re: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Richard Rodseth
e:String, resourceName:String, > > parameters:Array = null, > > locale:String = null):String > > > > Gordon Smith > > Adobe Flex SDK Team > > > > > > From: flexcoders@yahoogroups.com [mailto:[

Re: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Richard Rodseth
t; > Adobe Flex SDK Team > > > > ________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Friday, June 20, 2008 3:03 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders]

Re: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Richard Rodseth
value2; > > ... > > resourceManager.addResourceBundle(rb); > > > > Gordon Smith > > Adobe Flex SDK Team > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Friday, June 20,

Re: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Richard Rodseth
Gordon, Forgive me (or ignore this) if it's in the docs. Does this assume that the ResourceManager.getString call is in the binding expression? Currently I have some static utilities that load strings like "Hello, {0}" from properties files and then do parameter substitution. I've been wondering

Re: [flexcoders] Re: Cairngorm Event Question

2008-06-20 Thread Richard Rodseth
Josh, (also coming from a non-Cairngorm guy) I find it helpful to distinguish between presentation models and data models, and that's a way that status flags etc. need not be regarded as "pollution". Just put them in a separate object. There's no rule that says views can only have a reference to

Re: [flexcoders] Scale Children Proprotiionally

2008-06-19 Thread Richard Rodseth
Who you calling funky? :) I was looking for something that would scale children, or a single child, to fit or center them/it if the container was larger. Never did complete it, but yes you may find the thread informative. On Thu, Jun 19, 2008 at 5:53 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Disabled items in dropdown

2008-06-19 Thread Richard Rodseth
sn't? You can disable > list selection via an example on my blog. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Richard Rodseth > *Sent:* Thursday, June 19, 2008 8:54 AM > *To:* flexcoders@yahoogr

[flexcoders] Disabled items in dropdown

2008-06-19 Thread Richard Rodseth
I realize this is probably an FAQ, but it beats me why I can disable items in a PopupMenuButton, but not a ComboBox: So I was thinking of trying to style the PopupMenuButton to look more like the Combo (centered menu, click anywhere to open

Re: [flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Richard Rodseth
PROTECTED]> wrote: > Actually, a box with only one child is optimized to layout extremely > efficiently, so this is not a bad solution. Another possibility would be to > use the Container class. > > > - Original Message > From: Richard Rodseth <[EMAIL PROTECTED

[flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Richard Rodseth
I tend to have quite a few MXML application components in my applications. Some are for re-use purposes, some are templates, some are for wiring together MVC triads, others are just for organization. I haven't noticed any performance issues due to the "extra" containers, some of which may have a si

Re: [flexcoders] ColumnSet vs Multiple axes

2008-06-18 Thread Richard Rodseth
e('02/03/2008')}" > > > > Thanks > > -Sunil > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Richard Rodseth > *Sent:* Tuesday, June 17, 2008 11:25 PM > *To:* flexcoders@yahoogroups.com > *Su

Re: [flexcoders] ColumnSet vs Multiple axes

2008-06-17 Thread Richard Rodseth
excoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Richard Rodseth > *Sent:* Thursday, May 29, 2008 10:33 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] ColumnSet vs Multiple axes > > > > I have two column series related to distinct horizont

[flexcoders] Keeping the MXML clean

2008-06-16 Thread Richard Rodseth
I have a couple of chart series with dataFunctions that get updated dynamically. Some of these are shared between more than one chart. I wish to avoid large Script blocks with duplicate code. Here are some possibilities I've considered 1) A "SeriesHelper" class with a reference to the series and

[flexcoders] Chart with missing values

2008-06-11 Thread Richard Rodseth
My understanding is that Flex charts assume that the series data provider contains an entry for each point on the axis. Ely's sampler has an example of missing values (gap vs interpolate), achieved by having a missing *field* in the data. I was hoping there might be a way to give an axis a differ

Re: [flexcoders] Measurement and scrolling

2008-06-08 Thread Richard Rodseth
27;s coming up with that affect what happens all way up the hierarchy, even though the component's size is independent of the contents of each pod. My head hurts. On Sat, Jun 7, 2008 at 11:36 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > Thanks, Alex. That gives me a lot to mull ov

Re: [flexcoders] Making Y-Axis Invisible on LineChart

2008-06-08 Thread Richard Rodseth
You can use the "visible" property on AxisRenderer Unfortunately, includeInLayout doesn't seem to work here. The invisible axis still talkes up space. On Sun, Jun 8, 2008 at 1:28 PM, kenny14390 <[EMAIL PROTECTED]> w

Re: [flexcoders] Measurement and scrolling

2008-06-07 Thread Richard Rodseth
I would not remove and re-add children when selectedChild changes. It would > likely cause more measuring and layout again. > > > > -Alex > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth >

Re: [flexcoders] How to get a item in Arraycollection?

2008-06-07 Thread Richard Rodseth
You can use acTest.getItemAt(0) acTest.source[0] also compiles. If you are using Flexbuilder, Cntl-Space (or PC equivalent) gives you "content assist", so just type it after the period and see what you get. On Sat, Jun 7, 2008 at 5:57 PM, markflex2007 <[EMAIL PROTECTED]> wrote: > Hi, > > I have

Re: [flexcoders] Measurement and scrolling

2008-06-07 Thread Richard Rodseth
2008 at 12:04 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: >> >> Measure can always be bigger than the actual width/height, that's what >> it's for. >> >> On Fri, Jun 6, 2008 at 11:32 AM, Richard Rodseth <[EMAIL PROTECTED]> >> wrote: >>

Re: [flexcoders] Measurement and scrolling

2008-06-05 Thread Richard Rodseth
#x27;re doing, or what you're trying to achieve > yet. By "expanding a tile" do you mean you're setting the minimum to be > bigger, or you're manually overriding the decisions the base Container > implementation makes in updateDisplayList()? > > On Fri, Jun 6, 2

Re: [flexcoders] Measurement and scrolling

2008-06-05 Thread Richard Rodseth
a custom container, so I'll be slightly helpful! > > -Josh > > On Fri, Jun 6, 2008 at 9:36 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote: >> >> Clearly I haven't mastered layout and measurement. >> >> I've implemented a custom component which tiles

[flexcoders] Measurement and scrolling

2008-06-05 Thread Richard Rodseth
Clearly I haven't mastered layout and measurement. I've implemented a custom component which tiles its children in equal-sized tiles, but also has a state (not a flex state) where one tile fills the component. I subclassed Canvas and set the sizes and positions of children in updateDisplayList. I

[flexcoders] Composition of bindable objects

2008-06-03 Thread Richard Rodseth
I have a chart controlled by a fairly complex set of parameters. Within the model layer I would like to compose bindable objects, eg Value1 value:Number; units:String; Value2 value:Number; units:String; Parameters value1:Value1; value2:Value2; such that view controls can bind to par

Re: [flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Richard Rodseth
Array collection has a publicly-accessible source Array property and filterFunction property. I'm actually building array collections on the fly in a model class getter with a custom binding event. Same source, different filter function. Seems to be working for me. Does that help? On Sun, Jun 1,

[flexcoders] ColumnSet vs Multiple axes

2008-05-29 Thread Richard Rodseth
I have two column series related to distinct horizontal axes (of type DateTimeAxis). If I include the two series without wrapping them in a ColumnSet, the columns from each series display overlaid on each other. However, if I wrap them in a ColumnSet of type "clustered", only one series displays.

Re: [flexcoders] How do I trigger updateDisplayList() on *every* component in my Application?

2008-05-27 Thread Richard Rodseth
That would be the wrong approach. Take a look at Gordon's article: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization You'll see that you just need to change the locale chain of the resource manager. You already have a binding expression which invokes the reso

Re: [flexcoders] Re: Include images in SWC via compc

2008-05-27 Thread Richard Rodseth
on about the contents of the swf > > As for information about the swf, this is described pretty well in the > catalog.xml. If you want more information, > there are a few applications that can inspect the contents of an swf. Some > are even written in Adobe AIR. > > >

[flexcoders] Re: Center/Shrink To Fit

2008-05-23 Thread Richard Rodseth
otice that SWFLoader uses a DisplayObject as a content holder, but my attempts to cast "this" to DisplayObject before setting the property didn't help - the UIComponent version of "set scaleX" is still invoked. On Fri, May 23, 2008 at 7:37 AM, Richard Rodseth <[EMAIL PR

[flexcoders] Center/Shrink To Fit

2008-05-23 Thread Richard Rodseth
I'm looking to find or create a component which would scale (not resize) its contents smaller if they were larger than this component's bounds, and center them if they're smaller. I could imagine extensions to support "expand to fit" as well, but that's not needed currently. The "contents" can b

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-21 Thread Richard Rodseth
: > And you're not getting "foo is not an IEventDispatcher"? What's your > DateRange class extend? It may already be an EventDispatcher. I left my > testbed code at work, so I can't verify it for myself :) > > Most intriguing though. > > -J > > On We

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
need the > call to dispatchEvent(). > > -J > > On Wed, May 21, 2008 at 3:21 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: >> >> Interesting. Actually, I just did this: >> >> [Bindable(event="foo")] >> public function get start():Date { >

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
xpect it to, so it is possible to bind to read-only > (and therefore also to immutable, if that really floats your boat) so long > as it's an IEventDispatcher. > > -J > > On Wed, May 21, 2008 at 2:34 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >> >> Yup, that&#

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
Message delivery failed. Trying again, this time with blog entry: http://flexygen.wordpress.com/2008/05/21/immutability-and-binding/ On Tue, May 20, 2008 at 7:40 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > Yes, but the point is that DateRange.start is not changeable - the > Date

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
Just when I think I understand binding I believe I have the same issue described below. I have an immutable class DateRange. Surely, if I have [Bindable] public var range:DateRange; I should be able to have a binding expression "{model.range.start}" ? Thanks! On Thu, Jul 19, 2007 at 8:06 A

[flexcoders] Re: Include images in SWC via compc

2008-05-15 Thread Richard Rodseth
my layout below) as the "main" source folder. Is there a compc equivalent, or just the -source-path option? On Wed, May 14, 2008 at 2:24 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > The good news is I was finally able to build my "Resources" SWC > (containing imag

[flexcoders] Include images in SWC via compc

2008-05-14 Thread Richard Rodseth
The good news is I was finally able to build my "Resources" SWC (containing images, stylesheets, and properties files that embed images) in Flexbuilder. The bad news is for my poor colleague who is gallantly doing the continuous integration work (with MSBuild and mxmlc/compc). In Flexbuilder, I en

Re: [flexcoders] What do you use to print reports?

2008-05-14 Thread Richard Rodseth
Check out AlivePDF. I haven't used it personally (other than a quick proof of concept) but it looks promising. For a browser-based app, it makes use of a server-side piece (PHP, Java Servlet etc) to bounce back the bytes so the browser can download them. On Wed, May 14, 2008 at 10:33 AM, Guilherme

[flexcoders] Please help with embedding

2008-05-13 Thread Richard Rodseth
I'm attempting to embed images in resource files, and have assets and the like as siblings of "src", rather than within it. I have now organized my assets, stylesheets and locale-specific property files into a SWC project as follows resourcesproj images zoom.png stylesheets myapp.css

[flexcoders] Flexbuilder error with resource bundles

2008-05-12 Thread Richard Rodseth
I've created a Resource bundle which includes Embed directives and I'm starting to get what seem like spurious errors in Flexbuilder. "Invalid Embed directive in stylesheet" They go away if I do a clean build, but return if I make any change (in unrelated files) I see others have similar problem

Re: [flexcoders] Re: Help with Module strategy

2008-05-10 Thread Richard Rodseth
your > modular decision. > > Framework caching will only effect the size of your shell not your > modules. > If your modules are optimized for your shell they will not include the > framework classes used by the shell. > > --- In flexcoders@yahoogroups.com, "Richard Rod

Re: [flexcoders] Re: Help with Module strategy

2008-05-09 Thread Richard Rodseth
chard On Fri, May 9, 2008 at 6:56 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > I suppose a broad description would be business > intelligence/dashboard/reporting. It's true that for a fixed set of > reports or charts the main app swf can be updated and no modules are >

Re: [flexcoders] Re: Help with Module strategy

2008-05-09 Thread Richard Rodseth
t; > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Friday, May 09, 2008 8:57 AM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Re: Help with Module strategy > > Rick, > > I know about Deg

Re: [flexcoders] Re: Help with Module strategy

2008-05-09 Thread Richard Rodseth
flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Help with Module strategy > > > > - the charts are in modules, optimized for the single host > This sounds the most reasonable. > > If the modules need to be loaded into another shell they can be > re-compil

[flexcoders] Help with Module strategy

2008-05-08 Thread Richard Rodseth
I'd appreciate some input on my module strategy. I'm working on a charting application with a requirement that individual charts be embeddable as "widgets" on arbitrary pages. I already have the bulk of the code in libraries, so have some freedom to explore different packaging. I had originally

Re: [flexcoders] Printing flex datagrid to PDF.

2008-05-08 Thread Richard Rodseth
If you're not dependent on Coldfusion to build the PDF, check out AlivePDF, which lets you build a PDF client-side. In a browser-based app it requires you to install a server-side script to bounce the bytes back to the browser. Here's an example using it: http://www.sinergy-networks.com/images/st

Re: [flexcoders] Button with two-line label and icon

2008-05-07 Thread Richard Rodseth
_ > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Wednesday, May 07, 2008 6:28 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Button with two-line label and icon > > > >

Re: [flexcoders] Button with two-line label and icon

2008-05-07 Thread Richard Rodseth
e: Flex multi line button label > > Tracy > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Wednesday, May 07, 2008 6:05 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Button with two-line

[flexcoders] Button with two-line label and icon

2008-05-07 Thread Richard Rodseth
Subject says it all. Is there a simple way to do create a button with a two-line label? The line break seems to work in an mx:Label, but not an mx:Button.

[flexcoders] Flex app as widget

2008-05-07 Thread Richard Rodseth
One of the requirements on my project is to be able to embed modules (in the generic sense) of the application on arbitrary pages. I obtained the following from Sproutbuilder. Is this a good approach? http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"; width="36

[flexcoders] Chart series includeInLayout

2008-05-06 Thread Richard Rodseth
I have two sets of stacked columns side by side. I would like to be able to hide either one. Currently I have the visible property of each series bound to a property controlled by a checkbox, and that works fine, but I would like the chart to be laid out again so that the hidden series doesn't take

Re: [flexcoders] DateField on Windows

2008-05-06 Thread Richard Rodseth
gt; > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Tuesday, May 06, 2008 2:40 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DateField on Windows > > > >

[flexcoders] DateField on Windows

2008-05-06 Thread Richard Rodseth
I wonder if anyone else has encountered this situation. I have a DateField which functions perfectly on my Macintosh running under Flexbuilder, but when QA runs the app on a Windows machine, and the app is hosted on a Windows server, the datefield is not editable, and the calendar doesn't pop up.

Re: [flexcoders] ComboBox binding

2008-05-02 Thread Richard Rodseth
dispatch. > > Does the setter have appropriate [Bindable] metadata? Or are you getting > warnings? > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Thur

Re: [flexcoders] Application initialization and runtime config

2008-05-01 Thread Richard Rodseth
excoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Tuesday, April 29, 2008 2:30 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Application initialization and runtime config > > > > > > > The application I'm work

[flexcoders] ComboBox binding

2008-05-01 Thread Richard Rodseth
ComboBox binding is driving me crazy. [Bindable] public var selectedGranularity:String; If I set a breakpoint on selectedGranularity, it's setter is reached, but the findSelectedIndex function does not trigger. Any obvious mistakes?

[flexcoders] Instantiate MXML in View State

2008-04-29 Thread Richard Rodseth
Is there a way to instantiate an MXML object (not a visual component) in a view state? i.e. along with AddChild and SetProperty, I'd like to be able to instantiate an object (a controller in my case) so it can be wired up to the view that is being added. Otherwise, I need to create yet another leve

[flexcoders] Application initialization and runtime config

2008-04-29 Thread Richard Rodseth
The application I'm working on has a dependency on runtime configuration (flashVars) that needs to be met before any service calls are made. I have an MVCS architecture, quite modular, though not yet using mx:Module. I was unable to fetch the data for each module using creationCompete() because t

Re: [flexcoders] Re: 1120 Error

2008-04-29 Thread Richard Rodseth
I was able to isolate the problem. I am experimenting with dynamically constructed data providers dataProvider="{dataManager.getFilteredDataProvider("somekey",model.startDate,model.endDate).provider}" If "somekey" is replaced with a call to a static method of Data

[flexcoders] 1120 Error

2008-04-29 Thread Richard Rodseth
Hi I have a class Foo. Somewhere I have a syntax error, because Flexbuilder reports the following error: 1120: Access of undefined property Footarget But there is no line number or anything else to tell me where to look. Foo looks fine. Suggestions much appreciated.

[flexcoders] Re: Redraw LineSeries

2008-04-25 Thread Richard Rodseth
Calling mappingChanged() triggered a redraw, but I think my approach with the custom IList might be better, because by having a real dataProvider associated with the series, the automatic axis scale stuff can work. On Fri, Apr 25, 2008 at 11:13 AM, Richard Rodseth <[EMAIL PROTECTED]> wrot

[flexcoders] Redraw LineSeries

2008-04-25 Thread Richard Rodseth
I have a LineSeries displaying a constant value (a baseline), stored in a model object, separate from the chart component. In my first iteratiion, I used a special implementation of IList which always returned the same value, but then I thought using the dataFunction of the LineSeries made more se

[flexcoders] Relating series and axes

2008-04-24 Thread Richard Rodseth
I'm a little unclear how one associates multiple series to the same axis, when there are multiple axes present. With secondVerticalAxis (or whatever it was called) deprecated, it appears that the axis definitions must go inside a series definition. But now I want yet another series to refer to the

Re: [flexcoders] Re: Collapsible controls

2008-04-24 Thread Richard Rodseth
I was contemplating something very similar earlier today. > > --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> > wrote: > > > > > > It seems to me that it's pretty common to need some UI that is > > modeless (i.e. not

[flexcoders] Collapsible controls

2008-04-24 Thread Richard Rodseth
It seems to me that it's pretty common to need some UI that is modeless (i.e. not in a pop-up) but easy to get out of the way to save real estate. I've seen the FlexStore (haven't studied the code in a while) , the WindowShade in flexlib, and examples of programmatically dividing a DividedBox. I l

Re: [flexcoders] html-template under source control

2008-04-22 Thread Richard Rodseth
Good to know. I think I can probably live with that, since the release build will be built via continuous integration, not from FlexBuilder. On Tue, Apr 22, 2008 at 10:36 AM, <[EMAIL PROTECTED]> wrote: > > > > > > > > On Tue, Apr 22, 2008 at 08:39:04AM -0700, Richar

Re: [flexcoders] html-template under source control

2008-04-22 Thread Richard Rodseth
ct it. > > > > What is your concern? > > > > Tracy > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Tuesday, April 22, 2008 11:39 AM > To: flex

[flexcoders] Live tiling

2008-04-22 Thread Richard Rodseth
I'm looking for a tiled layout that performs well during resizing of the browser window. The flexmdi approach below is very slow. Is there a way I can improve the event handling, or is flexmdi the wrong choice? I've thought of writing a container that does this sort of tiling, and supports maximiz

[flexcoders] html-template under source control

2008-04-22 Thread Richard Rodseth
In the past I avoided putting html-template in Subversion, because of various dire warnings as well as the fact that earlier versions of Flexbuilder had a tendency to overwrite it without warning. But now I would like myself and other develops to have the FlashVars available when running within Fle

[flexcoders] Re: Is SWFObject ready for prime time?

2008-04-22 Thread Richard Rodseth
Isn't CSS wonderful? I found the answer here: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_faq_web_authors Any general experience reports or comments about SWFObject are still welcome. On Mon, Apr 21, 2008 at 4:09 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > I

[flexcoders] Is SWFObject ready for prime time?

2008-04-21 Thread Richard Rodseth
I need a simple template for embedding a Flex app such that it takes up the whole window, no scroll bars, and resizes with the window, and takes a couple of Flashvars. I'm drawn to SWFObject because the wrapper code looks so much cleaner, but the following does not display at all in Firefox 2.0.0.

Re: [flexcoders] Continuous integration woes

2008-04-19 Thread Richard Rodseth
art of your project. It can be done and works from a > Windows and Unix box. > > > "I get a warning from FlexBuilder that a source path is inside another > source path". > > I've had that warning before. If you ignore, your project ends up getting > confused.

[flexcoders] Continuous integration woes

2008-04-18 Thread Richard Rodseth
Are there any definitive examples of best practices for project layout of libraries and applications, that works well with Flexbuilder, as well as compc/mxmlc (example command-line arguments would help too). My latest struggle is with locales. I followed an Adobe example, and placed locales alongs

[flexcoders] Dynamic RemoteObject configuration

2008-04-18 Thread Richard Rodseth
e to use absolute path to the file. > > > Cheers, > Mark > > --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> > wrote: > > > > Thanks for the suggestion, Mark. Do you mean I should just create a > > server-less FlexBu

Re: [flexcoders] Collections with common source

2008-04-16 Thread Richard Rodseth
have a local ArrayCollection with a filterFunction and the source set > to the data in the model. > > > > On Wed, Apr 16, 2008 at 12:37 PM, Richard Rodseth <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > Hi > > &g

[flexcoders] Collections with common source

2008-04-16 Thread Richard Rodseth
Hi I'm working on a dashboard where several charts share common data. I was thinking that each chart series could have a data provider which is a collection with a filter function, and I could set the source array of these collections to the same array. Sound reasonable? Thanks

Re: [flexcoders] Re: What hosting compagny are you using for Flex + (Blaze || LCDS)

2008-04-14 Thread Richard Rodseth
I'm not deploying BlazeDS apps there yet, but check out eapps. On Sun, Apr 13, 2008 at 3:57 PM, guillaumeracine <[EMAIL PROTECTED]> wrote: > > > > > > > By compagny i was meaning Web Host...(mine is 4java.ca) > > > --- In flexcoders@yahoogroups.com, "guillaumeracine" > <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread Richard Rodseth
y the whole app and its > corresponding modules and libs. > > In either JBoss instance we put all of the modules into a single > directory that sits parallel to the app's directory and load it all > from there. > > HTH > > > BOb > > --- In flexcoders

[flexcoders] compc vs mxml

2008-04-11 Thread Richard Rodseth
We're integrating a Flex build with MSBuild, so no Ant (though I suppose we could invoke Ant). Why the heck can I point mxmlc at an application file and have it compile the entire nested source tree, but compc expects an explicit list of files? Or is my information out of date? Thanks

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread Richard Rodseth
h a source code repository. > > Oh yes, by the time our project is finished we expect to have about > 180 or so modules. > > Hope this helps > > BOb > > > > --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> > wrote: >

[flexcoders] Project per module?

2008-04-10 Thread Richard Rodseth
I can't seem to find much about the pros and cons of having a separate FlexBuilder project for each module in a modular, extensible app. It seems you lose the Optimize For Application menu option, but can work around that with compiler arguments. Besides, I don't think that's appropriate in my case

Re: [flexcoders] Re: AMF development with remote dev server

2008-04-07 Thread Richard Rodseth
n services-config.xml. Locate the > my-anf channel and change the endpoint URI to be an absolute URL > pointing to your dev server. > > Also, keep in mind you might need to put crossdomain.xml in place on > the remote server. > > Cheers, > Mark > > > &

[flexcoders] AMF development with remote dev server

2008-04-07 Thread Richard Rodseth
I'm just getting started with AMF. WebOrb backend, but I'm on a Mac. Is it possible to set up a FlexBuilder 3 project so I can connect to the remote endpoint. All the instructions I've found talk about running a local server. Can I copy server-config.xml somewhere in my project? Or just web share

Re: [flexcoders] Visualize OLAPResult in anything but OlapDataGrid?

2008-04-04 Thread Richard Rodseth
I'm wondering the same thing. I did see the following, but it looks as though he's building a new data provider for the chart: http://onrails.org/articles/2007/11/29/analyzing-the-subversion-logs-from-the-rails-project-with-mx-olapcube On Fri, Mar 28, 2008 at 12:51 AM, Brendan Meutzner <[EMAIL PR

[flexcoders] Space between clustered columns in a chart

2008-03-31 Thread Richard Rodseth
I'm sure I'll kick myself, but I can't seem to find a property to set spacing betwen clustered columns in a column chart. Also, while I'm at it how does one make a line chart show an icon or some such indication at the vertices? Thanks!

Re: [flexcoders] Charts and licenses

2008-03-29 Thread Richard Rodseth
gt; of the examples I find out there use them as the engine. > > > > It's all personal preference. > > > > Thanks > > -Pat > > www.DataNotion.com > > > > > > > > On Fri, Mar 28, 2008 at 8:50 PM, Richard Rodseth <[EMAIL PROTE

<    1   2   3   4   5   6   7   >