[flexcoders] Re: unable to hide datagrid column...help please

2007-12-09 Thread phipzkillah
The column is not visible in my example when the xmllist is not populated. When I bind the xmllist the column becomes visible. Is there a work around? -phil --- In flexcoders@yahoogroups.com, Jehanzeb Musani <[EMAIL PROTECTED]> wrote: > > There is something wrong with datagrid bindind. I have >

Re: [flexcoders] unable to hide datagrid column...help please

2007-12-09 Thread Jehanzeb Musani
There is something wrong with datagrid bindind. I have tried the following two examples to hide the datagrid column 1. First Example (Without data binding) When I ran the above example, first column was not visible. Then I add dataprovider to the above examp

RE: [flexcoders] Menubar Render

2007-12-09 Thread Alex Harui
Try setting mouseEnabled and/or mouseChildren=false on the label and other children. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marvin Froeder Sent: Wednesday, December 05, 2007 10:55 AM To: flexcoders@yahoogroups.com Subject: [flexcod

RE: [flexcoders] DataGrid tab order (again)

2007-12-09 Thread Alex Harui
Yeah, that's SDK-12588. Fixed in Flex 3. It appears you can sort of get around it like this: import mx.controls.listClasses.ListBaseContentHolder; private function hackit():void { var n:int = srcgrid5.numChildren; for (var i:int = 0; i < n; i++) { if (srcgrid5.getChild

[flexcoders] unable to hide datagrid column...help please

2007-12-09 Thread phipzkillah
Here is my mxml: I want to hide the company id column, however it still displays. Ideas?

RE: [flexcoders] Height Problems of List component using itemrenderer with different row height

2007-12-09 Thread Alex Harui
Looks like I need to add another chapter to my blog about item renderers. Several folks have struggled with wordwrapping text in renderers. I strongly recommend taking the code from ListItemRenderer and working from there because: 1) It is in AS and so will be lighterweight than this nest of

[flexcoders] Re: AS3 classes as MXML to enclose other tags

2007-12-09 Thread Randy Martin
This really isn't rocket science. Suppose you have an AS3 class defined like this: package controls { import mx.controls.Alert; public class MyAlerts extends Alert { [Embed(source="../images/error.gif")] private static var iconError:Class; public static function error(msg:S

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Chris Velevitch
Of course. It's declaratively extending a class and everything declaration enclosed is an instance of some (other) class. I totally forgot that you can also extend classes in mxml. Thanks Shaun. That's the answer I was look for. On Dec 10, 2007 2:10 PM, shaun <[EMAIL PROTECTED]> wrote: > Chris Ve

RE: [flexcoders] Lists and mouseover

2007-12-09 Thread Alex Harui
itemRollOver should have the renderer which should have the data From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Sunday, December 09, 2007 4:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Lists and mouseov

RE: [flexcoders] Re: Sizing and layout of UI components with respect to parent containers

2007-12-09 Thread Alex Harui
See what happens when you set minWidth and minHeight=0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aduston1976 Sent: Sunday, December 09, 2007 7:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sizing and layout of UI c

[flexcoders] Re: Sizing and layout of UI components with respect to parent containers

2007-12-09 Thread aduston1976
Yarin, I am struggling with the same issue you report here: Essentially when I give a Container inheritor percentHeight=100, the Container will resize itself to fit its children when they become larger than the Container's parent. This really sucks. Is it true that nobody ever replied to your mess

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Bjorn Schultheiss
Man, what concepts and philosophies are you looking for? It's pretty simple. Your just specifying an existing Class you wish to extend. On 10/12/2007, at 1:37 PM, Chris Velevitch wrote: On Dec 10, 2007 12:07 PM, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: > Add the -keep argument to the com

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Chris Velevitch
On Dec 10, 2007 12:07 PM, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: > Add the -keep argument to the compiler options to see what goes on behind > the scenes. > > This will give you your answer. I'm looking for something at a higher level before I go for a deep dive into the inner workings of t

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Bjorn Schultheiss
On 10/12/2007, at 10:52 AM, Muzak wrote: Add the -keep argument to the compiler options to see what goes on behind the scenes. This will give you your answer.

[flexcoders] RangeError: Error #2006: The supplied index is out of ... With dynamic Repeater

2007-12-09 Thread Rob Oates
My application creates new tabnavigator tabs using a Repeater driven by a dynamically updated arrayCollection. I hope there's a simple fix to this runtime error that's been dogging me for several days. I'm using this arrayCollection as the data provider:

[flexcoders] Lists and mouseover

2007-12-09 Thread Josh McDonald
Hi Guys, Is it possible to easily get the "data" of the mouseover target within a list the way one can just select list.selectedItem ? Cheers, -Josh -- "This is crazy! Why are we talking about going to bed with Wilma Flintstone... She'll never leave Fred and we know it. " :: Josh 'G-Funk' McDo

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Chris Velevitch
Sorry, but I obviously my question isn't clear. My question is about the Flex language and the mechanism in Flex that allows me to take any class and use it as a tag to wrap around one or more other tags. I want to know what this mechanism in the Flex language is called and where I can learn more

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Bjorn Schultheiss
same as http://www.adobe.com/2006/mxml*"; > On 10/12/2007, at 10:52 AM, Muzak wrote: > xmlns:mx="http://www.adobe.com/2006/mxml"; > xmlns:cairngorm="com.adobe.cairngorm.business.*" >> > > That would be the same as: > > public class Services extends > com.adobe.cairngorm.business.S

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Bjorn Schultheiss
com.adobe.cairngorm.business.ServiceLocator You've defined the cairngorm namespace in the base tag. On 10/12/2007, at 10:27 AM, Chris Velevitch wrote: I've been looking Cairngorm and I saw this:- http://www.adobe.com/2006/mxml"; xmlns:cairngorm="com.adobe.cairngorm.business.*"> where

Re: [flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Muzak
http://www.adobe.com/2006/mxml"; xmlns:cairngorm="com.adobe.cairngorm.business.*" > That would be the same as: public class Services extends com.adobe.cairngorm.business.ServiceLocator {} Where Services is the name of the mxml file that has defined as its base tag. Add the -keep a

[flexcoders] AS3 classes as MXML to enclose other tags

2007-12-09 Thread Chris Velevitch
I've been looking Cairngorm and I saw this:- http://www.adobe.com/2006/mxml"; xmlns:cairngorm="com.adobe.cairngorm.business.*"> where ServiceLocator is a user defined class. What is this mechanism called and where can I learn how it works? Chris -- Chris Velevitch Mana

RE: [flexcoders] Re: Using DateField as itemEditor for DataGrid column

2007-12-09 Thread Alex Harui
Simply because each release theoretically got better w/o degradation in other places. I know that's not totally true so a few of you are relying on older releases, but I often find myself looking at these examples on to realize they got fixed already. It would also depend on how close I am to

RE: [flexcoders] Re: programatically deselect cells in an AdvancedDataGrid (bump)

2007-12-09 Thread Alex Harui
Does it work for regular DataGrid? If not, post your code. If it only fails for ADG, please file a bug and post the bug number From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of superabe superabe Sent: Sunday, December 09, 2007 3:01 AM To

[flexcoders] Re: Loading Web Service from WebSphere

2007-12-09 Thread dafox_82
It seems that Flex is getting indeed in an infinite loop. If I enable tracing, you could see it is re-requesting the same XSDs with a different dynamic URL over and over again: http://localhost:9080/CustomerModuleWeb/sca/CustomerDataServiceExport/ws\ dl/process/../xsd-includes/../bo/Customer.xsd

Re: [flexcoders] flex newbie

2007-12-09 Thread Jehanzeb Musani
If you want to access the Application object from your ActionScript file, you can use "Application.application". If you want to access public memebers of your main MXML Application, cast Application.application to your defined Application class and then access those public memebers. Hope this he

[flexcoders] Re: Using DateField as itemEditor for DataGrid column

2007-12-09 Thread ben.clinkinbeard
> Flex 3 Beta 2 and Flex 2.0.1 HotFix2 (which are the only versions you should be using) Why is that? We're still using HF1 at work because we've not had time to do regression testing on all of our WebService operations. I suppose its a good thing too, considering all the changes in Flex 3 would

Re: [flexcoders] How much can AIR and the OS interact?

2007-12-09 Thread hank williams
Yes, flash speaks to sockets and so you can communicate with any net accessible object including localhost. So making a local webserver or socketserver is a solution. hank On Dec 9, 2007 7:11 AM, justSteve <[EMAIL PROTECTED]> wrote: > > > > > > > Ok...so Flex can't interact with DLLs but another

Re: [flexcoders] How much can AIR and the OS interact?

2007-12-09 Thread justSteve
Ok...so Flex can't interact with DLLs but another thread (new to Flex) suggests that a possible alternative. >> lternatively, you can write a server application in C++, Java or C#/.NET that interact with those devices. Whenever the server gets input from the scanner, it forwards that to the Flex a

Re: [flexcoders] Re: new to FLEX

2007-12-09 Thread justSteve
Is you using 'server' in the sense of 'web server' or the more generic sense. Given security concerns we can directly access DLLs but does this offer an alternative route to the same functionality? On 12/7/07, markcavins <[EMAIL PROTECTED]> wrote: > > How do they store the data? Is it stored ser

Re: [flexcoders] Re: programatically deselect cells in an AdvancedDataGrid (bump)

2007-12-09 Thread superabe superabe
Thats what I had hoped would happen too, unfortunately thats not the case with the ADG. Setting selectedIndices to an empty array seems to have no effect on the ADG. It looks like a bug at this point. -superabe On Dec 8, 2007 4:49 PM, David Spurr <[EMAIL PROTECTED]> wrote: >In the standard d

RE: [flexcoders] Eliminating scrollbars

2007-12-09 Thread Alex Harui
The first trick is to get the scrollbars to appear on the VBox and not the app. That's the main reason you got clipped. Try this: http://www.adobe.com/2006/mxml"; layout="absolute" height="300"> From: flexcoders@yahoogroups.com [mailto: