[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

[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
ly with a scroll event then it might "jump around" which may not be the desired effect. If you can post code I'd be happy to take a look, I've done a lot of tweaking layouts with lots of scrollbars lately! HTH Rachel On 2/1/07, nwebb <[EMAIL PROTECTED]> wrote: > >

[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 pro

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

2007-02-26 Thread nwebb
have solved my issue but is hardly clean enough to post here. Take a look at those methods I mentioned and see if you can't do something in them to ignore anything that is transitioning to a new state or in a new state. Good Luck, John Shuell --- In flexcoders@yahoogroups.com , nwebb &

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

2007-02-27 Thread nwebb
oning to a new state or in a new state. Good Luck, John Shuell --- In flexcoders@yahoogroups.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 curren

[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 and

[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 sec

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): AAA Peru Kenya Istanbul I was hopi

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] Suggestion needed for managing multiple properties

2007-11-13 Thread nwebb
Hi, I have an interface comprising of several tabs which are individually enabled/disabled depending on the state of the application. Currently tab-state depends on various properties. For example... * is there a selected entity * is searchMode enabled * is the selectedEntity in state 1, 2 or 3

[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 estab

Re: [flexcoders] Introducing FZip... ZIP it up!

2006-09-16 Thread nwebb
Fantastic! Thanks guys!NeilOn 9/15/06, Rogerio Gonzalez <[EMAIL PROTECTED]> wrote: Very very nice!!! Thank you guys! Rogerio On 9/15/06, Claus Wahlers <[EMAIL PROTECTED]> wrote: > Did you ever write an image gallery or a game in Flash? Did it bother > you t

[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 appea

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

2006-09-20 Thread nwebb
by us too I think 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 see

[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 t

[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 adde

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

2008-09-09 Thread nwebb
lation. Is it what you are doing 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]> wr

[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 wa

Re: [flexcoders] DTOs & methods?

2008-09-09 Thread nwebb
gt; need not map back to the serevr side of the world. > > here's to a attempt to link to livedocs > http://livedocs.adobe.com/flex/3/html/metadata_3.html#172007 > > DK > > > On Tue, Sep 9, 2008 at 5:45 AM, nwebb <[EMAIL PROTECTED]> wrote: > >> Hi,

Re: [flexcoders] DTOs & methods?

2008-09-09 Thread nwebb
t; *Optimal Payments Inc.* > > > -- > *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

[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 This is cool if you're just displaying a value in a text field. However, what if you don't neces

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

2008-06-25 Thread nwebb
manager class to make those decisions. > > ______ > > Joseph Balderson, Flash Platform Developer | http://joeflash.ca > > > nwebb wrote: > > Hi, > > > > I was looking at how you can trigger a function when an a

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

2008-06-25 Thread nwebb
On Tue, Jun 24, 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 > Beha

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

2008-06-26 Thread nwebb
> > What I'm 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 | ht

[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=1fecccba&sliceId=1 ) I've mainly been using it like this: At the time of setting it, *model.suppliers* is still a

[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

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

2008-07-03 Thread nwebb
bjectToSend.userId = userId; > objectToSend.filterObj = filterObj; > var token:AsyncToken = ro.returnOrders(objectToSend); > > > --- In flexcoders@yahoogroups.com , nwebb > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'd like to pass 2 arguments to a

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: > > endpoint="[URL

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

2008-07-04 Thread nwebb
2008 at 6:02 PM, Alex Harui <[EMAIL 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 *nwe

[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 confi

[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 service#

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread nwebb
.then( >>> Application.application.spinner, "end").go(); >>> >>> Like I said, it's rough don't bother telling me the myriad ways it can be >>> better, I know :) >>> >>> -Josh >>> >>>

[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] FlashVars & CF issue

2008-05-07 Thread nwebb
at 3:55 PM, Tom Chiverton <[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 wr

[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
then use this method > http://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

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

2008-05-13 Thread nwebb
dragImage. > > > -- > > *From:* flexcoders@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 dra

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

2008-05-13 Thread nwebb
ridDragProxy(); > image.owner = 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, 2

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

2009-03-18 Thread nwebb
the same 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 , nwebb > wrote: &

[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] What are the chances Flex could be causing this?

2009-03-19 Thread nwebb
microsoft.com/kb/282402 > > > > You could also try Firefox for comparison? > > > > Pete > > > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *nwebb > *Sent:* Wednesday, March 18, 2009 2:32 PM > *To:* flexcoders@y

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

2009-03-19 Thread nwebb
’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...@yahoog

[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 sta

[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 ge

[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 a

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

2009-08-12 Thread nwebb
nt ApplicationDomains. > > To fix this, make sure your module loading code passes > ApplicationDomain.currentDomain, so the modules all share the same > definition space. > > Hope that helps, > Ian > > > On Wed, Aug 12, 2009 at 9:49 AM, > nwebb> > wrote:

[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 _ToolsBase_mx_managers_SystemM

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

2008-11-14 Thread nwebb
Balderson, Flex & Flash Platform Developer | joeflash.ca > 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

[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 t

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-22 Thread nwebb
. > > 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 , n

[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

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-22 Thread nwebb
n (based on states) > work really well with this approach as well. > > > > On Thu, Jan 22, 2009 at 11:02 AM, nwebb wrote: > >> Thanks guys for all your responses so far. >> To clarify, it is a multi-step process (with a few possible branches). >> >> Tracy/Jim

Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-23 Thread nwebb
has kind of removed me from the > doldrums of implenting paterns 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

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 wrote: > 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; > if(value == null

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
velopment bandwidth 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 (r

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
ng to a minimum. If that doesn't work, try > 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 *nwe

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] very odd error

2009-01-28 Thread nwebb
my Java experience here--but I've run into this > in Flex previously under similar circumstances) > > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com > > -Original Message- > From: nwebb > > Reply-To: flexcoders@yahoogroups.com > T

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-28 Thread nwebb
> and add other 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@yahoogroup

[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] Flex & RAM memory use - (probably a question for the player engineers?)

2009-03-05 Thread nwebb
ogroups.com > *Subject:* Re: [flexcoders] Flex & RAM memory use - (probably 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