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

2009-06-09 Thread Paul Williams
When you set the highlighted property on your items, they are dispatching PropertyChangeEvents. The collection they are in will receive these PropertyChangeEvents and dispatch CollectionChangeEvents. The AdvancedDataGrid will receive these and perform a visual update, which appears to clear the

RE: [flexcoders] Project wont build

2007-09-25 Thread Paul Williams
Hi Greg, Confusing though it may be, java 5 and java 1.5 are the same thing. See the link below for more on this: http://java.sun.com/j2se/1.5.0/docs/relnotes/version-5.0.html The IManaged error is a compile-time error in generated ActionScript code which is why it shows up in a

RE: [flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread Paul Williams
Take a look at the ListCollectionView class - you can pass your 'master' ArrayCollection into its constructor (because ArrayCollection implements IList). You can then set filter options on your ListCollectionView without affecting the 'master'. So you'd probably want to create a ListCollectionView

RE: [flexcoders] Re: Mystery space

2007-02-14 Thread Paul Williams
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Paul Williams [EMAIL PROTECTED] wrote: Can you post the code for the loop that doesn't work and the one that does? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

RE: [flexcoders] Re: Mystery space

2007-02-13 Thread Paul Williams
Can you post the code for the loop that doesn't work and the one that does? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TJ Downes Sent: Wednesday, February 14, 2007 1:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] RESKINNING AN Alert

2007-02-11 Thread Paul Williams
Hi James, You can specify custom styles for the buttons, message and title of your Alert control in CSS or in AS3. The Alert control also inherits styles from 'Panel' allowing you to set backgroundAlpha, backgroundColor, borderStyle, etc. This is covered in the Alert control documentation:

RE: [flexcoders] Re: Command line to compile system (extracted from FlexBuilder?)

2007-02-11 Thread Paul Williams
-stacktraces=false -warnings=true See anything? Mike --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Paul Williams [EMAIL PROTECTED] wrote: Hi Mike, Perhaps this will help you get started: http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/ http

RE: [flexcoders] Command line to compile system (extracted from FlexBuilder?)

2007-02-10 Thread Paul Williams
Hi Mike, Perhaps this will help you get started: http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Book_Partsfile=apparch_116_14.html To automate with ant see below: http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks If you

RE: [flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread Paul Williams
I think you will need to perform a cast to access the properties of your AuthenticateEvent instance (this is why you got a compiler error). The cast is achieved as follows: var authenticateEvent : AuthenticateEvent = AuthenticateEvent( event ); So your command's execute function will look like

RE: [flexcoders] Re: Cairngorm / Hibernate Best Practices

2006-09-01 Thread Paul Williams
See below for a good discussion on this: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60; catid=583threadid=1169760enterthread=y#4195442 Jeff Vroom's responses (especially the second one) should help you get started. The SpringFactory is available to download at the Adobe

RE: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread Paul Williams
Hi Hank, Alex Uhlmann has posted some simple demos to his blog: http://weblogs.macromedia.com/auhlmann Paul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Sunday, August 06, 2006 10:02 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Binding from Actionscript

2006-07-21 Thread Paul Williams
Hi Alberto, From what I can tell, it seems you use bindSetter to bind to an ordinary function. If you want to bind to a 'set' function you actually need to use bindProperty (because 'set' functions are treated as properties). See the demo app I have pasted below that shows both approaches. Paul

RE: [flexcoders] RE: Adding columns dynamically in a datagrid

2006-07-19 Thread Paul Williams
Title: RE: Adding columns dynamically in a datagrid Hi Sathish, You need to build your new columns array locally in the function and then assign this array to dataGrid.columns. This is because the columns property returns a copy of the DataGrids columns array. Eg: var

RE: [flexcoders] how do you dispatch event from a custom class?

2006-06-24 Thread Paul Williams
of the document that I'm in. I'm not even sure that it gets populated outside of the class itself. What i'd really like is to have this event entered automatically into the event stream with out having to have an event repeater. --- Paul Williams [EMAIL PROTECTED

RE: [flexcoders] how do you dispatch event from a custom class?

2006-06-23 Thread Paul Williams
Hi Jon, Sprite extends EventDispatcher, so you don't need to instantiate another EventDispatcher in your class. Instead, try the following: this.dispatchEvent(new Event(AuthenticationFailed,true,false)); If you still have problems can you let us know what object you are creating your event

RE: [flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-06-10 Thread Paul Williams
, then you could still use the same approach, but instead have the view listen for updates to the masterArray in the ModelLocator.  You could do this either by using the changWatcher utility or Paul Williams' Observe tag: http://weblogs.macromedia.com/paulw/ When your view hears a change

RE: [flexcoders] Cairngorm best practice with Tree data [f2b3]

2006-05-24 Thread Paul Williams
Hi Rick, Graham, >From an MVC point of view, you should really be updating your model, and the tree should detect those updates and display them (via binding). However, there are two known bugs in beta 3 that may cause you problems: 1) The tree does not respond correctly to update events from

RE: [flexcoders] Wanted - A simple WSDL example

2006-05-16 Thread Paul Williams
Hi Judah, Try the following tutorial in the Flex Builder help: Adobe Flex 2.0 Help Getting Started with Flex 2.0 Tutorials Data: Use Web Services Paul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of judah Sent: Tuesday, May 16,

RE: [flexcoders] A new Kid

2006-05-13 Thread Paul Williams
The tutorials in Getting started with Flex are suitable for absolute beginners. You can find these in the Flex Builder help or online at: http://labs.adobe.com/wiki/index.php/Flex:Release_Notes#Beta_3_documentation Paul From: flexcoders@yahoogroups.com

RE: [flexcoders] Flex2B3 - Drag And Drop - Drop Into Tree (different from B2)

2006-05-11 Thread Paul Williams
Hi Jason, I've raised a bug regarding the location of the default drop feedback bar in the Tree control. Thanks, Paul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Hawryluk Sent: Thursday, May 11, 2006 12:22 PM To:

RE: [flexcoders] Current Node in tree when drop

2006-05-10 Thread Paul Williams
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franca Daniel Sent: Tuesday, May 09, 2006 10:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Current Node in tree when drop --- Paul Williams [EMAIL PROTECTED] escreveu: Hey Paul, Thank you once more ! is Beta 3

RE: [flexcoders] Current Node in tree when drop

2006-05-09 Thread Paul Williams
Hi Franca, I was hoping to try this out myself before replying, but I haven't as yet. Anyway for beta 3, there is a method on the tree object called calculateDropIndex() which (according to the docs) you should be able to call from your dragOver and dragDrop handlers to work out the drop

RE: [flexcoders] Re: Drag Drop conundrum... BUG?

2006-04-24 Thread Paul Williams
... Martin --- In flexcoders@yahoogroups.com, Paul Williams paulw@ wrote: Just a guess, but one possibility is that your list's default drop behaviour is switched on, i.e. on the list control, dropEnabled=true. This could cause the item to be added twice, once by your event handler

RE: [flexcoders] Re: Drag Drop conundrum... BUG?

2006-04-23 Thread Paul Williams
to it's dataProvider. Any Ideas? Thanks... Martin --- In flexcoders@yahoogroups.com, Paul Williams [EMAIL PROTECTED] wrote: Just a guess, but one possibility is that your list's default drop behaviour is switched on, i.e. on the list control, dropEnabled=true. This could cause the item

RE: [flexcoders] Drag Drop conundrum...

2006-04-22 Thread Paul Williams
Just a guess, but one possibility is that your list's default drop behaviour is switched on, i.e. on the list control, dropEnabled=true. This could cause the item to be added twice, once by your event handler and once by the default drop behaviour. Paul -Original Message- From: