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

2009-02-27 Thread bhaq1972
to set an icon for a button at run time? > > --- In flexcoders@yahoogroups.com, "bhaq1972" 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

[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 AM

[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" 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 Flex

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

2009-03-04 Thread bhaq1972
;bigdummy504" wrote: > > --- In flexcoders@yahoogroups.com, "bhaq1972" 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: 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, "m

[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] 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] 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 wrote: > > Hi there... > > You need to take a look at this: > > DragManager.showFeedback(DragManager.MOVE); > > hth

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

2009-06-10 Thread bhaq1972
Check out the property headerRender on DatagridColumn. --- In flexcoders@yahoogroups.com, "ujjwalkanti_manna" wrote: > > Hi All, > > I am new in the flex world.Could any of you tell us how can I make the > datagrid column header as editable.So that after user edit the column header > it wil

[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 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 Flex and stead

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

2009-06-15 Thread bhaq1972
it is the cursor you want then as the previous reply > says you need 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&qu

[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 -> http:

[flexcoders] Re: Setting Tree.selectedItem

2009-07-10 Thread bhaq1972
().parent(), true, true); menuTree.selectedItem = XML(menuTree.dataProvider[0]..node.(@label == "Receipt")).normalize(); } --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > I'm trying to set the selectedItem for the given example. But I'm having all > sorts of problems

[flexcoders] how to check if xml attribut value exists

2009-07-29 Thread bhaq1972
var myXML:XML = something something ; when I do trace(myXML..node.(@label="hello1").toXMLString()); its okay, but if i search for a @label which doesn't exists eg trace(myXML..node.(@label="hello3").toXMLString()) i get a runtime error - Ty

[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] Re: DataGridColumn widths not correct when Datgrid horizontalScrollPolicy=auto

2009-08-07 Thread bhaq1972
www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: 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 cor

[flexcoders] DatagridColumn dataField question

2009-08-28 Thread bhaq1972
Can the dataField reference an array position eg var array1:Array = ["hello", "world", "etc"]; ... at the moment the only way i can make this work is use a labelFunction eg Just wondered if there was any other way? TIA Bod

[flexcoders] Re: DatagridColumn dataField question

2009-09-03 Thread bhaq1972
column, > rather you just name the field to access. So in the case you gave of an > array of strings, you'd only be able to display properties of the string > objects themselves (such as length): > > > > You could use label function to just return the va

[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
.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 he

[flexcoders] Re: RTE - DataGridHeader/mouseOutHandler

2009-12-01 Thread bhaq1972
use callLater 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.c

[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 Conta

[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.

[flexcoders] Re: ListEvent ItemRollOver columnIndex value is wrong

2010-01-12 Thread bhaq1972
Andriy Panas > > > > 2010/1/11 invertedspear > > > > > > > I think, but I'm not sure, that when you set your col0 to be invisible, you > > need to also set includedInLayout = true; > > ~mike > > > > > > --- In flexcoder

[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" wrote: > > I think I wou

[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. Th

[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 c

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

2010-03-25 Thread bhaq1972
ny image 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 wrote: > > > > > > > > But, pressing Print Screen and then pasting it

[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. http://www.adobe.com/2006/mxml";> --- In flexcoders@yahoogr

[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 Project>Clean (this will build the project like its bu

[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 wrote: >

[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 probl

[flexcoders] Flex 4 HGroup and Group background colour

2010-04-22 Thread bhaq1972
Why does this work But this doesnt? thanks

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

2010-04-23 Thread bhaq1972
> > > > Not exactly sure why using left/right/top/bottom constraints didn't work on > the bottom 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 [m

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

2010-04-23 Thread bhaq1972
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 > > > > >

[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 http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minW

[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. --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > I am setting the width of a Spark Panel to zero but I can still see it. > Halo Panel does not have

[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 http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark"> [HostComponent("spark.components.Button")]

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

2010-04-27 Thread bhaq1972
source.down="getStyle('downSkin')" > /> > > > > > Haykel Ben Jemia > > Allmas > Web & RIA Development > http://www.allmas-tn.com > > > > > On Tue, Apr 27, 2010 at 12:47 PM, bhaq1972 wrote: > > > > > &

[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 wrote: > > If it does not work try replacing getStyle with hostComponent.getStyle. > > Haykel Ben Jemia > > Allmas > Web & RIA Development > http://www.allmas-tn.com > > > >

[flexcoders] Re: Creating Spark controlBar with ActionScript

2010-04-27 Thread bhaq1972
I did this little test. It should help. --- In flexcoders@yahoogroups.com, "de.newsight" wrote: > > Hi all, > > I'm looking for an example how to create a Spark controlbar with AS not MXML. > Any ideas are more than appreciated. > > Artur >

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

2010-04-27 Thread bhaq1972
uot; > > Sorry! > > Haykel Ben Jemia > > Allmas > Web & RIA Development > http://www.allmas-tn.com > > > > > On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 wrote: > > > > > > > Hasn't worked. > > > > --- In flexcoders@yahoog

[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" wrote: > > I stripped away most of the code and just have all the pertinent parts. >

[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 small

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

2010-05-07 Thread bhaq1972
Anyone who's interested, this is what I was missing from my ButtonBarButton skin --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > Hi > I'm trying to create a ButtonBar skin which looks like a halo

[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

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
flexcoders@yahoogroups.com, Alex Harui wrote: > > Maybe put the ButtonBar in a Scroller or put a Scroller in the ButtonBar skin? > > > On 5/11/10 1:14 AM, "bhaq1972" wrote: > > > > > > > I have a spark ButtonBar with a horizontalLayout. The width of th

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
; > buttonbar1.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

[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 wrote: > > Actually, the dpID is different for each xmllistcollection being passed. > > For example, fo

[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" wrote: > > > Generic form>> > > var item:String = xmlLC.getItemAt(i).collectionID; ?? > > > > Try this > > v

[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: Which layout/container being used in Tour de flex

2010-05-24 Thread bhaq1972
Anyone? --- In flexcoders@yahoogroups.com, "bhaq1972" 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] 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 t

[flexcoders] Re: spark Panel titleBar equivalent

2010-06-04 Thread bhaq1972
Thanks Alex --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Use a Custom skin for the Panel > > > On 6/3/10 8:13 AM, "bhaq1972" wrote: > > > > > > > In flex 3 > I used do add buttons to MyPanel (extends mx.containers.Pan

[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 nc:Navigator

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

2010-06-10 Thread bhaq1972
uot;valdhor" wrote: > > Or make nc a property of the class so you can use it in any method. > > --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > > > Try myPanel.owner > > > > > > On 6/9/10 8:23 AM, "bhaq1972" wrote: > &g

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

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

[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" 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 flex withou

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

2010-06-17 Thread bhaq1972
a tab string and newView is a UI component usually a > composite component > > If you need a whitewashed code example let me know. > > Randy > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > myPanel.owner is the same

[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 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 settings. >

[flexcoders] VGroup and verticalScrollPolicy / horizontalScrollPolicy

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

[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 http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> @namespace s "library://ns.adobe.co

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

2010-07-08 Thread bhaq1972
> stylesheet. > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > Anyone know why styling is not being applied to this Flex4 example (a > > modified example from livedocs)? > > > > thanks > > > > > > http://ns.adob

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

2010-07-13 Thread bhaq1972
or borderVisible : false; --- In flexcoders@yahoogroups.com, Andriy Panas 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: 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 wrote: > >There is no "borderVisible" style for DateField, it exists only for > DateChooser, only in Flex 4 SDK and only in default "skin theme" Spark.

[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 - http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> !-- Place non-visual elements (e.g., services, value objects) here --> When I try us

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

2010-07-14 Thread bhaq1972
textValue2 > > > > BTW, why extend from TextInput class in MXML? > > If there are no visual subchildren in your custom component, it's better to > extend the class in solemn ActionScript. > > -- > Best regards, > Andriy Panas > > > > On

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

2010-07-14 Thread bhaq1972
olemn ActionScript. > > -- > Best regards, > Andriy Panas > > > > On 14 July 2010 13:41, bhaq1972 wrote: > > > > > > > I have created a very simple MyTextInput > > > > MyTextInput.mxml > > - > > > &g

[flexcoders] Spark TextInput text highlight colour

2010-08-26 Thread bhaq1972
I have a very simple question about Spark TextInput. 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 that? tia

[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 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] Re: Spark Datagrid selectedItem question

2011-08-25 Thread bhaq1972
Once editing is complete they then click a confirm button to commit their It all sounds a bit backward but my boss assures me its the best way for our users. --- In flexcoders@yahoogroups.com, "Amy" wrote: > > How would a user edit a row that is not selected? > > --- In

[flexcoders] Re: Spark Datagrid selectedItem question

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

[flexcoders] Re: Spark Datagrid selectedItem question

2011-08-26 Thread bhaq1972
minWidth="955" minHeight="600"> --- In flexcoders@yahoogroups.com,

[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 ne

[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 wrote: > > Hi,

[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? .. public function makeColumnInvisible():void { gc1.visible

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

2011-10-06 Thread bhaq1972
ob). --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > The column probably hasn't been created yet. Try the creationcomplete event > of the datagrid. > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > I get a runtime erro

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

2011-10-07 Thread bhaq1972
mplete and follow up with a validateNow() > call. > > > On 10/6/11 1:11 AM, "bhaq1972" wrote: > > > > > > > The problem doesn't exist if the code is executed in the preintialize or > creationComplete event. However, I didn't want to m

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

2011-10-10 Thread bhaq1972
a grid and columns on the > fly in ActionScript. Why bother having columns in memory that you don't use? > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > The problem doesn't exist if the code is executed in the preintialize or > > cr

[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 wrote: > > Even columns with visible=false get instantiated when declared in MXML. > > > On 10/10/11 3:36 AM, "bhaq1972" wrote: > > > > > > > Yes agreed. In our ne

[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] right align the gridcolumn text

2011-10-24 Thread bhaq1972
GridColumn doesn't have the textAlign style. Instead we can do this - .. How can I do this in actionscript? I've tried the following but doesn't work var renderer1:ClassFactory = new ClassFactory(DefaultItemRenderer); renderer1.properties = { textAlign:"right", color:0x

[flexcoders] Re: right align the gridcolumn text

2011-10-25 Thread bhaq1972
bagic_source/srcview/index.html > > -TH > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > GridColumn doesn't have the textAlign style. Instead we can do this - > > > > > > > > > > > > ..

[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. http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

[flexcoders] Re: Datagrid Selective Cell Tabbing

2005-10-14 Thread bhaq1972
--- In flexcoders@yahoogroups.com, "thisdudenamedjon" <[EMAIL PROTECTED]> wrote: > > Suppose I have a datagrid. I'd like to be able to restrict certain > editable columns from being accessed using the tab key. > > Is there a way to disable tabbing for a particular column? > try this little examp

[flexcoders] calling createEmptyMovieClip()

2005-10-17 Thread bhaq1972
Hi I found this code in the archives (courtesy of JesterXL). but i cant make it work. any ideas var ref_mc = myCanvas.createEmptyMovieClip("square", getNextHighestDepth()); myCanvas.fillRect.call(ref_mc, 0, 0, 100, 100, 0xCC0033, 100); Yahoo! Groups Sponsor

[flexcoders] Re: calling createEmptyMovieClip()

2005-10-17 Thread bhaq1972
ECTED]> wrote: > > Try like this: > > var ref_mc = myCanvas.createChild(mx.core.UIObject); > myCanvas.fillRect.call(ref_mc, 0, 0, 100, 100, 0xCC0033, 100); > > > - Original Message - > From: "bhaq1972" <[EMAIL PROTECTED]> > To: > Sent:

[flexcoders] Re: Comparision between two dates

2005-10-18 Thread bhaq1972
> here dateformate is dd-mmm-yy (eg:17-oct-05) if i was comparing 2 dates in actionscript i would do this var date1:Date = new date(2005, 9, 17); var date2:Date = new Date(2005, 9, 16); if(date1 Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/t

[flexcoders] Re: Combobox cell renderer and dynamic dataprovider

2005-10-18 Thread bhaq1972
have you looked at iteration 2s example http://www.richinternetapps.com/archives/72.html the combobox cellrenderer has a static dataprovider property. So you can reference this static in your main app. Alternatively, have your combobox dataprovider declared in your main app (eg var combo_dp

[flexcoders] mimic Datagrid single cell selection issue

2005-10-19 Thread bhaq1972
Hi all, i've got this little test app below where i'm using fillrect () to mimic the selecting of an individual cell. got a question. variables xpos and ypos are set using unsupported code. how can i set them using supported code? http://www.macromedia.com/2003/mxml";>

[flexcoders] Re: Dividing the mailing list into categories

2005-10-20 Thread bhaq1972
opinion on mailing list and combobox I think the mailing list should remain as is. Keep everything together. If its split up, most active users will end up just subscribing to all categories (so no gain). But the archive search could be better. -- >private function initCellRenderer() : Void

[flexcoders] datagrid dragdrop question

2005-10-26 Thread bhaq1972
Hi, Can i drag and drop single cells as oppose to rows in a datagrid (as shown in the flex explorer example)? what about in flex 2?(i havent even started looking at flex2). thanks Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you

[flexcoders] Re: Stupid Question, but driving me mad - TabBars

2005-10-26 Thread bhaq1972
stupid answer(maybe) - why dont you set the selectedIndex in the resultHandler of your webservice call (the one which gets the dataprovider for your tabbar) --- In flexcoders@yahoogroups.com, "Steve Cox" <[EMAIL PROTECTED]> wrote: > > Guys + Girls, > > I've a tabbar on 3 separate forms inside

[flexcoders] Re: set Effect at runtime

2005-10-27 Thread bhaq1972
> trace (mx.core.Application.application.canvas1.viewstack1.panel1.viewstack2.s electedChild.childDescriptors[0].getStyle("moveEffect"); > shouldn't that be trace mx.core.Application.application.canvas1.viewstack1.panel1.viewstack2.se lectedChild.getStyle("moveEffect") ?? -

[flexcoders] Re: Stupid Question, but driving me mad - TabBars

2005-10-27 Thread bhaq1972
g the tabbar.selectedIndex). after clicking both a buttons a couple of times, i wasn't getting focus..but selectedIndex was correctly set) regards bod(bhaq1972) --- In flexcoders@yahoogroups.com, "Steve Cox" <[EMAIL PROTECTED]> wrote: > > Hey, > > Tried th

[flexcoders] Re: set Effect at runtime

2005-10-27 Thread bhaq1972
vas1.viewstack1.panel1.viewstack2. selectedChild.childDescriptors[0].getStyle("fontSize"); > > It returns 'undefined'. > I presume my reference to the might be wrong... > Shouldn't use '.childDescriptors[0]'

[flexcoders] Re: datagrid dragdrop question

2005-10-28 Thread bhaq1972
thanks --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 10/28/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 10/26/05, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > > Can i drag and drop single cells as oppose

[flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread bhaq1972
Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets re-compiled

[flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread bhaq1972
you can turn on production mode for your app but production mode has its > drawbacks. In order to request a recompile, you have to refresh the web > application or restart the server causing downtime to production sites. > > > Carson > > > > Carson Hager > Cynergy Systems, I

<    1   2   3   4   5   >