[flexcoders] Re: horizontal axis chart label size when chart has minimal height

2008-09-25 Thread Tim Hoff
Sorry Maciek, got a late start today. Amy's CSS is correct. You can also set the gutter dimensions on the ColumnChart tag in mxml. Try using a big number first; like 200. I don't think that 20 is going to be enough to solve the problem. -TH --- In flexcoders@yahoogroups.com, Amy [EMAIL

[flexcoders] Re: scroll to make a child all visible

2008-09-25 Thread Tim Hoff
Hi Jonathan, This should do it: myHBox.horizontalScrollPosition = myHBox.getChildAt(myChildIndex).x; -TH --- In flexcoders@yahoogroups.com, Jonathan Lee [EMAIL PROTECTED] wrote: Hello: I have a HBox which list different some thumbnails. And I know the index of the child that needs to be

[flexcoders] Re: Listen itemClick Event on MenuBar

2008-09-25 Thread Tim Hoff
Interesting how related questions seem to come up on the same day. The MenuBar items (top level) respond to the click event. The menu items (children) respond to the itemClick event: import mx.events.MenuEvent; import flash.events.MouseEvent; import mx.controls.Alert; private function

[flexcoders] Re: Listen itemClick Event on MenuBar

2008-09-25 Thread Tim Hoff
The MXML: mx:MenuBar id=myMenuBar labelField=@label click=clickHandler(event) itemClick=itemClickHandler(event) -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Interesting how related questions seem to come up on the same day. The MenuBar items (top

[flexcoders] Re: Variable width column to fill a variable width datagrid?

2008-09-25 Thread Tim Hoff
Are you setting explicit width values for the columns that you want to remain fixed? Thie following code should keep the first two columns at a fixed width and the third column should take up the rest of the variable width: mx:DataGrid width=100% mx:columns mx:DataGridColumn

[flexcoders] Re: horizontal axis chart label size when chart has minimal height

2008-09-25 Thread Tim Hoff
Ha. Want to thank Ely for passing on this solution to me. -TH --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Sorry Maciek, got a late start today. Amy's CSS is correct. You can also set the gutter dimensions

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread Tim Hoff
Sounds suspiciously like a callLater() solution. Have you tested whether the creationComplete event is actually firing, before you click tab2, for all of the child components? Sometimes not setting the data, in a timely fashion, can also make a view appear blank. -TH --- In

[flexcoders] Re: Listen itemClick on MenuBar

2008-09-24 Thread Tim Hoff
Hi Andres, The MenuBar uses the click event for the top level. The children use itemClick. Usually, you have to listen for both. -TH --- In flexcoders@yahoogroups.com, Andres Serral [EMAIL PROTECTED] wrote: Hello. The MenuBar control doesn't dispatch the itemClick event on items that has

[flexcoders] Re: ToolTip (with Icon/Image, with grid/datagrid etc..)

2008-09-24 Thread Tim Hoff
Hi Manu, You can go with a third party control, use the popupManager to roll your own, or create a borderSkin for the toolTip. I've done the last one with success, but it wasn't easy. Here's a third party solution: http://www.afcomponents.com/components/tooltip_flex/

[flexcoders] Re: horizontal axis chart label size when chart has minimal height

2008-09-24 Thread Tim Hoff
Hey Maciek, Setting an explicit gutter value fixed a similar problem that had once with the labels on a chart. If I remember correctly, the label's font will become illegible when the labelSizeLimt is met, or the label dimensions force the font to be below the fontSize; because the label's

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread Tim Hoff
Hi Danny, Not sure if you figured this out yet, but this CSS works for me: PopUpButton { color: #ff; iconColor: #ff; rollOverColor: #cc; borderColor: #00; fillAlphas: 1, 1, 1, 1; fillColors: #00, #00, #00, #00; highlightAlphas:

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
You're probably better off just creating an image and using that as the skin for a container. Might be a bit tricky getting this to work with a programmatic skin. -TH --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: Heres the problem, I need to draw a gradient that

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
that! :) --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: You're probably better off just creating an image and using that as the skin for a container. Might be a bit tricky getting this to work with a programmatic skin. -TH --- In flexcoders@yahoogroups.com, tchredeemed

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
Btw, either way that you do it, you're probably going to have to layer a gradient rectangle over another gradient rectangle; with the proper opacity. The trick will be getting the colors to be what you want. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hey

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Tim Hoff
Hi Amy, Using the example in that you linked, I noticed that only the top and left sides scaled as expected (quotes used). Could be a bug in the Image class. However, by using the image as a borderSkin and CSS, I was able to get it to scale properly. A possible workaround: CSS: .test {

[flexcoders] Re: layout datagrid headerText to vertically

2008-09-20 Thread Tim Hoff
Do you mean that you want the lable rotated? If so, create a custom headerRenderer and use the rotation property. For this to work, you'll have to use embedded fonts. -TH --- In flexcoders@yahoogroups.com, paulbohnenkamp [EMAIL PROTECTED] wrote: I would like for a datagrid column's

[flexcoders] Re: Retrieving Sorted Data from DataGrid

2008-09-19 Thread Tim Hoff
Hi, You're better off wrapping the XMLList in an XMLListCollection and use that as the dataProvider for the DataGrid. XMLListCollection is a ListCollectionView for the underlying source and will retain the sort order when you click on a DataGrid header. Using an XMLListCollection also gives

[flexcoders] Re: FOCUS_OUT, MOUSE_OUT ...

2008-09-19 Thread Tim Hoff
Hi, These situations are a bit tricky sometimes. The mouseDownOutside event is usually what I use for this. Where it gets tricky is when there are interactive children involved. If the children aren't interactive, you can simply set the children's mouseEnabled property to false and you're

[flexcoders] Re: Refresh a Form / Views

2008-09-19 Thread Tim Hoff
Hi Eugene, In the state tag, you can set properties. This will happen when you change to the state: Something like this: mx:states mx:State name=myFormState mx:SetProperty target={myFirstFormField} name=text value=/ mx:SetProperty target={mySecondFormField} name=text

[flexcoders] Re: Wipe Effect

2008-09-19 Thread Tim Hoff
private function effectEndHandler():void { callLater(showBox); } private function showBox():void{ mainImgBox.visible = true; } -TH --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have this box which I want to wipe left to hide and then wipe right

[flexcoders] Re: Wipe Effect

2008-09-19 Thread Tim Hoff
visible == false. A normal dev as in the one using the public API expects this. Having to use callLater() is a bug in the design. Mike On Fri, Sep 19, 2008 at 1:13 PM, Michael Schmalle [EMAIL PROTECTED]wrote: Nice pie on the face from Tim. I tell you, this is what you get

[flexcoders] Re: Wipe Effect

2008-09-19 Thread Tim Hoff
That's fact Mike. At the end of the day, you have to work with what you have. btw, I didn't even see your first reply before I posted. So, no pie intended. :) -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Right Tim, mantra Speak Idealism, Live Reality

[flexcoders] Re: Wipe Effect

2008-09-19 Thread Tim Hoff
::UIComponent/set visible()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UICompo\ nent.as:1870] at Main/changeState()[K:\flex3\jbh\fdjbh\Main.mxml:173] at Main/__button1_mouseUp()[K:\flex3\jbh\fdjbh\Main.mxml:302] Tim Hoff wrote: * * *private* *function* effectEndHandler

[flexcoders] Re: Trying to refine inline itemrenderer prompt to state based image loading

2008-09-18 Thread Tim Hoff
Hey, aren't you on sabbatical? :-) Have fun. -TH --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Read the itemrenderer posts on my blog (blogs.adobe.com/aharui). Renderers get recycled and only enough renderers to display the visible items are created, so using

[flexcoders] Re: Formatting number in dataGrid column

2008-09-17 Thread Tim Hoff
Hi Joshua, Not tested, but you can try this: private function basePriceLabel(item:Object):Number{ return Number(fBasePriceEntry.format(item.basePrice)); } -TH --- In flexcoders@yahoogroups.com, Joshua Partogi [EMAIL PROTECTED] wrote: Dear all, I want to format a number inside a dataGrid

[flexcoders] Re: Formatting number in dataGrid column

2008-09-17 Thread Tim Hoff
Shoot, strike that. You had it right; except for the second parameter for the labelFunction: private function basePriceLabel(item:Object, column:DataGridColumn):String { return fBasePriceEntry.format(item.basePrice); } -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote

RE: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-16 Thread Tim Rowe
It's got to just be total coincidence that what's virtually the same question has come up twice in the same day. The answer I provided earlier will also work, and will do so in ~5 lines of code. --Tim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

[flexcoders] Re: When to use Cairngorm front controller ?

2008-09-15 Thread Tim Hoff
Hi Steve, Usually you would use Cairngorm events for application wide user gestures; like making a service call, or for gestures that require a lot of calculations or that navigate. However, to reduce the amount of custom events, you can certainly use local flex or flash events for user

[flexcoders] Re: DropShadow filter on VBox adds drop shadow to everything contained in VBox

2008-09-15 Thread Tim Hoff
I would think that the children would still inherit the dropShadow in this case. As a workaround, you could try setting the filters on the children as well: myTextInput.filters = []; -TH --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: did you try putting hte

RE: [flexcoders] Convert String to Date?

2008-09-15 Thread Tim Rowe
in. var a:Array = data.split(-); // Create the new Date object. Note that the month argument is 0-based (with 0 being January). var newDate:Date = new Date(a[0],a[1],a[2]); return newDate; } Enjoy. Tim Rowe Software Engineer carsales.com Ltd Level 1, 109 Burwood

[flexcoders] Re: RadioButton Set selectedValue

2008-09-13 Thread Tim Hoff
={model.selectedValuation.valuation_administration.valua tion_status}/ mx:RadioButton id=open group={statusType} label=Open value=Open / mx:RadioButton id=closed group={statusType} label=Closed value=Closed / mx:RadioButton id=pending group={statusType} label=Pending value=Pending / --- In flexcoders@yahoogroups.com, Tim Hoff

[flexcoders] Re: Subclassing Components: Theoretical Question

2008-09-12 Thread Tim Hoff
Heretofore known as the blahBlahBlahButton. :) -TH --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: heh, that's almost the exact description of what I called the CanvasButton: http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton- added-to-flexlib/ Doug

[flexcoders] Re: RadioButton Set selectedValue

2008-09-12 Thread Tim Hoff
Might just be a timing issue Doug. Have you tried callLater()? Otherwise, maybe set model.selectedValuation.valuationAdmin.valuation_status to the correct value, instead of setting the selectedValue directly; since it's bound. -TH --- In flexcoders@yahoogroups.com, Doug [EMAIL PROTECTED]

[flexcoders] Re: RadioButton Set selectedValue

2008-09-12 Thread Tim Hoff
(). -TH --- In flexcoders@yahoogroups.com, Doug [EMAIL PROTECTED] wrote: Check this out Tim, I set up a test group and started building up attributes until it failed. At this point: mx:RadioButtonGroup id=statusType selectedValue={model.selectedValuation.valuation_administration.valua

[flexcoders] Re: Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-11 Thread Tim Hoff
at anyone, it was, as Tim pointed out, a dig at English speakers ability to not only mangle other peoples, but also our own language, with surprising regularity. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton

[flexcoders] Re: Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-10 Thread Tim Hoff
Yep, pretty cruel. You'd be surprised how much compassion and hospitality people that don't speak English show to complete strangers in this world; not to mention the slack that they give to people that butcher their language. -TH --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL

[flexcoders] Re: Trees for Every one

2008-09-10 Thread Tim Hoff
Robert, You're not going to get any more code for the component explorer than what comes with the sdk: C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.0.0\samples\explorer Uh yeah, see you at the Scene7 webinar. Nothing better to do my time; except continue to work and learn so that I

[flexcoders] Re: What fonts do you embed?

2008-09-10 Thread Tim Hoff
Embedding a lot of Segoe UI, Myriad Pro and Arial Matt. English here. -TH --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hey folks, We're working on our font embedding logic (and lookup logic) and would like to get a quick survey of the kinds of fonts people are

[flexcoders] Re: Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-09 Thread Tim Hoff
Hey Anuj, Here's some sample CSS to get you started. You might have to play with the scale9 values; depending on the images that you create for the skins. VScrollBar { downArrowUpSkin: Embed(source=assets/images/VscrollDownArrow_up.png); downArrowOverSkin:

[flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-09 Thread Tim Hoff
if that would really work or not... Doug On Mon, Sep 8, 2008 at 9:07 PM, Brendan Meutzner [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Agree here as well... On Mon, Sep 8, 2008 at 9:47 PM, Tim Hoff [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: I agree, a lot of time can

[flexcoders] Re: Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-09 Thread Tim Hoff
to make arrows of the scroller of my custom size, look and feel. /* CSS file */ HScrollBar { downArrowUpSkin: Embed(source=assets/images/Left_arrow.PNG); upArrowUpSkin: Embed(source=assets/images/Right_arrow.PNG); } Thanks a lot guys Anuj On Tue, Sep 9, 2008 at 10:55 AM, Tim Hoff [EMAIL

[flexcoders] Re: Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-09 Thread Tim Hoff
the track skin image). Then depending on the dimensions of yor track and thumb images, adjust the scaleGrid values in the CSS; to stretch the appropriate sections of your images. -TH --- In flexcoders@yahoogroups.com, anuj sharma [EMAIL PROTECTED] wrote: Hi Tim In the trackSkin as shown by your

RE: [flexcoders] Compile to external folder or server?

2008-09-09 Thread Tim Rowe
Are you talking about in Flex Builder? Not sure how you can only get the swf (and no other files) to a certain path, but you can certainly do it using ANT. Tim Rowe Software Engineer carsales.com Ltd Level 1, 109 Burwood Road Locked Bag Hawthorn VIC 3211 t: 03 9093 8600 (Reception) t

RE: [flexcoders] Changing Root Node attributes

2008-09-08 Thread Tim Rowe
not necessarily be your problem, it certainly doesn't help, and took two of us ages to track down. Needless to say, we won't be making that mistake again, and after getting that all sorted it was relatively painless to traverse the XML document of the elements we had in our DOM. Tim Rowe Software

[flexcoders] Re: Using a different image for a slider (not thumb, but the slider itself)

2008-09-08 Thread Tim Hoff
Very cool Jo, My hope is that you pay it forward. -TH --- In flexcoders@yahoogroups.com, Jo Morano [EMAIL PROTECTED] wrote: Thanks Tim Hoff and Josh Tynjala. That was it! On Sun, Sep 7, 2008 at 9:32 AM, Tim Hoff [EMAIL PROTECTED] wrote: Hi Jo, The slider has two parts; the track

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Tim Hoff
Not arguing with you, but why would you use setStyle instead of: mx:ColumnSeries id=mySeries itemRenderer=mx.charts.renderers.CustomtemRenderer/ Does mySeries.items[0] not give you a reference? -TH --- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED] wrote: The question

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Tim Hoff
this: CustomItemRenderer(ColumnSeriesItem(ColumnSeries(chart.series[index]).it\ ems[index]).itemRenderer That was easier than I thought it was. Thanks for the light Tim! Fernando Ghisi 2008/9/8 Tim Hoff [EMAIL PROTECTED]: Not arguing with you, but why would you use setStyle instead

[flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Tim Hoff
I agree, a lot of time can be wasted looking through nested containers trying to find a scrollbar culprit. wishlist? -TH --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I do understand. Maybe I should be more pro-active, but often my apps reach a point where the

[flexcoders] Re: Using a different image for a slider (not thumb, but the slider itself)

2008-09-07 Thread Tim Hoff
Hi Jo, The slider has two parts; the track and the thumb. You can skin either/both of those: HSlider { thumbDownSkin: Embed(source=assets/images/slider_thumb_over.png); thumbUpSkin: Embed(source=assets/images/slider_thumb_up.png); thumbOverSkin:

[flexcoders] Re: Tile + HBox Container

2008-09-07 Thread Tim Hoff
Sounds like a TileList; with a custom tile itemRenderer to me. -TH --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: I wanna to put many textarea component on to HBox container horizontally and go to next line if it is full. However, HBox can't auto wrapping like

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-06 Thread Tim Hoff
Good link Amy. Thanks! -TH --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Fernando Ghisi fernandoghisi@ wrote: I canĀ“t agree with you. Just take a look on the styles of ColumnSeries in

[flexcoders] Re: What is Flexcoders?

2008-09-06 Thread Tim Hoff
I'm pretty sure that these threads died a while back Scott; unless you have a reason for stirring the pot. We all know your position; one that I happen to agree with, but is there any value to prolonging this? btw, I started this thread. -TH --- In flexcoders@yahoogroups.com, Scott Barnes

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread Tim Hoff
try this, the filter function isn't called for top-level items. It's called for all child nodes in the dataProvider, but not for the parent node. Any idea why this might be, or do you need a code sample? --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: ICollectionView

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread Tim Hoff
are called after the filter is defined. In fact, I call the ChildObj insert right after the ParentObj insert. Basically, I want to hide all top-level nodes in the tree, but the filter function isn't even called for those nodes. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread Tim Hoff
object [filter function IS called] I've tried adding parents and children later on too, and the filter function is still only called for children. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: and both are called after the filter is defined Are you calling

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread Tim Hoff
@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: Calling refresh() did nothing. Note that if I choose to filter out all the child nodes, it works perfectly. It's only the parent nodes I can't filter, because the filter is never called for them. --- In flexcoders@yahoogroups.com, Tim Hoff

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-05 Thread Tim Hoff
Assuming chart is a ColumnChart, chart.series[0].items[0] will get you a rference to the first ColumnSeriesItem. Charts don't have itemRenderers and an itemRenderer is not a style. -TH --- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED] wrote: So, nobody can help me?

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-04 Thread Tim Hoff
ICollectionView or a filterFuncton can work for this; if you don't want to mess with the underlying source. -TH --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Well, you hide a row by removing it from the dataProvider. There is no direct relationship between a DG row

[flexcoders] Re: How to prevent style inheritance?

2008-09-03 Thread Tim Hoff
Hi gerhard, Unfortunately, inheritance has a good side and a bad side. Just apply a seperate styleName to the child Panel, and you're done. -TH --- In flexcoders@yahoogroups.com, gerhard.schlager [EMAIL PROTECTED] wrote: Hello, I've developed a component which extends Panel (e.g. class

[flexcoders] Re: BubbleSeries effect that leaves a trail

2008-09-03 Thread Tim Hoff
That's what I'd do: use addChildAt() to a CartesianDataCanvas; used as a backgroundElement. Probably easier to get to the displayObject if you use a custom chart item renderer; and listen for the move effect. -TH --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: a wild

[flexcoders] Re: view state and custom component display problem

2008-09-02 Thread Tim Hoff
/mx:states /mx:Application --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi Liz, It's probably something minor; like not using addChild for the component. Hard to say though without seeing your code. If you want, post some code. There's a lot of people here

[flexcoders] Re: view state and custom component display problem

2008-09-01 Thread Tim Hoff
Hi Liz, It's probably something minor; like not using addChild for the component. Hard to say though without seeing your code. If you want, post some code. There's a lot of people here that are capable and willing to help you. -TH --- In flexcoders@yahoogroups.com, lisabethc [EMAIL

[flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Tim Hoff
Man, you've gone over the line now. I'm telling. :) -TH --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: That, and we have enough sheep and Rugby players (although most of them are currently playing NRL waiting for the cheque to come in the mail). *ducks* On

[flexcoders] Re: What is Flexcoders?

2008-08-29 Thread Tim Hoff
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Thursday, August 28, 2008 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: What is Flexcoders? Fair enough and thanks for the opinion. Yes

[flexcoders] Re: What is Flexcoders?

2008-08-29 Thread Tim Hoff
LMAO --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: ... And sometimes... I get my Tetra fish food and sprinkle it on my monitor. Mike On Fri, Aug 29, 2008 at 11:29 AM, Tim Hoff [EMAIL PROTECTED] wrote: Agreed, but sometimes they survive by feeding

[flexcoders] Re: Where are the Scroll Bars on the Web Page At ?

2008-08-29 Thread Tim Hoff
Sorry Nick, I misunderstood. Just never had an occasion where the swf needed to be 1024X768. Content inside the swf, yes; with flex scrollBars. But not the entire movie. Thanks for the hint btw. Glad to see we're keeping it civil. -TH --- In flexcoders@yahoogroups.com, Nik Derewianka

[flexcoders] What is Flexcoders?

2008-08-28 Thread Tim Hoff
Hi All, This is the text from the original FlexcodersFAQ.txt file: 1. What is Flexcoders? Flexcoders is a forum where developers can ask questions about Flex, FlexBuilder, and Flex-related technologies (like Cairngorm and FlexUnit). The community is made up of everyday Flex developers as well

[flexcoders] Re: What is Flexcoders?

2008-08-28 Thread Tim Hoff
it started) made that discussion impossible. But that's not to say that this list shouldn't be used for those kinds of topics. This one certainly got out of hand, but so it goes sometimes. Tim, your attempt to try to end the thread as it devolved into ridiculousness didn't work, but I think we all sort

[flexcoders] Re: end/ Q: What is Flexcoders? A: All of us in this together who have purchased FLEX

2008-08-28 Thread Tim Hoff
Cool Robert, Hopefully, we can just put this to rest. Thanks, -TH --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: I think the simple answer is we're all in this together and it's good to keep an eye out for each other. I haven't posted on the list for a very

[flexcoders] Re: What is Flexcoders?

2008-08-28 Thread Tim Hoff
, Tim Hoff wrote: Hi All, This is the text from the original FlexcodersFAQ.txt file: 1. What is Flexcoders? Flexcoders is a forum where developers can ask questions about Flex, FlexBuilder, and Flex-related technologies (like Cairngorm and FlexUnit). The community is made up

[flexcoders] Re: cannot get ONLY the value of an XML element...

2008-08-28 Thread Tim Hoff
Hi David, text={rIngredients.currentItem.ingredient.quantity.valueOf()} -TH --- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote: hi, here i am again with a newbie problem... I made a repeater to show me text lines from an XML, but for some reason it doesnt show me

[flexcoders] Re: Whitepaper and Webinar -- Please read the Scene7.com posts Objectively

2008-08-27 Thread Tim Hoff
Look pretty cool. Thanks for the link. -TH --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: There is no harm meant in my postings. I'm posting so we are all aware of what may be going on with Scene7.com and it's implications to the FLEX and Flash CS3

[flexcoders] Re: Whitepaper and Webinar -- Please read the Scene7.com posts Objectively

2008-08-27 Thread Tim Hoff
Robert, Please do us all a favor and start your own blog. That's really the appropriate place for comentary. I appologize for faning the FLAME, but this thread should have died a long time ago. Thank you, -TH --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: As

[flexcoders] Re: DataGrid change handler: event.selectedItem == true???? w/ CheckBox renderer

2008-08-27 Thread Tim Hoff
Hey Tracy, I wonder if his has anything to do with it. override public function get data():Object { return this.selected; } -TH --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I have a moderately complex standard DataGrid, using an XMLListCollection

[flexcoders] Re: No Scroll Bar in Browser

2008-08-26 Thread Tim Hoff
However, if you have flex scrollbars that are skinned, you would then have a mix of scrollbar styles. Personally, I'd rather have the flex app consume the available browser space and manage all scrolling internally. - .02. -TH --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED]

[flexcoders] Re: No Scroll Bar in Browser

2008-08-26 Thread Tim Hoff
managed to style them, then you should be able to figure out how to turn off the browser scroll bars. Regards, Nik On 27/08/2008, at 4:55 AM, Tim Hoff wrote: However, if you have flex scrollbars that are skinned, you would then have a mix of scrollbar styles. Personally, I'd rather have

[flexcoders] Re: Will Scene 7 turn Adobe into a competitor of it's ISVs like Microsoft ???

2008-08-26 Thread Tim Hoff
Don't worry about it Doug. I haven't read one post from this guy that offered anything useful or positive; which is a shame considering the amout of experience that he claims to have. On the one hand he admonishes you for being sarcastic, while at the same time his own post is riddled with

[flexcoders] Re: HSlider thumb goes beyond the track (with my custom skin)...

2008-08-25 Thread Tim Hoff
Hi Andrew, I have run into this before. For me, the problem was that there were a couple of transparent pixels on the left and right side of my image. I fixed the problem by editing the track skin image and making sure that it extended to both the left and right side. -TH --- In

[flexcoders] Re: Trying to understand RadioButton selection change logic with custom RadioButtons

2008-08-25 Thread Tim Hoff
Hi there, Since the radio buttons are children of custom components, they don't live in the same scope as each other. To overcome this and have the RadioButtons behave as a group: * Place a RadioButtonGroup in the main class: mx:RadioButtonGroup id=myRadioButtonGroup/ * Use something

[flexcoders] Re: Formatting Dates/Times

2008-08-25 Thread Tim Hoff
Hi Dale, This is as close as you're going to get out of the box: var df : DateFormatter = new DateFormatter(); df.formatString = , DD, ; var newDate:Date = new Date(); dateLabel.text = df.format(newDate); -TH --- In flexcoders@yahoogroups.com, Dale Cook [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: How to check a table already exist in SQLite?

2008-08-25 Thread Tim Rowe
If you only want this for when you're actually creating the table, rather than trying to confirm it exists: From http://www.sqlite.org/lang_createtable.html CREATE [TEMP | TEMPORARY] TABLE [IF NOT EXISTS] [database-name .] table-name ( column-def [, column-def]* [, constraint]* )

[flexcoders] Re: DataGridColumn trouble...

2008-08-23 Thread Tim Hoff
Sefi, If you really wanted to try to get at the calculated values in another column, in the same row, you would have to use an itemRenderer. Because an itemRenderer implements IDropInListItemRenderer, it has access to the listData property. This property contains the rowIndex and the

[flexcoders] Re: TabBar from xml - missing labels

2008-08-23 Thread Tim Hoff
Hi Mic, Just make these changes: newItem.tabLabel = [EMAIL PROTECTED](); mx:TabBar id=myTabBar labelField = tabLabel/ -TH --- In flexcoders@yahoogroups.com, Mic [EMAIL PROTECTED] wrote: What is the syntax for the labelField please? I get the 4 tabs but no labels. As always, TIA, Mic.

[flexcoders] Re: Datagrid column's data field - getting value from XMLListCollection

2008-08-23 Thread Tim Hoff
Hey Scott, You're going to have to use a lableFunction to display the child node. -TH --- In flexcoders@yahoogroups.com, sleblang [EMAIL PROTECTED] wrote: I am using a datagrid with the dataprovider being an xmlListCollection. One of the dataGridColumns dataField is using a node text value

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tim Hoff
Ninio [EMAIL PROTECTED] wrote: Hi Tim. I'm not worried about duplicating code, the calculations are already implemented in a different function, since the first two label function use them. I want to save the computing time of doing the calculations again... And I do want to look at the datagrid

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tim Hoff
Absolutely not true. Perhaps it wouldn't be a pure dto, but vo's often contain properties that are only useful to the UI. Since you've chosen to perform these calculations in the client, as opposed to the middle tier; where business logic typically resides, each row of the collection will have

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tim Hoff
. The VO/DTO pattern is majorly misused. Thankfully not so much in Java anymore as EJB3/ORM have taken hold. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Absolutely not true. Perhaps it wouldn't be a pure dto, but vo's often contain properties that are only useful

[flexcoders] Re: Skinning TitleWindow Question

2008-08-21 Thread Tim Hoff
Hi Boon, For moving the close button, you would have to extend TitleWindow and change the close button position. For the gradient, you can use a border skin or a background image for the content area. -TH --- In flexcoders@yahoogroups.com, Boon Chew [EMAIL PROTECTED] wrote: Hi, I am

[flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Tim Hoff
Hi Richard, No, not using IResponder. But, you may be able to use the UM extensions for a callBack; instead of listening for an event. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Does anyone have an example of using FlexUnit's addAsync() call with a

[flexcoders] Re: Problems implementing tweening in FLEX

2008-08-20 Thread Tim Hoff
Hi Anuj, You'll want to go with a popup (PopupManager) here. You can get the same positioning, and the tween can be accomplished with a show, crestionComplete and/or hide effect. -TH --- In flexcoders@yahoogroups.com, anuj181 [EMAIL PROTECTED] wrote: Hi All I implemented transition with

[flexcoders] Re: Accessing two canvas in a viewStack

2008-08-19 Thread Tim Hoff
A little confusing at the end. You're probably saying that the component that contains the common controls, between the two ViewStack child Canvases, isn't persisting it's state; when you switch back and forth. If you have controls that are common to both views, perhaps using ViewStates would

[flexcoders] Re: Debug Termination

2008-08-19 Thread Tim Hoff
There's also the red terminate button on the console tab; that sometimes is mistaken for the debug terminate button. I always have to check to make sure that there is a green run button next to it, to make sure that it's the right one. -TH --- In flexcoders@yahoogroups.com, Daniel Freiman

[flexcoders] Re: Multiple arrays?

2008-08-18 Thread Tim Hoff
Hi Shaun, Last year I lead a project, for a major on-line ticket company, which is currently being used to select and sell seats to sporting events. The approach used there, was to maintain all of the seats in a single array (ArrayCollection). Each seat has a unique id field; so that updating

[flexcoders] Re: Access column chart items

2008-08-18 Thread Tim Hoff
Hi there, Your question is a little vague; concerning the use-case. But, this might help get you moving in the right direction: import mx.charts.events.ChartItemEvent; private function selectItem(e:ChartItemEvent) : void { myTextArea.text = e.hitData.item.myField.toString(); }

[flexcoders] Re: Namespace issue displaying xml in Tree

2008-08-18 Thread Tim Hoff
Hi Amanda, I usually just strip out the namespace junk; when the result is returned. Something like: public function onResult(event: * = null) : void { var myXML : XML = event.result as XML; model.myXML = new XML(myXML.toXMLString().replace(xmlns:ns2=http://service.xxx.xx.xx.xx.\

[flexcoders] Re: Accessing form elements with cairngrom

2008-08-18 Thread Tim Hoff
Hi Jerry, Usually a Command will update variables in the ModelLocator; which will be bound to the View controls. In other words, a Command should not know about a View and vice-versa. -TH --- In flexcoders@yahoogroups.com, jerry_gagliano [EMAIL PROTECTED] wrote: Hi, I am using

[flexcoders] Re: Send crypted password

2008-08-18 Thread Tim Hoff
Nothing wrong with storing MD5 encrypted passwords in the database. There are open source classes (AS3 and java), that you can use to encrypt the password string on the client and, if needed in the middle. -TH --- In flexcoders@yahoogroups.com, Varun Shetty [EMAIL PROTECTED] wrote: I believe

[flexcoders] Re: Send crypted password

2008-08-18 Thread Tim Hoff
java, read php. Damn. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Nothing wrong with storing MD5 encrypted passwords in the database. There are open source classes (AS3 and java), that you can use to encrypt the password string on the client and, if needed

[flexcoders] Re: Datagrid editedItem

2008-08-18 Thread Tim Hoff
:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Wednesday, August 13, 2008 11:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid editedItem Ok, makes sense. You could manually update the collection inside the itemEditor itself: private function onChange():void

[flexcoders] Re: Calling Datagrid labelFunction from ActionScript

2008-08-16 Thread Tim Hoff
Hi Donald, Hope this helps: // don't use parenthesis, no parameters required newDGCol.labelFunction = showUserScheduleType; private function showUserScheduleType(item:Object, column:DataGridColumn):String { // all of the fields in the data object (row of dataProvider fields) are available

<    1   2   3   4   5   6   7   8   9   10   >