[flexcoders] Re: Dynamically creating a text object

2007-02-26 Thread Tim
of months ago that provides an extension of the Text class which correctly reports its dimensions after rotation, and correctly positions the text when rotated. Tim --- In flexcoders@yahoogroups.com, leds usop [EMAIL PROTECTED] wrote: Actually Tim, he already mentioned in a previous post that more

[flexcoders] Re: RIADEV-FLEXCHINAGROUP

2007-02-07 Thread Tim Hoff
similarities and respect our differences. I wish you all of the best success with your Flex group in China, and sincerely hope that you continue to be a participant here. You're more than welcome. Respectfully. Tim Hoff--- In flexcoders@yahoogroups.com, Ju Aedis [EMAIL PROTECTED] wrote: hi,everyone

[flexcoders] Re: Rotate Datagrid Headers

2007-01-23 Thread Tim Hoff
__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office http://www.cynergysystems.comoffice/ : 866-CYNERGY --- In flexcoders@yahoogroups.com, Dana Gutride [EMAIL PROTECTED] wrote: Hi, After much searching, I haven't found a satisfactory answer to this question. I'm trying to rotate

[flexcoders] Re: Rotate Datagrid Headers

2007-01-23 Thread Tim Hoff
; fontWeight: bold; } .myStyle1{ fontFamily:MyFont; fontSize:12pt; } /mx:Style -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office http://www.cynergysystems.comoffice/ : 866-CYNERGY --- In flexcoders

[flexcoders] Re: ViewHelper is dead ? So what's the 'best practice' here... ?

2007-01-22 Thread Tim Hoff
Hi Jamie, In addition to these fine suggestions, you could implement an Observe tag http://weblogs.macromedia.com/paulw/archives/2006/05/the_worlds_smal.cf\ m in mxml_2 that listens for a change to the int in the ModelLocator. -TH --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL

[flexcoders] Re: Chart legend spacing

2007-01-09 Thread Tim Hoff
Hi Tom, The horizontalGap property works for both of these in CSS. /* controls the gap between LegendItems */ Legend { horizontalGap: 16; } /* controls the gap between the LegendItem marker and the label */ LegendItem { horizontalGap: 8; } -TH __ Tim Hoff

[flexcoders] Re: and I thought Adobe was a professional company. Whats going on with the upgrade

2007-01-07 Thread Tim Hoff
As a personal request, might I ask that this thread be closed. It's very easy to take pot-shots from the sidelines. But, from what I can tell, most on this list are serious people that appreciate the hard work and dedication that Adobe has provided. Granted, Flex isn't mature yet as a product.

[flexcoders] Re: and I thought Adobe was a professional company. Whats going on with the upgrade

2007-01-07 Thread Tim Hoff
Fair enough Robert. Go ahead, make this flashcoders 2. Subject dropped. -TH btw, all I own is my keyboard. --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: You don't have to read it Tim. It's Bruce's personal opinion just as your request is a personal

[flexcoders] Re: Since I started the thread, let me end it now

2007-01-07 Thread Tim Hoff
Thanks Bruce. It's nothing personal. :) -TH --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: 1st, Let me appologise to anyone who was offended by the SUBJECT of my post (re: is adobe a professional company). Yes, it was meant to shake people up (hopefully those who

[flexcoders] Re: setting the miniumum height (not bottom) for a column series item?

2007-01-03 Thread Tim Hoff
Hi Oliver, If you are overriding the updateDisplayList function in your custom itemRenderer, you can change the height that is drawn there; if it is less than the minimum value that you want. I haven't tried this, so I'm not sure how the other chartItems in the stack will be effected. But,

[flexcoders] Re: Graphs: Can you remove all x y axis information from a lineChart?

2007-01-02 Thread Tim Hoff
Hi Jason, You could use a labelFunction for the Horizontal and Vertical Axis. Just return an empty string. -TH --- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED] wrote: Is it possible to remove all the labeling x y labels and data from showing on a linechart? What I am

[flexcoders] Re: Populating a combobox with XML

2006-12-28 Thread Tim Hoff
to change the name of the label field. Collin On 12/26/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Collin, Your problem may be that you have an attribute and a node both named label. Not sure if this will help, but I don't see the labelField property set for your comboBox

[flexcoders] Re: Populating a combobox with XML

2006-12-26 Thread Tim Hoff
Hi Collin, Your problem may be that you have an attribute and a node both named label. Not sure if this will help, but I don't see the labelField property set for your comboBox. mx:ComboBox id=types width=200 dataProvider={config_xml.types.type} labelField=label/ If that doesn't work,

[flexcoders] Re: Cairngorm Store, Best Practice Question: Containers

2006-12-23 Thread Tim Hoff
set the width and height of containers and controls explicitly; to reduce the calculations for measure and layout. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com --- In flexcoders@yahoogroups.com, Ralf Bokelberg

[flexcoders] Re: Wrapping multiple text items

2006-12-22 Thread Tim Hoff
Why not loop through the dataProviders for the individual text fields and concatenate them into the text property of a single text field; so that wordwrap will kick in? -TH --- In flexcoders@yahoogroups.com, kasey.mccurdy [EMAIL PROTECTED] wrote: yeha, methinks that is what im going to have

[flexcoders] Re: Reseting DateField components

2006-12-20 Thread Tim Hoff
Hi Steven, Just set the selectedDate to null: startDate.selectedDate = null; endDate.selectedDate = null; -TH --- In flexcoders@yahoogroups.com, stephen50232 [EMAIL PROTECTED] wrote: Hi, I have a form which has two DateField components (one for start date and one end date) I also have

[flexcoders] Re: Newbie help: model bindings work with some but not all

2006-12-19 Thread Tim Garver
page passes in an object and the object is used by remoting to get the data on this page. THanks in advance. Tim Here is the result function: private function getByID_result(event:ResultEvent):void { var detail:Users = event.result as Users; this.profileModel = detail

[flexcoders] Re: SequenceCommands ... is there a point to their existence?

2006-12-19 Thread Tim Hoff
Hey giffman, The Sequence command should work for you in this case. Execute the executeNextCommand(); statement in the onResult functions of your commands. I guess using the next command encapsulates the Command class by avoiding the direct dispatch of events. Pretty much the same difference

[flexcoders] Re: SequenceCommands ... is there a point to their existence?

2006-12-19 Thread Tim Hoff
Repost - link problem Hey giffman, The Sequence command should work for you in this case. Execute the executeNextCommand(); statement in the onResult functions of your commands. I guess using the next command encapsulates the Command class by avoiding the direct dispatch of events. Pretty

[flexcoders] Re: An item renderer and data setting/binding question

2006-12-18 Thread Tim Hoff
@yahoogroups.com, Roman Protsiuk [EMAIL PROTECTED] wrote: Hi, Tim. Thanks for the advise. Though, it didn't help. Even calling super.invalidateDisplayList() I get no color change. R. On 12/16/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Roman, After you conditionally change the color, you

[flexcoders] Re: An item renderer and data setting/binding question

2006-12-16 Thread Tim Hoff
) { if (!value.valid) highlightColor = 0xFF; } super.invalidateDisplayList(); } mx:Label color={highlightColor}/ -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office http://www.cynergysystems.comoffice/ : 866-CYNERGY --- In flexcoders

[flexcoders] Re: itemRenderer issues

2006-12-14 Thread Tim Hoff
Hey Jason, It looks like you are setting the image source to null everytime, after your conditional statements. Also, you don't need else if. Just using else would work in this situation. -TH --- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED] wrote: Ok I am going nuts here.

[flexcoders] Re: How to remove shadow

2006-12-11 Thread Tim Hoff
Or, a combination of the two: Panel{ dropShadowEnabled: false; } (Global - without the dot, and CSS : instead of MXML =) :) -TH --- In flexcoders@yahoogroups.com, Van De Velde Hans [EMAIL PROTECTED] wrote: or just Panel{ dropShadowEnabled = false; } (without the dot)

[flexcoders] Re: Radio Button in Separate components, how to receive events?

2006-12-11 Thread Tim Hoff
Hi Patrick, You can place the component RadioButtons in a RadioButtonGroup: mx:RadioButton id=myRadioButton group={parentApplication.myRadioButtonGroup}/ You could also use outerDocument instead of parentApplication. -TH __ Tim Hoff Cynergy Systems, Inc. http

[flexcoders] Re: Radio Button in Separate components, how to receive events?

2006-12-11 Thread Tim Hoff
Sorry Patrick, I misread the title. Just dispatch a custom event from the component and listen for it in the parent. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Patrick, You can place the component RadioButtons in a RadioButtonGroup: mx:RadioButton id

[flexcoders] Re: Cairngorm’s Anaemic Domain Model

2006-12-05 Thread Tim Hoff
It doesn't matter if it's a collection of dumb value objects, a component, a state variable, or just a common effect. If an object is used more than a couple of times in the app, put it in the ModelLocator. Remember, everything is an object; instantiated and destroyed like the rest of them

[flexcoders] Re: Cairngorm's Anaemic Domain Model

2006-12-05 Thread Tim Hoff
locator. It's about logic, or lack thereof encapsulated within the domain objects. On 05/12/2006, at 9:59 PM, Tim Hoff wrote: It doesn't matter if it's a collection of dumb value objects, a component, a state variable, or just a common effect. If an object is used

[flexcoders] Re: Cartesian Charts colum styling different from other chart types

2006-12-04 Thread Tim Hoff
Hi Oscar, For Cartesian Charts, you have to specify the itemRenderer for dropShadow: import mx.charts.renderers.ShadowBoxItemRenderer; mx:ColumnSeries itemRenderer=mx.charts.renderers.ShadowBoxItemRenderer/ -TH __ Tim Hoff Cynergy Systems, Inc. http

[flexcoders] Re: Cartesian Charts colum styling different from other chart types

2006-12-04 Thread Tim Hoff
, you can assign a dropShadow to the 'filters' property of the columnSeries. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Monday, December 04, 2006 2:54 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Flex 2 Charting align Axis

2006-12-03 Thread Tim Hoff
dataPoints. Because the categoryFields are the same for both series', the plots and columns will line up for each team. -TH --- In flexcoders@yahoogroups.com, Sönke Rohde [EMAIL PROTECTED] wrote: Hey Tim, Thanks a lot. This was obvious ;) Anyway is it possible to have multiple axis for e.g

[flexcoders] Re: Flex 2 Charting align Axis

2006-12-02 Thread Tim Hoff
Hi Sönke, I had the same question a while ago. Ely was nice enough to point out the obvoius. mx:horizontalAxisRenderer mx:AxisRenderer placement=top/ /mx:horizontalAxisRenderer mx:verticalAxisRenderer mx:AxisRenderer placement=right/ /mx:verticalAxisRenderer -TH --- In

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-12-01 Thread Tim Hoff
Hi Sajid, Datasets returned from .Net aren't natively recognized by Flex. To solve this, you can either use a stored procedure with FOR XML AUTO, or cast your dataset to a class. Here is a casting example: http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChanne\ lID=1

[flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-27 Thread Tim Hoff
[mailto:[EMAIL PROTECTED] On Behalf Of dj Sent: Saturday, November 18, 2006 1:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Ely: How do you wordwrap a label on a bar chart? Tim: I gave this a shot am I missing something here? Wordrapping isn't working for me

[flexcoders] Re: charting trial banner

2006-11-27 Thread Tim Hoff
Go to Help - Manage Flex Licenses. Select Flex Charting and enter your serial number. -TH --- In flexcoders@yahoogroups.com, Yiðit Boyar [EMAIL PROTECTED] wrote: how can i get rid of the charting trial banner over my charts ? (my FB is not trial anymore)

[flexcoders] Re: padding in the text in cells in a datagrid

2006-11-26 Thread Tim Hoff
mx:DataGridColumn paddingRight=6/ -TH --- In flexcoders@yahoogroups.com, arpan srivastava [EMAIL PROTECTED] wrote: Hi , How to give padding to text in the cells. In my datagrid I have numbers which are right aligned, but they are too much right aligned, the text in last column touches

[flexcoders] Re: Scrolling TileList?

2006-11-26 Thread Tim Hoff
Hi Steve, You could place the TileList in a Canvas container. Only set the height of the Canvas; not the TileList. -TH --- In flexcoders@yahoogroups.com, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I have a TileList that conatins some images and text. The normal

[flexcoders] Re: Newbie: binding RadioButtonGroup to a boolean database column

2006-11-25 Thread Tim Hoff
Hi Jack, One way would be to conditionally set the individual radio button's selected property. if (value == null) { yesRadioButton.selected=false; noRadioButton.selected=false; } -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com

[flexcoders] Re: Remove the row selection from the datagrid

2006-11-17 Thread Tim Hoff
remove your extended class? I would start by checking the syntax (#FF, 0xFF); punctuation if you will. If everthing's cool there, then check again. myDataGrid.selectable=false; might be a good option, that doesn't require extra code. -TH __ Tim Hoff Cynergy

[flexcoders] Re: Rotating BarChart

2006-11-17 Thread Tim Hoff
HI Daniel, In addition to those changes, you have to change from xField to yField; for the series. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office http://www.cynergysystems.comoffice/ : 866-CYNERGY --- In flexcoders@yahoogroups.com

[flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-17 Thread Tim Hoff
Hi Ely, I got this far with wordwrapping the label text, but my question is more complicated. I want to have two verticalAxisRenderers, side-by- side, on the same side of a ColumnChart. Or, create a single LabelRenderer to simulate this. One of the labels needs a shaded background with text,

[flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-17 Thread Tim Hoff
side. Sorry for the confusion. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Ely, I got this far with wordwrapping the label text, but my question is more complicated. I want to have two verticalAxisRenderers, side-by- side, on the same side of a ColumnChart

[flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-17 Thread Tim Hoff
://www.quietlyscheming.com/blog/components/interactive-calendar/ . Great Stuff! -TH --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Tim. yes, the AxisRenderer supports a property called 'labelRenderer' which is very much like an item renderer. Pass the AxisRenderer

[flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-17 Thread Tim Hoff
mx:CategoryAxis categoryField=CategoryField labelFunction=wrapLabel/ /mx:horizontalAxis This example changes: 11/17/06 - 12/16/06 to 11/17/06 - 12/16/06 By using regular expresions, you have quite a bit of flexibility. -TH __ Tim Hoff Cynergy Systems, Inc

[flexcoders] Re: auto-scroll datagrid

2006-10-31 Thread Tim Hoff
hould work. -TH______ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "Paul Hastings" [EMAIL PROTECTED] wrote: we have a datagrid that we populate programatically and i'd like to auto scroll to the bott

[flexcoders] Re: Filtering a Datagrid

2006-10-31 Thread Tim Hoff
Hi Rick, Here is a basic example that you might findhelpful: View Sample -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "Michael Labriola" [EMAIL PROTECTED] wrote: Rick, Check out

[flexcoders] Re: Dynamic View Rendering

2006-10-31 Thread Tim Hoff
locations. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, "Brian Holmes" [EMAIL PROTECTED] wrote: I have a directory of about 15 custom view components (all panels) and I would like to disp

[flexcoders] SliderThumb / Canvas Movement Syncronization

2006-10-28 Thread Tim Hoff
the vertical movement of the SliderThumb and the Canvas. Any ideas? Thanks,-TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Re: Hi there

2006-10-28 Thread Tim Hoff
Hi Jaga, You can place the TexInputcontrol, along side theMenuBar, inside a ControlBar. -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "write2jaga" [EMAIL PROTECTED] wrote: hi,

[flexcoders] Re: SliderThumb / Canvas Movement Syncronization

2006-10-28 Thread Tim Hoff
Canvas.height-1)"/ -TH______ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "Tim Hoff" [EMAIL PROTECTED] wrote: Hi all, I have a VSlider control that uses a custom sliderThumbClass (Image). In the same view as

[flexcoders] Re: ItemRenderer - Which dataField from DataGridColumn?

2006-10-27 Thread Tim Hoff
Glad that you got it to work. I didn't have to include a reference to mx.controls.listClasses.IDropInListItemRenderer, but sorry that it took some extra time. -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders

[flexcoders] Re: How to assign dataset returned by .Net web service to Flex?

2006-10-26 Thread Tim Hoff
Hi Yasovardhan, The two ways that I know of to return a .Net dataset to Flex via webservices: 1. Use FOR XML AUTO in your SQL Statement and return the result directly. or 2. Cast the dataset to a class. View Sample -TH__ Tim HoffCynergy Systems, Inc.http

[flexcoders] Re: ItemRenderer - Which dataField from DataGridColumn?

2006-10-26 Thread Tim Hoff
mx.controls.dataGridClasses.DataGridListData; -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I need to access the reference to the DataGridColumn within an custom

[flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Tim Hoff
Sam, It's hard to tell without seeing your code. I tested the function before posting, so I know it works with my programs. If you can, postyour code and we'll get you going. -TH___ Tim HoffCynergy Systems, Inchttp://www.CynergySystems.comOffice: 1.866.CYNERGY

[flexcoders] Re: Reset Radio Button Group

2006-10-23 Thread Tim Hoff
; }} -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "Sam Shrefler" [EMAIL PROTECTED] wrote: I've found the following reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?i

[flexcoders] Re: Looping through a DataGrid, in order to get Grand Total from 1 specific Column?

2006-10-23 Thread Tim Hoff
As usual, thanks for the clarification Gordon. :) -TH___ Tim HoffCynergy Systems, Inchttp://www.CynergySystems.comOffice: 1.866.CYNERGY--- In flexcoders@yahoogroups.com, "Gordon Smith" [EMAIL PROTECTED] wrote: A DataGrid only creates enough rows to fi

[flexcoders] Re: manipulate XML

2006-10-22 Thread Tim Hoff
Hi Fabio, Here is an example that you can follow that will hopefully clear-up some of your questions. View Sample -TH___ Tim HoffCynergy Systems, Inchttp://www.CynergySystems.comOffice: 1.866.CYNERGY --- In flexcoders@yahoogroups.com, "Fabio Barreiro&qu

[flexcoders] Re: Looping through a DataGrid, in order to get Grand Total from 1 specific Column?

2006-10-21 Thread Tim Hoff
++) {totalAmount += Number(myDataProvider[i].UnitPrice * myDataProvider[i].Quantity); } return totalAmount;} -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Mike Anderson" [EMAIL PROTECTED] wrote:

[flexcoders] Re: Looping through a DataGrid, in order to get Grand Total from 1 specific Column?

2006-10-21 Thread Tim Hoff
Mike, The DataGrid columns object is an array of DataGridColumn objects.I suppose that you could drill-down to get the DataGridColumn data objects for calculation, butusing the dataProvider is the way that I've found to be easiest and most direct. -TH___ Tim

[flexcoders] Subclassing DataGrid Observations

2006-10-21 Thread Tim Hoff
d. Just observations and constructive suggestions. -TH_______ Tim HoffCynergy Systems, Inchttp://www.CynergySystems.comOffice: 1.866.CYNERGY __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archi

[flexcoders] Re: Flex and Crystal reports

2006-10-19 Thread Tim Hoff
ports to pdf". Sorry flexcoders, I tried to make this non-flex response as brief as possible. -TH______ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders@yahoogroups.com, "wespinozab" [EMAIL PROTECTED] wrote

[flexcoders] Re: cairngorm - retreive view data from commands

2006-10-19 Thread Tim Hoff
some ideas. -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, "gdoucen" [EMAIL PROTECTED] wrote: Thanks Tim for your answer but my problem come from the way i can gather all the data from

[flexcoders] Re: cairngorm - retreive view data from commands

2006-10-18 Thread Tim Hoff
view will automatically reflect the change. This is a simple explanation and may not fit your particular use case. But hopefully it will give you some ideas. -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In flexcoders

[flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Tim Hoff
Hi Hank, Here's a litle more elaborate example that uses a similar approach to Andy's. You can set the headerAlphas to the same or different values as the grid's backgroundAlpha. View Sample -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice

[flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Tim Hoff
No problem Hank. But it should be Andrew and Tim. I've been learning from Andy ever since he started posting here. :) -TH --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: Wow. Thanks to both of you Tim Andrew. Hank On 10/18/06, Tim Hoff [EMAIL PROTECTED

[flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Tim Hoff
No problem Hank. But it should be Andrew and Tim. I've beenlearning from Andy ever since he started posting here. :) -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, "hank williams&qu

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-10-14 Thread Tim Hoff
Here's the links to WebOrb and Fluorine: WebOrbFluorine -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, Sajid Hussain [EMAIL PROTECTED] wrote: Hi Tim, Thanks for ur informative words, I have

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-10-14 Thread Tim Hoff
don't think that there is an automatic way to generate the VO's. However, others know more about this, Perhaps someone else can ellaborate further. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders@yahoogroups.com

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-10-14 Thread Tim Hoff
or WebOrb, I don't think that there is an automatic way to generate the VO's. However, others know more about this, Perhaps someone else can ellaborate further. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-10-13 Thread Tim Hoff
WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH__ Tim Hoff Cynergy Systems, Inc

[flexcoders] Re: Cairngorm commands - best practise

2006-10-12 Thread Tim Hoff
that really matters. Thank you for the discourse. -TH --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 11 October 2006 20:48, Tim Hoff wrote: WTF, since when do Delagates know about the ModelLocator? Tom, I'm sorry to disagree with you here, Go right

[flexcoders] Re: Binding scroll position to the selected index

2006-10-12 Thread Tim Hoff
Hi Daniel, On a click or change event you could use this: myList.scrollToIndex(myList.selectedIndex); -TH --- In flexcoders@yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] wrote: I would like to configure a List class so that it will automatically scroll to show the selected item

[flexcoders] Re: Binding scroll position to the selected index

2006-10-12 Thread Tim Hoff
: Ah, that was a good idea, but it doesn't work in my case. The list is being filtered and the selectedItem is being set via other code. Thus the need to bind to selectedItem, as the "change" handler won't be called. I should be able to whip something up fairly easily via a subclass ...

[flexcoders] Re: Binding scroll position to the selected index

2006-10-12 Thread Tim Hoff
- --- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Tim Hoff *Sent:* Thursday, October 12, 2006 6:23 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Binding scroll position

[flexcoders] Re: Cairngorm commands - best practise

2006-10-11 Thread Tim Hoff
WTF, since when do Delagates know about the ModelLocator? Tom, I'm sorry to disagree with you here, but a Delagate is nothing more than a proxy for a service call; a layer of abstraction to help encapsulate the Commands. Basically, what you're talking about here is an event, containing the

[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem

2006-10-11 Thread Tim Hoff
be different than the framework path on the server. That's all I can offer since this really isn't related to Flex. Cheers, Tim Hoff --- In flexcoders@yahoogroups.com, Matias Nicolas Sommi [EMAIL PROTECTED] wrote: Tim, it's a joke, please don't hungry! I know that its only a simple code

[flexcoders] Re: Style Alert, Instance Level

2006-10-10 Thread Tim Hoff
Hi, This should get you going: import mx.controls.Alert; public var myAlert:Alert; private function showCustomAlert():void { myAlert = Alert.show(Hello World); myAlert.styleName = customAlert; } CSS: .customAlert { backgroundColor:blue; } -TH --- In

[flexcoders] Re: how to: cornerRadius only for specific corners

2006-10-08 Thread Tim Hoff
Hello, In order to round specific corners you are going to have to use a custom borderSkin class. Here is an example: borderSkin Sample -TH--- In flexcoders@yahoogroups.com, "shemeshkale" [EMAIL PROTECTED] wrote: hello, using FLEX 2. i have an HBox with solid border on top+right+left only (no

[flexcoders] Re: image display, display certain portion of a image

2006-10-06 Thread Tim Hoff
Hi Willy, If this was Flash, you would just place a mask over the image. In Flex, you can emulate this by placing the image inside a container that uses absolute positioning. mx:Canvas width=100 height=100 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Image x=-200 y=-300

[flexcoders] Re: Effects for background of TextInput

2006-10-06 Thread Tim Hoff
Hi, Have you tried using mx.effects.TweenEffect? If you wanted to only use mxml, this could be done by making a component that has two states; TextInput backgoundColor 1 2. Inside of the component, add a transition effect (Tween) that occurs when the component changes state. -TH --- In

[flexcoders] Re: Weird ComboBox behavior

2006-10-05 Thread Tim Hoff
Hi jlentz, Can't really tell if this will fix your problem; from the code provided. But, instead of having the first item in the dataProvider as blank, you could use the prompt property instead: mx:ComboBox x="354" y="267" maxHeight="200" rowCount="10" width="60" enabled="true" id="stateName"

[flexcoders] Re: Array.slice problem

2006-10-04 Thread Tim Hoff
Hi G, slice is an ArrayCollection or Object (depending on the result format), not an Array. Therfore, the slice() method isn't available. You could either filter the ArrayCollection, loop through it, or cast explicitely. slicedResults.push(results[1].label);

[flexcoders] Re: SQL Server and Flex 2

2006-10-04 Thread Tim Hoff
xml to be much simpler than dealing with web services and soap. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Tuesday, October 03, 2006 10:46 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Array.slice problem

2006-10-04 Thread Tim Hoff
Hi G, results is an ArrayCollection or Object (depending on the result format), not an Array. Therfore, the slice() method isn't available. You could either filter the ArrayCollection, loop through it, or cast explicitely. slicedResults.push(results[1].label);

[flexcoders] Re: How to lock columns

2006-10-03 Thread Tim Hoff
Hi jlentz, Your only option is to lock the left hand columns using the lockedColumnCount property of the DataGrid. -TH --- In flexcoders@yahoogroups.com, jlentz2112 [EMAIL PROTECTED] wrote: Hi, I see in the help screens that a data grid is supposed to be able to have a locked column.

[flexcoders] Re: SQL Server and Flex 2

2006-10-03 Thread Tim Hoff
Hi Joe, If you're using SQL Server 2005, you could use Rich's suggestion. However, if you're using SQL Server 2000, you could use ASP.Net as the middle tier. Here is an example of an ASP.Net webservice (VB.Net) that pulls data from SQL Server. View Example On the Flex side, search the help

[flexcoders] Re: SQL Server and Flex 2

2006-10-03 Thread Tim Hoff
Tracy or anyone, Not to change the subject; just extend it a bit. Have you noticed a significant performance gain using HTTP over webservices? My testing is purly local at this time. So, I'm interested what others have experienced in a production environment. -TH --- In

[flexcoders] Re: Webservice Connector Component

2006-09-30 Thread Tim Hoff
Hello, The Flash 8 and Flex 1.5 webservice connector wizardsare really nicetime-savers for developers.They validate the connection, automatically list the available operations and provide control binding options. All of these coding steps are completed in one trip to the wizard. It would be

[flexcoders] Re: Panel Rounded Bottom Corners

2006-09-30 Thread Tim Hoff
Hi Omkar, These two methods should work. They will give round corners on the top of the panel and square on the bottom. MXML:mx:Panel cornerRadius="8" roundedBottomCorners="false" CSS:Panel {cornerRadius:8;roundedBottomCorners:false;} -TH--- In flexcoders@yahoogroups.com, "omkarjoe" [EMAIL

[flexcoders] Re: centering popups to the application, not a container object?

2006-09-30 Thread Tim Hoff
Hey Aaron, The first parameter of PopUpManager.createPopUp() is the parent displayObject of the popup window. When you call PopUpManager.centerPopUp(), the popup is centered relativeto the parent. I'm using code similar to this to center the popup in the application. public var

[flexcoders] Re: flash player error Flash9.ocx when testing app

2006-09-30 Thread Tim Hoff
You could try to reinstall the debug player. The debug player install programs are located at Program Files/Adobe/Flex Builder 2/Player/debug. I had a similar problem when I upgraded to the final release. I ran Install Flash Player9.exe and Install Flash Player 9 AX.exe and it fixed the

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-29 Thread Tim Hoff
to work, mainly the part that TH fixed. Maybe someone has a better solution or can locate where I messed up. Michael Ritchie --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi Michael, Alternatively, you could define the selectedItem in the ModelLocator

[flexcoders] Re: cairngorm: calling a function in a view

2006-09-29 Thread Tim Hoff
, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: 18 September 2006 16:35

[flexcoders] Re: move an image in front of another?

2006-09-29 Thread Tim Hoff
Hi Greg, In this particular case, it might be easier to use the swapChildren () method of the DisplayObjectContainer class. -TH --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: I used setChildIndex() and it seems to work fine. Any other way more efficient?

[flexcoders] Re: cairngorm: calling a function in a view

2006-09-29 Thread Tim Hoff
Got the download. Thanks again, Tim --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Hi Tim, thanks for your feedback. The link on my blog should work now. Best, Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Tim Hoff
Hi Michael, Alternatively, you could define the selectedItem in the ModelLocator. On the Change event of the DataGrid, update the selectedItem. This way wouldn't require you to pass the event to the view function. ModelLocator.getInstance().mySelectedItem = ModelLocator.getInstance

[flexcoders] Re: Cairngorm Best Practices.

2006-09-27 Thread Tim Hoff
Hi JS, Below is a sample Cairngorm2 FrontController. It's very similar to the .99 version. The store example is using custom events. These are usually created if you need to pass data (VO) with the event to a Command. This isn't necessary if the command doesn't require parameters or data.

[flexcoders] Re: Problem with IFrame

2006-09-27 Thread Tim Hoff
Not too many other Tim's here. How did I get involved in this discussion? No worries. :-) -TH --- In flexcoders@yahoogroups.com, Ali Mills [EMAIL PROTECTED] wrote: Tim, IFrame isn't an MXML element. It's HTML. So, the type not found error MXMLC is throwing makes sense. The Coenraets

[flexcoders] Re: Cairngorm / Tree Control

2006-09-27 Thread Tim Hoff
Hi, It sounds like a render timing issue. When the user opens a node, with hardcoded values, the data reaches the tree before the node is rendered. With the service call delay, it's possible that the data is coliding with the tree render. Have you tried putting

[flexcoders] Re: Item Renderer -- Sorting in Data Grid...

2006-09-27 Thread Tim Hoff
Hi Larry, I've noticed similar problems using an itemRenderer for this kind of thing. If you're just formatting the numbers, you can use a lableFunction. This method doesn't seem to affect sorting. Here's a sample: View Sample -TH--- In flexcoders@yahoogroups.com, "lrlarsonny" [EMAIL PROTECTED]

[flexcoders] Re: ItemRenderer question for DataGrid

2006-09-27 Thread Tim Hoff
Hi Mike, Instead of using states in your itemRenderer, you can use an itemEditor. Just set the itemEditor property for the DataGrid column to a NumericStepper control instead of text. -TH --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am trying to

<    5   6   7   8   9   10   11   12   13   14   >