[flexcoders] Re: RIADEV-FLEXCHINAGROUP

2007-02-07 Thread Tim Hoff
e our 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 PRO

[flexcoders] Re: VBox, constraint based layout not clipping content

2007-03-09 Thread Tim Hoff
nimal; and provides interesting reading in the help docs. -TH ______ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY --- In flexcoders@yahoogroups.com, "scott_flex" <[EMAIL PROT

[flexcoders] Re: VBox, constraint based layout not clipping content

2007-03-09 Thread Tim Hoff
nue on with what i've done, it's not that complicated, > just more work for me :). > > --Scott > > > --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > > > > Unless you explicitly set the height and width of a container, it > w

[flexcoders] Re: VBox, constraint based layout not clipping content

2007-03-09 Thread Tim Hoff
int based layout with the > term "Docking" in .Net windows development. > > > > --Scott > > --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > > Well, just one more point: constraints (similar to padding) have > > nothing to

[flexcoders] Re: Virtually add item to combobox

2007-03-12 Thread Tim Hoff
&Chann\ elID=1> -TH ______ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > ComboBox

[flexcoders] Re: Cairngorm: When / why override clone in Events

2007-03-14 Thread Tim Hoff
Hi Sean, Here's a good explanation: http://www.tink.ws/blog/custom-events-in-as-30-dont-forget-to-override-t\ he-clone-method/ <http://www.tink.ws/blog/custom-events-in-as-30-dont-forget-to-override-\ the-clone-method/> -TH ______ Tim Hoff Cynergy S

[flexcoders] Re: Cairngorm: When / why override clone in Events

2007-03-14 Thread Tim Hoff
es Cairngorm take care of the override or do I really need to create a custom event class for every type of event? > > - Original Message > From: Tim Hoff <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Wednesday, March 14, 2007 3:51:01 PM > Subj

RE: [flexcoders] Accessing Item Renderer in a List.

2007-03-28 Thread Tim Hoff
For something like this you would want to update the progressBar in the set data override function. But remember to call super.invalidateDisplayList(); in that function to re-render. -TH CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Be

[flexcoders] Re: Accessing Item Renderer in a List.

2007-03-28 Thread Tim Hoff
For something like this you would want to update the ProgressBar in the set data override function. But, remember to call super.invalidateDisplayList(), in that function, to render the changes. -TH CYNERGY Sorry if this comes acros twice. --- In flexcoders@yahoogroups.com, "Tracy Spratt"

[flexcoders] Re: Observe tag not working?

2007-03-29 Thread Tim Hoff
Hi Kevin, The Observe tag automatically sends the object that you are observing to the handler function: private function observeHandlerFunction( myProperty : myPropertyType ) : void { // do something } -TH __ Tim Hoff Cynergy Systems, Inc. http

[flexcoders] Re: Observe tag not working?

2007-03-29 Thread Tim Hoff
different from the ObserveValue tag? I generally do > not use any parameters in my ObserveValue handlers and get by without > any errors? > > I'll test this some more. Thanks for the advice. > > - kevin > > > On Mar 29, 2007, at 2:32 PM, Tim Hoff wrote: > > > &g

[flexcoders] Re: Startegy for notifying views in Cairngorm

2007-03-29 Thread Tim Hoff
mand) that is listened for by the view. The first two are recommended by the Cairngorm gurus. -TH ______ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY --- In flexcoders@yahoogroups.com, &

[flexcoders] Re: Can I get the icon in cornflower blue?

2007-03-29 Thread Tim Hoff
on, it's a great place to improve your Flex skills. If this sounds interesting to you, please feel free to contact us. -TH ______ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY --- In

[flexcoders] Re: need a little help with itemRenderer

2007-03-30 Thread Tim Hoff
} super.invalidateDisplayList(); } } -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY --- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote:

[flexcoders] Re: Again.

2007-03-30 Thread Tim Hoff
Alert.show(ProcessorName.selectedItem.lastResult) to Alert.show(ProcessorName.selectedItem.id) -TH --- In flexcoders@yahoogroups.com, Jeremy Watson <[EMAIL PROTECTED]> wrote: > > Hey Guys, > > Man this combo thing is pissin me off! Let me ask this simple question first. > > Is this the co

[flexcoders] Re: Again.

2007-03-30 Thread Tim Hoff
Cool, I knew that you would get. For aomething like this, you can also bypass the change event (if you just need a value) by binding directly: > > } > > > > > > // Display a selected item's label field and index for > > change events. > > > private function ch

[flexcoders] Re: Again.

2007-03-30 Thread Tim Hoff
Let's try this without the typo's. Cool, I knew that you would get it. :) For something like this, you can also bypass the change event (if you just need a value) by binding directly: or, whatever field you want. Cheers, -TH --- In flexcoders@yahoogroups.com, "Tim Hoff&quo

[flexcoders] Re: hiding a cell within a datagrid dynamically

2008-06-11 Thread Tim Hoff
Cool. -TH --- In flexcoders@yahoogroups.com, "anthony_morsey" <[EMAIL PROTECTED]> wrote: > > Thanks TH -- your solution works great!! > > Tony > > --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > > > > Here's ano

[flexcoders] Re: Any best-practice for labelField="field.innerField" on things like DataGridC

2008-06-11 Thread Tim Hoff
The only problem with using labelFunctions or itemRenderers for this, is that the default sort mechanism (column header click) doesn't work (see historical low). To avoid having to write sortCompareFunctions, sometimes its easier to just bite the bullet and manually add the nested fields to the t

[flexcoders] Re: scrolling prob on itemrenderers

2008-06-11 Thread Tim Hoff
Hi Ibo, Try setting mouseEnable="false" and mouseChildren="false" on the container in the itemRenderer (not the textArea, rather it's parent container). -TH --- In flexcoders@yahoogroups.com, ibo <[EMAIL PROTECTED]> wrote: > > I have created a custom ItemRenderer with a textarea in it. This It

[flexcoders] Re: Datatips not working in datagrid??

2008-06-12 Thread Tim Hoff
Hey Josh, -TH --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Hey guys, > It seems my dataTips aren't working for some reason :S > > > > > > labelFunction="{ dateLabeller }" width="95"/> > > dataTipField="clientName"/> > > labelFunction="{currencyLabeller

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Tim Hoff
Hi Amy, Just a thought, but what happens if you take width="100%" off of the tile list, or set the width and columnWidth to explicit values? Does the extra space still show up? And, did you try Alex's suggestion to add paddingRight="0" to the tile list? Because of the bindings and itemRenderer

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Tim Hoff
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Amy > Sent: Friday, June 13, 2008 1:07 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Extra pixels on right side of TileList. > > > > --- In flexco

[flexcoders] Re: HELP - iTunes look and feel

2008-06-14 Thread Tim Hoff
http://www.scalenine.com/ -TH --- In flexcoders@yahoogroups.com, "pic.micro23" <[EMAIL PROTECTED]> wrote: > > Hello - I learning FLEX and I saw somewhere an RSS reader created with > FLEX/AIR with sourcecoder that had the look and feel (skin). > > I have searched and

[flexcoders] Re: Move and Resize effect on panel

2008-06-16 Thread Tim Hoff
Hi Steve, Would usually use state transitions for this, with a shorter duration, but the code below works the same way. Effects are smoothest when you set the from and to values. Not as smooth if you are applying an effect on a component that is percentage size based. For these, change somethi

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Tim Hoff
Hi Anotole, This topic has been brought up several times since this list was established. At times, it does seem that the post topics are very diverse. However, with the clear exception of flexcomponents, the suggestion to split the list into sub groups has been consistantly avoided; to reduce

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Tim Hoff
My appologies Anatole; I mispelled your name. No offense intended. -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hi Anotole, > > This topic has been brought up several times since this list was > established. At times,

[flexcoders] Re: change bindings witin mx:State

2008-06-17 Thread Tim Hoff
Hi Hongsheng, You could bind a variable to the x value of tryMe, and update the value of the variable when the state changes. Or, use a tenery statement (ugly for this): wrote: > > Can someone please help me out on how to change variable binding when > changing state? For example, I have somet

[flexcoders] Re: change bindings witin mx:State

2008-06-17 Thread Tim Hoff
tenery - read ternary -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hi Hongsheng, > > You could bind a variable to the x value of tryMe, and update the value > of the variable when the state changes. Or, use a

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Tim Hoff
Doug, Here are the numbers. looks pretty consistant; once the critical mass was reached. -TH Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2008 3282 3513 3859 <

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Tim Hoff
No words to eat man. Those numbers also indicate that there hasn't been a sudden explosion in message volume recently. It's been consitant for years.So, the need to drastically re-structure because of the Inbox doesn't fly. Stagnation, perhaps. Less un-answered questions being asked. Any

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Tim Hoff
Very unlikely given > prominent place Adobe gives to this user group that number of flexcoders > should not increase even faster. > It is either usability problem or we are just lucky. Adobe has to run > extended stats on subscription / unsubscription dynamics and decide what to > do. >

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Tim Hoff
Hey Matt, Appreciate you taking the time to stay in touch with this list. It sounds like Adobe has some great plans for the Flex forums that might improve the experience that people have commented on. I look forward to see what the somewhat near future brings. The only thing that I can say is

[flexcoders] Re: ColumnSet vs Multiple axes

2008-06-18 Thread Tim Hoff
Hi Richard, For a work-around, first give each ColumnSeries an id. If you also want to change the z-order, give the ColumnSet an id as well. Then, on CreationComplete, do something like this to offset the columns and/or change the depth. private function onCreationComplete(): void { // of

[flexcoders] Re: Parent column of ItemRenderer

2008-06-18 Thread Tim Hoff
Hi Zee, You can determine the column by looking at listData.columnIndex from within the itemRenderer. -TH --- In flexcoders@yahoogroups.com, "Zee Yang" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a custom item renderer for an advanced data grid. My data grid > has several columns sharing the

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Tim Hoff
I take every day to review > the list, so it doesn't impact my productivity, much like I do every day > with the MXNA. > > So I'm not convinced that splitting up the list simply to make things > more efficient and the volume less intimidating for some people > outweighs

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-19 Thread Tim Hoff
LOL - We're here to Flex.. [ clap ] ..you up! -TH --- In flexcoders@yahoogroups.com, "Merrill, Jason" <[EMAIL PROTECTED]> wrote: > > I would recommend we shut down this list entirely, we all move to the same city and join a gym where we meet up every morning and ask Flex questions while we spot

[flexcoders] Re: way way OT: another "flex"?

2008-06-19 Thread Tim Hoff
16 city / 22 highway; oh yeah. It's funny, when this site first came out it was touted as being written in Flex. Looks more like a Flash site though. -TH --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Just like the AIR bus tour, Matt and Ely will travel the coun

[flexcoders] Re: way way OT: another "flex"?

2008-06-19 Thread Tim Hoff
. It's got scripts all over movieclips. w. > > Doug > > On Thu, Jun 19, 2008 at 1:06 PM, Tim Hoff [EMAIL PROTECTED] wrote: > > > > 16 city / 22 highway; oh yeah. It's funny, when this site first came > > out it was touted as being written in Flex.

[flexcoders] Re: showing the HandCursor over itemRenderers

2008-06-19 Thread Tim Hoff
Hi, Here's one way: -TH --- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote: > > Hi, I have a list component, problem is the handCursor only shows by > the edges, (yes, buttonMode=true, handCur

[flexcoders] Re: Cairngorm Event Question

2008-06-19 Thread Tim Hoff
Hey Don, This Flex Show episode is very informative. Thomas Burleson, from UI, did a great job explaining the Cairngorm UM extensions. They certainly deserve c

[flexcoders] Re: Cairngorm Event Question

2008-06-19 Thread Tim Hoff
Ha, UM that is. -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hey Don, > > This Flex Show episode > <http://www.theflexshow.com/blog/index.cfm/2008/4/9/The-Flex-Show-- Episo\ > de-41-Universal-Mind-Cairngorm

[flexcoders] Re: Cairngorm Event Question

2008-06-20 Thread Tim Hoff
Hey Barry, My comments, concerning Cairngorm from the beginning, is that there needed to be a more robust method of informing the view that a gesture head succeded or failed. Probably my ignorance, and I'm totally open to suggestion, but the UM extensions seeemed to solve the initial Cairngorm;

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-20 Thread Tim Hoff
I'll tell you honestly Anatole, I've been an enterprise developer for 25 years. From EDLIN to Flex, I've seen it; so please don't propose that you have some un-known insight to software development. This list, and the Macromedia based essence of theme for Flex that has been a huge success, doesn

[flexcoders] Re: Cairngorm Event Question

2008-06-20 Thread Tim Hoff
I hear you João, Binding to the model works the majority of the time. However, it can also add a significant amount of model variables, that are used stricly for state, that can be eliminated with view call-backs. It's clearly an issue of preference, but I personally like what the guys at UM ha

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-20 Thread Tim Hoff
to join. I will > post formal invitation with list of the topics it will cover as soon as all > facets are ready and tested > > Thank you, > Anatole Tartakovsky > > > > Thank you > On Fri, Jun 20, 2008 at 3:40 AM, Tim Hoff [EMAIL PROTECTED] wrote: > > > I&#

[flexcoders] Re: Menubar Styling

2008-06-20 Thread Tim Hoff
Hi Nicholas, The dropdowns are Menu controls, so you can create these styles in your CSS file; or your method of choice for setting styles. MenuBar { fontSize: 14; color: #ff; fontFamily: "arial"; } Menu { fontSize: 16; color: #ff; rollOverColor: #22

[flexcoders] Re: Menubar Styling

2008-06-20 Thread Tim Hoff
Good timing. :-) --- In flexcoders@yahoogroups.com, "Deepa Subramaniam" <[EMAIL PROTECTED]> wrote: > > You can style the MenuBar by setting styles as attributes, or through > ActionScript, on the MenuBar directly. > > To style the menus popped open by the MenuBar, you can loop through them > i

[flexcoders] Re: Change cell's background

2008-06-22 Thread Tim Hoff
1000 isn't a valid color uint, try 0x00 or "#00". Setting the background color of an itemRenderer in this way, will probably not give you the desired result; since the itemRenderers are recycled. You're better off over-riding the set data or updataDisplayList functions, in the itemR

[flexcoders] Re: Selection in dataGrid

2008-06-22 Thread Tim Hoff
Here's a handy search site ;

[flexcoders] Re: Some interesting flexcoders stats

2008-06-22 Thread Tim Hoff
flexCodersStatus = (mostRecentlyPostedThread == "The subject that shall not be named!" ? "Banned" : "Active"); -TH :-) --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote: > > Hey folks, > > Given the recent big thread on the subject that shall not be named, my > colleague S

[flexcoders] Re: ViewStack sizing problem

2008-06-24 Thread Tim Hoff
Hi Amy, Try setting resizeToContent="true" on the ViewStack tag. -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > I have a ViewStack that contains a TileList and some other components > that have a variable number of children and thus a variable height. > It seems tha

[flexcoders] Re: ViewStack sizing problem

2008-06-24 Thread Tim Hoff
No worries, had to learn that one myself as well. If you don't set that property, the container will remain the size of the first child; regardless. Cheers, -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com

[flexcoders] Re: Unique values on the CategoryAxis

2008-06-26 Thread Tim Hoff
Hi Vijay, This will get rid of your duplicate Apple. Although you have the uniqueArr hardcoded, you can derive that from the data. -TH --- In flexcoders@yahoogroups.com, "Vijay Anand Mareddy" <[EMAIL PROTECTED]> wrote: > > How do i make the CategoryAxis show only unique values > > In my exam

[flexcoders] Re: Unique values on the CategoryAxis

2008-06-26 Thread Tim Hoff
quot;> > > > > > > > > > > > > > > /> > > /> > > displayName="myData"/> > > > > > > > > > > -VM > > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wro

[flexcoders] Re: currentstate in custom component

2008-06-27 Thread Tim Hoff
Hi Kobe, If you're asking how to change the current state of main.mxml from inside a custom component, here are a few ways: * The simplest way, is to use parentDocument.currentState = "myBaseStateName". For more deeply nested components, you can also chain these like: parentDocument.parentDo

[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread Tim Hoff
Hi João, This is kind of a hack, but you could try: If you used this, you would want to execute the setFocus code on creationComplete of the editor; for the first time that the editor is shown. Instead of useing states for something like this though, you might want to consider using a ViewSTa

[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread Tim Hoff
Yep, my bad. As Jonathan points out, this should be enterState instead of onEnter (grr). -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hi João, > > This is kind of a hack, but you could try: > > > > If y

[flexcoders] Re: Cancelling a checkbox.selected

2008-07-01 Thread Tim Hoff
Hi, "to display it again when the application is relaunched" This implies that you are saving and loading the pref settings data. If the user clicks the cancel button, you could reload the settings data that is already saved. For CRUD, it sometimes makes sense to edit a copy of the persisted d

[flexcoders] ToolTip TextField TextColor

2008-07-01 Thread Tim Hoff
Hi all, I've run into a problem with globally skinning ToolTips. I am to skin the border and background by using a programmatic borderSkin. However, the textField in ToolTip.as is protected and I'm not sure how to change it's style globally (tried TextField CSS). I'm just looking for a way

[flexcoders] Re: legend setstyle not working properly

2008-07-01 Thread Tim Hoff
Looks like direction is a property; not a style. Try genericLegend.direction = "horizontal"; -TH --- In flexcoders@yahoogroups.com, "netdeep" <[EMAIL PROTECTED]> wrote: > > > I am trying to change the formatting for a Legend in Actionscript: > > genericLegend.setStyle("direction", "horizontal")

[flexcoders] Re: Cancelling a checkbox.selected

2008-07-01 Thread Tim Hoff
t; Hi Tim, > > what an idea ! so simple... > I just had to think about it :-) > Thx a lot, it works fine with your first suggestion. > > For CRUD, is it possible to create a copy of the "prefs" file with the > Flex/Air API ? > > Take care. > > --- In

[flexcoders] Re: ToolTip TextField TextColor

2008-07-01 Thread Tim Hoff
; Gordon Smith > > Adobe Flex SDK Team > > > > ________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Hoff > Sent: Tuesday, July 01, 2008 2:08 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders]

[flexcoders] Re: ToolTip TextField TextColor

2008-07-01 Thread Tim Hoff
with gradiant fills, the border, and any filters that might be desired. Thanks again., -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Yep, > > color changed the text color, when I tried it in a new project. It's > not wor

[flexcoders] Re: Caringorm Event

2008-07-02 Thread Tim Hoff
Hi, Looks like serviceValidator should be srvValdErr; in your clone method: override public function clone():Event { return new VerifyModelNameEvent( srvValdErr ); } -TH --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: > > hi every i facing problem while re-dispatching Caringorm

[flexcoders] Re: List displaying wrong information

2008-07-02 Thread Tim Hoff
Interested to see what your itemRenderer looks like. Are you over-riding any methods? -TH --- In flexcoders@yahoogroups.com, "nathanpdaniel" <[EMAIL PROTECTED]> wrote: > > BTW - If I don't use an itemRenderer, it works fine and displays how > it should. > > > > --- In flexcoders@yahoogroups.com

[flexcoders] Re: List displaying wrong information - RESOLVED

2008-07-02 Thread Tim Hoff
ith it (a bit overkill). > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com , > "Sean Clark Hess" seanhess@ wrote: > > > > Yeah, that's as far as I can get without seeing any code > > > > On Wed, Jul 2, 2008 at 12:01

[flexcoders] Re: AdvancedDataGrid scrolling

2008-07-03 Thread Tim Hoff
Hi, The only way to get smooth scrolling, with any of the list based components, is to place them in a container (like canvas) and set the list's height explicitly; to render all of the items (valueCommit="myList.height = myList.measureHeightOfItems"). This will give you a performance hit, but

[flexcoders] Re: Caringorm Event

2008-07-03 Thread Tim Hoff
What, you've foresaken ESP? :)) -TH --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Wednesday 02 Jul 2008, [EMAIL PROTECTED] wrote: > > hi every i facing problem while re-dispatching Caringorm event. i have > ... > > problem here is code for my event class.. >

[flexcoders] Re: Setting Focus to the First control

2008-07-04 Thread Tim Hoff
This has been a long-standing problem with FF. No workaround currently exists. -TH --- In flexcoders@yahoogroups.com, "akila_ksri" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using the following line of code in the html page to set focus to > the first control (TextInput) without any mouse-cli

[flexcoders] Re: How to access properties of symbols in loaded SWF?

2008-07-04 Thread Tim Hoff
Hi Sherm, Since you're using Flash CS3, I'd recommend that you use the Flex Component Kit for Flash CS3. This will allow you to export a Flash movie as a SWC, and interact with it as if it was a Flex Component. Here's a couple of links that might be helpful: http://blog.halcyonsolutions.net/20

[flexcoders] Re: Trick button into rendering mouseover/mouseout states

2008-07-06 Thread Tim Hoff
Using a transparent image as the skin is cleanest and easiest. The "skins" array in Button.as is private, so you'd have to subclass; in order to get to those display objects. You can partially trick the button with myButton.mx_internal::currentSkin.alpha = 0, but that's a real hack; not to menti

[flexcoders] Re: Caringorm Event

2008-07-07 Thread Tim Hoff
Too funny. --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > I knew you were going to say that :-) > > > What, you've foresaken ESP? :)) > > > > -TH > > > > --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ > > > > wrote: > > > On Wednesday 02 Jul 2008,

[flexcoders] Re: Item renderers cause processor to max out

2008-07-07 Thread Tim Hoff
Hi Tom, What are you doing with this event in set data? dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); It's a loop. -TH --- In flexcoders@yahoogroups.com, "Tom McNeer" <[EMAIL PROTECTED]> wrote: > > Hi, > > I began asking about this problem last week and Alex Harui tried to help me. > B

[flexcoders] Re: Item renderers cause processor to max out

2008-07-07 Thread Tim Hoff
AIL PROTECTED]> wrote: > > Hi Tim, > > Thanks for the reply. > > On Mon, Jul 7, 2008 at 10:54 AM, Tim Hoff [EMAIL PROTECTED] wrote: > > > What are you doing with this event in set data? > > > > dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); > > > > I

[flexcoders] Re: Trick button into rendering mouseover/mouseout states

2008-07-07 Thread Tim Hoff
Doesn't work if you want to keep the button icons visible. Wouldn't this also affect embedded fonts? -TH --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Skin the way you normally do, but set the alpha=0 > > > > > > From: flexcoders

[flexcoders] Re: Trick button into rendering mouseover/mouseout states

2008-07-07 Thread Tim Hoff
ext is not a child of > the skin. Maybe I don't understand what he wants or what you tried. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Hoff > Sent: Monday, July 07, 2008 10:02 AM > To:

[flexcoders] Re: DataGrid

2008-07-08 Thread Tim Hoff
Damn Niraj, this is an old thread. :-) Rob said the right things. To do what you want, will take more than just over-riding a method or two. This is more in the area of flexcomponents . Not for the faint of heart, but if you really want to

[flexcoders] Re: DataGrid

2008-07-09 Thread Tim Hoff
hange axis on a chart; but a dataGrid? -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: > > > > > > Damn Niraj, this is an old thread. :-) > > >

[flexcoders] Re: Container for a from

2008-07-09 Thread Tim Hoff
Search for "Using constraints to control component layout" in the help docs. -TH --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > I am trying to come up with a container to hold a form in. I want to > use as much space of the container as possible. So, I dont w

[flexcoders] Re: States

2008-07-11 Thread Tim Hoff
Yes Scott, any Flex component can have multiple states. Very cool, if you ask me; especially because of the effects and transitions that can be applied to state changes. Just search the help docs for "view states" and/or "viewStack" and you'll get a ton of info. -TH --- In flexcoders@yahoogr

[flexcoders] Re: Trick button into rendering mouseover/mouseout states

2008-07-11 Thread Tim Hoff
n component. > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" aharui@ wrote: > > > > Interesting. It should work because the icon and text > is not a > child of > > the skin. Maybe I don't understa

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread Tim Hoff
Hi fumeng, You could work this out using Math.round(). Although this method rounds to the nearest integer (doesn't use a precision parameter), with a little work this could help you compare apples to apples. -TH --- In flexcoders@yahoogroups.com, "fumeng5" <[EMAIL PROTECTED]> wrote: > > Hi, >

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread Tim Hoff
n = 2; > var myNum:Number = Number( numberFormatter.format( myOldNum ) ); > > This will give you the old number formatted to 2 decimal places (or > however many you need). From here you could use your "tolerance" to > compare the 2 numbers. > > --- In flexcoders@yahoogroups.c

[flexcoders] Re: Extra space appearing between my mx:Text elements

2008-07-15 Thread Tim Hoff
-TH --- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote: > > I create the following objects inside an mx:TitleWindow: > > > > > > > > The display has 20px or so of space between the two text elements. How > can I get rid of this space? Should I be using so

[flexcoders] Re: Removing ArrayCollection item from within ItemRenderer

2008-07-16 Thread Tim Hoff
Hi Barry, Sorry to laugh a little, but parent.removeChild(this), is actually removing the itemRenderer display object; and leaving a hole in the TileList. There are a few ways to remove list items; from within an itemRenderer. But, most of them involve referencing the list's dataProvider direct

[flexcoders] Re: Drawing on Canvas using Graphics API with backgroundColor

2008-07-19 Thread Tim Hoff
Hi Vijay, If you want to draw a line on top of the background of a canvas, you can draw it in a BorderSkin. Or, something like this works, usually by overriding createChildren(): var myComponent:UIComponent = new UIComponent(); var myShape:Shape = new Shape(); myShape.graphics.lineStyle(2); myS

[flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread Tim Hoff
Hi, Here's a way that you can embed an external xml file into your app: [Embed('/data/myStubData.xml')] private var myStubDataXML : Class; private function onInitialize() : void { var myXML : XML = new XML( myStubDataXML.data ); } -TH --- In flexcoders@yahoogroups.com, "edlueze" <[EMAIL

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-25 Thread Tim Hoff
Are you talking about the axis renderer labels for a categoryField? If so, check-out labelGap? -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Amy" amyblankenship@ wrote: > > > > Hi, all; > > > > Is there any way to center a bar ch

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-25 Thread Tim Hoff
charts/> -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: > > > > > > Are you talking about the axis renderer labels for a > category

[flexcoders] Re: Pick right color for the chart

2008-07-25 Thread Tim Hoff
Hi, Here's a good tool for selecting/creating color schemes: http://kuler.adobe.com/ And, this is a good place for themes: http://www.scalenine.com/ -TH --- In flexcoders@yahoogroups.com, "hworke" <[EMAIL PROTECTED]> wrote: > > > > Hello

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-26 Thread Tim Hoff
label.setActualSize(_label.getExplicitOrMeasuredWidth(),_label.getExpli\ citOrMeasuredHeight()); _label.move(unscaledWidth/2 - _label.getExplicitOrMeasuredWidth()/2, unscaledHeight/2 - _label.getExplicitOrMeasuredHeight()/2); } } } --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL P

[flexcoders] Re: Flex overlay over HTML

2008-07-26 Thread Tim Hoff
Hi Easow, You could just use an IFrame. -TH --- In flexcoders@yahoogroups.com, "Easow Jacob" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a *HTML* page with a small *flex* app embedded into it. > > When you click on the *flex* app, I want an *overlay* to come *over* page > showing my app. > >

[flexcoders] Re: Flex overlay over HTML

2008-07-27 Thread Tim Hoff
eWindow is > appearing.But here is my problem.I embeded > this swf in an HTML but when I click the Popup,titleWindow is not > appearing,because it was not able to overlay above the HTML... > How can I achive the tilte window to appear above he HTML. > > Thanks > > On Sat, Jul 26, 20

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-27 Thread Tim Hoff
e product much more robust in the future. Cheers, -TH --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: > > > > > > Hi Amy, > > > > I guess that everyone has

[flexcoders] Re: flex 2/3 charting questions

2008-07-29 Thread Tim Hoff
As a related note, if you're automating a flex3 build (mxmlc) with charts, using ant, you may want to to include the following files into the project. Otherwise, there will be compile errors; if the machine doesn't have the pro version installed. /libs/datavisualization.swc (add library path) /

[flexcoders] Re: Free Flex Gauge Component

2008-07-29 Thread Tim Hoff
Very cool Tom, thanks. -TH --- In flexcoders@yahoogroups.com, "twgonzalez" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "twgonzalez" tgonzalez@ wrote: > Update v.04 released New features: Alert Levels Log Scale BounceEffect > on/off More accurate tick marks You can see it he

[flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread Tim Hoff
Here's one way. If you're scrolling to the index and setting the currentItem, you an use this code with the change event: private function onItemClick(event:ListEvent):void { var pt:Point = new Point(event.itemRenderer.x, event.itemRenderer.y); pt = event.currentTarget.localTo

[flexcoders] Re: how to get the y position of item in list

2008-07-29 Thread Tim Hoff
I'm not clicking, I just need to scroll then grab the position of the > item. > Thanks for the try, but this is not a viable solution. > > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: > > > > > > Here's one way. If you'r

[flexcoders] Re: Flex 2.01 date problem

2008-07-29 Thread Tim Hoff
Yes, but what Matt and Gordon are saying is if you're going to create a date like this (adjust, instead of construct all at once), you may run into a leap year issue. var dtTest:Date = new Date - dtTest.toDateString()=Tue Jul 29 2008 dtTest.fullYear = 1987 - dtTest.toDateString()=Wed Jul 29 1987

  1   2   3   4   5   6   7   8   9   10   >