[flexcoders] Re: Custom Component Height issue

2011-10-28 Thread bhaq1972
this is a simple example, it might be useful. Basically, all i'm doing is increasing the panel height everytime i add a row into the datagrid. ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark

[flexcoders] Re: right align the gridcolumn text

2011-10-25 Thread bhaq1972
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: GridColumn doesn't have the textAlign style. Instead we can do this - s:GridColumn id=col dataField=etc s:itemRenderer fx:Component s:DefaultGridItemRenderer textAlign=right color=black/ .. How can I do

[flexcoders] right align the gridcolumn text

2011-10-24 Thread bhaq1972
GridColumn doesn't have the textAlign style. Instead we can do this - s:GridColumn id=col dataField=etc s:itemRenderer fx:Component s:DefaultGridItemRenderer textAlign=right color=black/ .. How can I do this in actionscript? I've tried the following but doesn't work var

[flexcoders] spark datagrid drag drop question

2011-10-12 Thread bhaq1972
Does anyone know if the drag drop functionality will feature in the next release of spark datagrid?

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-11 Thread bhaq1972
thanks for the clarification. --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: Even columns with visible=false get instantiated when declared in MXML. On 10/10/11 3:36 AM, bhaq1972 mbhaque@... wrote: Yes agreed. In our newer applications we do that. Just

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-10 Thread bhaq1972
and columns on the fly in ActionScript. Why bother having columns in memory that you don't use? --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: The problem doesn't exist if the code is executed in the preintialize or creationComplete event. However, I didn't want to mention

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-07 Thread bhaq1972
and follow up with a validateNow() call. On 10/6/11 1:11 AM, bhaq1972 mbhaque@... wrote: The problem doesn't exist if the code is executed in the preintialize or creationComplete event. However, I didn't want to mention that because it takes the focus away from what looks like

[flexcoders] Re: RTE when setting spark gridcolumn visible property (f

2011-10-06 Thread bhaq1972
). --- In flexcoders@yahoogroups.com, valdhor valdhorlists@... wrote: The column probably hasn't been created yet. Try the creationcomplete event of the datagrid. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I get a runtime error when I set the gridcolumn.visible property during

[flexcoders] RTE when setting spark gridcolumn visible property (f

2011-10-05 Thread bhaq1972
I get a runtime error when I set the gridcolumn.visible property during a datagrid initialize event. There is no problem's if its the first gridcolumn. Looks like a bug? Can anyone suggest a workaround? s:DataGrid initialize=makeColumnInvisible() s:columns s:ArrayList

[flexcoders] Re: Using RemoteClass meta tag

2011-09-07 Thread bhaq1972
I'm doing the same thing as you, I don't even cast my object and it still works. I did do a simple test using [RemoteClass] but I can't remember it sorry. I just saw it as different approaches in achieving the same end result. --- In flexcoders@yahoogroups.com, Nick Middleweek nick@... wrote:

[flexcoders] Spark Datagrid / IGridItemEditor.save() issue when using the tab key

2011-09-02 Thread bhaq1972
I have problem with the IGridItemEditor.save() method. According to the docs for save()...if the data isn't valid, then the data isn't saved and the editor is not closed. So I setup an example to test this, and its seems ok. However, once I enter valid data and hit the Tab key, I expect the

[flexcoders] Re: Spark Datagrid selectedItem question

2011-08-26 Thread bhaq1972
headerText=col4/ /s:ArrayList /s:columns /s:DataGrid s:HGroup s:Button id=btn1 label=lock row click=lockRow() / s:Button id=btn2 label=unlock row click=unlockRow()/ /s:HGroup /s:Application --- In flexcoders@yahoogroups.com, bhaq1972

[flexcoders] Re: Spark Datagrid selectedItem question

2011-08-25 Thread bhaq1972
, bhaq1972 mbhaque@ wrote: How would I go about making the datagrid.selectedItem the ONLY editable row? A bit like making individual columns editable by setting GridColumn.editable. Thanks BH

[flexcoders] Re: Spark Datagrid selectedItem question

2011-08-25 Thread bhaq1972
the grid data provider with the changed row value. Sent from my iPhone On Aug 24, 2011, at 10:56 PM, Amy amyblankenship@... wrote: How would a user edit a row that is not selected? --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: How would I go about making

[flexcoders] Spark Datagrid selectedItem question

2011-08-24 Thread bhaq1972
How would I go about making the datagrid.selectedItem the ONLY editable row? A bit like making individual columns editable by setting GridColumn.editable. Thanks BH

[flexcoders] GridColum.itemEditor errorString not showing

2011-08-10 Thread bhaq1972
Why does the red error box not show when I have this DefaultGridItemEditor(dg.itemEditorInstance).errorString = error; but does show when I have this DefaultGridItemEditor(dg.itemEditorInstance).textArea.errorString = error;

[flexcoders] Spark TextInput text highlight colour

2010-08-26 Thread bhaq1972
I have a very simple question about Spark TextInput. s:TextInput text=Highlight this text and see what color the text is focusedTextSelectionColor=black/ When I use focusedTextSelectionColor=black I want the the colour of the text to be white (like it is in flex 3 and lower) How do I achieve

[flexcoders] Re: How to remove the DateField textInput border?

2010-07-14 Thread bhaq1972
no probs. my answer was based on flex 4 (i havent been using flex 3 for a long time) cheers --- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote: There is no borderVisible style for DateField, it exists only for DateChooser, only in Flex 4 SDK and only in default skin theme

[flexcoders] Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
I have created a very simple MyTextInput MyTextInput.mxml - ?xml version=1.0 encoding=utf-8? s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx fx:Declarations !-- Place non-visual

[flexcoders] Re: Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
, bhaq1972 mbha...@... wrote: I have created a very simple MyTextInput MyTextInput.mxml - ?xml version=1.0 encoding=utf-8? s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx

[flexcoders] Re: Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
the class in solemn ActionScript. -- Best regards, Andriy Panas On 14 July 2010 13:41, bhaq1972 mbha...@... wrote: I have created a very simple MyTextInput MyTextInput.mxml - ?xml version=1.0 encoding=utf-8? s:TextInput xmlns:fx=http://ns.adobe.com/mxml

[flexcoders] Re: How to remove the DateField textInput border?

2010-07-13 Thread bhaq1972
or borderVisible : false; --- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote: Have a look at textInputStyleName style http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName -

[flexcoders] Re: TabNavigator styles not being applied (flex4)

2010-07-08 Thread bhaq1972
. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Anyone know why styling is not being applied to this Flex4 example (a modified example from livedocs)? thanks s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark

[flexcoders] TabNavigator styles not being applied (flex4)

2010-07-07 Thread bhaq1972
Anyone know why styling is not being applied to this Flex4 example (a modified example from livedocs)? thanks s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx s:layout s:VerticalLayout

[flexcoders] VGroup and verticalScrollPolicy / horizontalScrollPolicy

2010-07-02 Thread bhaq1972
I am trying to migrate Flex 3 mx:VBox verticalScrollPolicy=off horizontalScrollPolicy=off to a Flex4 s:VGroup However, VGroup does not have verticalScrollPolicy or horizontalScrollPolicy. What do I use, to ensure scrollBars don't show on my VGroup. Thanks

[flexcoders] Re: setting the border thickness on a Spark mx.controls.VBox ?

2010-06-24 Thread bhaq1972
Or you might want click the Use Flex 3 compatibility mode checkbox under properties / compiler --- In flexcoders@yahoogroups.com, Peter DeHaan pdeh...@... wrote: If you're using Flex 4, I'd probably use the s:BorderContainer instead. It gives you a lot better control over the border

[flexcoders] Re: Hai Ths Is Sridhar : Regarding Flex Plz Help Me

2010-06-17 Thread bhaq1972
do a google on IFrame Alistair Rutherford this might help --- In flexcoders@yahoogroups.com, sridhar s sweetsrihe...@... wrote: How to integrate a HTML page inside the flex, i tried a lot using iframeetc but everything redirects to another page , i need the HTML page inside the

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-17 Thread bhaq1972
a whitewashed code example let me know. Randy --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: myPanel.owner is the same as myPanel.parent so that won't work. Making it a property would work. What would the disadvantages be with using myPanel.parent.parent.parent (a trace shows

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-16 Thread bhaq1972
thanks --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: nc = null; --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: myPanel.owner is the same as myPanel.parent so that won't work. Making it a property would work. What would the disadvantages

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-10 Thread bhaq1972
: Or make nc a property of the class so you can use it in any method. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Try myPanel.owner On 6/9/10 8:23 AM, bhaq1972 mbhaque@ wrote: I added a Panel component into a NavigatorContent public function

[flexcoders] flex 4 - NavigatorContent question / element parent

2010-06-09 Thread bhaq1972
I added a Panel component into a NavigatorContent public function aMethod():void { var nc:NavigatorContent = new NavigatorContent(); nc.addElement(myPanel); } Now, in another method I want to access this NavigatorContent eg public function anotherMethod(myPanel:Panel):void { var

[flexcoders] Re: spark Panel titleBar equivalent

2010-06-04 Thread bhaq1972
Thanks Alex --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Use a Custom skin for the Panel On 6/3/10 8:13 AM, bhaq1972 mbha...@... wrote: In flex 3 I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar. var button:Button = new Button

[flexcoders] spark Panel titleBar equivalent

2010-06-03 Thread bhaq1972
In flex 3 I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar. var button:Button = new Button(); this.titleBar.addChild(button); whats the equivalent to this in Spark? one way i'm thinking of is using a basic layout, and positioning the buttons where I want. Just wanted

[flexcoders] Re: Which layout/container being used in Tour de flex

2010-05-24 Thread bhaq1972
Anyone? --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: Just wondering, Can someone tell me which layout/container is being used for Featured Projects section in Tour De Flex (Under Introduction to Flex What's Possible). thanks

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-20 Thread bhaq1972
Generic form var item:String = xmlLC.getItemAt(i).collectionID; ?? Try this var item:String = xmlLC.getItemAt(i)[collectionID]; --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Actually, the dpID is different for each xmllistcollection being passed. For

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-20 Thread bhaq1972
sorry, i meant var item:String = xmlLC.getItemAt(i)[collectionID]; --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: Generic form var item:String = xmlLC.getItemAt(i).collectionID; ?? Try this var item:String = xmlLC.getItemAt(i)[collectionID

[flexcoders] Which layout/container being used in Tour de flex

2010-05-20 Thread bhaq1972
Just wondering, Can someone tell me which layout/container is being used for Featured Projects section in Tour De Flex (Under Introduction to Flex What's Possible). thanks

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
@yahoogroups.com, Alex Harui aha...@... wrote: Maybe put the ButtonBar in a Scroller or put a Scroller in the ButtonBar skin? On 5/11/10 1:14 AM, bhaq1972 mbha...@... wrote: I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
.layout.horizontalScrollPosition += buttonbar1.layout.getScrollPositionDeltaToElement(buttonbar1.selectedIndex).x; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, May 11, 2010 at 9:14 AM, bhaq1972 mbha...@... wrote: I have a spark ButtonBar

[flexcoders] spark ButtonBar selectedIndex out of view

2010-05-11 Thread bhaq1972
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show. When I set the selectedIndex to one of the end buttons...its not coming into view. How can I ensure the selectedItem is in view? thanks s:HGroup s:ButtonBar id=buttonbar1

[flexcoders] Re: Flex 4 ButtonBarButton skin to look like a LinkBar skin

2010-05-07 Thread bhaq1972
/ /s:stroke /s:Line s:Label id=labelDisplay x=20 y=0 ..other attributes / /s:Group --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: Hi I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin. However, i'm having a few issues with trying to create

[flexcoders] Flex 4 ButtonBarButton skin to look like a LinkBar skin

2010-05-06 Thread bhaq1972
Hi I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin. However, i'm having a few issues with trying to create the separator graphic. So far my ButtonBarButton skin has a Label. 1) Do I create the separator graphic in updateDisplayList()? If so can someone help with a

[flexcoders] Re: Dynamic skin on spark.component.textinput

2010-05-05 Thread bhaq1972
try newObject.setStyle(skinClass, getDefinitionByName(spark.skins.spark.TextInputSkin)); instead of newObject[skinClass] = spark.skins.spark.TextInputSkin; --- In flexcoders@yahoogroups.com, Netaman rtigr...@... wrote: I stripped away most of the code and just have all the pertinent parts.

[flexcoders] Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
I have a set of button skins which all look like the following skin s:SparkSkin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark fx:Metadata [HostComponent(spark.components.Button)] /fx:Metadata s:states s:State name=up /

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
('downSkin') / /s:SparkSkin Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 12:47 PM, bhaq1972 mbha...@... wrote: I have a set of button skins which all look like the following skin s:SparkSkin xmlns:fx=http

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
Hasn't worked. --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote: If it does not work try replacing getStyle with hostComponent.getStyle. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972 mbha

[flexcoders] Re: Creating Spark controlBar with ActionScript

2010-04-27 Thread bhaq1972
I did this little test. It should help. s:Panel id=panel1 title=panel width=50% height=50% s:controlBarContent s:Label text=Label appears in Control Bar/ /s:controlBarContent /s:Panel s:Button click=test() label=add/ fx:Script ![CDATA[ public function test():void { var

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
to be set in curly braces like: source.up={getStyle('upSkin')} Sorry! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 mbha...@... wrote: Hasn't worked. --- In flexcoders@yahoogroups.com flexcoders

[flexcoders] Spark Panel width=0 but still showing

2010-04-26 Thread bhaq1972
I am setting the width of a Spark Panel to zero but I can still see it. Halo Panel does not have this problem. Any ideas? Thanks in Advance. Here's a simple example ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;

[flexcoders] Re: Spark Panel width=0 but still showing

2010-04-26 Thread bhaq1972
Sorted... I need the property clipAndEnableScrolling=true for the main panel to be set. s:Panel id=MainPanel s:layout s:VerticalLayout clipAndEnableScrolling=true /s:layout /s:Panel --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: I am setting the width of a Spark

[flexcoders] Re: Flex 4 HGroup and Group background colour

2010-04-23 Thread bhaq1972
HGroup, but feel free to file a bug at http://bugs.adobe.com/flex/ and Adobe can look into it. Peter From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Thursday, April 22, 2010 4:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex

[flexcoders] Re: Flex 4 HGroup and Group background colour

2010-04-23 Thread bhaq1972
would need a layout that uses absolute positioning, while vertical, horizontal and tail layout are automatic layouts and don't use absolute positioning. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Apr 23, 2010 at 9:45 AM, bhaq1972 mbha...@... wrote

[flexcoders] Flex 4 HGroup and Group background colour

2010-04-22 Thread bhaq1972
Why does this work s:Group width=100% height=28 s:Rect top=0 right=0 bottom=0 left=0 s:fill s:SolidColor color=0x4960a6 / /s:fill /s:Rect /s:Group But this doesnt? s:HGroup width=100% height=28 s:Rect s:fill s:SolidColor color=0x4960a6 / /s:fill

[flexcoders] Re: Help! - Intermittent Network Issues - How do you handle?

2010-04-07 Thread bhaq1972
I don't have a suggestion but wanted to know if you found anything useful to help your problem? We had one customer who had this problem on one of their pc's. But I never got to the bottom of what was happening. It became a low grade issue (as it was only one pc). I couldn't replicate the

[flexcoders] Re: What's wrong with this basic AS3 code?

2010-03-26 Thread bhaq1972
Doesn't make sense. I just tried it out and it works for me in an ActionScript project as well. Clearly, you Car class constructor takes 2 arguments, and its being passed 2 args in the instantiation. If you are using flexbuilder try click ProjectClean (this will build the project like its

[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread bhaq1972
interested in reading through it... I've just googled Andrew Trice BitMapData blog getUIComponentBitmapData but can't find what you've mentioned. Cheers, Nick On 25 March 2010 10:43, bhaq1972 mbha...@... wrote: I think i'm barking up the wrong tree. I misread your question

[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread bhaq1972
But, pressing Print Screen and then pasting it into an image container would be much nicer and more consistant. Have you checked out Andrew Trice's BitMapData blog. Very clever stuff. Just an idea. When someone presses the PrintScreen button, call his function getUIComponentBitmapData() to

[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread bhaq1972
into the image container. I check out the blog just incase there is some other magic there... Cheers, Nick On 25 March 2010 09:31, bhaq1972 mbha...@... wrote: But, pressing Print Screen and then pasting it into an image container would be much nicer and more consistant. Have you

[flexcoders] Re: What's wrong with this basic AS3 code?

2010-03-25 Thread bhaq1972
your class Car looks okay and so does you syntax to instantiate it and method call. try this. Create an Application(test.mxml) in the same folder location as your Car.as file. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Button label=test click=test()/

[flexcoders] Re: From your own experience how long does it take to learn AS3?

2010-03-24 Thread bhaq1972
Referring back to your lessons is no different to what you would do if you were learning any new skill (eg learning English or French). You will keep doing that until you become familiarand then you move to more complex stuff. My suggestion would be keep looking at examples, try them out.

[SPAM] Re: [flexcoders] DataGrid is blank

2010-01-21 Thread bhaq1972
sometimes setting the dataprovider to null (or new Object) worked for me. partsGrid.dataProvider = null; partsGrid.dataProvider = partsListCollection; or set the dataProvider in another event like creationComplete. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: I think

[flexcoders] Re: ListEvent ItemRollOver columnIndex value is wrong

2010-01-12 Thread bhaq1972
@yahoogroups.com flexcoders%40yahoogroups.com, bhaq1972 mbhaque@ wrote: I have an itemRollover event handler in my datagrid. This datagrid also has some invisble columns (i made them visible=false during the datagrid's initialize event) Now if I make col0 invisible, and col1

[flexcoders] ListEvent ItemRollOver columnIndex value is wrong

2010-01-11 Thread bhaq1972
I have an itemRollover event handler in my datagrid. This datagrid also has some invisble columns (i made them visible=false during the datagrid's initialize event) Now if I make col0 invisible, and col1 visible, i.e. mx:DataGridColumn dataField=col0 visible=false.. mx:DataGridColumn

[flexcoders] Re: Problem Casting an Object to a known type

2010-01-08 Thread bhaq1972
Hi Nick If the returned object has 3 nested levels its xml but if it 4 nested levels its not? Do you use flexbuilder debugger? It might be worth putting a breakpoint at the point where you return from the httpserviceand examining it. It might not be a object which can be typecasted to

[flexcoders] Re: RTE - DataGridHeader/mouseOutHandler

2009-12-01 Thread bhaq1972
to delay the changing of the data or send a fake mouseOut event. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Monday, November 30

[flexcoders] RTE - DataGridHeader/mouseOutHandler

2009-11-30 Thread bhaq1972
I'm getting this runtime error which I hope someone can help me with. Basically, I added a headerRelease event to my DataGrid. The plan is...when a user clicks a dg column header rather than sorting the rows, i plan to re-populate the datagrid with rows from a different sql database call.

[flexcoders] Re: RTE - DataGridHeader/mouseOutHandler

2009-11-30 Thread bhaq1972
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Monday, November 30, 2009 8:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] RTE - DataGridHeader/mouseOutHandler I'm getting this runtime error which I hope someone can help me

[flexcoders] Re: DatagridColumn dataField question

2009-09-03 Thread bhaq1972
[row][2] --- /mx:columns /mx:DataGrid /mx:WindowedApplication Beau On Fri, Aug 28, 2009 at 5:28 AM, bhaq1972 mbha...@hotmail. mailto:mbha...@... com wrote: Can the dataField reference an array position eg var array1:Array = [hello, world, etc

[flexcoders] DatagridColumn dataField question

2009-08-28 Thread bhaq1972
Can the dataField reference an array position eg var array1:Array = [hello, world, etc]; ... mx:DataGridColumn dataField=array1[1] / at the moment the only way i can make this work is use a labelFunction eg mx:DataGridColumn dataField=array1[1] labelFunction=something/ Just wondered if there

[flexcoders] Re: DataGridColumn widths not correct when Datgrid horizontalScrollPolicy=auto

2009-08-07 Thread bhaq1972
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Thursday, August 06, 2009 8:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGridColumn widths not correct when Datgrid horizontalScrollPolicy=auto Hi List When DataGrid

[flexcoders] DataGridColumn widths not correct when Datgrid horizontalScrollPolicy=auto

2009-08-06 Thread bhaq1972
Hi List When DataGrid horizontalScrollPolicy=auto, the DatagridColumn widths are not correct. When I scroll right(on the dg horizontalscroll bar). I can see my last 2 columns are not the same width (eventhough i set them both to 20). When horizontalScrollPolicy=off .both widths are the

[flexcoders] how to check if xml attribut value exists

2009-07-29 Thread bhaq1972
var myXML:XML = root node label=hello1something/node node label=hello2something/node /root; when I do trace(myXML..node.(@label=hello1).toXMLString()); its okay, but if i search for a @label which doesn't exists eg

[flexcoders] Setting Tree.selectedItem

2009-07-10 Thread bhaq1972
I'm trying to set the selectedItem for the given example. But I'm having all sorts of problems. The tree's dataprovider is XML. I'm only interested in selecting the child nodes (@label == Receipt)that means I have to expand the menu as well. Can someone give me some ideas? Code -

[flexcoders] Re: Setting Tree.selectedItem

2009-07-10 Thread bhaq1972
= XML(menuTree.dataProvider[0]..node.(@label == Receipt)).normalize(); } --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: I'm trying to set the selectedItem for the given example. But I'm having all sorts of problems. The tree's dataprovider is XML. I'm only interested

[flexcoders] Re: Drag Drop - maually show red cross or green plus icon

2009-06-15 Thread bhaq1972
to look DragManager showFeedback but I'll admit i did not have a whole lot of luck with this myself. hope this helps joss --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: During a dragOver event I want to manually show the green plus or red cross icon on the dragProxy image

[flexcoders] Re: Drag Drop - maually show red cross or green plus icon

2009-06-10 Thread bhaq1972
Thanks but this doesn't seem to work for me. Is there anything else. Regards bod --- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote: Hi there... You need to take a look at this: DragManager.showFeedback(DragManager.MOVE); hth adrian bhaq1972 wrote

[flexcoders] Re: How can I edit the datagrid header?

2009-06-10 Thread bhaq1972
Check out the property headerRender on DatagridColumn. mx:DataGridColumn headerRenderer=mx.controls.TextInput/ --- In flexcoders@yahoogroups.com, ujjwalkanti_manna ujjwalkanti_ma...@... wrote: Hi All, I am new in the flex world.Could any of you tell us how can I make the datagrid column

[flexcoders] Re: Flex and Reporting

2009-06-10 Thread bhaq1972
Have you seen Stimulsoft. One of things it has is a Flex runtime designervery nice. --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Hi everyone, I am totally amazed at the cool front-end UI things that could be done in Flex.  I have been dabbling a lot on

[flexcoders] Drag Drop - maually show red cross or green plus icon

2009-06-09 Thread bhaq1972
During a dragOver event I want to manually show the green plus or red cross icon on the dragProxy image. How do I do that? thanks

[flexcoders] Datagrid - Drag and Drop individual cells

2009-05-29 Thread bhaq1972
Hi everyone. Is it possible to drag and drop individual cells within a DataGrid (or any other List container)? for eg. drag cell [col1,row1] to [col3, row1] .it could be multiple cells. Any help would be appreciated. regards bod

[flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread bhaq1972
TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1); Just a guessI think your problem is TabNavigatorObj.getChildren().length Its not what you think it is (do a trace on it). instead, try using TabNavigatorObj.addChild(this); --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Rotate a custom Marker icon with Google Maps Flex API

2009-03-04 Thread bhaq1972
: --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Google maps flex API have their own forum. You can ask the question there...very helpful bunch. Hi, thank you. Could you provide a link? I have not been able to find this group, is it a yahoo or google group? J

[flexcoders] Re: Rotate a custom Marker icon with Google Maps Flex API

2009-03-03 Thread bhaq1972
Google maps flex API have their own forum. You can ask the question there...very helpful bunch. --- In flexcoders@yahoogroups.com, Jean H. Chandler j...@... wrote: Greetings ladies and gentlemen of Flex, My name is Jean. I'm something of a Flex newby, though I've done a few small

[flexcoders] Re: ToggleButtonBar xml based dataProvider (2)

2009-02-27 Thread bhaq1972
for a button at run time? --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: i'm no expert but i'd suggest not using XML as the dataprovideronly because of what the docs say and looking at the code prior to line 378 in NavBar.as I modified your dataprovider to look like

[flexcoders] Re: Reading compressed file in AS 3

2009-02-27 Thread bhaq1972
For background, what I'm trying to experiment with is compressing XML on the server-side and decompressing it on the client-side to see if I can improve performance. If anyone has thoughts or suggestions on this topic, I'm all ears. (AMF is not supported on the server I'm using, so

[flexcoders] Re: ToggleButtonBar - disable buttons

2009-02-26 Thread bhaq1972
--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Can I disable some buttons in ToggleButtonBar control? Thanks sure...something like this would do it Button(myToggleButtonBar.getChildAt(1)).enabled = false;

[flexcoders] Re: ToggleButtonBar xml based dataProvider (2)

2009-02-26 Thread bhaq1972
i'm no expert but i'd suggest not using XML as the dataprovideronly because of what the docs say and looking at the code prior to line 378 in NavBar.as I modified your dataprovider to look like this mx:dataProvider mx:Array mx:Object id=b4 label=G2 online=true icon=@Embed.../ etc..

[flexcoders] Re: Header Renderer

2009-02-25 Thread bhaq1972
You have to embed a mx:Script tag inside the Component tag i.e mx:Component mx:Label ... mx:Script etc /mx:Component --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: I am specifying a heder renderer in the following way: mx:DataGridColumn dataField=endtime

[flexcoders] Re: Header Renderer

2009-02-25 Thread bhaq1972
mx:Label text=End Time/ mx:Script /mx:Script /mx:Component /mx:headerRenderer --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: You have to embed a mx:Script tag inside the Component tag i.e

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
If you want to add columns dynamically, you need something like this var colNum:int=5 for(var i:int=0;icolNum;i++) { var col:DataGridColumn = new DataGridColumn(); col.dataField = some value1; col.headerText = some value2; myDataGrid.columns.push(col); } you'd then generate your

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
names(the ones before the semicolon) can be different and as I said I get them and the values(objects) from Arrays. Thanks again Jo --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: If you want to add columns dynamically, you need something like this var colNum:int=5

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
as example of what I need to create). This is basically my problem, How to build it based on column array and on data array? Only then I will assign it to the DataGrid Thanks for your time, realy --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Can I set it dynamically

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
, bhaq1972 mbhaque@ wrote: Thanks for your time, realy thats okay. Can you send an example of column array and data array? --- In flexcoders@yahoogroups.com, yossi.baram yossi.baram@ wrote: Hi man, I am very sorry to say that I was not clear :( myArray is what I

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
Hi jo I've had a little play around with what you gave and came up with the following example. Let us know if this is what you want. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import

[flexcoders] Re: Creating a DataProvider by dynamic loading

2009-02-24 Thread bhaq1972
glad I could help. --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: You are great Thanks man, it works like a charm :) --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Hi jo I've had a little play around with what you gave and came up

[flexcoders] Re: Generated html page backgroundcolour

2009-02-02 Thread bhaq1972
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Friday, January 30, 2009 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Generated html page backgroundcolour I just realized mx:Application

[flexcoders] Generated html page backgroundcolour

2009-01-30 Thread bhaq1972
I have my Flexbuilder set to the default settings. How can I make sure the generated HTML wrapper has a white backgroundColor. I know its something to do with ${bgcolor}. But how do I set this? Any help would be appreciated.

[flexcoders] Re: Generated html page backgroundcolour

2009-01-30 Thread bhaq1972
I just realized mx:Application backgroundColor=white etc generates the white background in the generated html wrapper --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: I have my Flexbuilder set to the default settings. How can I make sure the generated HTML wrapper has

[flexcoders] Re: mx:RemoteObject loadWSDL() equivalent method

2008-11-14 Thread bhaq1972
not make sense with a RemoteObject. As an aside, it is not necessary to use a WSDL on the client side. If you know the data structures and methods, you can call a Web Service without the WSDL. I have done this many times. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote

[flexcoders] mx:RemoteObject loadWSDL() equivalent method

2008-11-13 Thread bhaq1972
Does mx:RemoteObject have a loadWSDL() equivalent method like mx:WebService? regards

  1   2   3   4   5   >