[flexcoders] Push verse Poll in Flash Player

2010-08-16 Thread Alexander Farber
An idea: you could open a socket connection (because of corporate proxies best would be the port 80) and try to read an integer: private function handleTcpData(event:Event):void { while(_socket.bytesAvailable) { try{ var i:int = _socket.readInt(); fetchHttpData(i); }catch(e:Error){

[flexcoders] Re: Access to JVM command line args when extending AbstractAssembler (LCDS)

2010-08-16 Thread djbrown_rotonews
anyone? --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_roton...@... wrote: How can I access the JVM command line args in my class that extends AbstractAssembler? I need to customize the behavior of my custom assembler based on some settings based in as optional JVM arguments

[flexcoders] AdvancedDataGrid: last row disappears on click

2010-08-16 Thread charliecrystle
I'm about a 9-month Flex programmer; this issue is hampering progress and I've tested it a bunch: I have an ADG, with a 1-item ArrayCollection. Both the ADG and AC are instantiated in actionscript. The ADG displays the single row with its data--that's correct. When ADG.editable is set to false,

[flexcoders] Flex validator in action script

2010-08-16 Thread Adnan
Hello, How can I represent the following validator in action script; mx:Validator required=true source={myText} / s:TextInput id=myText / I am starting with this; var textInput:TextInput = new TextInput(); textInput.id = myText; var val:Validator = new Validator();

Re: [flexcoders] Push verse Poll in Flash Player

2010-08-16 Thread dorkie dork from dorktown
good idea :) that'll work On Mon, Aug 16, 2010 at 2:42 AM, Alexander Farber alexander.far...@gmail.com wrote: An idea: you could open a socket connection (because of corporate proxies best would be the port 80) and try to read an integer: private function handleTcpData(event:Event):void

Re: [flexcoders] Flex validator in action script

2010-08-16 Thread Geoffrey Moussiere
Hey, I'm not sure but you should definately have an eye on BindigUtils. Adnan a écrit : Hello, How can I represent the following validator in action script; mx:Validator required=true source={myText} / s:TextInput id=myText / I am starting with this; var textInput:TextInput = new

[flexcoders] Method for a Datagrid Button Itemrenderer

2010-08-16 Thread Angelo Anolin
Hi Flexcoders, I have a datagrid and an button itemrenderer named btnRenderer.as I have set this button as an itemRenderer in one of my datagrid columns. mx:DataGridColumn id=dgColCancel width=100 itemRenderer=btnRenderer / I need to respond to an click event on button, passing some of the

Re: [flexcoders] ALEX: AdvancedDataGrid: last row disappears on click

2010-08-16 Thread Alex Harui
Do you have any logic that deletes items from the AC? I’d be checking to see if that code is somehow running. On 8/15/10 9:31 AM, charliecrystle charlie.crys...@gmail.com wrote: I'm about a 9-month Flex programmer; this issue is hampering progress and I've tested it a bunch: I have an

[flexcoders] Re: ALEX: AdvancedDataGrid: last row disappears on click

2010-08-16 Thread charliecrystle
no--not yet. should I post code? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Do you have any logic that deletes items from the AC? I'd be checking to see if that code is somehow running. On 8/15/10 9:31 AM, charliecrystle charlie.crys...@... wrote: I'm

[flexcoders] Ahhh, Problems with Modules and Skins...

2010-08-16 Thread Wally Kolcz
So after a ton on ranting on these boards and even more experimenting, I realize that the problems I have with creating and loading modules in Flex 4 all has to do with the Skins I create and use in modules. So, my $100,000,000 is how to I create skins that are only for modules OR how can I

Re: [flexcoders] Ahhh, Problems with Modules and Skins...

2010-08-16 Thread Wally Kolcz
So, what works is CSS and a ClassReference. Now I am trying to figure out how to set up the CSS to allow me to assign them to the same elements individually. On 8/16/2010 8:17 PM, Wally Kolcz wrote: So after a ton on ranting on these boards and even more experimenting, I realize that the

Re: [flexcoders] Ahhh, Problems with Modules and Skins...

2010-08-16 Thread dorkie dork from dorktown
Can you use an ID reference? s|Group #groupID_in_Module { skin:ClassReference(something); } Also can you paste the code you're using and a example module? This will help future readers ;) JP On Mon, Aug 16, 2010 at 8:20 PM, Wally Kolcz wko...@isavepets.com wrote: So, what works is CSS

[flexcoders] How to remove header icon from AdvanceDatagrid ?

2010-08-16 Thread RishiShahi
I want to remove sort icon from grid header , shown below http://old.nabble.com/file/p29449212/1.png It's happening due to following piece of the code. I've disabled column sorting on grid but icon still appears. dataGrid.validateNow(); var s:Sort = new Sort(); s.fields = [new

Re: [flexcoders] How to remove header icon from AdvanceDatagrid ?

2010-08-16 Thread RishiShahi
Adding sortItemRenderer={null} in AdvanceDataGrid tag fixed the problem.:-D RishiShahi wrote: I want to remove sort icon from grid header , shown below http://old.nabble.com/file/p29449212/1.png It's happening due to following piece of the code. I've disabled column sorting on