Re: [flexcoders] [Flex2] Children of a component don't refresh display

2006-01-12 Thread Flapflap
Hi everybody Sorry for the latency due to the lag... Ok so I'll try to put my data in a new bindable property of my component instead of the dataObject (or wait to the next release). For info, my textfield is not in a cellrender, is just in a canvas. -- Flexcoders Mailing List FAQ:

[flexcoders] HTTPService to a php script with multiple function

2006-01-12 Thread Flapflap
Hi there, I use httpservice for reeaching php script and communicate with mysql. All works fine but I have make one httpservice by function I need to call on my php script... Is there a more simple way so I can have one single httpservice component that can use many php function ? I try to

[flexcoders] Re: Null vs undefined vs

2006-01-12 Thread Libby
Setting var = undefined has no effect. They are part of a class object being sent thru the gateway so maybe that is why. Some objects in the parent object may be null while others may not be. I will try deleting the ones that need to be null and see what happens. --- In

[flexcoders] Re: ViewStack creationIndex

2006-01-12 Thread Brendan Meutzner
Superabe, Here's an example of what I was referring to. It looks like it works... Is this what you intended to accomplish? The more images you add within each container, the more apparent the load/wait to load becomes. ?xml version=1.0 encoding=utf-8? mx:Application width=100% height=100%

[flexcoders] AS3 Camera Class

2006-01-12 Thread João Fernandes
Hi there, Finally starting with Flex 2. I was trying out some stuff with the camera Class but I get this error: ReferenceError: Error #1069: Property getCamera not found on class Camera and there is no default value     at Camera/initApli()[C:\Documents and

[flexcoders] Re: AS3 Camera Class

2006-01-12 Thread Brendan Meutzner
João, getCamera is a static method on the Camera class... Try this: var mycam:Camera = Camera.getCamera(); Brendan --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Hi there, Finally starting with Flex 2. I was trying out some stuff with the camera Class but

RE: [flexcoders] Re: AS3 Camera Class

2006-01-12 Thread João Fernandes
Well, Thats what I first tried and got the same error. João Fernandes Secção de Desenvolvimento Departamento de Informática From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner Sent: quinta-feira, 12 de Janeiro de 2006 15:25 To:

[flexcoders] Re: AS3 Camera Class

2006-01-12 Thread Brendan Meutzner
So you're still getting the same error? --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Well, That's what I first tried and got the same error. João Fernandes Secção de Desenvolvimento Departamento de Informática

RE: [flexcoders] Re: AS3 Camera Class

2006-01-12 Thread João Fernandes
Yeap, The first try was the one you proposed then I tried the one I posted. The error is exactly the same. João Fernandes Secção de Desenvolvimento Departamento de Informática From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner

RE: [flexcoders] Re: AS3 Camera Class

2006-01-12 Thread Roger Gonzalez
It appears that you named your app "Camera.mxml". This will result in a class named "Camera". Either rename your app class so that it doesn't conflict with the built-in version, or fully qualify your reference to flash.media.Camera. -rg From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: ViewStack creationIndex

2006-01-12 Thread Gordon Smith
Where is the createComponent method defined ? It's a method of Container. In Flex 2 it is has been renamed to createComponentFromDescriptor(). - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of superabe superabe Sent: Wednesday, January 11,

[flexcoders] Re: Populating a text input from a pop up.

2006-01-12 Thread Jeremy Rottman
When I use the code below, I get this error. ReferenceError: Error #1069: Property fld_agentId not found on hs2f and there is no default value at custom.components.sv::Agent1Window/Agent1Window$564$private::a1Bind() at custom.components.sv::Agent1Window/__a1DG_click() Flex code:

Re: [flexcoders] Re: ViewStack creationIndex

2006-01-12 Thread superabe superabe
Thanks a bunch Brendan, Will try this out - superabe On 1/12/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Superabe,Here's an example of what I was referring to.It looks like itworks... Is this what you intended to accomplish?The more images you add within each container, the more apparent the

Re: [flexcoders] Re: ViewStack creationIndex

2006-01-12 Thread superabe superabe
Awesome. Thanks a bunch. WIll try this out. - superabe On 1/12/06, Gordon Smith [EMAIL PROTECTED] wrote: Where is the createComponent method defined ? It's a method of Container. In Flex 2 it is has been renamed to createComponentFromDescriptor(). - Gordon From:

Re: [flexcoders] [Flex2] Children of a component don't refresh display

2006-01-12 Thread Manish Jethani
On 1/12/06, Flapflap [EMAIL PROTECTED] wrote: Ok so I'll try to put my data in a new bindable property of my component instead of the dataObject (or wait to the next release). Override the 'dataObject' setter method and update the textfield there. -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Re: Populating a text input from a pop up.

2006-01-12 Thread Joan Tan
Is your f1d_agenID TextInput in an mxml component that is not actually an Application? This only works if you called your popup from the main application. If, however, you are calling the PopUp from an mxml component that is in another application, then I believe you should use

RE: [flexcoders] Named parameters in AS3?

2006-01-12 Thread Gordon Smith
Sorry... AS3 is not going to support named parameters. But you can put in a wish for AS4. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, January 11, 2006 4:21 PM To: flexcoders@yahoogroups.com Subject: Re:

Re: [flexcoders] Named parameters in AS3?

2006-01-12 Thread Derek Vadneau
Thanks for the confirmation. It's obviously not what I wanted to hear, but at least I know. AS4 you say? I'm assuming that'll be about another 2-3 years away considering AS2's lifespan. Although AS3 might last longer considering it's built from scratch. Where do I submit the wish? Through

[flexcoders] VBox scrollbar bug ?

2006-01-12 Thread superabe superabe
Hello list, This sounds like a really basic thing so I can't believe this is a bug, so probably am doing something wrong. I have a custom AS container(extends off VBox)in which I create a large number of child controls by overriding the createChildren method. The component is used in Main.mxml

[flexcoders] i18n support - Data Format

2006-01-12 Thread neda_eslami
Does anybody know how I can format various data such as date, currency, and number for a specific locale in Flex? If there is no support, does anybody have a suggestion? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

RE: [flexcoders] i18n support - Data Format

2006-01-12 Thread Gordon Smith
There is no locale support, but the various formatters offer enough flexibility that you should be able to add it. Formatters are also easy to write yourself -- just extend Formatter and override format(). For example, in a CurrencyFormatter you can control the formatting with the following

RE: [flexcoders] Named parameters in AS3?

2006-01-12 Thread Gordon Smith
http://www.macromedia.com/support/email/wishform/ - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Thursday, January 12, 2006 11:14 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Named parameters in AS3?

[flexcoders] Re: flex String java String

2006-01-12 Thread douglowder
If ZJ is a RemoteObject, you need to handle the returned data asynchronously. There's a similar example on livedocs at http://livedocs.macromedia.com/flex/15/asdocs_en/mx/servicetags/Remot eObject.html --- In flexcoders@yahoogroups.com, frizzly_hair [EMAIL PROTECTED] wrote: hi all this is

Re: [flexcoders] i18n support - Data Format

2006-01-12 Thread Paul Hastings
Gordon Smith wrote: There is no locale support, but the various formatters offer enough flexibility that you should be able to add it. Formatters are also easy but you have no locale resources backing any of this. in cf/java all you have to do is set the locale away you go. in flex you have

[flexcoders] Missing posts

2006-01-12 Thread yaagcur
Unless I'm blind, a couple of posts I made on the 11th haven't yet appeared on the archive, although there are some there posted a day later and they do appear on the yahoo groups site? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] VBox scrollbar bug ?

2006-01-12 Thread Paul BH
what happens if you call super.createChildren() at the beginning of the createChildren method? On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote: Hello list, This sounds like a really basic thing so I can't believe this is a bug, so probably am doing something wrong. I have a custom AS

[flexcoders] dragging from a grid within PopUp to parentApp?

2006-01-12 Thread Jaime Bermudez
Not sure if many people have dealt w/ non-Title Window pop ups. I'm working on a search pop-up for our app and a plain TitleWindow won't cut it since we need to have links on the header and be able to stretch out a screen from the right side of the window. So, I have a Canvas that contains a

[flexcoders] Re: dragging from a grid within PopUp to parentApp?

2006-01-12 Thread Jaime Bermudez
I should mention, this is in FLEX 1.5. I can't just upgrade to 2.0 b/c we're in production. On 1/12/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Not sure if many people have dealt w/ non-Title Window pop ups. I'm working on a search pop-up for our app and a plain TitleWindow won't cut it since

Re: [flexcoders] VBox scrollbar bug ?

2006-01-12 Thread superabe superabe
No luck, same behaviour. :( Works for Canvas, does not work for VBox - superabe On 1/12/06, Paul BH [EMAIL PROTECTED] wrote: what happens if you call super.createChildren() at the beginning of the createChildren method? On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote: Hello list,

Re: [flexcoders] VBox scrollbar bug ?

2006-01-12 Thread superabe superabe
Update on this, setting fixed widths and heights on the parent VBox resolved the issue. That will do fine for now :) - superabe On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote: No luck, same behaviour. :( Works for Canvas, does not work for VBox - superabe On 1/12/06, Paul BH [EMAIL

Re: [flexcoders] VBox scrollbar bug ?

2006-01-12 Thread Sreejith Unnikrishnan
Try setting minWidth="0" and minHeight="0" to the VBox Sree superabe superabe wrote: Update on this, setting fixed widths and heights on the parent VBox resolved the issue. That will do fine for now :) - superabe On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote:

RE: [flexcoders] Component DataBinding issue

2006-01-12 Thread Matt Chotin
I think the problem here is that rating is NaN when createchildren executes (because binding doesnt execute yet) and you run into an infinite loop. Rather than doing your work in createChildren maybe you should have a separate method that holds onto the child objects and call it from

RE: [flexcoders] dynamic number of datagrid columns

2006-01-12 Thread Matt Chotin
DataGrid has a function addColumnAt which take DataGridColumn objects. They are normal components that you can instantiate in AS, just look through the ASDoc and you should be fine. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t_msreddy Sent:

RE: [flexcoders] Flex 2.0 Remote database sorting

2006-01-12 Thread Matt Chotin
Yes, ListCollectionView is written to retrieve all data before it executes the sort because the Sort object expects to sort everything at once. You could write your own ICollectionView and just not actually call Sort.sort()and do your own thing (look at the SortFields within the sort when

RE: [flexcoders] Question about creating a rotating horizontal list on flex

2006-01-12 Thread Matt Chotin
Make sure that the object that you call dispatchEvent on is the same as the object where you did the addEventListener. So if 'this' in the addEventListener line is the panel, make sure you're calling dispatchEvent on the Panel. Matt -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] How to create Validator via ActionScript

2006-01-12 Thread Matt Chotin
Sorry, in 1.5 validators really aren't meant to be created in ActionScript. However in Flex 2 they're completely faceless and just begging for you to create them in AS. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky

RE: [flexcoders] How to reference fields in

2006-01-12 Thread Matt Chotin
Did you put the id of the child MXML component in the binding expression? So if you did childComponent id=foo/ And childComponent.mxml is the one with the textinput mx:TextInput id=headline/ Then in your main MXML you would bind to {foo.headLine.text} Matt -Original Message- From: