Re: [flexcoders] Capturing an event in a separate component

2007-03-27 Thread Marlon Moyer
w Event("bubbler", true); dispatchEvent(event); } } -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Marlon Moyer *Sent:* Monday, March 26, 2007 9:26 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Captur

[flexcoders] Capturing an event in a separate component

2007-03-26 Thread Marlon Moyer
Given this scenario: Parent Componet Child1 Child2 (child of Child1) Child3 (child of Child3) and Child3 dispatches an event, how can I make the parent see that event without having to pass it up between each child? I've made the event bubble, but I can't seem to make the parent see

[flexcoders] Defer a databinding update

2007-02-27 Thread Marlon Moyer
I've got an xml document that I've finally figured out exactly how to databind every element. (I don't get the element is not an IEventDispatcher error ! :) ) The problem is now that when, for example, you're on tab 3 line 5 and you input a value, Flex needs to redraw everything on the screen and l

[flexcoders] Re: Initializing components in views

2007-01-27 Thread Marlon Moyer
Nevermind, I was editing the wrong component file :( creationcomplete on the base component in the view works fine. On 1/26/07, Marlon Moyer <[EMAIL PROTECTED]> wrote: I've got a component, a simple form, that I need to figure out how to clear out the contents between uses. The

[flexcoders] Initializing components in views

2007-01-26 Thread Marlon Moyer
I've got a component, a simple form, that I need to figure out how to clear out the contents between uses. The first time the view is activated, the fields are clear. The second time the view in activated, the old values are prefilled. What event do I need to tie into so that the form is cleare

Re: [flexcoders] Re: Is there a way to find an object if you know the name

2006-10-17 Thread Marlon Moyer
ct if you know the name  ..one more note.. You may want to also check out "Referencing repeated child components" in the help docs, which is specifically about components within a repeater. --Mike --- In flexcoders@yahoogroups.com , "Marlon Moyer" <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Is there a way to find an object if you know the name

2006-10-16 Thread Marlon Moyer
acess these instance vars.   To access components inside components, you simply use the dot operator.   - Gordon   From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer Sent: Sunday, October 15, 2006 7:03 PM To: [EMAIL PROTECTED]ups.com Subjec

[flexcoders] Is there a way to find an object if you know the name

2006-10-15 Thread Marlon Moyer
What's the equivalent of javascript's getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/fl

[flexcoders] Am I expecting too much from data binding?

2006-10-12 Thread Marlon Moyer
I've got an xml file that I read in as e4x format and create an interface from using repeaters. The interface looks like this: Accordion - Policy Accordion - Division TabNavigator - State Repeating Rows of classcodes Button to add a class code to the current state I've

[flexcoders] warnings on XML binding.

2006-10-09 Thread Marlon Moyer
I'm trying to figure out why I get a ton of warnings when using databinding to an XML variable. Here's the pertinent snippets of code below. private function payrollXMLHandler(event:ResultEvent):void { payrollXMLVar = event.result as XML; wcPayroll = new

Re: [flexcoders] Fwd: Pre selecting a combo box

2006-08-09 Thread Marlon Moyer
}}  ShanFrom: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer Sent: Tuesday, August 08, 2006 7:09 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Fwd: Pre selecting a combo box I've got a master detail form that works so far except for a combo box t

[flexcoders] Fwd: Pre selecting a combo box

2006-08-08 Thread Marlon Moyer
I've got a master detail form that works so far except for a combo box that's giving me fits.  The combo box is populated from an xml file that contains a company id and company name relabeled with the "label" and "data" headers.  The combo box populates correctly and I've verified that it retur