[flexcoders] Re: Sorting nested collections in Value Objects? (DataServices or RemoteObject f

2007-12-26 Thread simonjpalmer
Not sure I have understood all the subtleties of being managed objects, but as a personal preference, I would avoid the server all together - but that's just me. If you really have to use the server then I would make the sorting a property of the persistence tier (i.e. the database select

[flexcoders] Re: Sorting nested collections in Value Objects? (DataServices or RemoteObject f

2007-12-26 Thread simonjpalmer
elegant method, but we can't seem to figure out a better way to do it. - Kevin On Dec 26, 2007, at 5:12 AM, simonjpalmer wrote: This shifts the problem from one of persistence and/or data architecture to one of display and the solution for me was more obvious.

[flexcoders] Re: Sorting nested collections in Value Objects? (DataServices or RemoteObject f

2007-12-26 Thread simonjpalmer
Glad I could help, that's what is great about this group! --- In flexcoders@yahoogroups.com, Kevin [EMAIL PROTECTED] wrote: mx:ListCollectionView id=lcv_People list={MyParty.people} sort={myViewSpecificNameSort}/ mx:TileList dataProvider={lcv_People} / Ah!!! mxml, of course! It's

[flexcoders] Bubbling and event from a popup

2007-12-26 Thread simonjpalmer
I have a custom control in my app which pops up a dialog in which the user can alter some data in the underlying domain model. I have a custom event SetDirtyEvent(o:Object) which gets dispatched and a listener in the main app which then keeps a singleton list of objects which have been changed

[flexcoders] Re: Can anyone help me get this amazing fire effect work ...

2007-12-24 Thread simonjpalmer
merry christmas... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() backgroundGradientColors=[#ff, #00] mx:Script ![CDATA[ import flash.display.BitmapData; import flash.geom.Rectangle; import

[flexcoders] Re: Application Structure

2007-12-24 Thread simonjpalmer
Ask your users and if their ideal solution is a bit annoying for you to code, then suck it up. If you are really mimicking email systems then there are lots of precedents out there, all of which have had millions of dollars of UI design invested in them. If you can't ask your users it may be

[flexcoders] as3salesforce.swc

2007-12-23 Thread simonjpalmer
is anyone successfully using the as3salesforce.swc library and examples to connect to salesforce.com? I can't get past this error on login in the example code... faultDetail = Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL:

[flexcoders] Re: Can anyone help me get this amazing fire effect work ...

2007-12-23 Thread simonjpalmer
I got it working... couple of things: 1) Buttons are not movie clips, they are sprites and don't have a timeline, so you have to create a movie clip and add your text to it. 2) You have to add the clips to the application's stage, not the application itself. if you hack around a little you

[flexcoders] Re: how to pass varible between screens?

2007-12-21 Thread simonjpalmer
Can't you do this... put your ViewStack in a control and put a bindable variable in that control and each of the FormXView controls as well e.g... and in each of the ViewXControls script blocks... [Bindable] public var my_var_ref:String; and in the enclosing control... script ![CDATA[

[flexcoders] Re: Solutions for provide a secure access to a Web-Service using Flex

2007-12-21 Thread simonjpalmer
if that's all your doing, then could you not expose an API specfic to the purpose and use a different protocol, for instance AMF via RPC for access from your flash client? If you are really only showing a form and presenting some choices this sounds like it could be a pretty trivial re-factoring

[flexcoders] Re: Add a custom shortcut to our application

2007-12-17 Thread simonjpalmer
On Dec 16, 2007 5:41 PM, simonjpalmer [EMAIL PROTECTED] wrote: add an event handler to your app to trap a key down event and then check for the combinations you support as shortcuts and perform the your functions accordingly. here's a fragment from my own code which traps ctrl

[flexcoders] Re: DataServices destinations design dilemma...

2007-12-17 Thread simonjpalmer
at this and see if I can apply some of your suggestions without completely abandoning out data model. Thanks, Kevin On Dec 15, 2007, at 6:33 PM, simonjpalmer wrote: I had the exact same problem, I think the issue is not really inheritance but the graph of objects being

[flexcoders] Re: Bind to Checkbox and ComboBox

2007-12-16 Thread simonjpalmer
It depends on what flexibility you want out of these lists of values. If you think the list is likely to grow or you might want them in different languages, or altered for different customers, then put them all in a domain values table and map to them with ints. Then lift the entire contents of

[flexcoders] Re: Add a custom shortcut to our application

2007-12-16 Thread simonjpalmer
add an event handler to your app to trap a key down event and then check for the combinations you support as shortcuts and perform the your functions accordingly. here's a fragment from my own code which traps ctrl+shift+D and shows some debug messages... in my app's initialisation routine...

[flexcoders] Re: Managed Value Object error

2007-12-15 Thread simonjpalmer
I don't have an answer for you, but a couple of questions as thought starters. Are you building a library or an application? Is your project one which includes data services? I wonder whether you have to create a certain kind of project in order to have these libraries incorporated by default.

[flexcoders] Re: DataServices destinations design dilemma...

2007-12-15 Thread simonjpalmer
I had the exact same problem, I think the issue is not really inheritance but the graph of objects being arbitrarily complex and deep. I got round it by ditching the managed associations completely and going for RPC calls to my Java classes using RemoteObjects. I found myself too tangled by

[flexcoders] Re: RemoteObject silently throwing #1009 null object error

2007-12-11 Thread simonjpalmer
trace statements to find the problem. This all happens before the FDS code is executed which is why TraceTarget is showing anything. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday

[flexcoders] RemoteObject silently throwing #1009 null object error

2007-12-10 Thread simonjpalmer
Hi, FB2 + FDS. I have a RemoteObject silently throwing the following error when I call a remote method: TypeError: Error #1009: Cannot access a property or method of a null object reference. Does anyone know of a way I can track down what exactly is causing the error to be thrown? I have been

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-28 Thread simonjpalmer
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Saturday, November 24, 2007 7:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Dynamically Setting width of a TextInput control this is not in a datagrid

[flexcoders] Re: Tracing HTTPService Data?

2007-11-28 Thread simonjpalmer
You can get at the contents of the messages using mx:TraceTarget on the client, which will spit a whole load of stuff to your console in debug mode. I don't use an http service, but I know that on the server you can alter the level of logging by adjusting the contents of the logging tag in

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-24 Thread simonjpalmer
:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, November 22, 2007 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically Setting width of a TextInput control I am using a TextInput control as an item renderer and I want to set the width of the control

[flexcoders] Re: irregular x-axis intervals on a line chart

2007-11-22 Thread simonjpalmer
] On Behalf Of simonjpalmer Sent: Thursday, November 22, 2007 7:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] irregular x-axis intervals on a line chart I have a situation where I am plotting time on the x-axis of a line chart and a continuous numeric quantity on the y-axis

[flexcoders] Re: How to change application background color dynamically

2007-11-22 Thread simonjpalmer
You can also use states on the app... mx:states mx:State name=Manager mx:SetStyle name=backgroundGradientColors value=[#ff0080, #b1c0c7]/ /mx:State mx:State name=Seller mx:SetStyle name=backgroundGradientColors value=[#80, #b1c0c7]/ /mx:State /mx:states then set the app state once you know

[flexcoders] Dynamically Setting width of a TextInput control

2007-11-22 Thread simonjpalmer
I am using a TextInput control as an item renderer and I want to set the width of the control to reflect the size of the text within it. The text comes from a property of the data associated with the item renderer. I am overriding the set data method in order to set the text and some stle

[flexcoders] has anyone written an arrowhead edge renderer for the springggraph?

2007-11-22 Thread simonjpalmer
I want some of my edges to be directional. Anyone have a UI component which draws an arrow that they would't mind sharing?

[flexcoders] Interfaces and Implements

2007-11-21 Thread simonjpalmer
Hi, I am having a problem with defining and using interfaces on my AS3 classes. Here's my scenario... class A implements IA{} class B implements IB{} class Wrapper implements IWrapper { public var a:A; public var b:B; } interface IWrapper { function get a():IA; function get b():IB; } When I

[flexcoders] Re: Interfaces and Implements

2007-11-21 Thread simonjpalmer
to implement a getter... you have to write a getter. And it has to have exactly the same signature. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, November 21, 2007 2:21 PM

[flexcoders] irregular x-axis intervals on a line chart

2007-11-21 Thread simonjpalmer
I have a situation where I am plotting time on the x-axis of a line chart and a continuous numeric quantity on the y-axis. The events which form the data series do not happen at regular intervals, so the gap between them on the x-axis is irregular. I have several series of data that exhibit

[flexcoders] Re: Interfaces and Implements

2007-11-21 Thread simonjpalmer
I haven't tried it yet, I'll let you know how I get on. --- In flexcoders@yahoogroups.com, Peter Hall [EMAIL PROTECTED] wrote: Looks like it should work. Did you try it and have problems? Peter On Nov 22, 2007 12:54 AM, simonjpalmer [EMAIL PROTECTED] wrote: I thought about

[flexcoders] Re: Where to do heavy lifting in a Flex app? (no threading?)

2007-11-10 Thread simonjpalmer
Funnily enough part of the reason I chose Flash was to offload a whack of work from the server on to the server-spec processors that every client machine now possesses (I'm currently using my dual processor 2GHz 4GbRAM laptop to type text into a web form!). Compared to the old page based days of

[flexcoders] Re: Where to do heavy lifting in a Flex app? (no threading?)

2007-11-09 Thread simonjpalmer
This is a really good question and something I too grapple with. I found this helpful as it explains some of the internals of the player. Take a look at doLater(), you never know, it may help. http://weblogs.macromedia.com/pent/archives/2005/05/dolater_vs_seti.cfm The reality is that the

[flexcoders] Re: Repeaters and ListCollectionViews

2007-11-03 Thread simonjpalmer
control and had no reference from the drop taregte control and the repeater. If I get rid of the explicit references to the repeater it stops working. Simon --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: Is it possible to use a ListCollectionView as the dataProvider

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
how about myData.removeItemAt(0)? --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hey there, I have a problem to remove the first *object* in myData, any suggestion? Thank you === [Bindable] private var

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
Time Id 1118: Implicit coercion of a value with static type Object to a possibly unrelated type mx.collections:ArrayCollection. test.mxml line 69 1194139654331 151789 --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: how about myData.removeItemAt

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
Creation Time Id 1118: Implicit coercion of a value with static type Object to a possibly unrelated type mx.collections:ArrayCollection. test.mxml line 69 1194139654331 151789 --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: how about

[flexcoders] Repeaters and ListCollectionViews

2007-11-02 Thread simonjpalmer
Is it possible to use a ListCollectionView as the dataProvider for a Repeater? I think the answer is no because I can't get it to work, but I wanted to make sure that it is not just me writing buggy code. Thanks Simon

[flexcoders] Re: Flex 3 release date

2007-11-01 Thread simonjpalmer
] wrote: http://www.onflex.org/ted/2007/10/flex-3-beta-2-lower-price-flex-builder .php See question 4 and you can imagine similar upgrade pricing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, October 29, 2007 7:01 PM

[flexcoders] Re: 2d dynamic grid

2007-11-01 Thread simonjpalmer
Rather than subclass DataGrid I wrapped it in a class and have my own addColumn() methods. Here's the relevant code in my TotalDataGrid.addColumn() method. public function addColumn(name:String, dataField:String, labelFunction:Function=null):void { var dgcd:DataGridColumn = new

[flexcoders] Re: transient properties of an object using RemoteClass

2007-10-29 Thread simonjpalmer
=metadata_066_15.html --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: I have a situation where I have a deliberate mismatch between my AS3 and Java objects. I have a Java object package com.java class X { private String name; public String getName

[flexcoders] Flex 3 release date

2007-10-29 Thread simonjpalmer
What is the latest statement of intent from Adobe regarding the full Flex 3 release date?

[flexcoders] Re: transient properties of an object using RemoteClass

2007-10-29 Thread simonjpalmer
Thanks! --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: http://livedocs.adobe.com/labs/flex/3/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=metadata_066_15.html --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer

[flexcoders] Re: Flex 3 release date

2007-10-29 Thread simonjpalmer
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, October 29, 2007 10:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 3 release date What is the latest statement of intent from Adobe regarding the full Flex 3 release date?

[flexcoders] Re: transient properties of an object using RemoteClass

2007-10-29 Thread simonjpalmer
@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Nah, looks like it was just undocumented in 2: http://nondocs.blogspot.com/2007/04/metadatatransient.html http://www.darronschall.com/weblog/archives/000271.cfm HTH, Ben --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer

[flexcoders] Re: iterating across an object

2007-10-27 Thread simonjpalmer
or * would be the type of your iterator. If you know you have a collection of Dog instances, use a Dog iterator. HTH, Ben --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: thanks, sorry to be dim, but what exactly do I put as the iterator

[flexcoders] Re: numeric formatters - a small gripe

2007-10-27 Thread simonjpalmer
Even odder is the default setting of the rounding to be none on NumberFormatter which effectively truncates the number when it applies the precision. I know of no world where that make sense over nearest. Quite bizarre. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED]

[flexcoders] iterating across an object

2007-10-26 Thread simonjpalmer
In the absence of a formal Map I am using an object as a key/value pair map as follows: var map:Object = new Object(); map[A] = some_object_A; map[B] = some_object_B; map[C] = some_object_C; and then looking up by the key var object_A:Object = map[A]; etc. This works really well for random

[flexcoders] Re: iterating across an object

2007-10-26 Thread simonjpalmer
: for...in and for...each will both work on Object but what you're really looking for is Dictionary. Dictionary supports those loops as well. HTH, Ben --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: In the absence of a formal Map I am using an object as a key

[flexcoders] transient properties of an object using RemoteClass

2007-10-26 Thread simonjpalmer
I have a situation where I have a deliberate mismatch between my AS3 and Java objects. I have a Java object package com.java class X { private String name; public String getName(){return name;} public void setName(String name){this.name=name;} } and an ActionScript object package com.as3 {

[flexcoders] Flash player on iPhone

2007-10-24 Thread simonjpalmer
Tangential, but not completely off topic, anyone here have any inside track on whether Apple are likely to support the Flash Player in their mini Safari browser on the iPhone?

[flexcoders] Anybody Out there Please! Re: Flex Builder/Webapp/Flex

2007-09-18 Thread simonjpalmer
I have exactly this set up with a J2EE servlet project using the WTP Eclipse plug-in and a Flex Builder project in the wame Eclipse workspace. It is best to start from the server project and create a Dynamic Web Project first. Get your servlet compiling and deploying into your app server even if

[flexcoders] Re: datagrid selection issues when bound to a ListCollectionView

2007-09-17 Thread simonjpalmer
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView Sorry for the confusion, I meant I use the same filtering technique

[flexcoders] Re: Overriding ValueObjects class

2007-09-17 Thread simonjpalmer
My first question is what are you trying to achieve by duplicating the title variable in the subclass, it would on the face of it seem a little pointless? If you need to titles use an array or call them different things so as to disambiguate them. However, have you tried writing a setter or

[flexcoders] Re: Math.cos...?

2007-09-17 Thread simonjpalmer
Therein lies the entire problem. Discontinuities are an artefact of a flawed model and do not truly appear in nature. The whole problem would go away if we counted in base pi and went back to having no zero. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: That

[flexcoders] datagrid selection issues when bound to a ListCollectionView

2007-09-13 Thread simonjpalmer
I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which

[flexcoders] Re: datagrid selection issues when bound to a ListCollectionView

2007-09-13 Thread simonjpalmer
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I

[flexcoders] Re: datagrid selection issues when bound to a ListCollectionView

2007-09-13 Thread simonjpalmer
PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView The objects in the base ArrayCollection are custom objects in my project. I create them

[flexcoders] Re: Difference in player behaviour between IE and Firefox with SSL?

2007-09-13 Thread simonjpalmer
at this issue and might just bump into this post. Other keywords for the search engine: HTTP 500 HTTPS IE MSIE Internet Explorer SSL JBOSS SP --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: I have just implemented ssl in my application and I am getting some strange results. I use

[flexcoders] Difference in player behaviour between IE and Firefox with SSL?

2007-09-12 Thread simonjpalmer
I have just implemented ssl in my application and I am getting some strange results. I use both IE and Firefox for my testing. I have a JBoss server and use RemoteObject's to pass data back and forth between my Flex client and my server code via amf channels. I have reconfigured my channels

[flexcoders] rtmps keystore location

2007-08-29 Thread simonjpalmer
can anyone advise on how I set the keystore-file tag on a secure rtmp destination to be a relative path on the server. It seems crazy that I have to put in a file path, especially as my entire application is deployed as a war file and I already have a valid keystore for https. I have tried...

[flexcoders] Re: nested json: how to access in dataField

2007-08-29 Thread simonjpalmer
@name perhaps? can't say I'm certain that will work... --- In flexcoders@yahoogroups.com, ronnlixx [EMAIL PROTECTED] wrote: Hi, I have some json being returned from a service that looks similar to: [{attributes: {name: Job 1}}, {attributes: {name: Job 2}}] how do I access name in the

[flexcoders] Re: DataGrid with labelfunction + POJO

2007-08-25 Thread simonjpalmer
: simonjpalmer simonjpalmer@ yahoo.com To: [EMAIL PROTECTED] ups.com Sent: Thursday, August 23, 2007 8:05:01 PM Subject: [flexcoders] Re: DataGrid with labelfunction + POJO is your label function in the script block of the same mxml component which has the datagrid? What hppens if you set

[flexcoders] Re: FDS mashup. Talking to multiple FDS servers in a single Flex application

2007-08-24 Thread simonjpalmer
for lots of scenarios - poor man's load balancing by randomly assigning a server on SWF initialization, etc. etc. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, August 23, 2007 8:59 AM

[flexcoders] Re: Flex Java, Where to Start?

2007-06-08 Thread simonjpalmer
? Any suggestions on the server software needed to run EJB J2EE? Again I am moving from a Microsoft, .net, IIS environment so I am completly new to all this. Thanks Aaron --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , simonjpalmer simonjpalmer@ wrote: Sun

[flexcoders] Re: Flex Java, Where to Start?

2007-06-07 Thread simonjpalmer
Sun has a very comprehensive online documentation of the Java language. This is a good book if you are a seasoned developer and just wanting to pick up Java Java In A Nutshell by David Flanagan, O'Reilly. Another really good book is Just Java 2 by Peter van der Linden, Sun Microsystems

[flexcoders] Chart snapshots

2007-06-03 Thread simonjpalmer
I have a requirement to be able to copy and paste a chart from my flex app to another application via the clipboard. The chart has to come exactly as it appears on the screen, almost like an alt-printscreen, but only the portion of the screen displaying the chart. Has anyone tried anything

[flexcoders] Is anyone using WebORB with a Java back end?

2007-06-02 Thread simonjpalmer
If yes, how have you found it? I've been using FDS to connect to Java Remote Objects and want to investigate alternatives. There seem to be lots of posts about WebORB, but it all sounds very .Net. If not WebORB does anyone have experience with any other middleware providing the same remoting

[flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread simonjpalmer
Quite agree, it's a bloody nuisance that one. If you find out, post an answer. --- In flexcoders@yahoogroups.com, James [EMAIL PROTECTED] wrote: I'm sick of seeing Data binding will not be able to detect changes when using square bracket operator. For Array, please use

[flexcoders] Re: compiling java classes for flex data services

2007-05-27 Thread simonjpalmer
I think you are probably missing fds.swc from your library path. If you are using the Eclipse IDE, search for it on your computer and then add it to the Flex Build Path / Library Path in your Flex project. --- In flexcoders@yahoogroups.com, learner [EMAIL PROTECTED] wrote: I have trying the

[flexcoders] Re: DataGrid and complex types

2007-05-27 Thread simonjpalmer
write a method on your Customer and Product classes as follows: public function toString():String { return this.insertyourinterestingStringpropertyhere; } If you want more than that you can write a custom renderer for your classes and associate it with the datagrid columns. --- In

[flexcoders] Re: Container refresh

2007-05-27 Thread simonjpalmer
can't answer your question myself, but take a look at this... http://www.flex-flex.net/blog/article.asp?id=9 which has a resizing titlewindow in it if you download the source you may get some clues. --- In flexcoders@yahoogroups.com, Janis Radins [EMAIL PROTECTED] wrote: Hey people! I

[flexcoders] Re: Flex charting question

2007-05-25 Thread simonjpalmer
you if you kid is too fat for his age or whatnot. JS --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: can't you just add another data series to the chart? --- In flexcoders@yahoogroups.com, cardinalflexjeremy sandersjs@ wrote: I have a question

[flexcoders] Re: Flex charting question

2007-05-24 Thread simonjpalmer
can't you just add another data series to the chart? --- In flexcoders@yahoogroups.com, cardinalflexjeremy [EMAIL PROTECTED] wrote: I have a question for the group in regards to flex charting. I need to develop a chart like a line chart. The hard part is i need to basically show the data

[flexcoders] dataToLocal on a bubble chart z-axis

2007-05-24 Thread simonjpalmer
I have a bubble chart with a data driven radius for the bubbles. I want to find out how big they are in pixels. I only have the data value for the radius. I know that the bubble series uses the radius as the z coordinate, but I can't see a way to ask the chart or series to translate between

[flexcoders] Re: dataToLocal on a bubble chart z-axis

2007-05-24 Thread simonjpalmer
. mappedValue; } Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, May 24, 2007 2:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] dataToLocal on a bubble chart z-axis I have a bubble chart with a data

[flexcoders] Charts and FlashPaper

2007-05-23 Thread simonjpalmer
Anyone tried using FlashPaper as a printing solution for their data driven Flex app, particularly using Flex charts? Is it possible to generate FlashPaper content either client or server side and have it rendered in the browser ready printing? Any good tips or sites which show the way? Thanks

[flexcoders] Using annotationElements for series item labels

2007-05-23 Thread simonjpalmer
Is it possible to use a chart's annotationElements to render labels for data points? I have a bubble chart with data in a single series and I want to add a textual label to each bubble without resorting to a legend and multiple series. The annotationElements looks promising but I can't quite

[flexcoders] multi-line text rows in a datagrid

2007-05-20 Thread simonjpalmer
Anyone tried to have more than one text line in a field in a row in a datagrid? I have a number of textual annotations provided by the user in multi-line TextArea controls at various points in my application and I want to show them all in a list. By default I just get the first line of text. I

[flexcoders] Printing from Flex

2007-05-18 Thread simonjpalmer
Anyone tried to do much printing from Flex? Any words of wisdom before I dive headlong into the docs and scour the message boards? Any good examples? How about Charts, anyone managed to print them successfully? And PDF generation? Anyone found a good way of doing that containing charts?

[flexcoders] Re: Charting Wildly Varying Numbers in Flex

2007-05-15 Thread simonjpalmer
How about using areas rather than lengths, so either a pie chart or a histogram? Also do you really need to show the total value as a bar? What if you just showed the dollar figure and a % of the total, so just the red bars and some text $486,007,475 out of $39,592,226,311 (1.25%). I would look

[flexcoders] Re: Absolutely forcing chart to redraw

2007-05-15 Thread simonjpalmer
grasping at straws, have you tried a bubble chart instead? I suspect the series are derived from the same root. or maybe you could subclass the plotseries and overload updateTransform or some other suitable method. just ideas I managed to get my similar problem basically working by writing a

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-14 Thread simonjpalmer
. As my graph of objects grows the performance slows down dramatically. very disappointed that I can't make this work. --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: Thanks for the response Jeff. I now return an object in the parent with just the id fields populated

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-14 Thread simonjpalmer
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, May 14, 2007 5:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Help! Object integrity across DataService.commit() one small update, if I get everything

[flexcoders] binding chart data to getters

2007-05-12 Thread simonjpalmer
I have a bubble chart with a custom renderer which is a pie chart. I bind the chart to data which is an array of complex objects which themselves contain references to other data objects in my application. The data displayed on the chart does not come from the bound object but from the object

[flexcoders] Re: HibernateAssembler fixes re: parent-child hierarchy

2007-05-10 Thread simonjpalmer
On May 9, 2007, at 10:55 AM, simonjpalmer wrote: an update was shipped as part of the LCDS beta program. I haven't had a chance to test it yet. --- In flexcoders@yahoogroups.com, headjoog jburns@ wrote: would like info on this one as well was there an update to the assembler

[flexcoders] Re: HibernateAssembler fixes re: parent-child hierarchy

2007-05-09 Thread simonjpalmer
an update was shipped as part of the LCDS beta program. I haven't had a chance to test it yet. --- In flexcoders@yahoogroups.com, headjoog [EMAIL PROTECTED] wrote: would like info on this one as well was there an update to the assembler available? jpb --- In

[flexcoders] Re: Absolutely forcing chart to redraw

2007-05-09 Thread simonjpalmer
somewhere that implemented a handler for a dataChange event. But it was an itemRenderer for a datagrid item, and the event was never dispatched when used in a chart. --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: I have been grappling with a similar issue. I put this down

[flexcoders] Re: many-to-many destinations help

2007-05-09 Thread simonjpalmer
Loop through the collection that contains the child objects (or make a reference to the parent object if you are going in the opposite direction). As you do that FDS will spot that it has a proxy object and request the real object through a getItem() call to your child destination. On the client

[flexcoders] Re: Absolutely forcing chart to redraw

2007-05-08 Thread simonjpalmer
I have been grappling with a similar issue. I put this down a week or so ago but I was next going to try and invalidate the stage and see what happened. Something along the lines of Stage.invalidate(). Worth a try. --- In flexcoders@yahoogroups.com, carl_steinhilber [EMAIL PROTECTED] wrote:

[flexcoders] Re: RIA: record insert best practices

2007-05-07 Thread simonjpalmer
What connection do you need between the unique identities in the persistent store and the unique identities on the client? Is it possible in your app to separate them? If it is, then read on. In principle there's no reason for not having different IDs. I understand Barry's points below, and by

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-07 Thread simonjpalmer
. Simon --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: Pete / Jeff. I think I need to start from the basics here. I have been poring through endless logs but I have some unanswered questions at the beginning which I think I need to sort out first. The basic

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-07 Thread simonjpalmer
about the child list on the parent if I return it? Simon --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: Answers inline: From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, May

[flexcoders] Re: How to map Java abstract classes to AS3 VO?

2007-05-06 Thread simonjpalmer
What I have done in similar circumstances is create concrete classes in AS which extend a common base and to connect those to my concrete classes in Java using the [RemoteClass(alias=x.y.z)]. I have then made use of interfaces in AS to give me a similar coding pattern in AS to Java. Keywords

[flexcoders] Re: bottom=0 bug

2007-05-06 Thread simonjpalmer
Can you send along some abridged fragments of your mx script that display this behaviour? It's a bit hard to say what's going on without being able to see some code. Simon --- In flexcoders@yahoogroups.com, Tadas Ziemys [EMAIL PROTECTED] wrote: Hello! i wanted to make ApplicationControlBar

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-05 Thread simonjpalmer
Pete / Jeff. I think I need to start from the basics here. I have been poring through endless logs but I have some unanswered questions at the beginning which I think I need to sort out first. The basic unanswered issue for me is that when I lazily load a child the parent reference is null.

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread simonjpalmer
I suspect you may get closer to what you are looking for if you make the height of each of your canvases in your vbox 33%, e.g. mx:Canvas width=100% height=33% backgroundColor= green/ mx:Canvas width=100% height=33% backgroundColor= green/ mx:Canvas width=100% height=34% backgroundColor= green/

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread simonjpalmer
It will never show a scroll bar while you have verticalScrollPolicy=off in the parent canvas... --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: Hi Jas, I expect the measuredHeight to be 612, which it is. The problem is that I also expect the VBox to respect the

[flexcoders] Re: filter array collection property.

2007-05-04 Thread simonjpalmer
You appear to have a parent child relationship (or at least a one-to-many) between daysAry and drawsQry. Are you rendering this parent-child in a tree? I can't quite figure out what you are showing where. --- In flexcoders@yahoogroups.com, Ian Skinner [EMAIL PROTECTED] wrote: I have a remote

[flexcoders] Re: filter array collection property.

2007-05-04 Thread simonjpalmer
OK, I get it. Do you always show all daysAry instances or are they themselves filtered? --- In flexcoders@yahoogroups.com, Ian Skinner [EMAIL PROTECTED] wrote: You appear to have a parent child relationship (or at least a one-to-many) between daysAry and drawsQry. Are you rendering this

[flexcoders] Re: LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-04 Thread simonjpalmer
I'd look at using a custom renderer for the y-axis labels. I'm not exactly sure how but I am willing to bet that you can do it. Is there a label function or something similar on the LinearAxis? Have you poked around on Ely's blog (quietlyscheming.com) In the extreme case you can always

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread simonjpalmer
is going through the serializer and deserializer, the message.* is what is seen by the message broker from a POJO sense of each message). Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, May 03

<    1   2   3   >