[flexcoders] Re: Creating tooltip for datagrid column header(s)?

2008-01-02 Thread chuyler1
Try defining the component in-line instead. You also don't want to use the ToolTip component because you still need to display the header text. Instead, just use a Label component and set the toolTip string for the label like so... mx:DataGridColumn width=26 textAlign=center editable=false

[flexcoders] Re: DataGrid Tooltips for data that is larger than cell?

2007-09-28 Thread chuyler1
: you may also need datatipField or dataTipFunction. I think there was a bug with dataTipField in 2.x that is fixed in 3.0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chuyler1 Sent: Thursday, September 27, 2007 2:03 PM

[flexcoders] Re: Position popup relative to component.

2007-09-28 Thread chuyler1
Also, Look into using localToGlobal() on an object to translate coordinates relative to a Display Object to coordinates relative to 0,0 in the browser window. Example: var point:Point = new Point(); point.y += 25; // move my pop-up down 25 pixels point = myButton.localToGlobal(point); //

[flexcoders] DataGrid Tooltips for data that is larger than cell?

2007-09-27 Thread chuyler1
I'm surprised that Flex doesn't have this built-in, or at least I can't figure it out. If I mouse over a cell with data that extends beyond the allocated space for that cell, how can I have a tooltip popup with the full string of data? I have tried using showDataTips but it just displays the

[flexcoders] XML Data From WebService to Custom Value Object Class?

2007-09-04 Thread chuyler1
Lets say I receive data from a WebService as XML and I stick it in a DataGrid. How can I cast that information from its XML form to a Cairngorm ValueObject. It would be nice to be able to call MyVObj:VObj = VObj(myXMLData) assuming that myXMLData contains the same fields as VO. Obviously I can

[flexcoders] Right Click View-Source with mxmlc compiler?

2007-08-31 Thread chuyler1
I know you can do this with Flex Builder but I was curious if there was a quick way to do it with just the Flex SDK. Thanks, ~ Chris

[flexcoders] Re: Very simple module crash: Instantiation attempted on a non-constructor

2007-08-29 Thread chuyler1
I found a work-around. I have to define my module using mxml instead of straight ActionScript. For some reason it wasn't loading the halo skin classes into the module and since they weren't available in the main app either it would crash when it tried to get the class name from the default css

[flexcoders] Cairngorm with Flex Modules...how did you do it?

2007-08-29 Thread chuyler1
Right now I am trying to layout a project that uses Cairngorm and multiple swf modules. I am currently using one project in Flex Builder but I am wondering if I should break each module out into its own project. Has anyone done this? If so, how did you accomplish it? Did you just share your

[flexcoders] Re: Cairngorm with Flex Modules...how did you do it?

2007-08-29 Thread chuyler1
Thanks Tony for the detailed explanation. I have spent the afternoon experimenting with modules in Flex Builder and it looks like separate projects is the way to go. At first I was thinking I could get by with a single project for development and then make sure the nightly Ant script used

[flexcoders] Re: WebService Basic Authentication over HTTPS?

2007-08-28 Thread chuyler1
I'd do some research to see what most .NET people are doing for authentication and WebServices. That's what I'm trying to do now :) It looks like most are using SOAP headers instead of Basic Authentication. I started a thread with our back-end group in charge of all the .NET stuff. We do

[flexcoders] Re: Best practices for laying out Flex directory structure.

2007-08-28 Thread chuyler1
I think your layout for Flex would be similar to coding in any other language. Everyone has their own style and it is best to separate things by function and use. If you are starting a very large project you may also want to look into using the Cairngorm MVCS framework. This will help you

[flexcoders] Re: html-wrapper Flex Ant Task

2007-08-28 Thread chuyler1
So no one has run into this problem? Is anyone even using Ant to automate their build? If not, what do you use? I've got two questions about using Ant to generate the html for our project. 1) Why isn't there a way to specify an external template folder? I searched this site and saw

[flexcoders] Very simple module crash: Instantiation attempted on a non-constructor

2007-08-28 Thread chuyler1
I am trying to put some components in a module and one of them which uses an HSlider is causing a crash. The module loads fine but when I try to add the component with addChild it crashes with: TypeError: Error #1007: Instantiation attempted on a non-constructor. Here is the main application:

[flexcoders] html-wrapper Flex Ant Task

2007-08-27 Thread chuyler1
I've got two questions about using Ant to generate the html for our project. 1) Why isn't there a way to specify an external template folder? I searched this site and saw that people were re-compiling FlexAntTasks in order to get their template changes to work. Is this really the recommended

[flexcoders] WebService Basic Authentication over HTTPS?

2007-08-27 Thread chuyler1
I need to connect to a .NET WebService over SSL which uses Basic Authentication. I have tried the setCredentials function but it doesn't work. Are there plans to support this feature? Is there a work-around? I would prefer to get the credentials from the user through a login view in Flex and

[flexcoders] Re: WebService Basic Authentication over HTTPS?

2007-08-27 Thread chuyler1
Will the method of using SOAP headers still allow for basic session management by the .NET WebService? The server-side guys are really pushing the use of Basic Authentication but it sounds like this approach will mean coding specific authentication functions within the WebService, correct?