Re: [flexcoders] problem to position cursor in itemeditor by mouse, in editable mode of Grid.

2010-06-16 Thread DevSachin
I have found my mistake, i have overridden mouseDownHandler() because sometimes VScrollBar was not working proper due to focus . I am sorry, i have unnecessary incresed one post here. thanks for your appreciation. Mistake was: private function setFocusToGrid():void { focusManager.setFocus(this);

Re: [flexcoders] Question: How to Catch/Handle of Exiting of AIR Application

2010-06-16 Thread Alex Harui
Should be flash.events.Event.EXITING On 6/14/10 8:07 PM, Arik de Guzman arik...@yahoo.com wrote: Hi, i would like to ask how can i catch an ALT+F4 close on my application so i set some rules/methods before exiting. i have tried catching a keyboard.keydown event, it directly closes the

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-16 Thread bhaq1972
thanks --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: nc = null; --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: myPanel.owner is the same as myPanel.parent so that won't work. Making it a property would work. What would the disadvantages be with

[flexcoders] FocusManager chillHideHandler Error 1009 workaround ?

2010-06-16 Thread Stephane Guyot
Hi list, working with Flex 4, I'm looking for a workaround for a very annoying bug : http://bugs.adobe.com/jira/browse/SDK-26273 TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul. at

Re: [flexcoders] Error while doing the Linked list demo using flex

2010-06-16 Thread Oleg Sivokon
Hi, I think I know this implementation, and, I don't really like it, so I've made my own, you're welcome to try: http://code.google.com/p/e4xu/source/browse/trunk/src/org/wvxvws/data/DataList.as (+ dependencies) Or from templates, if you are using FD:

Re: [flexcoders] how to access action script variable data type in mxml

2010-06-16 Thread Oleg Sivokon
Look up the manual on describeType. Note that local variables type isn't possible to get at runtime.

[flexcoders] Re: Question: How to Catch/Handle of Exiting of AIR Application

2010-06-16 Thread Arik de Guzman
thank you alex for replying, i was able to handle the exiting event but i would like to prompt a confirmation exit when ctrl+f4 is pressed before the actual exit. like before closing the app it would likely have an alert of confirmation of exit. --- In flexcoders@yahoogroups.com, Alex Harui

[flexcoders] Android Hero denies XMLSocket or Socket connection? ....errors #2031, #2048

2010-06-16 Thread claudiu
Hi, I am trying to adapt an existing flash web chat application for the Android mobile phone and I am having this really annoying issue. The server is a custom based solution and can send back both binary messages or XML. So I can use either XMLSocket class or the Socket class to get data from

RE: [flexcoders] Android Hero denies XMLSocket or Socket connection? ....errors #2031, #2048

2010-06-16 Thread Gregor Kiddie
Isn't FP only for Android 2.2? And there are pre-release forums you'd be better posting this in! Gk.

Re: [flexcoders] Android Hero denies XMLSocket or Socket connection? ....errors #2031, #2048

2010-06-16 Thread claudiu ursica
I am not using the FP 10, I tried running code I AS2 instead of AS3 I was able to talk to the server from the Android emulator when compiled with air. Bu that runs only on Foryo (Android 2.2) I still have 2.1 on these phones and a version of flash lite. The thing is I cannot find anywhere

[flexcoders] Re: what's happen with my 'array' ?

2010-06-16 Thread valdhor
You'll need to strip unwanted characters... cards = new ArrayCollection(green.text.replace(/[\[\]']/g, ).split(,)); --- In flexcoders@yahoogroups.com, cholid cholid cholid_rid...@... wrote: but data i've is use '[]' when it split with ',' it doesn't work

[flexcoders] Re: flex3 upload function seems not calling the php script

2010-06-16 Thread valdhor
What alerts actually show? Does the try block produce an error? If so, what error? What happens if you include the try block inside the subeArchivo function rather than using getChildByName? What does Charles (http://www.charlesproxy.com) show? --- In flexcoders@yahoogroups.com, David

[flexcoders] DateChooser - multiple Dates without Ctrl-Key

2010-06-16 Thread flxde...@ymail.com
Hello @all! I am searching for an option to use the DateChooser multiple selection without holding the ctrl-Key. I tried to find the right place in the DateChooser-class but i can´t find it, maybe i´m searching at the wrong place. Any ideas where i should look? I tried to find some existing

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-16 Thread Netaman
I use viewStack.removeAllChildren(); also, what I do with the NavigatorContent, is everytime I create a new NavigatorContent container I load the resulting child UI component object into an arrayCollection then when I need to get to the object inside the NavigatorContent I use the

[flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
Hi, I too am getting the DisplayObject(form).stage.focus = null error. In my case, I'm using a PopUpAnchor to show and hide a form. Is there a definitive fix for this? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)

[flexcoders] Re: Jazzing Up Your Flex Applications

2010-06-16 Thread Netaman
Check out TourDeFlex, some stunning effects, also look into changing the layout for lists, etc to make stunning effects. If you havn't looked into LCDS for RTMP. Real Time Messaging is very cool, and allows the application to be updated from the server, instead of pulling data from the server

Re: [flexcoders] Re: flex3 upload function seems not calling the php script

2010-06-16 Thread David Pariente
I get all alerts but the one of the catch error. i dont get any warning or errors. at first the try/catcch was inside the subeArchivo function...but i moved it to the object itself for test and leave code more clear for me. same result. i didn't try charles (commercial, and don't think i could

Re: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Alex Harui
Unfortunately got deferred because we didn’t have a real-world, but simple test case. Do you have one? It seems to be caused by something not being on stage and having visibility flipped. I think one user was binding visible to something that was supposed to evaluate to true, but didn’t

Re: [flexcoders] FocusManager chillHideHandler Error 1009 workaround ?

2010-06-16 Thread Alex Harui
This indicates that the viewstack is not on stage. Is it being newly created or destroyed? On 6/16/10 1:02 AM, Stephane Guyot stephane.guyo...@wanadoo.fr wrote: Hi list, working with Flex 4, I'm looking for a workaround for a very annoying bug :

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
Alex, I've worked around this - here's what I was doing and what I discovered: I have a form that has a sub-forum that is popped up using PopUpAnchor. I then could add a new item to the sub form and edit it. Then I would send the main form and subform data to the server using Remoting. But in

[flexcoders] Tabbing within Spark ItemRenderer

2010-06-16 Thread Battershall, Jeff
Hi, Here's something that shouldn't be this hard: I have a spark list that has an itemrenderer with multiple items that I want to tab between. For the life of me, I haven't been able to get it work. I've tried tabEnabled, tabFocusEnabled, hasFocusableChildren, setting tabIndex on the

[flexcoders] Hey

2010-06-16 Thread Jeri Lamy
Hey how are you recently ? I would like to recommend you a very good company and the website is 「www. godool . com」 . It can offer you all kinds of electronic products ,such as laptops ,gps ,TV LCD ,cell phones ,ps3 ,MP3/4, and so on. You can take some time to have a look ,there must be something

Re: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Alex Harui
It’s definitely a bug. FocusManager should be forgiving. I assume it will get fixed for the next major release. Glad you got around it. FocusManager is expecting children it has seen added to its tree to be on stage when their visibility gets changed. On 6/16/10 10:22 AM, Battershall, Jeff

Re: [flexcoders] Tabbing within Spark ItemRenderer

2010-06-16 Thread Alex Harui
I think the game plan for editing in Spark List is to simply get the display object tree to make all of the focusable widgets visible to the FocusManager. However, I would expect trouble if you are using virtual renderers, and tabbing to renderers scrolled off-screen may not work either. The

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
Alex, Looks like I spoke too soon. When loading one customer and then switching to another, I'm seeing the error again. Getting to the point where I might look to a completely different method of showing and hiding this subform and forget about PopUpAnchor. But it isn't just PopAnchor, its

[flexcoders] Amfphp Error

2010-06-16 Thread Christophe
Hello, I have this error: AMFPHP runtime error Do you have such an error ? Thx, Christophe,

[flexcoders] Flex4 - using DropDownList as itemEditor in AdvancedDataGrid

2010-06-16 Thread Andrea Varga
Hi All, I am using DropDownList in the itemEditor of an AdvancedDataGrid. The problem: after an item is selected from the DropDownList and the mouse is released over the AdvancedDataGrid's row, that row gets selected and the cell edited (DropDownList appears). It does not appear in DataGrid.

[flexcoders] Re: how to access action script variable data type in mxml

2010-06-16 Thread Amy
--- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Look up the manual on describeType. Note that local variables type isn't possible to get at runtime. I've learned over time that if I say It's not possible to... someone else will come back with how to do it. So I

Re: [flexcoders] Re: how to access action script variable data type in mxml

2010-06-16 Thread Oleg Sivokon
Nope, sorry Amy, it's not possible to get the type of a local variable, you can only get the type of a value it references. Example: function foo():void { var bar:IBitmapDrawable = new BitmapData(); } you can only know what the type of the value is ( BitmapData ) the type of the bar variable

Re: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Alex Harui
Jeff, What does the call stack look like? On 6/16/10 1:57 PM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Alex, Looks like I spoke too soon. When loading one customer and then switching to another, I’m seeing the error again. Getting to the point where I might look to a

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
Alex, I'm so far along with the workaround, I don't know if I'm going to see it again - hopefully not. My workaround is to display the popup and simply show/hide it without using PopUpManager to remove it. Somehow the removal of the popup combined with FocusManager is producing the behavior.

RE: [flexcoders] Re: how to access action script variable data type in mxml

2010-06-16 Thread Gordon Smith
I think you're right that you can't find out at runtime that 'bar' was typed as IBitmapDrawable. But using IBitmapDrawable as a type annotation does ensure that it gets compiled in unless you deliberately exclude it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

Re: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Alex Harui
Sounds reasonable. Removal causes stage to be null and then the error can occur. Good luck. On 6/16/10 5:02 PM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Alex, I’m so far along with the workaround, I don’t know if I’m going to see it again – hopefully not. My workaround

[flexcoders] ConflictDetector... Why?

2010-06-16 Thread Scott
I've been arguing with the FB4 / CF9 conflict detector the past couple of days and it's become very apparent that I'm misunderstand something. I have a datagrid component that is populated from a CF9/MySQL datasource. I set the datagrid to editable and created the associated functions to

Re: [flexcoders] Re: how to access action script variable data type in mxml

2010-06-16 Thread Oleg Sivokon
Well, it's not exactly like that... the type of the local variable is checked at compile time. Later on local variables kind of don't exist, that is the bytecode doesn't have a concept of get local function variable strict because what's used is the address. I.e. take for example something as

[flexcoders] Label must be a simpler identifier

2010-06-16 Thread ilikeflex
Hi I have the following class.. package com.vzw.mpi.rss.bussvalidations { public class BussValidation { public var message:String; public var isError:Boolean; } } when i try to do something like this var object:BussValidation = new

RE: [flexcoders] ConflictDetector... Why?

2010-06-16 Thread Scott
Ok, I'm encountering yet another bug. 3 found in the past 4 days... I'm beginning to think the FB4 data management is pretty buggy and not a lot of time was spent cleaning it up... I'm still not sure I understand the data management functionality very well but I found this article that helped

Re: [flexcoders] Amfphp Error

2010-06-16 Thread K~SATHYAN~M
Hi, Use this http://localhost/amfphp/browser/ and check whether your class is error free or not.. otherwise replace it with amfphp 1.9 version from www.amfphp.org - - - - - - - - - With Regards, Sathya Moorthi K On Thu, Jun 17, 2010 at 3:18 AM, Christophe

[flexcoders] Configuring LCDS tomcat server in Eclipse IDE

2010-06-16 Thread Ganesh Suyampirakasam
Hi all I have installed LCDS with tomcat. Where i installed LCDS inside that itself Tomcat server also installed. I want to configure that Tomcat server in Eclipse IDE. while configuring,when i am setting path of the root directory of tomcat it is telling Installation Path is Not correct. but