Re: [flexcoders] Re: Radio Button in DataGrid urgent Plz

2009-06-22 Thread Harish Sivaramakrishnan
Use a boolean property (ex: selected) in the dataProvider Object and bind the CheckBox in the itemRenderer's 'selected' property to {data.selected} Cheers Harish On Sun, Jun 21, 2009 at 12:37 PM, vin.flex wrote: > > > > Thanks for your response Harui. > > I have tried your checkbox renderer. I

Re: [flexcoders] MXML draw dashed line between two text box

2009-06-17 Thread Harish Sivaramakrishnan
You can style the HRule Component to draw a dashed / dotted line or even change the skin of the HRule component by overriding the programmatic skin that is drawn by default. Cheers Harish On Wed, Jun 17, 2009 at 5:56 AM, ram_yohi wrote: > > > Hi, > > I need some information. > > I have to draw

Re: [flexcoders] Re: Binding two elements in a single datagrid column

2009-06-17 Thread Harish Sivaramakrishnan
Listen to the change event / enter event on the NumericSteppers and dispatch an event to update the DataProvider with the new values. Once you override the itemRenderer with a custom Renderer, you need to handle the commit of values back to the DataProvider. You can do something similar to this. P

Re: [flexcoders] Re: Flying text or passing text??

2009-06-17 Thread Harish Sivaramakrishnan
Joan Lafferty has a nice implementation of a marquee in her blog - http://butterfliesandbugs.wordpress.com/2007/09/06/marquee-component/ On Wed, Jun 17, 2009 at 6:56 PM, valdhor wrote: > > > AFAIK it is called a ticker. There are many examples available. Try a > Google search. Here are a couple t

Re: [flexcoders] How to pull youtube into a custom Flash/Flex Video Player [1 Attachment]

2009-06-17 Thread Harish Sivaramakrishnan
Google does not give you direct access to the video source through their APIs. You will need to scrap (steal) that Information from the youtube page. I had written a class which does it for some testing purposes. I have attached the source in this mail. But AFAIK, its illegal to scrap information f

Re: [flexcoders] URLStream, RMTP, ByteArray?

2009-06-17 Thread Harish Sivaramakrishnan
The whole purpose of keeping it streaming is that you SHOULD NOT be able to rip it using your client. I cannot think of a legal, straightforward way. Cheers Harish On Wed, Jun 17, 2009 at 7:56 PM, Berkay Unal wrote: > > > Hi Coders, > > I am able to record,capture a video or an audio to desktop

Re: [flexcoders] Sample of carousel menu navigation with button.

2009-06-17 Thread Harish Sivaramakrishnan
Hi Krunal: This is a simple engineering problem. Solve it just the way you would in any of your other languages. Put your buttons in a canvas and increment / decrement the horizontalScrollPosition on click of next_btn and prev_btn (that could be one of the ways, there are gazillion others!) Che

Re: [flexcoders] Re: Label a Button just like Flex Builder helps

2009-06-12 Thread Harish Sivaramakrishnan
ave asked. Actually > I had to think about the next step. In my application, I will have a lot of > other components (both statically and dynamically created). One or many of > those dynamically created components may be Button components. > > > --- In flexcoders@yahoogroups.com

Re: [flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-12 Thread Harish Sivaramakrishnan
use the itemEditEnd event on the DataGrid to get the value you entered in the TextInputs. (It is fired when you tab out or change focus from rows.) Harish On Fri, Jun 12, 2009 at 5:25 AM, Angelo Anolin wrote: > > > Hi, > > Would you care to share some codes of what you did previously? > Thanks.

Re: [flexcoders] Label a Button just like Flex Builder helps

2009-06-12 Thread Harish Sivaramakrishnan
just curious, why can't you use removeChildAt()? On Fri, Jun 12, 2009 at 11:58 AM, chandruflex wrote: > > > In my application, I have a Button. I want to double-click this Button, and > edit its label, just like we do in Flex Builder. > > To do this, I have a double-click event-handler for my Bu

Re: [flexcoders] Swap Data Provider with a combo

2009-05-24 Thread Harish Sivaramakrishnan
put an if condition which checks for combobox.selectedItem and change the dataProvider accordingly. On Sun, May 24, 2009 at 3:08 PM, christophe_jacquelin < christophe_jacque...@yahoo.fr> wrote: > > > Hello, > > I have a combo with two items. For each Item I want to have a specific data > provider

Re: [flexcoders] Launch Failed

2009-05-08 Thread Harish Sivaramakrishnan
are you on Flex Builder 3 using Spark components? On Fri, May 8, 2009 at 7:04 AM, markgoldin_2000 wrote: > > > I am trying a simlpe Flex 4 application found in the Web: > > xmlns="http://ns.adobe.com/mxml/2009"; > xmlns:fx="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/f

Re: [flexcoders] Effect works on addPopUp, but not on removePopUp

2009-04-29 Thread Harish Sivaramakrishnan
may be you can try listening to the effectEnd event of the customPopClose and then remove the popUp. On Wed, Apr 29, 2009 at 12:58 AM, Tracy Spratt wrote: > > > I want to apply a resize and move effect to a popup component, and “ > reverse” the effect when the popup is closed. The effect works

Re: [flexcoders] Re: ColorPicker - without the picker!

2009-02-08 Thread Harish Sivaramakrishnan
I have used the SwatchPanel.as for my implementation. I will share the code tomorrow (today being sunday) On Sat, Feb 7, 2009 at 2:16 AM, Alex Harui wrote: >The source code is out there. SwatchPanel.as > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc.

Re: [flexcoders] ColorPicker - without the picker!

2009-02-06 Thread Harish Sivaramakrishnan
I have an implementation for the same. Find here http://blog.flexgeek.in/?page_id=109 Let me know if thats what u are looking at. On Thu, Feb 5, 2009 at 10:26 AM, tchredeemed wrote: > I was wondering if I could build a flex app that has the SwatchPanel > by default, instead of having to click

[flexcoders] colrful desktop - Air App to search based on color

2009-01-28 Thread Harish Sivaramakrishnan
Hi All: Colrful is a small AIR app that lets you search for images in flickr based on color, kuler themes or similarity to any image on the internet. The app uses Idée labs Multicolr API to do the searching. The app also lets you download the images to your desktop. Try

Re: [flexcoders] Re: Mouse Move Issue in Tree Control

2008-10-15 Thread Harish Sivaramakrishnan
user rollOverColor = - Look up the tree documentation u will get to know all properties. On Wed, Oct 15, 2008 at 3:07 PM, selvant_2005 <[EMAIL PROTECTED]>wrote: > --- In flexcoders@yahoogroups.com , Flex > Gangsta <[EMAIL PROTECTED]> wrote: > > > > You can change it by creating a CSS file for

[flexcoders] Adobe RIA Architect Summit 2008 - 03 April - Bangalore, India

2008-03-14 Thread Harish Sivaramakrishnan
It's summit time again folks ! You might recollect the RIA Leadership Summitthat happened when Shantanu was in Bangalore, which saw industry leaders from various IT Companies from across India attended the talk about Adobe's vision

Re: [flexcoders] Adding a menubar to a cell in a datagrid

2007-06-05 Thread Harish Sivaramakrishnan
menubar does not implement the interfaces IDropInListItemRenderer or IListItemRenderer. For getting an itemRenderer to work it must be implementing these interfaces. One way to get started on this is to subclass menubar in such a way that it implements the abovementioned interfaces Thanks Harish

Re: [flexcoders] HorizontalList shows image place holder instead of image

2007-06-04 Thread Harish Sivaramakrishnan
did you try setting source to graphicList.getItemAt(1).source ? best way however will be to override the set data() in your itemRenderer. On 6/5/07, Alex Harui <[EMAIL PROTECTED]> wrote: It looks like you made a custom renderer that just has an Image. Image doesn't know how to look for an

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Harish Sivaramakrishnan
override the method createChildren() and then create the tab in that method, after updateDisplayList is called you will be able to get the correct width of the tab. On 6/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: On Monday 04 Jun 2007, Webdevotion wrote: > tab = new Tab(); > children.push(

Re: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Harish Sivaramakrishnan
are you looking at something like this? http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/ On 6/3/07, Alex Harui <[EMAIL PROTECTED]> wrote: Tried it in hotfix2, tooltip came up and editor did not lose focus. Which player, browser, os? -- *Fr

Re: [flexcoders] Sleep / Blink Image

2007-06-03 Thread Harish Sivaramakrishnan
use flash.utils.Timer / setInterval() to call a method on timer. On 6/4/07, Christopher Olsen <[EMAIL PROTECTED]> wrote: Is there a way to make flex sleep for a specified amount of miliseconds? I'm trying to make an icon flash or does anyone have any alternate solutions for this

Re: [flexcoders] click event handler of datagrid, make it fire on rows only

2007-06-03 Thread Harish Sivaramakrishnan
Listen to itemClick on datagrid, It fires only when an item of the datagrid is clicked. On 6/4/07, Swaroop C H <[EMAIL PROTECTED]> wrote: You can monitor MouseEvent.DOUBLE_CLICK event and then use mouseEventToItemRenderer to fetch the item renderer at the mouse position. If the item rendere

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Harish Sivaramakrishnan
roblem unless if the link is very text is very small. when you use a domain name or a long URL Text component is the best. On 6/1/07, Harish Sivaramakrishnan <[EMAIL PROTECTED]> wrote: > > it you are going the itemRenderer way, you could use the link button > to open the link. I p

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Harish Sivaramakrishnan
it you are going the itemRenderer way, you could use the link button to open the link. I personally wont do the rowIndex, colIndex based way because it is not intutive to me as to what triggered the opening of URL since the click is done on the cell itself. On 6/1/07, Hara Jn <[EMAIL PROTECTED]>

Re: [flexcoders] Remember Username/Password !

2007-05-31 Thread Harish Sivaramakrishnan
you could write the username / password into a sharedObject (which is like a cookie) on the client system and retrieve it. On 5/31/07, Ravi Kumar Gummadi <[EMAIL PROTECTED]> wrote: Hi all, How do we enable the functionality of remembering the credentials (username/password) in a flex appl

Re: [flexcoders] Re: Drag Drop functionality in Flex/AS3

2007-05-31 Thread Harish Sivaramakrishnan
http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/ will help you get started. On 5/30/07, Tracy Spratt <[EMAIL PROTECTED]> wrote: Yes, then check the docs. There are several simple examples to get you started. Peter Ent has a series of articles that go into some detail. Tracy

Re: [flexcoders] Re: TextInput vs. ENTER key.

2007-05-31 Thread Harish Sivaramakrishnan
is bumping the user out a *requirement* or are you doing it to force the validator to trigger? if latter, you could call validatePhoneNumber() when enter event is fired? On 5/31/07, Alex Harui <[EMAIL PROTECTED]> wrote: I think it should be public function ExitValidatedField():void{ focu

Re: [flexcoders] show value in combobox

2007-05-28 Thread Harish Sivaramakrishnan
Kanu, It is not recommended to use scalar values into your dataProvider, instead use the format {label:"varun"},{label:"manav"} instead of using varun, manav ... etc. For solving your issue, use the selectedItem property on the combbox. thanks Harish On 5/29/07, kanu kukreja <[EMAIL PROTECTED]

Re: [flexcoders] render values from datagrid

2007-05-28 Thread Harish Sivaramakrishnan
Hi Kanu Please go thru the following example http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="start()"> It is strongly recommended that you look up the AS3 / Flex documentation on the adobe website. Many of your questions will have solutions right there. Happy

Re: [flexcoders] render values from datagrid

2007-05-27 Thread Harish Sivaramakrishnan
Hi Kanu Please make your query a little more specific, it will make it easier to understand and solve your problem. As you know, this is a high traffic forum and most of the guys who solve issues are doing it by sneaking time from their regular work . Please elaborate a little more on what you wa

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-23 Thread Harish Sivaramakrishnan
http://blogs.adobe.com/aharui/2007/04/datagrid_footers.html I suppose this is what u are looking for On 5/23/07, Flexing... <[EMAIL PROTECTED]> wrote: One approach can be: http://flex-apollo.blogspot.com/2007/05/adding-total-row-at-end-of-datagrid.html On May 23, 2007, at 2:46 PM, Dhar

Re: [flexcoders] Show\Hide Column in DataGrid

2007-03-15 Thread Harish Sivaramakrishnan
do not use the column names, just store the indices of the columns and do datagridInstance.columns[columnIndex].visible= true / false. this is the right way of doing it. On 05 Mar 2007 22:20:28 -0800, sanjaypmg <[EMAIL PROTECTED]> wrote: Hi All, I am facing an Error while making Grid column

Re: [flexcoders] Re: Drag and Drop Example Needed

2007-03-14 Thread Harish Sivaramakrishnan
Hi Dave, Not sure if you have decided against using flex and going back to Flash 8 :) Please go through the following link, I have tried to give a sample solution to the problem you are facing. It may not be exactly your requirement, but it more or less solves your chief issues ie, dragging from

Re: [flexcoders] NumericStepper with formatting?

2007-03-14 Thread Harish Sivaramakrishnan
Hi, I have a prototype of this feature which can be found in the following link. This component extends from NumericStepper. You can achieve currency / number formatting in by setting the format property to CurrencyFormatter ot NumberFormatter. http://flexgeek.wordpress.com/2007/03/14/formatteds

Re: [flexcoders] bug: creationpolicy=all screws up grid column widths

2006-12-19 Thread Harish Sivaramakrishnan
Hi Pan, We are indeed looking into this issue and see what could be done to fix this / provide an acceptable solution to the problem. Thank you for providing the code snippet as well as the problem description. Thanks Harish Flex SDK QE - Adobe. On 12/20/06, Pan Troglodytes <[EMAIL PROTECTED]>

Re: [flexcoders] Re: Error #1010: A term is undefined and has no properties -- RTE with Datagrid

2006-12-07 Thread Harish Sivaramakrishnan
Hi, From your description, I get a feeling that this might be a bug within datagrid. Can you please send me a code snippet which would reproduce this issue? Many thanks Harish Flex SDK QE On 12/7/06, jmorpher03 <[EMAIL PROTECTED]> wrote: Sorry for not being clear earlier. Once the data is

Re: [flexcoders] checkCellRender Validation

2006-11-07 Thread Harish Sivaramakrishnan
Hi,The following code achieves validation on an editable cell. I am not sure if this is what you are looking for, but this might be a good start point. This example validates for a value < 100 for the price field. //

Re: [flexcoders] edit Datagrid selected cell in seperate component

2006-11-07 Thread Harish Sivaramakrishnan
You will need to call the setItemAt() method on the dataprovider to reset the edited value. Why dont you try using a richtexteditor as the item editor of the datagrid cell. (or is that what you are doing now?) On 11/6/06, Emile Swain <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Datagrid Drag Row

2006-10-18 Thread Harish Sivaramakrishnan
I dint understand your problem completely, a code snippet would help! In the meanwhile, did u set the dragMoveEnabled property to true?ThanksHarishOn 10/17/06, KP <[EMAIL PROTECTED]> wrote: Hi All,   I have a datagrid which contains around ten rows I

Re: [flexcoders] Re: Multiline ComboBox

2006-10-18 Thread Harish Sivaramakrishnan
If you need to use a combobox and not a popupButton, you can set the dropDownFactory of a combobox to a List with variableRowHeight and wordWrap turned on. That will work too.ThanksHarish On 10/17/06, Michael <[EMAIL PROTECTED]> wrote: Thank you Mike,

Re: [flexcoders] Multi line Checkbox component has black border around label text

2006-10-16 Thread Harish Sivaramakrishnan
in the createChildren method,  try making textField.border=false; that might solve the issue. I am guessing, I havent tried it myself.On 10/16/06, Wally Randall <[EMAIL PROTECTED]> wrote: A while ago Darron Schall posted this component for extending the CheckB

Re: [flexcoders] Manipulating data before it populates the DataGrid

2006-10-16 Thread Harish Sivaramakrishnan
at this is not always the case.  If you pass a Array or ArrayCollection as a dataProvider, then yes.  But if you pass it XML the dataProvider is actually a XMLListCollection for example.  Anyhow, the dataProvider is always converted to some sort of collection though. DKOn 10/16/06, Harish Siva

Re: [flexcoders] how to convert string to number

2006-10-16 Thread Harish Sivaramakrishnan
you can do one of these:Number(textinput.text)ORparseInt(textinput.text)On 10/16/06, Impudent1 < [EMAIL PROTECTED]> wrote:Akash wrote:> Hi,  I am new to flex 1.5. I searched a lot for this conversion> but didn't get anything helpful. Actually I am accepting  text from the> TextI

Re: [flexcoders] Re: DataGrid HeaderRenderer and DataProvider

2006-10-15 Thread Harish Sivaramakrishnan
Creating varying number of datagrid columns is fairly straightforward. Datagrid will by itself draw the columns if you do  not specify the in your code. The columns will be created according to the properties that each dataProvider object contains. For displaying an icon on the header, you will

Re: [flexcoders] Manipulating data before it populates the DataGrid

2006-10-15 Thread Harish Sivaramakrishnan
I suggest you take a look at the fiterFunction and labelFunction methods on the datagrid. Since the datagrid dataprovider is an arraycollection, you can apply all utilities that are available on the arraycollection class to manipulate what you display in the datagrid finally HarishOn 10/16/06, A

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

2006-10-08 Thread Harish Sivaramakrishnan
Did you try using the scaleContent property of the image? I guess that should solve your problem directlyThanksHarishOn 10/7/06, Willy Ci < [EMAIL PROTECTED]> wrote: thanks, I will try your way over the long weekend!WillyOn 10/6/06, Tim Hoff <[EMAIL PROTECTED]>

Re: [flexcoders] update cellrenderer on dataprovider change

2006-10-08 Thread Harish Sivaramakrishnan
override public setter data in your itemRenderer, each time ur data changes the itemRenderers will be forced to redraw, if you dont, they wont redraw!you need to do something like this:override public set data(value:Object):void {}ThanksHarishOn 10/5/06, rmlsystem <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Re: Missing the ControlBar on my panel...

2006-10-08 Thread Harish Sivaramakrishnan
Alternatively, you can call createComponentsFromDescriptors(); after adding the controlBar as the child, by doing this we do not need to bother about the order in which the children are added to the base container. ThanksHarishOn 10/6/06, Mark <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Variable Row Height?

2006-10-08 Thread Harish Sivaramakrishnan
By setting variableRowheight you can indeed have a list with multiple rowHeights. But there is a catch, this is done internally by the component by calculating the size of the child that is placed within a row of the List. That way you cannot directly set a different rowHeight to one of the rows

Re: [flexcoders] Moving Panel's titleIcon programmatically

2006-10-08 Thread Harish Sivaramakrishnan
If you need to access an mx_internal variable in your subclass , add the following likes to your code:import mx.core.mx_internal;use namespace mx_internal;After doing this, you can access all variables marked mx_internal in  your subclass Hope this helpsHarishOn 10/6/06, Ralph Hauwert <[EMAIL PR

Re: [flexcoders] Dynamic DataGrid selectedItem

2006-10-08 Thread Harish Sivaramakrishnan
It is recommended that you query the underlying dataProvider. by doing mydatagrid.dataProvider.getItemAt(mydatagrid.selectedIndices[0]).colName;Generically dginstance.dataProvider.getItemAt(selectedIndex).colName; In case of having only one selection make the selectedIndex as mydatagrid.selected

Re: [flexcoders] Problem with "memory effect" on datagrid

2006-10-08 Thread Harish Sivaramakrishnan
In case of itemRenderers, when you scroll the renderers are recycled and they dont quite remember their states, one way to get over this problem is to override the public setter data in your itemRenderer codesomething like: override public function set data( value:Object):void{}Hope this helpsHa

Re: [flexcoders] how to set 1px width image to be a 200width application control bar 's backgroundImage

2006-09-19 Thread Harish Sivaramakrishnan
set the backgroundSize property to 100%, not sure, worth a try!On 9/19/06, saicn <[EMAIL PROTECTED]> wrote: Hello ,everyone:     I wanna to know how to set 1px width image to be a 200width application control bar 's backgroundImage.     i'm sorry for my poor e

Re: [flexcoders] Re: How can I block a TabNavigator ?

2006-09-19 Thread Harish Sivaramakrishnan
PS: Deepa's method will work too, but that would mean the dev needs to write some code on to the main application __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroup

Re: [flexcoders] Re: How can I block a TabNavigator ?

2006-09-19 Thread Harish Sivaramakrishnan
Okay, Agree with many here that not allowing the tabs to be clickable in a tabNavigator is a little uncommon usecase, I have a solution for the problem. I have extended TabNavigator to make TabNavigatorX, which achieves exactly what the requirement here is . Use the following code: Main.mxml

Re: [flexcoders] horizontallist editable="true"

2006-09-18 Thread Harish Sivaramakrishnan
Here is a small example for editable TileList using itemRenderers, its a little unpolished, nevertheless will be a good starting point. This could be easly implemented for horizontal list alsoMain.mxml--- http://www.adobe.com/2006/mxml" layout=

Re: [flexcoders] Object of a specified type

2006-09-18 Thread Harish Sivaramakrishnan
use typeof to find the type of an object.ex:var str:Stringtrace(typeof(str) : prints "string"Hope this helpsHarishOn 9/18/06, Daniel <[EMAIL PROTECTED]> wrote: How can I konw if an object is an instance of a specified type, for example String. Thx!

Re: [flexcoders] remove white content area in TitleWindow?

2006-09-18 Thread Harish Sivaramakrishnan
To get rid of the white contentPane, you need to override the layoutChrome method in your class AddSubscriptionModal.as. however, there is a catch, the layoutchrome triggres off a whole lot of layouting operations, most of them private to get the Panel work the way it should. Overriding the meth

Re: [flexcoders] Re: adding control bar to panel programitically

2006-09-18 Thread Harish Sivaramakrishnan
]> wrote: beautiful, it must update the display?On 9/18/06, Harish Sivaramakrishnan < [EMAIL PROTECTED] > wrote: You can add the children in any order as long as you call this function at the end of ad

Re: [flexcoders] Re: adding control bar to panel programitically

2006-09-17 Thread Harish Sivaramakrishnan
You can add the children in any order as long as you call this function at the end of adding all children    createComponentsFromDescriptors ();ThanksHarishPS: This works when you extend from Panel. On 9/15/06, aaron smith <[EMAIL PROTECTED]> wrote: hey thanks

Re: [flexcoders] DataGrid labelFunction

2006-09-14 Thread Harish Sivaramakrishnan
Hi Rafael,Can you please add a code snippet here for the problem that you are encountering?ThanksHarishOn 9/13/06, rafael_magalhaes007 <[EMAIL PROTECTED]> wrote: Hi, i have a datagrid with N column, in this datagrid there's a column in the end that makes the

Re: [flexcoders] adding control bar to panel programitically

2006-09-14 Thread Harish Sivaramakrishnan
Hi,Here is a partial solution to ur issue. The problem here is when you add a controlbar to the Panel as a child, you also need to tell the panel that the added Child is of the type controlBar. Once this property is set, the Panel itself takes care of layouting the controlbar at the required pos

Re: [flexcoders] Re: Problem with Sortable Draggable DataGrid

2006-09-08 Thread Harish Sivaramakrishnan
This issue has been logged into our bugbase. Will get back to you once we have a resolution on the same.ThanksHarishOn 9/8/06, Harris Reynolds <[EMAIL PROTECTED]> wrote: Here's another question... when I drag a row to a different spot in the datagrid... how ca

Re: [flexcoders] Null error when using specifying itemRenderer on dataGridColumn

2006-04-28 Thread Harish Sivaramakrishnan
you need to set rendererIsEditor=true in the code,  the RTE will be gone.ThanksHarishOn 4/28/06, Matt Chotin < [EMAIL PROTECTED]> wrote: Random shot, try importing mx.controls.Text and mx.controls.TextInput?  I think it should have been a compiler error if it was necessary but…

Re: [flexcoders] Exception using checkbox as cellEditor in DataGrid

2006-03-01 Thread Harish Sivaramakrishnan
Hi, In addition to setting the isCellEditor=true flag you also need to set editorProperty=selected for your code to function correctly with a checkBoxCellRenderer. In your code, since the editable is set to true, clicking on the Datagrid cell tries to bring the default editor which is the textinp

Re: [flexcoders] Reading or Embedding SWFs?

2006-02-28 Thread Harish Sivaramakrishnan
Hi Bruce, For getting rid of the Security Sandbox violation error that you are getting, you will have to explicitly trust the swfs / images that you are loading. One way of doing this is the method that abdul has suggested in his mail alternatively, You could also do this: Trust an SWF explicitl

Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Harish Sivaramakrishnan
Hi tag always embeds the xml at compile time, hence there is also a limitation to the size of the xml that you can load on to the swf. In order to read an xml data at run time you could use You could write ur logic in function foo() and use the loaded xml data. Hope this helps, Harish. Flex-Q

Re: [flexcoders] how to find out range start date and range end date of selectedRanges of date chooser control,

2006-02-24 Thread Harish Sivaramakrishnan
Hi Please go through the attached file. Hopefully this must solve your problem. however, the selectedRanges property is capable of returning multiple ranges as an array of objects. The example I have attached will handle only one range. For getting values across ranges you must loop through the ar

Re: [flexcoders] Flex2 :: TileList :: ScrollBar

2006-02-24 Thread Harish Sivaramakrishnan
Thanks for the code snippet. I have logged this as a bug for investigation . Thanks Harish Flex-QA Adobe India. --- Teoti Graphix <[EMAIL PROTECTED]> wrote: > Hello, > > This just seems like a dumb question but, I have the > code below; > > [code] > > > xmlns:mx="http://www.macromedia.com/

Re: [flexcoders] Re: Using Two returned Fields in a single DG Column.

2006-02-24 Thread Harish Sivaramakrishnan
Have a look at the attached files. This is a sample implementation of a labelField in datagrid. This picks up data from an xml, concatenates the first name and last name into a single datagrid column and displays. Have a look at the getName() functio implementation. Hope this helps, Harish Flex-