[flexcoders] Strange type-coercion error message! Ideas?

2009-08-12 Thread nwebb
*TypeError: Error #1034: Type Coercion failed: cannot convert Tools.dal.dataObjects::datainvestmentallocat...@2d28301 to Tools.dal.dataObjects.dataInvestmentAllocation.* This one has me a little stumped! The client's project is modular, and has a 'global' array of data objects. They access them

Re: [flexcoders] Strange type-coercion error message! Ideas?

2009-08-12 Thread nwebb
Ian, you are an absolute star! Thank you so much. I get the feeling I could have been going round in circles over this one. For anyone searching these threads, just to clarify, the solution was to add the second line of code as shown below: _mainModuleLoader = new NoviaModuleLoader();

[flexcoders] SDK 3.3 - Design View not working where it used to

2009-03-25 Thread nwebb
Hi, I've just set the SDK for an existing project to 3.3 (the project was created using 3.0). The app is modular and the views/modules extend *XModule*, which itself extends *mx.modules.Module*. When I was using the 3.0 SDK I could use Design View, but now when I try to switch to Design View I

[flexcoders] StackTraces Log

2009-03-21 Thread nwebb
Hi, just had an issue where an application would run on any machine with the debug player installed, but would completely fail to load on any machine with the non-debug player. The issue us that there is a Logger singleton class which would find out the name of the calling class by throwing a

Re: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread nwebb
? Pete *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nwebb *Sent:* Wednesday, March 18, 2009 2:32 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] What are the chances Flex could be causing this? Hi, we've got a webservice with about

Re: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread nwebb
) wouldn’t even be run. The server would just eat the requests and send back a 500 level HTTP response. Check your servers’ error logs, and see if anything appears in there. Jonathon *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nwebb *Sent

Re: [flexcoders] Re: 1044 Compile time error - help?

2009-03-18 Thread nwebb
problems. Which version of the flex sdk are you using and how did you clear any cached swcs from the flex builder build directory? Thanks in advance for any thoughts or helpful hints. s.park --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, nwebb neilw...@... wrote: Thanks

[flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread nwebb
Hi, we've got a webservice with about 10 methods. When the application starts up it calls about 6 of them in quick succession (I'm currently chaining those calls). If I upload the SWF to our dev environment, create a tab-group in IE (10 tabs in total), with each tab loading the swf, I can load 10

Re: [flexcoders] Flex RAM memory use - (probably a question for the player engineers?)

2009-03-05 Thread nwebb
a question for the player engineers?) For the first problem I don't have clue but for second problem I can say that it's due to weird behaviour of Flash Garbage Collector. On Thu, Feb 26, 2009 at 2:48 PM, nwebb neilw...@gmail.com wrote: Hi, we're having 2 issues with memory in Flex: 1

[flexcoders] Flex RAM memory use - (probably a question for the player engineers?)

2009-02-26 Thread nwebb
Hi, we're having 2 issues with memory in Flex: 1) Part way through our Flex application we open an external HTML page (3rd party page). The user selects items from this page and then closes the page the control is then returned to the Flex application. This 3rd party page is heavy in terms of

Re: [flexcoders] very odd error

2009-01-28 Thread nwebb
Truviso, Inc. http://www.truviso.com -Original Message- From: nwebb neilw...@gmail.com neilwebb%40gmail.com Reply-To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com To: flexcoders flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] very odd error Date

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-28 Thread nwebb
data like when it changed last so you can determine whether to color it or not. *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nwebb *Sent:* Friday, January 23, 2009 12:54 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] itemRenderer

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-23 Thread nwebb
to more thinking about the application as a whole. of course generation is not a answer to all (i refuse to generate actual implementation for long and arguable reasons). On Thu, Jan 22, 2009 at 2:18 PM, nwebb neilw...@gmail.com wrote: Thanks v much Johannes - Command was the only pattern

Re: [flexcoders] Re: itemRenderer data question (recycling)

2009-01-23 Thread nwebb
Yes, doing that already - thanks :) On Thu, Jan 22, 2009 at 4:45 PM, ross_w_henderson pub...@rwebdev.comwrote: Hi. Are you updating super.data in your set data function? If you aren't, give this a try: public override function set data(value:Object):void { super.data = value;

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nwebb *Sent:* Thursday, January 22, 2009 7:14 AM *To:* flexcoders *Subject:* [flexcoders] itemRenderer data question (recycling) Hi, I have 2 List components

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
using a DataGrid with 1 column and headers turned off. It is possible that List has a different recycling algorithm than DG *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nwebb *Sent:* Thursday, January 22, 2009 4:14 AM *To:* flexcoders *Subject

Re: [flexcoders] Re: itemRenderer data question (recycling)

2009-01-23 Thread nwebb
Nice idea - thanks :) Could you use a static Dictionary on the itemRenderer class, with the key being the UID? That way you can get the old% value regardless of whether you're in the same renderer instance?

[flexcoders] very odd error

2009-01-23 Thread nwebb
Erm TypeError: Error #1034: Type Coercion failed: cannot convert Tools.dal.dataObjects::dataoutsourcedmod...@9f82091 to Tools.dal.dataObjects.dataOutsourcedModels Done all the basic checks (classname, package, constructor). There are no two objects of the same name . Anyone else seen Flex do

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-22 Thread nwebb
you. In short, use Wizard-style navigation for infrequent/complex/inherently multi-step tasks. For the rest of (usually, most of) your tasks, use a more fluid navigational mechanism, such as Hub-and-Spoke. --Jim --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, nwebb neilw

[flexcoders] itemRenderer data question (recycling)

2009-01-22 Thread nwebb
Hi, I have 2 List components on a page. The one on the left displays the names of some bundles - e.g. *Bundle 1* The one on the right displays the items in the selected bundle, plus a percentage value - e.g. *item1 - 10%* *item2 - 55%* *item3 - 61%* The items are the same for all

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-22 Thread nwebb
) work really well with this approach as well. On Thu, Jan 22, 2009 at 11:02 AM, nwebb neilw...@gmail.com wrote: Thanks guys for all your responses so far. To clarify, it is a multi-step process (with a few possible branches). Tracy/Jim, for the most part I agree. Ideal if I was given

[flexcoders] Navigational Design Patterns?

2009-01-21 Thread nwebb
Hi, We have a modular Flex project. Each screen has back and next buttons. There are various routes through the application and I'm about to re-write the logic which determines where the buttons take the user when they are pressed (what is already in place is overly complex). I'm guessing that

Re: [flexcoders] 1044 Compile time error - help?

2008-11-14 Thread nwebb
Author, Professional Flex 3 | http://tinyurl.com/5qbqlk nwebb wrote: Hello, My first day working for a client on an existing project. Checked project out of SVN, but will not compile. I get a series of 1044 errors like this one: *1044: Interface method addChlidBridge in namespace

[flexcoders] 1044 Compile time error - help?

2008-11-12 Thread nwebb
Hello, My first day working for a client on an existing project. Checked project out of SVN, but will not compile. I get a series of 1044 errors like this one: *1044: Interface method addChlidBridge in namespace mx.managers:ISystemManager is not implemented by class

Re: [flexcoders] Eh. How does this still work?!

2008-09-09 Thread nwebb
now? For the localhost question, if the uri of the endpoint doen not contain the server address, then flex uses the one from which it is being loaded. Bye. On Sun, Sep 7, 2008 at 10:30 PM, nwebb [EMAIL PROTECTED] wrote: Hi, I skipped a step when setting up a flex-remoting (amfphp

[flexcoders] DTOs methods?

2008-09-09 Thread nwebb
Hi, I have a Data Transfer Object which I use to encapsulate values from a search-filter in my application - i.e. the user can filter search-results by project, employee, month, year etc. I am using remoting and passing this as a typed object to ColdFusion. *The short version of my question*: I

Re: [flexcoders] DTOs methods?

2008-09-09 Thread nwebb
.* -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *nwebb *Sent:* Tuesday, September 09, 2008 5:46 AM *To:* flexcoders *Subject:* [flexcoders] DTOs methods? Hi, I have a Data Transfer Object which I use to encapsulate values from a search-filter in my

[flexcoders] FB PHPEclipse - suggestions?

2008-09-07 Thread nwebb
Hi, I'm setting up a local development environment to play around with a Flash-Remoting project. I'm using Flex PHP, therefore I'm using the FlexBuilder plugin and the PHPEclipse plugin, both within a single Eclipse installation. My Eclipse workspace is set to be: C:\xampp\htdocs My php file

[flexcoders] Re: FB PHPEclipse - suggestions?

2008-09-07 Thread nwebb
To answer my own question - I solved it by using linked folders which allows me to create an Eclipse project which actually points to amfphp/services. On Sun, Sep 7, 2008 at 4:18 PM, nwebb [EMAIL PROTECTED] wrote: Hi, I'm setting up a local development environment to play around with a Flash

[flexcoders] Eh. How does this still work?!

2008-09-07 Thread nwebb
Hi, I skipped a step when setting up a flex-remoting (amfphp) project, but it still works. I didn't set up the Flex project to use PHP when I created it, and so didn't define the webroot or the root url at all. I added in the services-config file (see code at the bottom of this email) and I

[flexcoders] Design Patters For Loading Data?

2008-08-12 Thread nwebb
Hi, hoping for some help on this... * Problem*: I am making multiple asynchronous calls to the server and I want to ensure I have the data back from *all* the calls before calling method x. I don't want to daisy-chain the calls (i.e.having to wait until service#1 reurns data before calling

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread nwebb
, at 12:37, nwebb wrote: Hi, hoping for some help on this... * Problem*: I am making multiple asynchronous calls to the server and I want to ensure I have the data back from *all* the calls before calling method x. I don't want to daisy-chain the calls (i.e.having to wait until service#1

[flexcoders] Loading Stuff In Order - Advice?

2008-08-07 Thread nwebb
Hi, I have a small application. A single view is declared in the main *mxml *file. This view loads some [remote] data upon initialisation. I rejigged the application so that it loads in a config file first (this config file contains the url from which I should load the data). Initially the

Re: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-04 Thread nwebb
Thanks to all who replied - good to know that it is actually possible. Sid, thanks for this example, should help us to resolve the issue :) On Fri, Jul 4, 2008 at 3:30 AM, Sid Maskit [EMAIL PROTECTED] wrote: This definitely works. Just did it using CFC's. In MXML: mx:RemoteObject

Re: [flexcoders] Extending the PromptArrayCollection Class (brain freeze)

2008-07-04 Thread nwebb
PROTECTED] wrote: It is probably easiest just to reset the CB's dp when the data is available. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *nwebb *Sent:* Thursday, July 03, 2008 1:45 AM *To:* flexcoders@yahoogroups.com

[flexcoders] Extending the PromptArrayCollection Class (brain freeze)

2008-07-03 Thread nwebb
Hi, The Adobe technote provides a class for getting around the problem of having a re-selectable prompt for a combo box: ( http://kb.adobe.com/selfservice/viewContent.do?externalId=1fecccbasliceId=1 ) I've mainly been using it like this: mx:ComboBox id=supplierComp dataProvider={ new

[flexcoders] Anyone familiar with CF-Flex remoting?

2008-07-03 Thread nwebb
Hi, I'd like to pass 2 arguments to a remote method called returnOrders. Something like: //Flex var token:AsyncToken = ro.returnOrders(userId, filterObj); The first argument is a String called id and the second is an Object (see below for full code). The CF guy I'm working with says that if I

Re: [flexcoders] triggering a function (when an argument is a bindable value)?

2008-06-26 Thread nwebb
looking for is the best way to trigger a method whenever a bindable value changes. Just make the destination property a setter method. __ Joseph Balderson, Flash Platform Developer | http://joeflash.ca nwebb wrote: Hi Joseph, thanks

Re: [flexcoders] triggering a function (when an argument is a bindable value)?

2008-06-25 Thread nwebb
| http://joeflash.ca nwebb wrote: Hi, I was looking at how you can trigger a function when an argument is a bindable value e.g. //userLevel is a bindable value formatMessage is a function will be called when userLevel changes mx:Label text={formatMessage(userLevel

Re: [flexcoders] triggering a function (when an argument is a bindable value)?

2008-06-25 Thread nwebb
, 2008 at 6:02 PM, Tracy Spratt [EMAIL PROTECTED] wrote: ChangeWatcher. Is there some reason you do not want to use this? Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *nwebb *Sent:* Tuesday, June 24, 2008 10:55 AM

[flexcoders] triggering a function (when an argument is a bindable value)?

2008-06-24 Thread nwebb
Hi, I was looking at how you can trigger a function when an argument is a bindable value e.g. //userLevel is a bindable value formatMessage is a function will be called when userLevel changes mx:Label text={formatMessage(userLevel)} / This is cool if you're just displaying a value in a

Re: [flexcoders] Drag and Drop (modify default dragProxy)

2008-05-13 Thread nwebb
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *nwebb *Sent:* Monday, May 12, 2008 7:04 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Drag and Drop (modify default dragProxy) Hi Douglas, thanks for the reply - yeah that's pretty much what I have at the moment (I

Re: [flexcoders] Drag and Drop (modify default dragProxy)

2008-05-13 Thread nwebb
= this; return image; } You could subclass the DataGridDragProxy and then add your labels or whatever else you wanted, and return a new instance of that class in get dragImage On Mon, May 12, 2008 at 9:04 AM, nwebb [EMAIL PROTECTED] wrote: Hi Douglas, thanks for the reply - yeah

[flexcoders] Drag and Drop (modify default dragProxy)

2008-05-12 Thread nwebb
Hi, I'm drag/dropping items within a DataGrid. I would like to modify the default dragProxy label that is shown when you drag an item. (i.e. my DataGrid may have 4 columns, but I only want to show text from the last two columns). Does anyone know how to access it?

Re: [flexcoders] Drag and Drop (modify default dragProxy)

2008-05-12 Thread nwebb
://livedocs.adobe.com/flex/3/html/dragdrop_7.html#226768 DK On Mon, May 12, 2008 at 8:40 AM, nwebb [EMAIL PROTECTED] wrote: Hi, I'm drag/dropping items within a DataGrid. I would like to modify the default dragProxy label that is shown when you drag an item. (i.e. my DataGrid may have 4

Re: [flexcoders] FlashVars CF issue

2008-05-07 Thread nwebb
[EMAIL PROTECTED] wrote: On Tuesday 06 May 2008, nwebb wrote: My initial thought was to open up the Debug Dialogue/Run Dialogue and swap the url/path to point to the original html. The problem is that the original html wrapper is actually generated from a ColdFusion file, and pointing

[flexcoders] FlashVars CF issue

2008-05-06 Thread nwebb
Hi, I've set up my project so that when I hit Run or Debug my swf gets published to a location on a development machine (rather than to the local bin folder(s)) While the swf gets published to the correct location, my problem is that, by default, Flex generates an HTML wrapper to go with it.

Re: [flexcoders] expected behaviour? (e4x)

2007-10-24 Thread nwebb
Hi Tom, I don't want a list of countries, I want the entire node if it contains a particular country value (the node may contain multiple county values) Eg of XML (if the user searches for any of the three countries this node should be returned): node labelAAA/label countryPeru/country

Re: [flexcoders] expected behaviour? (e4x)

2007-10-24 Thread nwebb
Hi Tom, I can return it - that's what I was doing (despite benefiting from a quick refactor*) However, this is a little off-topic, as getting the data and having a fix for the problem were already taken care of before I posted. why not refactor so you can work with the document Really all I was

[flexcoders] expected behaviour? (e4x)

2007-10-23 Thread nwebb
Hi, Could someone run this code and let me know whether it is expected behaviour? The snippet of code (below) is looking for xml nodes which match a certain criteria - it then pops them in an XMLListCollection. I have no problem finding the nodes and populating the collection. However, on the

[flexcoders] Debugging bindings

2007-04-10 Thread nwebb
Hi, I'm modifying a Flex2 project and would like to find everything that binds to a particular property in the Model. A simple search through the project isn't that helpful, as the property is called 'entity' - a word used in just about every class in the Project. I wondered if people have

[flexcoders] Tree / dataDescriptor / debugger

2007-04-02 Thread nwebb
Hi, has anyone had trouble viewing properties of the Tree components data descriptor, when debugging? I just noticed this issue when looking at a script. The descriptor is listed in the Variables view, but does not expand to show any properties. I was able to recreate the issue easily enough

Re: [flexcoders] Re: Problem with List Item Renderer (and states)

2007-02-27 Thread nwebb
@yahoogroups.com flexcoders%40yahoogroups.com, nwebb [EMAIL PROTECTED] wrote: Hi, I have a custom item renderer with two states (expanded and collapsed) My items are displayed in a List component, and the data is currently coming from an ArrayCollection. You can see the page here (click

Re: [flexcoders] Re: Problem with List Item Renderer (and states)

2007-02-26 Thread nwebb
, nwebb [EMAIL PROTECTED] wrote: Hi, I have a custom item renderer with two states (expanded and collapsed) My items are displayed in a List component, and the data is currently coming from an ArrayCollection. You can see the page here (click on Gig Calender): http://www.bathbands.co.uk/test2007

[flexcoders] Problem with List Item Renderer (and states)

2007-02-25 Thread nwebb
Hi, I have a custom item renderer with two states (expanded and collapsed) My items are displayed in a List component, and the data is currently coming from an ArrayCollection. You can see the page here (click on Gig Calender): http://www.bathbands.co.uk/test2007/ Here is an example of the

[flexcoders] Panel and Scrollbars (basic question)

2007-02-01 Thread nwebb
Hi, I'm sure this is excruciatingly simple but i couldn't find an answer (I must be searching with the wrong keywords). I have a Panel. Inside it is a Text component, and a Repeater underneath that (...repeating a CheckBox) . All works fine. I want to set the maxHeight of the Panel to 200px,

Re: [flexcoders] Panel and Scrollbars (basic question)

2007-02-01 Thread nwebb
layouts with lots of scrollbars lately! HTH Rachel On 2/1/07, nwebb [EMAIL PROTECTED] wrote: Hi, I'm sure this is excruciatingly simple but i couldn't find an answer (I must be searching with the wrong keywords). I have a Panel. Inside it is a Text component, and a Repeater underneath

Re: [flexcoders] Data Binding Question - will both work?

2006-09-20 Thread nwebb
J Matt From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nwebb Sent: Tuesday, September 19, 2006 8:59 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Data Binding Question - will both work? Hi, I've just seen part of a Flex training

[flexcoders] Data Binding Question - will both work?

2006-09-19 Thread nwebb
Hi, I've just seen part of a Flex training video that I think is incorrect or outdated (beta 3 was being used at the time)I just want to double-check that this really is the case.The video says that the code below would *not* take full advantage of data binding (ie the data will initially

[flexcoders] Flex2 (XML vs Model) ?

2006-07-03 Thread nwebb
Hi, I'm loading XML in to Flex2 at compile-time and would like to bind label properties of certain modes to a Tree list display.The docs say that you cannot (currently) bind to properties of an XML instance (the XML class is not of type IEventDispatcher) so I thought I would try loading the XML