[flexcoders] Re: flex2 final - CheckBox itemrenderer question

2006-07-27 Thread bhaq1972
to do it, would be to dispatch custom events. Glad that it got you moving in the right direction; to come up with a better solution. Cool, -TH --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I found a way to make it generic. all i did was implement IDropInListItemRenderer

[flexcoders] flex2 final - question about adding buttons to a panel.titlebar

2006-07-27 Thread bhaq1972
after adding a button to panel.titleBar do we put our button positioning code in updateDisplayList() or in layoutChrome(). i'm sure i've seen suggestions for both. just wanted to know whats the difference. regards bod -- Flexcoders Mailing List FAQ:

[flexcoders] Re: performance issues

2006-07-28 Thread bhaq1972
i tried your links out (btw the first 2 are pointing to the same example). on my normal development machine (6 months old with all the trimmings) performance is very quick as expected. but when i tried it from an old laptop (4-5 years old) it felt like one of my flex 1.5 datagridsvery slow

[flexcoders] Re: Limiting length of xmllistcollection to display only first 10 in a datagrid.

2006-07-28 Thread bhaq1972
your datagrid dataprovider is a reference to a collection (in your case its an XMLListCollection). so if your removing items from it .and your also referencing this same collection elsewhere, then ofcourse you will be see the same items being removed (because your looking at the same

[flexcoders] Re: Limiting length of xmllistcollection to display only first 10 in a datagrid.

2006-07-28 Thread bhaq1972
(a copy/new yourCollection[i]); } } yourDataGrid.dataProvider = myNewCollection; this is all untested. but should give you an idea regards bod --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: your datagrid dataprovider is a reference to a collection (in your case its

[flexcoders] Re: ArrayCollections

2006-07-28 Thread bhaq1972
my understanding of it is as follows. basically, its the same thing except when you are dealing with exceptions. if the cast doesnt work out, you get an exception (which u could handle in a try catch). if the 'as' doesnt work out, it returns a null (so u would use an if test to handle it. eg

[flexcoders] Re: Panel padding

2006-07-28 Thread bhaq1972
and make the panel borderStyle=none --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Devin, Try setting the Panel's borderThickness to 0. -TH --- In flexcoders@yahoogroups.com, Devin Holloway devin@ wrote: I have a panel with a datagrid in it. I don't want

[flexcoders] Re: Panel padding

2006-07-28 Thread bhaq1972
, but clips them so that the same left/right padding amount exists. the weird thing is that the paddingTop behaves as it should, it's just the left/right padding that's not working --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: what happens if you remove the outer Canvas

[flexcoders] Re: Panel padding

2006-07-28 Thread bhaq1972
%40yahoogroups.com ups.com, bhaq1972 mbhaque@ wrote: okay this is my last suggestion (cant think of anything else). for your datagrid add a minWindth=0 sometimes i found that works well with width=100% --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread bhaq1972
happening all the time. Is there a way to switch the 'blurring' off? if you want to play with the amount of blurring in the background for a modal popup, you have to set 'modalTransparencyBlur' style eg mx:Applictaion modalTransparencyBlur=0 (default is 3) --- In

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-03 Thread bhaq1972
guys its not working because, your line popUpParent = mainPanel; isn't being set inside an initialize event(for eg). you can do this mx:Application initialize=test() function test() { popUpParent=mainPanel } regards bod --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED]

[flexcoders] Re: get rid of light line on top of panel

2006-08-03 Thread bhaq1972
are you talking about the line that divides the header and the main panel area? try borderStyle=solid; --- In flexcoders@yahoogroups.com, Pan Troglodytes [EMAIL PROTECTED] wrote: I've been playing with panels and I haven't been able to get the light colored line to not show up on top, no

[flexcoders] flex2 final - cant use 'Embed ' inside a style sheet

2006-08-04 Thread bhaq1972
i was trying out the example where it says you can use an Embed in an external style sheet so i tried this .MyButton { upSkin: Embed('../assets/button1.png'); } but i get an Invalid Embed directive in stylesheet - can't resolve source 'Embed ('../assets/button1.png)' any ideas? thanks

[flexcoders] Re: flex2 final - cant use 'Embed ' inside a style sheet

2006-08-07 Thread bhaq1972
that worked!!! thanks. --- In flexcoders@yahoogroups.com, nelsoncostabatista [EMAIL PROTECTED] wrote: Hello all, For the CSS, to avoid errors you must write like this: upSkin: Embed(source=/yourAppRoute/button1.png); notice the . Best. --- In flexcoders@yahoogroups.com, bhaq1972

[flexcoders] flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue

2006-08-14 Thread bhaq1972
i have a datagrid with the following attributes. mx:DataGrid doubleClickEnabled=true sortableColumns=false itemDoubleClick=mx.controls.Alert.show('item double clicked') i'm finding that if i doubleClick the header, i'm getting the itemDoubleClick evnt being trigged. is this the correct

[flexcoders] flex2 final - how set flashing cursor in textinput

2006-08-14 Thread bhaq1972
how do i place the cursor onto the first textinput on my form in actionscript. the setFocus() and setSelection() methods aren't quite what i'm looking for. regards bod -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread bhaq1972
? ChannelID=1Object=FileobjectI\ D=462 http://www.cflex.net/showfiledetails.cfm? ChannelID=1Object=Fileobject\ ID=462 -TH --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: how do i place the cursor onto the first textinput on my form in actionscript. the setFocus

[flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue

2006-08-15 Thread bhaq1972
/mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: i have a datagrid with the following attributes. mx:DataGrid doubleClickEnabled=true sortableColumns=false itemDoubleClick=mx.controls.Alert.show('item double clicked') i'm finding that if i

[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread bhaq1972
wrapper file. With Abdul Qabiz's javascript injection, the java function is inserted at run-time. Just follow the example and change the name of the SWF file in the java function. If you get stuck, let me know. -TH --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote

[flexcoders] Re: Web services or FDS: which are you using?

2006-08-16 Thread bhaq1972
we're using .net web services with our flex client. we did use flashorb (weborb as its now called) remoting. so, if money isn't an issue (and no doubt it isn't for FDS users, then i'd recomend weborb for people who have .net middle tiers). --- In flexcoders@yahoogroups.com, ben.clinkinbeard

[flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue

2006-08-16 Thread bhaq1972
the information contained in the event when you get the itemDoubleClicked? I can forward this in as a potential bug, but if you have that info it'd be helpful. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972

[flexcoders] flex2 - how to cancel an event.preventDefault() in datagrid

2006-08-16 Thread bhaq1972
Hi everyone, i'm trying a modified docs datgrid example where i call event.preventDefault() first, and then do the validation (example below). If the validation fails i show the errorString otherwise i want to continue. How do i cancel the event.preventDefault() (if that makes sense) regrds

[flexcoders] Re: flex2 - how to cancel an event.preventDefault() in datagrid

2006-08-16 Thread bhaq1972
}; } } --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi everyone, i'm trying a modified docs datgrid example where i call event.preventDefault() first, and then do the validation (example below). If the validation fails i show the errorString otherwise i want

[flexcoders] Re: CheckBox.......help needed

2006-08-17 Thread bhaq1972
you can always look at the underlying dataprovider for the datagrid eg if u have this mx:DataGridColumn dataField=data1 itemRenderer=CheckBox/ then you can do this var record:Object = IList(myDataGrid.dataProvider).getItemAt(2); var chekbox_value:Boolean = record[data1]; --- In

[flexcoders] flex2 on winCE and pocketPC devices

2006-08-17 Thread bhaq1972
How long are we away before we can start creating flex2 apps that run on winCE and pocketPC devices. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups

[flexcoders] Re: comboBoxes with dynamic data as datagrid itemRenderers?

2006-08-18 Thread bhaq1972
Hi Barry a suggestion: extend the datagridcolumn as well to include a rendererDataProvider property eg myDataGridColumn.mxml - mx:DataGridColumn mx:Script public var rendererDataProvider:Object; /mx:Script /mx:DataGridColumn then do this - myDataGridColumn headerText=Role

[flexcoders] Re: RE:comboBoxes with dynamic data as datagrid itemRenderers?

2006-08-18 Thread bhaq1972
yes it is out of scope. a way round this (may not be totally desirable) as follows mx:DataGridColumn headerText=Type dataField=col3 mx:itemRenderer mx:Component mx:ComboBox creationComplete=doThis() mx:Script![CDATA[ private function doThis():void {

[flexcoders] flex2 final - popup autosizing question (re-post)

2006-08-18 Thread bhaq1972
prior to flex2 final release version, the PopupManager automatically sized all my titlewindow based popup components. this is no longer the case (why). Is there a way i can make the popup manager work out the popup sizing. regards bod -- Flexcoders Mailing List FAQ:

[flexcoders] Re: sending user selections back from TitleWindow to itemRenderer (parent) - how

2006-08-21 Thread bhaq1972
is the datagrid item editor instance still alive when you close the popup. if so just set that with the data. if(dg.itemEditorInstance) { var yr:YourRenderer = YourRenderer(dg.itemEditorInstance); yr.AcademicText = newAcademic; } . or you can always pass a reference of the datagrid into your

[flexcoders] Re: how to create a dynamic reference to a parent (custom control)

2006-08-21 Thread bhaq1972
accountBalance is the name of the dataField. so you can do the following in your renderer override public function set data(value:Object):void { var myListData:DataGridListData = DataGridListData(listData); var myDataField:String = myListData.dataField; trace (data[myDataField]); --- In

[flexcoders] Re: flex2 final - popup autosizing question (re-post)

2006-08-21 Thread bhaq1972
that causes the popups to resize automatically!! Ahh, I'm happy again :-) Still I wonder why this has changed from Beta 3? -Mika From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: 18. elokuuta 2006 15:04

[flexcoders] flex2 final - panel titlebar, hbox, includeInLayout problem

2006-08-29 Thread bhaq1972
I have an extended Panel which has an hbox (containing buttons) added to the titlebar. what i'm trying to do, is make use of the includeInLayout property to reposition the buttons (should i chose to make a btn invisible/visible). its nearly working, except when i make a button visible again,

[flexcoders] another checkbox itemrenderer in a datagrid question

2006-11-03 Thread bhaq1972
i have an itemrenderer where the checkbox is disabled eg mx:HBox horizontalAlign=center mx:CheckBox id=cb enabled=false/ /mx:HBox i would like to enable it only when the user selects it (say in a itemEditBeginnning event) ( and then disable it again) any ideas? -- Flexcoders Mailing List

[flexcoders] Re: Image in tab

2006-11-07 Thread bhaq1972
check out the archives. Jeremy Lu did something special. --- In flexcoders@yahoogroups.com, k4rth4l [EMAIL PROTECTED] wrote: I want to put an image on the left of the title in each tab of a tab naviguator. Anybody know how I can do that ? This is what I try to do : [Tab Navigator]

[flexcoders] Re: Image in tab

2006-11-08 Thread bhaq1972
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, November 07, 2006 9:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image in tab check out the archives. Jeremy Lu did something special. I was unable to find

[flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread bhaq1972
have you looked into DataGridEvent.preventDefault(). there's a simple example in the docs titled Determining the reason for an itemEditEnd event --- In flexcoders@yahoogroups.com, fritzdimmel [EMAIL PROTECTED] wrote: Hi! Is it possible to not let a user leave a editable column in a

[flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread bhaq1972
- Original Message From: bhaq1972 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 8, 2006 9:07:18 AM Subject: [flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid have you looked into DataGridEvent. preventDefault( ). there's a simple

[flexcoders] Re: strange CheckBox behavior (as an item renderer in pop up)

2006-12-04 Thread bhaq1972
Hi Roman shouldn't your dataprovider assignment be within the if test. if (_popUp == null) { _popUp = CheckList(PopUpManager.createPopUp(clickMe, CheckList)); _popUp.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, onMouseDownOutside); PopUpManager.centerPopUp(_popUp); var dataProvider :

[flexcoders] Re: Accessing TextInput via Panel and getChildByName

2006-12-05 Thread bhaq1972
enabled is not a method, its a getter/setter property. so you have to do ti.enabled = false; --- In flexcoders@yahoogroups.com, pdenys [EMAIL PROTECTED] wrote: I am accessing a TextInput object by invoking myPanel.getChildByName (myTextInput); Then I try to disable the TextInput and get an

[flexcoders] Re: Bug In Tree openItems setter?

2006-12-12 Thread bhaq1972
have you tried something like myTree.expandItem(myTree.openItems[1], false); --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: lol. I am really retarded today. I redundantly restated what I said in the subject, and then I spelled it wrong. On 12/11/06, hank

[flexcoders] Re: How to lock a column in a datagrid ?

2006-12-29 Thread bhaq1972
try mx:DataGrid lockedColumnCount=1 --- In flexcoders@yahoogroups.com, arpan srivastava [EMAIL PROTECTED] wrote: Hi , I want that user should not be able to drag the first column of my datagrid. User can drag other columns but not the first one. It should be locked, like we can lock a

[flexcoders] test - ignore

2007-01-09 Thread bhaq1972
just checking to see if my posts are being sent to the list

[flexcoders] Re: Bug.Flex 2: Background becomes black when defining depthColors style for Tree Component

2007-01-10 Thread bhaq1972
I noticed this as well. I just took out the depthColors setting and and everything is okay. --- In flexcoders@yahoogroups.com, Arul [EMAIL PROTECTED] wrote: Bug.Flex 2: Background becomes black when defining depthColors style for Tree Component. It used to work fine before (in Flex

[flexcoders] flexbuilder 2.01 (windows version) CTRL + TAB keys

2007-01-15 Thread bhaq1972
in flexbuilder 2 CTRL+TAB would allow you to move between any opened files. In this new version this is no longer the case. does anyone know what the new key combination is? thanks

[flexcoders] Re: ComboBox ItemEditor

2007-01-15 Thread bhaq1972
Not sure if this is even possible, but in any case, I can't seem to find anything that can listen to a dispatched event from the editor. I've tried listening for the event on the datagrid, the datagrid column, and the component containing the datagrid... all giving errors. Is this not

[flexcoders] flex 2 - printing. child disappers from container after i add it to my print

2007-02-28 Thread bhaq1972
Hi I have a PrintView template which looks like this PrintView.mxml -- mx:VBox mx:Label / mx:PrintDataGrid/ /mx:VBox In my printThis() function i decide whether to add an extra child to the PrintView. What then happens is, it disappears from the original container. public

[flexcoders] Re: Dynamically creating item IDs

2007-03-02 Thread bhaq1972
maybe your trying to do something like this mx:TextInput preinitialize=assignID()/ private function assignID(event:FlexEvent):void { //read your xml file and get id var sID:String = assign your id from your xml file here; //assign this textinput's id event.currentTarget.id = sID; }

[flexcoders] Re: Dynamically creating item IDs

2007-03-02 Thread bhaq1972
yes thats correct. typo. regrds bod --- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote: Believe you need to pass the event object: mx:TextInput preinitialize=assignID(event)/ But, that's a pretty good idea! -Scott On 3/2/07, bhaq1972 [EMAIL PROTECTED] wrote

[flexcoders] Re: tileIcon

2007-03-05 Thread bhaq1972
try mx:Panel titleIcon=@Embed('assets/images/titleimage.png')/ --- In flexcoders@yahoogroups.com, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All I have a panel that has a title set but I want to put an image in there instead. Are there any titleIcon examples out there? I've not been

[flexcoders] Re: Selecting child components in TabNavigator

2007-03-10 Thread bhaq1972
do you have any code to show. --- In flexcoders@yahoogroups.com, Vyshakh Venugopal [EMAIL PROTECTED] wrote: hi all, am a newbie to flex, I tried the nested tab navigator with custom canvas components in it. But i faced to show the componenets upon a button click event happened in

[flexcoders] Datagrid cellEditor focus problem

2005-05-04 Thread bhaq1972
Hi I'm doing a simple test where i store the position of a focusedCell during a cellPress/cellFocusIn event. If i then set a boolean variable to false, i want the celleditor to appaer in the original position. This works except the green box appears in the new position. I want this green box

[flexcoders] Re: Datagrid cellEditor focus problem

2005-05-05 Thread bhaq1972
Thanks Jim that worked regards Bod (bhaq1972) --- In flexcoders@yahoogroups.com, Jim Laing [EMAIL PROTECTED] wrote: I added a dg.disposeEditor(); line before setting the focused cell to the old cell when not changing the focus. This seems to make it work Alternatively, you could use

[flexcoders] DataGrid cell problem overriding setFocusedCell() method

2005-05-09 Thread bhaq1972
is below. BTW. I dont want to use a custom cell renderer. This is only a simple example to highlight my problem. Regards bod(bhaq1972) test.mxml - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:nx=* backgroundColor=#C0DCC2

[flexcoders] Re: DataGrid cell problem overriding setFocusedCell() method

2005-05-10 Thread bhaq1972
of the validation is asynchronous so i use setInterval before i focus on the next cell i actually override a few other methods in Datagrid.as. please feel free to ask few other questions. regards bod (bhaq1972) --- In flexcoders@yahoogroups.com, Jim Laing [EMAIL PROTECTED] wrote

[flexcoders] Re: DataGrid cell problem overriding setFocusedCell() method

2005-05-10 Thread bhaq1972
is a little different, but they definitely overlap in what they accomplish: On 5/10/05, bhaq1972 [EMAIL PROTECTED] wrote: I had a universal cellrenderer based on Ali's combobox cellrenderer with more controls but it was so sluggish to render. Exactly! This was the main thing we were

[flexcoders] Lose reference to my Validator object after an asynchronous call

2005-05-12 Thread bhaq1972
Hi I'm doing an async call (using the Pending call procedure) in my extended TextInput (which has a mx:Validator object attached). I save the validator object reference in a class variable (so i can use it in the result handler later on), but when I return to the result handler i dont get the

[flexcoders] Re: Lose reference to my Validator object after an asynchronous call

2005-05-12 Thread bhaq1972
the isStructureValid() function of the validator class whenever you return from the remote call. Seems like it might be the easiest way to deal with this AND just give one last check of the form fields. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I'm doing

[flexcoders] how can i stop my date-time timezone data from being adjusted

2005-05-19 Thread bhaq1972
Is there a quick way to stop flash player from manipulating my date- time data before its rendered. In my oracle db i have a column of data held as a date eg. '18-04-05 15:40' but when i render this data in a datagrid/list etc, it shows up as '18-04-05 16:40'. I want this date time to be

[flexcoders] Re: how can i stop my date-time timezone data from b eing adjusted

2005-05-20 Thread bhaq1972
:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, May 19, 2005 5:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how can i stop my date-time timezone data from being adjusted Is there a quick way to stop flash player from manipulating my date- time data before its

[flexcoders] Re: how can i stop my date-time timezone data from b eing adjusted

2005-05-20 Thread bhaq1972
, bhaq1972 [EMAIL PROTECTED] wrote: Do you have any recommendation how i would apply this code before binding to a datagrid. My result handlers after an async call usually look like this function resultHandler(result){ datagrid1.dataProvider = result; } Use a DataGridColumn, set

Re: R: [flexcoders] WebSercices, result, Array, DataGrid - Problems

2005-05-26 Thread bhaq1972
Just an idea. Make all the columnNames uppercase in your mxml. --- In flexcoders@yahoogroups.com, Francesco [EMAIL PROTECTED] wrote: I've checked (case, ...) and all seems to be correct :-( Should I trasfer the result to a model? Thanks Francesco -Messaggio originale-

[flexcoders] question about image cellrenderer in flex samples explorer

2005-06-22 Thread bhaq1972
Hi I have a question about the setValue() method in imagecellrenderer example. function setValue(str:String, item:Object, sel:Boolean) : Void { image.source = item[image]; } Does the image keep getting reloaded everytime 'image.source' is being set? This wouldn't be efficient as

[flexcoders] Re: Data grid with check box... How to get value

2005-06-23 Thread bhaq1972
not totally sure what you mean by 'value of that row'. However, if your checkBox cellrenderer is based on the example from flex samples explorer, then the function getCellIndex() should give you back the row number. and getDataLabel() should give you back the value of the checkbox. (I think).

[flexcoders] Re: question about image cellrenderer in flex samples explorer

2005-06-23 Thread bhaq1972
image.setSize(20, layoutHeight); image._x = (layoutWidth-20)/2; image._y = (layoutHeight-16)/2; } this isn't working. Any ideas? TIA bod (bhaq1972) --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 6/22/05, bhaq1972 [EMAIL PROTECTED] wrote: function setValue

[flexcoders] Re: Changing Panels Header Colour

2005-06-23 Thread bhaq1972
yes change the appropriate style properties eg mx:Panel backgroundColor=red headerColors=[0xE1E5EB, 0xF4F5F7] --- In flexcoders@yahoogroups.com, tony_lic [EMAIL PROTECTED] wrote: Hi All, Is there any possibility of changing the default color of the Panel containers in flex. with

[flexcoders] Re: bypass the change event

2005-06-23 Thread bhaq1972
I had a similar issue, where the validation/redbox error was being fired off when i didnt want it to be. this is the way i see it. your validator is monitoring combobox.selectedIndex ie mx:Model id=validationModel facilityType{facilityType.selectedIndex}/facilityType /mx:Model So

[flexcoders] Re: question about image cellrenderer in flex samples explorer

2005-06-24 Thread bhaq1972
Hi Again, thanks for your response Manish What do you mean it isn't working? What's happening? Try using image.width and image.height instead of 20 and 16 in the last two lines. The image._x and image._y properties have different values after i changed them, but the position of my

[flexcoders] Re: bypass the change event

2005-06-24 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Tim Dwelle [EMAIL PROTECTED] wrote: Worked like a champ. Thanks for the help. No probs. An additional thought (after i had posted my response), you dont have to extend combobox. you can put that extra getter/setter property 'myIndex' into your application

[flexcoders] Re: question about image cellrenderer in flex samples explorer

2005-06-27 Thread bhaq1972
column and content/imagecellrenderer.) - Paulus - Original Message From: Manish Jethani [EMAIL PROTECTED]To: [EMAIL PROTECTED]: Fri Jun 24 05:46:55 2005Subject: Re: [flexcoders] Re: question about image cellrenderer in flex samples explorer On 6/23/05, bhaq1972 [EMAIL

[flexcoders] Re: question about image cellrenderer in flex samples explorer

2005-06-27 Thread bhaq1972
)); } thanks for all the help. regards bod --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Thankyou both (Manish and Paulus) for your feed backs but still no luck. The position of the image just doesnt want to budge. (All i'm doing is taking the flex samples example

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread bhaq1972
Hi, your original idea of having a [Event] metatag didnt work because DatagridColumn isn't extending from UIObject (i think). in the click event of your cellrenderer you can add an event listener and dispatch it to the parentdocument (which is probabaly where you want your click event to be

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread bhaq1972
: Comments inline... --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi, your original idea of having a [Event] metatag didnt work because DatagridColumn isn't extending from UIObject (i think). Good point... didn't think of that. But can't *any* object emit events

[flexcoders] Re: Flash Player 8 Public Beta

2005-07-12 Thread bhaq1972
I've noticed a increase in speed of rendering (about 10-30%). but still have issues with datagrids with many columns (very slowstill trying to find the problem!) regards bod --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote: In case you haven't heard the news, the

[flexcoders] Re: DataGrid Custom Row's

2005-07-25 Thread bhaq1972
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Image id=image width=16 height=16 source=report.jpg toolTip=click to see report horizontalAlign=center verticalAlign=middle / /mx:VBox try adding a layoutChildren function as follows function layoutChildren():Void {

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sreejith, Infact the question is very simple. How do you set corner-radius = 10 to one TabNavigator and corner- radius = 0 on another in the same application! I've given up! :-( have you tried Matt's recommendation i.e. use the styleName property? eg (btw i added your stylesheet

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sree Now back to the question, if I want to assign corner-radius to only ONE tabNavigator, how do I do it! I'm glad you found your answer. I'm no mind reader, my answer was based on what you asked. What you actually wanted to know was how do to assign the corner- radius for the tabBar in

[flexcoders] Re: TabNavigator tabs style

2005-07-27 Thread bhaq1972
to read somebody else's reply! /have you tried Matt's recommendation i.e. use the styleName property?/ Anyways, dont worry! You dont get negative scores on this forum. Everybody wins. :-) Thanks for taking the time. bhaq1972 wrote: Hi Sree Now back to the question, if I want

[flexcoders] Re: DataGrid Editable Header Renderer

2005-07-27 Thread bhaq1972
You can base it on the custom comboboxcellrenderer that Alistair did on richinternetapps.(but obviously use a textinput instead of a combobox) http://www.richinternetapps.com/archives/cat_macromedia_flex.html just another idea, have a vbox with two datagrids both with showHeader=false...one

[flexcoders] Re: Returning an object Array from .NET to Flex

2005-07-29 Thread bhaq1972
try result=arrTest=mx.utils.ArrayUtils.toArray(event.result) in your mx:RemoteObject --- In flexcoders@yahoogroups.com, priya s [EMAIL PROTECTED] wrote: This will show a compile time error Type Mismatch...event result is of type object ;) João Fernandes [EMAIL PROTECTED] wrote:v\:*

[flexcoders] Re: Setting selectedIndex in Grid not working

2007-03-29 Thread bhaq1972
this might not be what your looking for, but works. ..set the selectedItem eg private function moveDown():void { if (selIdx names.length - 1) { var rem:Object = names.removeItemAt(selIdx); selIdx = selIdx + 1; names.addItemAt(rem, selIdx); //dg.selectedIndex

[flexcoders] Re: Checkbox in DataGrid cell won't turn invisible!

2007-04-04 Thread bhaq1972
Hi Jamie After mis-reading Alex's response, i wrapped a HBox container around the CheckBox and that seems to work. ie mx:DataGridColumn headerText= dataField=@ itemSelected mx:itemRenderer mx:Component mx:HBox mx:CheckBox visible=false / /mx:HBox /mx:Component

[flexcoders] datagrid image itemRenderers don't maintainAspectRatio

2007-04-04 Thread bhaq1972
I've got a image based component i'm using as an itemRenderer eg dgImage.mxml mx:Image etc /mx:Image its all working, but the images look large and blurry. However, if i wrap with an hbox eg mx:HBox mx:Image/ /mx:HBox the images look perfect. I didn't have a problem with this

[flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-04 Thread bhaq1972
-horizontalAlign=center- and the -verticalAlign=middle- props of the image component to center your image. you dont need a wrapper component like a hbox or s.th. similar. when this not helps, i always set -maintainAspectRaio=true- carsten --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque

[flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-05 Thread bhaq1972
the contentHolder's width/height afters super.updateDisplayList From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, April 04, 2007 7:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid image

[flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-10 Thread bhaq1972
on my blog: http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende. htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, April 05, 2007 1:03 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-10 Thread bhaq1972
the getItemAt() function is available but not like the flex 1.5 way. you can do the following import mx.collections.IList; public function clickedList():void { //myTiles.getItemAt(1).testFunction(); IList(myTiles.dataProvider).getItemAt(1).testFunction(); etc --- In

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-12 Thread bhaq1972
Is there anything flexbuilder could generate and place into the html wrapper --- In [EMAIL PROTECTED], Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 12 Apr 2007, simonjpalmer wrote: Does anyone have a good practice for holding version numbers in a flex swf file for display to

[flexcoders] Re: Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-13 Thread bhaq1972
more ideas? I really need help with this and I appreciate any suggestions! Thank you. -Erin --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com , bhaq1972 mbhaque@ wrote: the getItemAt() function is available but not like the flex 1.5 way. you can do

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-13 Thread bhaq1972
and show it in our flex apps. --- In [EMAIL PROTECTED], Johannes Nel [EMAIL PROTECTED] wrote: why not get a proper CI system going. that will solve many issues you had not even noticed you had. On 12 Apr 2007 06:49:12 -0700, bhaq1972 [EMAIL PROTECTED] wrote: Is there anything

[flexcoders] Re: Tree Item by Index

2007-04-13 Thread bhaq1972
i think what your looking for is item = tree.selectedItem; --- In [EMAIL PROTECTED], syabro [EMAIL PROTECTED] wrote: How can I get an item, when I've an item index? I think that tree.selectedIndex = index; item = tree.selectedIndex; will be great, but is there another method?

[flexcoders] Re: To newbies...

2007-04-13 Thread bhaq1972
when i first started flex, i first tried the quick start tutorials. then i got familiar with the livedocs. then i start asking questions on flexcoders/ adobesupport etc. --- In [EMAIL PROTECTED], Ed Capistrano [EMAIL PROTECTED] wrote: What can you say to the likes of me who came from

[flexcoders] Re: Newbie createPopUp problems

2007-04-17 Thread bhaq1972
it looks like you're trying to apply a flex 1.5 example to your flex2 test. the fourth argument for createPopUp() is not correct. --- In flexcoders@yahoogroups.com, fredsells [EMAIL PROTECTED] wrote: I've copied various examples of using PopUpManager.createPopUp but cannot get it to work.

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread bhaq1972
Why don't you just define a public static variable on a class with build number information and update it before building your SWF from the command line? we actually have a variable like this and my poor colleague has to always update it before being released to our testers. It would make

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread bhaq1972
id, gotten from subversion. I also include the date for the version and who did the build. If I ever get around to it I will blog about this. Please do. we're planning to use subversion in the future (i've been told) Tom Chiverton wrote: On Tuesday 17 Apr 2007, bhaq1972 wrote

[flexcoders] Re: How to configure wsdl for WebService at runtime using a configuration file?

2007-04-18 Thread bhaq1972
can't you use the loadWSDL() function eg mx:WebService id=ws1/ ws1.loadWSDL(url for the wsdl) --- In flexcoders@yahoogroups.com, lanlin998 [EMAIL PROTECTED] wrote: Hi, here is my problem: We have multiple servers running on different network. I'd like not to hard code the wsdl in the

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread bhaq1972
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, April 17, 2007 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Versioning swf files for bug reporting Why don't you just define a public

[flexcoders] creating instances, addChild question

2007-04-30 Thread bhaq1972
This question is very similar to a question someone else is asking (may even be the same thing) I've got a component called MyPrintView.mxml mx:VBox mx:Label id=contact/ mx:PrintDataGrid id=printDG/ /mx:VBox when i create an instance of MyPrintView, its children are not created. why

[flexcoders] Re: creating instances, addChild question

2007-04-30 Thread bhaq1972
of invalidation gives you plenty of time to initialize your children when they are finally added to the display list of the stage. Peace, Mike On 4/30/07, bhaq1972 [EMAIL PROTECTED] wrote: This question is very similar to a question someone else is asking (may even

[flexcoders] Re: creating instances, addChild question

2007-04-30 Thread bhaq1972
that you call addChild() and all is well. What problems are you facing without being able to access box children after the new call and before the addChild() call? Peace, Mike On 4/30/07, bhaq1972 [EMAIL PROTECTED] wrote: Thanks Mike If i want to create a new instance of an mxml

[flexcoders] Re: creating instances, addChild question

2007-04-30 Thread bhaq1972
until addChild(), the framework makes it possible to optimize which children are created. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 30, 2007 4:57 AM To: flexcoders@yahoogroups.com

<    1   2   3   4   5   >