RE: [flexcoders] move scroll bar programmatically

2005-08-23 Thread Joan Tan
You can set hPosition for a horizontal scrollbar or vPosition for a vertical scrollbar. Joan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of maricnkg Sent: Tuesday, August 23, 2005 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] ComboBox issue

2006-03-16 Thread Joan Tan
Can you post the code for your ComboBox and what the dataProvider looks like? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dima Ulich Sent: Thursday, March 16, 2006 10:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox

RE: [flexcoders] Flex 2 Tree Behaviour override

2006-03-20 Thread Joan Tan
If you are still using just text for each node in your tree, then, you dont need to do a custom itemRenderer. Instead, you can just use a labelFunction. So, on your Tree tag, just add something like labelFunction=returnLabel. Then, you will have a returnLabel function that looks

RE: [flexcoders] FB2 :: doubleClick bug event doen't happen

2006-03-21 Thread Joan Tan
You now need to set the doubleClickEnabled property to true to enable doubleClick events. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Sent: Tuesday, March 21, 2006 4:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2

RE: [flexcoders] FB2 :: doubleClick bug event doen't happen

2006-03-21 Thread Joan Tan
to false Dima --- Joan Tan [EMAIL PROTECTED] wrote: You now need to set the doubleClickEnabled property to true to enable doubleClick events. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Sent: Tuesday

RE: [flexcoders] Re: Opinions sought: Flex and small developers

2006-03-21 Thread Joan Tan
Here is some info : http://www.adobe.com/aboutadobe/pressroom/pressreleases/200602/020106Flex.html At the bottom, youll find the stuff about pricing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pixelgeek Sent: Tuesday, March 21, 2006 9:18 AM To:

RE: [flexcoders] filter an array, write an array

2006-03-21 Thread Joan Tan
In the Flex Explorer example that comes with the beta, there should be an example under Collections on using the filter capabilities of Flex Collections. You can start from there. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alan_a55 Sent:

RE: [flexcoders] mx:SetProperty how to convert this?

2006-03-21 Thread Joan Tan
I think this will work: mx:states mx:State name=Advanced mx:SetProperty target={filtros} name=width value=234/ /mx:State /mx:states From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Martins Sent: Tuesday, March 21, 2006 3:30 PM To:

RE: [flexcoders] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan
I can reproduce the bug. Do you remember the bug # that you filed. Or, I will file a new one. I cant seem to find the original bug. Thanks, Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton Sent: Thursday, March 23, 2006 11:01 AM

RE: [flexcoders] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan
in beta 2, but it is in later builds. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Tan Sent: Thursday, March 23, 2006 2:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Bug in list.selectedIndices I can reproduce the bug. Do you

RE: [flexcoders] RTE when selecting a row and pressing tab. (Beta 2)

2006-03-24 Thread Joan Tan
I cant seem to reproduce this runtime error on Beta 2. If you could send me the file causing the bug that would be great. What data is in your ArrayCollection when you get this error, is it empty? What other components are on your page along with this DataGrid. Thanks, Joan

RE: [flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread Joan Tan
You should add a menu or remove a menu through the dataProvider collection. You would do something like this: var newItem:XMLList = node label=new branch 1node label=new leaf 1 data="" leaf data 1 //node/; IList(myMenu.dataProvider).addItem(newItem); Or

RE: [flexcoders] Flex2 : Menu bug?

2006-03-28 Thread Joan Tan
Thanks, I will log a bug for you. It makes sense that you shouldnt be able to select a separator. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Tuesday, March 28, 2006 1:21 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
There are known issues in the beta for MenuBar. Here is the text from the known issues page on labs: MenuBar not working with e4x XML dataProvider The MenuBar shows the first node's children as the top level instead of showing the entire data structure. Issues with MenuBar and inline XML that

RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
) { currentState = oEvent.menuItem.getProperty(data); } --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote: There are known issues in the beta for MenuBar. Here is the text from the known issues page on labs: MenuBar not working with e4x XML dataProvider The MenuBar shows

RE: [flexcoders] Flex2 :: mx:Text :: Problem with html property

2006-03-29 Thread Joan Tan
To make html work for the Text component, you should be using the htmlText property. Here is an example: mx:Text width=400 mx:htmlText![CDATA[This is font color=#FFHTML text/font in a bText component/b. Using the uhtmlText attribute/u of the font color=#008800Text component/font

Re: [flexcoders] centerPopUp in ActionScript component

2006-08-10 Thread Joan Tan
Title: Re: [flexcoders] centerPopUp in ActionScript component You cant call centerPopUp(this) in the constructor, but, I was able to call it on the creationComplete event from within my AS component. Here is an example that worked: package { import mx.controls.*; import

RE: [flexcoders] enter event for TextInput

2005-04-25 Thread Joan Tan
That code seems to work for me. Maybe there is something wrong within your onEnter function? The entire mxml that I ran was just: ?xml version="1.0"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="white" mx:Scriptfunction onEnter(event)

RE: [flexcoders] enter event for TextInput

2005-04-25 Thread Joan Tan
I tried having the TextInput in a form in a TitleWindow as well. And I still get the enter event triggered. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 11:24 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] enter event for

RE: [flexcoders] another 'Effects' question

2005-06-20 Thread Joan Tan
Try the Dissolve effect or Fade effect. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaydSent: Monday, June 20, 2005 2:42 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] another 'Effects' question Folks: Is there an 'effect' that can fade in-out the

RE: [flexcoders] external links?

2005-07-13 Thread Joan Tan
in a Label component? like this: mx:Label id="myLabel" htmlText="lt;a href=''gt;http://www.macromedia.comlt;/gt;" / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, NickSent: Wednesday, July 13, 2005 12:29 PMTo: flexcoders@yahoogroups.comSubject:

RE: [flexcoders] how do I tell when a datagrid loses focus?

2005-07-14 Thread Joan Tan
The focusOut event should work for you. mx:DataGrid focusOut="commitChanges()" / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan HirschiSent: Thursday, July 14, 2005 3:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] how do I tell when a

RE: [flexcoders] Flex and Central

2005-07-22 Thread Joan Tan
Hmm... you usually get that error in Central if one or more of the files in your product.xml can't be found on your server. Can you check to be sure that all of the files defined in your product.xml are available? Thanks, Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

Re: [flexcoders] zoom for buttons in ButtonBar

2007-05-18 Thread Joan Tan
The individual buttons on a ButtonBar are children of the ButtonBar. Therefore, you would play a Zoom effect specifying a child as the target. Here is an example: mx:Zoom id=myZoom / mx:ButtonBar id=bb horizontalGap=5 itemClick=clickHandler(event); mx:dataProvidermx:Array

Re: [flexcoders] Hide scrollbar on Horizontal List in Flex2

2007-05-18 Thread Joan Tan
Set horizontalScrollPolicy=²off² on your HorizontalList. Joan On 5/17/07 3:12 PM, mondainx [EMAIL PROTECTED] wrote: I have a horizontal list and I want to hide the scrollbar, since I use buttons/images to scroll left or right. How do I go about doing this? Paul

RE: [flexcoders] Re: Flex App version in central

2005-03-07 Thread Joan Tan
Rich, There is no way to trigger checking for an update in AS for Central. Central will automatically check for updates every 7 days. So, be sure to change the version number in your product.xml and the user should be notified of any updates to your app within a week. Thanks, Joan From:

RE: [flexcoders] CheckBox oddity

2005-03-31 Thread Joan Tan
Title: Message You are right, this is a bug. I believe there is a workaround, however. You can have mx:CheckBox label="" / instead of just mx:CheckBox / and you shouldn't have that problem. Thanks, Joan From: Simon Fifield [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005

RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread Joan Tan
This is a logged bug and should be fixed in upcoming builds. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Wednesday, December 14, 2005 8:18 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: columnCount prop

RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-16 Thread Joan Tan
Yes, this is a bug in Flex2 for TileList not honoring columnCount when you have height or width settings. It has been fixed internally, so you should see the fix in subsequent builds. Thanks, Joan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] DataGrid rowcount (2.0)

2005-12-19 Thread Joan Tan
This is a logged bug that there is an extra row in the DataGrid or List. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur Sent: Sunday, December 18, 2005 2:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid rowcount (2.0) I

RE: [flexcoders] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread Joan Tan
application editable=false clicking gets no action editable=true clicking performs as required --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote: Its not required for editable=true to get cellPress events. - Joan -- Flexcoders Mailing List FAQ

RE: [flexcoders] How to small in Title window's title content area?

2005-12-22 Thread Joan Tan
You can certainly use the width and height properties for TitleWindow to make the entire window smaller which will affect the content area. Then, if you want the header to be bigger, you can control it using the headerHeight property. I hope this helps. Joan From:

RE: [flexcoders] Re: Populating a text input from a pop up.

2006-01-12 Thread Joan Tan
() at custom.components.sv::Agent1Window/__a1DG_click() Flex code: parentApplication.fld_agentId.text = a1DG.selectedItem.FLD_USERLOGIN; --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote: Jeremy, From your popup, you can reference anything in your main application by using

RE: [flexcoders] Unable to detect changes to variable

2006-01-30 Thread Joan Tan
You need to make the variable bindable. Try this: // variables [Bindable] public var perPage:Number = 6; [Bindable] public var page:Number = 1; Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Albert Sent: Monday, January 30,

RE: [flexcoders] listOwner equivalent Flex 2

2006-01-30 Thread Joan Tan
Yep, I believe parent should work. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, January 30, 2006 7:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] listOwner equivalent Flex 2 Haven't tried myself,

RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-31 Thread Joan Tan
I just tried this and confirmed that its a bug. I will log it in our bugbase. Thanks. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, January 31, 2006 6:27 AM To: flexcoders@yahoogroups.com Subject: RE:

RE: [flexcoders] Jumpy labels with a cellrendere in Tree

2006-01-31 Thread Joan Tan
Can you post your code? Do you have any specific properties set on your Label listItemRenderer? Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moyosaned Sent: Tuesday, January 31, 2006 1:37 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] flashpaper embedded in Flex 2.0

2006-01-31 Thread Joan Tan
We have had a bug open in our bugbase that the controls in Flash paper dont work in Flex 2.0. Im not sure the bug has been investigated yet, but we are aware of the issue. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dominick

RE: [flexcoders] Rotate Effect

2006-02-06 Thread Joan Tan
Trey, Yes, there was a bug that the origin properties didnt work. This has been fixed internally, so in the next build, this should work fine. Sorry, there is no workaround for now. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Coloring a MenuBar

2006-02-28 Thread Joan Tan
You can use the style fillColors. It takes an Array of two colors. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Tuesday, February 28, 2006 10:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5)

2006-05-23 Thread Joan Tan
Yes, setting width=100% in Flex 1.5 should work. Its equivalent to setting percentWidth in Flex 2.0. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson Sent: Tuesday, May 23, 2006 11:35 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Custom DataGrid Column (flex 2b3)

2006-05-23 Thread Joan Tan
If you want a button for one column of a DataGrid, you can do something like To use just the default drop-in button: mx:DataGridColumn itemRenderer=mx.controls.Button Or, you can create a custom component that subclasses the Button class so that you can define what type of events

RE: [flexcoders] menu control in flex 2.0 beta 3

2006-05-24 Thread Joan Tan
In your example, your menuBar items do not have any submenus. The change event is only triggered when a submenu item is selected. If a menu has no submenus, the only event that gets triggered when you click the item is the menuShow event. Joan From:

RE: [flexcoders] Max 2006

2006-05-26 Thread Joan Tan
MAX will be the week of Oct 24th in Vegas. Other than that, I dont think they have announced dates for submitting topics yet. Ive sent an inquiry about this and will pass on any information that I hear. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Joan Tan
The rows in a DataGrid are recycled, so if you set a color to red, you must reset it to black (or whatever default you want). In your set data function, if you are doing something like: if (data.myval 50) { setStyle(color, 0xFF); } Then, you should add else {

RE: [flexcoders] datagrid

2006-05-26 Thread Joan Tan
See if this itemRenderer helps. This itemRenderer will turn the background of a row to red if the value of the column  myColumnName in that row is over 50. package {     import mx.controls.Label;     import mx.controls.dataGridClasses.*;     import mx.controls.DataGrid;    

RE: [flexcoders] Flex2b3: Buttons with cornerRadius look nasty

2006-05-30 Thread Joan Tan
Tobias, I believe that we fixed this in the latest builds of Flex that we have internally. Ive included a screenshot of the button that I compiled so that you can validate that the corners look correct now. If this doesnt look correct, let me know. Joan From:

RE: [flexcoders] Removing track on slider

2006-05-30 Thread Joan Tan
You can try setting trackColors to the colors of your background so that it appears that there is no track. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan Sent: Monday, May 29, 2006 4:43 AM To:

RE: [flexcoders] mouseOver for specific cells in DataGrid?

2006-05-31 Thread Joan Tan
The MouseOver event is a flash MouseEvent, so it does not have any knowledge of the data under it. It does have a localX and locallY property that you might be able to use to figure out what row and column you are at assuming that your rowHeight and column widths are constant. Joan

RE: [flexcoders] Slider TrackHighlight Bug

2006-05-31 Thread Joan Tan
I reproduced this issue in the beta 3 build, but the bug is already fixed for our final release. Thanks, Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan Sent: Tuesday, May 30, 2006 11:07 PM To:

RE: [flexcoders] Sleep function in ActionScript?

2006-05-31 Thread Joan Tan
You can use the setTimeout function in the flash.utils package. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles Sent: Wednesday, May 31, 2006 3:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sleep function in ActionScript?

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan
The color style of Text only affects the text and the not the background. Text doesnt actually have a background color so you must create an itemRenderer with a backgroundColor and then set it. This example was posted on another flexcoders thread entitled datagrid. This itemRenderer will

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan
to other color } } Jeremy. On 6/27/06, Joan Tan [EMAIL PROTECTED] wrote: The color style of Text only affects the text and the not the background. Text doesn't actually have a background color so you must create an itemRenderer with a backgroundColor and then set

RE: [flexcoders] cell renderers

2006-06-27 Thread Joan Tan
CellRenderers in 2.0 are totally different from 1.5. There is an entire chapter in the docs about cellRenderers and you should find enough examples to get you started. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway Sent:

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan
it, thanks :-) On 6/27/06, Joan Tan tan@ wrote: I believe that this was suggested to me by Alex. I think your way should work too though. -- *From:* [EMAIL PROTECTED]ups.com flexcoders% 40yahoogroups.com [mailto:[EMAIL PROTECT

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan
? Ah, right, I always use HBox or Canvas as the base class for item renderer, so setting style on it is never a problemsorry for the confusion. On 7/4/06, Joan Tan [EMAIL PROTECTED] wrote: I'm not sure what the issue is for your specific case. What does the rest

RE: [flexcoders] Select a Tree item on Right click

2006-07-05 Thread Joan Tan
Sathish! Its been a while since we worked together at our old company Cybrant. I guess its a small software world and weve crossed paths again. Anyways, since Deepa is out of the office for a bit, Ill see if I can help. From the code you have provided, try to change the mouseOut and

RE: [flexcoders] embeded FlashType fonts look bad

2006-07-05 Thread Joan Tan
Stacy, What do you think the default sharpness should be? Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young Sent: Tuesday, July 04, 2006 10:43 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] embeded FlashType

Re: [flexcoders] Download files

2006-07-06 Thread Joan Tan
Title: Re: [flexcoders] Download files A couple of things to look out for. #1 Make sure that your FileReference object is always in scope, otherwise when it goes out of scope, the download just cancels itself and you dont get an error out. #2 If you try to download something not on your

RE: [flexcoders] FLEX BUILDER 2.0 - trial

2006-07-07 Thread Joan Tan
Remember that the Flex SDK is still free for use. You wont have the swanky IDE, but you can use the mxmlc compiler to compile Flex code and read the docs. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday,

RE: [flexcoders] Removing all items from a DG

2006-07-11 Thread Joan Tan
Calling removeAll() on the dataProvider of the DataGrid seems to work for me. What kind of dataProvider are you using? I was using an ArrayCollection in the small example that I tried out. Can you provide more information? Maybe there is a bug in this method when used in particular