Glad that you got it working Jeff.
Cheers,
-TH
--- In flexcoders@yahoogroups.com, "securenetfreedom" <[EMAIL PROTECTED]>
wrote:
>
> Tim,
>
> Thanks for all your help.
>
> I've decided to do away with the editorDataField and simply added an
> update function on the 'change' event inside the co
Tim,
Thanks for all your help.
I've decided to do away with the editorDataField and simply added an
update function on the 'change' event inside the combobox itemEditor:
private function update(event:ListEvent):void {
data.CostCode = this.selectedItem.data;
}
Not sure if it's a good practice b
Or, editorDataField="selectedLabel". Ok, I'm done. :-)
-TH
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> You could also try editorDataField="selectedItem"; if your data is
> linear.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote:
> >
> > Yeah,
You could also try editorDataField="selectedItem"; if your data is
linear.
-TH
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Yeah, there's some good examples in the help docs. In your
> itemEditor, create a public variable. The name of this variable is
> what y
Apologies, both were additions/modifications to the code that you posted.
So, add
this.dispatchEvent(new Event("LoadTextFile.dataloaded"));
to the end of method "onCompleteTextLoad" in your LoadTextFile class,
and " extends EventDispatcher" to it's definition, to make :
"public class LoadTex
Yeah, there's some good examples in the help docs. In your
itemEditor, create a public variable. The name of this variable is
what you will put in the dataGridColumn editorDataField property. In
your itemEditor, cast the selected item data to the public variable,
on the comboBox change event
I tried using that earlier and got undesirable results:
If I use editorDataField="data" then the text field is populated with
[object Object]. If I use editorDataField="data.CostCode" then I get a
runtime error that data.CostCode does not exist.
Any ideas on how to use this properly?
Thanks,
J
Cool. Nothing wrong with using the itemEditEnd event. Works well if
you need to message the data or update conditionally. A simpler way
though, is to use the editorDataField propery.
-TH
--- In flexcoders@yahoogroups.com, "securenetfreedom" <[EMAIL PROTECTED]>
wrote:
>
> Thanks, Tim!
>
> W
and which file it should be in, etc
On Sat, May 3, 2008 at 1:51 PM, dnk <[EMAIL PROTECTED]> wrote:
> Ok, just trying to look through the code sample provided a little
> confused due to my old code still being in there.
>
>
>
>
> On Sat, May 3, 2008 at 12:55 PM, Jim Hayes <[EMAIL PROT
Ok, just trying to look through the code sample provided a little
confused due to my old code still being in there.
On Sat, May 3, 2008 at 12:55 PM, Jim Hayes <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> It's because the loading of the text file is asynchronous, and in your
> example
>
>
> v
Thanks, Tim!
Works well. It displays the combobox's label property in the Text
field. However, I need to update the datagrid's dataprovider with the
'data' property of the combobox.
Currently I'm capturing the grid's itemEditEnd event and grabbing
event.itemRenderer.data.CostCode value and upda
It's because the loading of the text file is asynchronous, and in your example
var myTxt2:LoadTextFile = new LoadTextFile("file2.txt");
// populate my model with the results
myprojectmodel.getInstance().mytext2 = myTxt2.data;
you access it's data variable immediately after instructing it to load
Ok, I am using a easymvc structure (tom bray version), and i have run
into an issue that is killing me!
I am simply loading in some vars from a text file, and to do so i
wrote a utility class (to make it reusable).
Now in my class, if I populate my model var, it works fine. But it
makes that clas
thanks guys,
One of the main things I do in my shared apps (same code/different db per
client) is to store the DSN names in session on the server side. I agree on
setting remoteobject credentials and making sure each call is authenticated,
i'll check into that. The only other option is to put it
I need to "reflect" video —the wet floor style of reflection--that is streaming
through rtmp,
but I see that the BitmapData.draw() command cannot be used with video
streaming through
rtmp. Progressive download of the video is not an option for me.
Does anyone have any suggestions for what els
Does anyone know whether there is a technic that provide to use weborb
and flash media encoder together? Thnx.
In a previous response, I mentioned that if the removed component has
been invalidated before removal, the LayoutManager will have a reference
and will call it. You can call validateNow() to revalidate before
removal, or find out why it is invalidated and prevent the invalidation.
By "still available," the symptom is that after being removed, a trace
statement in the removed component's updateDisplayList method still
appears. Plus there is other emergent behavior (duplicate objects,
etc) that suggests the old page and/or its contents aren't completely
gone.
I'm not sure what you mean by "still available". Generally, there will
be some way to avoid it.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of David Ham
Sent: Saturday, May 03, 2008 8:22 AM
To: flexcoders@yahoogroups.com
Subject: [flex
I changed my setup a bit, but I'm not sure it's helping. I now have a
ViewContainer which has a property 'page' which refers to the current
view. When I change the page, I do this:
* Call the current page's clear() method, which unregisters all of its
listeners, and calls similar clear() methods o
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> That's ok, dear, we love you anyway. (it's Dad, by the way)
>
> Tracy
>
Tee hee...I'd been wondering :-D
> Supply any data for childcomponents from a main component.
Thats a pretty good guiding principle for both component and
application development because it helps you to create loosely coupled
components. Even if Application.application.parameters.personID were
available to your component I would
Fastest way to that answer is try it, eh? Sounds like you'd be better
off creating two components though to seperate your concerns.
DK
On 5/3/08, hoytlee2000 <[EMAIL PROTECTED]> wrote:
> Hello,
>
> can I use two separate blocks?
>
> Such as:
>
>
>
>
> ...
> ...
> ...
>
>
>
> .
Hello,
can I use two separate blocks?
Such as:
...
...
...
...
...
...
...
...
...
I'd want to do this to organize my script code between two canvases in a view
stack
container. Are there any drawbacks to doing this?
thanks,
Hoyt
24 matches
Mail list logo