[flexcoders] Re: Issue with custom item editor

2007-05-02 Thread bhaq1972
spotted a few problem with your example. 1) not sure if your event.columnIndex == 1 is correct. 2) backgroundColor is a style not a property, so you cant set it like that in your itemEditBegin handler. if all your trying to do is change the backgroundColor of the itemEditorInstance, then do it

[flexcoders] Re: pulling in HTML content - looking for ideas

2007-05-08 Thread bhaq1972
All our Panels have a 'help' button on them. When a user clicks it, we make a navigateToURL() call (in a new browser window) which opens up our help system. The help system is written in html and is independendant of our flex app. its all context sensitive as well. --- In

[flexcoders] Re: error 2032 Stream Error

2007-05-08 Thread bhaq1972
Your not alone. We have these inconsistent problems as well. Its a shame flex doesn't show what the server fault is. would help. --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: I just started getting the 2032 error when calling a web service and for the life of

[flexcoders] Re: error 2032 Stream Error

2007-05-08 Thread bhaq1972
happening. Which normally is never true to just all of a sudden start happening. I'm at a loss of where to begin searching for the resolution. --Scott --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Your not alone. We have these inconsistent problems as well. Its

[flexcoders] Re: Problem with zoom effect!

2007-05-11 Thread bhaq1972
try hard coding the widths of your labels and see what happens. I had a similar problem but it was being caused by datagrids which had height=100% assigned to them. when i took this out, everything worked. --- In flexcoders@yahoogroups.com, Ravi Kumar Gummadi [EMAIL PROTECTED] wrote: Hi

[flexcoders] Re: Validation error red box displayed remains after validating a field.

2007-05-11 Thread bhaq1972
Can't see any problem with the phone number validator demo. if you input letters into the phone field the error message says invalid characters blah blah if you input 112, the error message says your telephone number must contain at least 10 digits --- In flexcoders@yahoogroups.com, Amine

[flexcoders] Re: RTMP Server

2007-05-16 Thread bhaq1972
Hi Christopher I would be interested to know more see if it can be applied to us. -Bod --- In flexcoders@yahoogroups.com, Christopher Olsen [EMAIL PROTECTED] wrote: For anyone interested I've been working on an RTMP server written in C to handle messaging streaming.. If

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread bhaq1972
I'd be intersted to know, does LiveCycle Data Services use polling internally? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 21 May 2007, Mark Ingram wrote: I figured I would use Flex + C# WebServices. Flex must poll the web server every x amount

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread bhaq1972
Basically, our flex app polls every 'n' seconds to see if there's been any changes to a db. What does LiveCycle do to check if there's been any changes. thats all. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 21 May 2007, bhaq1972 wrote: I'd

[flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread bhaq1972
this is just a variation to Tom's suggestion. but needs a little more work. try this var p:FlexPrintJob = new FlexPrintJob; if (p.start() != true) { return; } var text_area:TextArea = new TextArea(); text_area.text = tTest2.text; text_area.width = tTest2.width; // textHeight is too

[flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread bhaq1972
... but as i understand, selectedItem points to the Canvas, right? how do i point to the TextArea? Thanks! --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: this is just a variation to Tom's suggestion. but needs a little more work. try this var p:FlexPrintJob = new

[flexcoders] Re: titleWindow cutomisation

2007-05-23 Thread bhaq1972
try mx:TitleWindow borderStyle=solid --- In flexcoders@yahoogroups.com, Lincoln Mitchell [EMAIL PROTECTED] wrote: How do you remove ALL the space around a TitleWindow main content area? This is how far I have got: --- ?xml version=1.0 encoding=utf-8? mx:TitleWindow

[flexcoders] textarea minHeight

2007-05-31 Thread bhaq1972
Aim - I want the minimum height of a textarea to be 100 and then grow as more newlines are added. this nearly works except the minimum height isn't 100 mx:TextArea id=t2 minHeight=100 verticalScrollPolicy=off height={t2.verticalScrollPosition}/ also tried mx:TextArea id=t2

[flexcoders] flexbuilder3beta2 - custom preloader issue/bug

2007-10-02 Thread bhaq1972
(This looks like a bug... but the buglist seems to be out of reach) Problem - I get a runtime error when referencing mx.core.Application.application in a Loader class. I've got a custom preloader based on a Ted Patrick example. The problem occurs in WelcomeScreen.as WelcomeScreen.as

[flexcoders] Re: flexbuilder3beta2 - custom preloader issue/bug

2007-10-02 Thread bhaq1972
] at mx.managers::SystemManager/initHandler() [E:\dev\flex_3_beta2 \sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2 206] --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: (This looks like a bug... but the buglist seems to be out of reach) Problem - I get

[flexcoders] Re: Datagrid masking

2007-10-04 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Yes, you can't go into production, but I would like to know that we did solve your problem. Then we can look at your production date and the difficulty of a workaround and figure out what to do. Alex. I had this

[flexcoders] Re: moxie beta2 - what happened to borderStyles?

2007-10-04 Thread bhaq1972
as there's an alternative, I dont mind regards Bod --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I was looking at the bug list. borderStyle of solid (or inset /outest) will no longer be supported

[flexcoders] Re: Generalizing an itemrenderer.

2007-10-05 Thread bhaq1972
if your using a combobox or textinput or anything which implements IDropInlistItemRenderer, then you can do this in your data setter var myListData:DataGridListData = DataGridListData(listData); var myDataField:String = myListData.dataField; valueYourInterestedIn = data[myDataField]; --- In

[flexcoders] Re: flexbuilder3beta2 - custom preloader issue/bug

2007-10-05 Thread bhaq1972
an xml used all around the application, so that I assign the xml to a Variable in the application file (Application.application). Hope somebody has information about that. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: forgot to add the rte trace TypeError: Error #1009

[flexcoders] Viewstack selectedChild doesn't remain invisible when told to

2007-10-17 Thread bhaq1972
I'm doing this simple test. I increase the width of a viewstack. I then make the selectedChild of the viewstack invisible. I then decrease the viewsatck size again. Problem I dont expect the viewsatck's selectedChild to become visible (after i have made it invisible). Can someone suggest

[flexcoders] Re: Viewstack selectedChild doesn't remain invisible when told to

2007-10-17 Thread bhaq1972
thanks. i like the idea. regards Bod --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: I increase the width of a viewstack. I then make the selectedChild of the viewstack invisible. I then decrease the viewsatck

[flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-06 Thread bhaq1972
. BTW, not sure if anyone has filed it as a bug or not. Cheers, Adam - Original Message - From: bhaq1972 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, September 05, 2006 11:59 PM Subject: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners i think i

[flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-06 Thread bhaq1972
. The only styles it allows are none, solid, inset. And in those render methods, it only calls draw3dBorder() which does not implement rounded corners. This is an enhancement not a bug issue. Peace, Mike On 9/6/06, bhaq1972 [EMAIL PROTECTED] wrote: thanks for the advice. it does

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-07 Thread bhaq1972
var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; can you do this instead columna.itemRenderer = new ClassFactory(TextInput); --- In flexcoders@yahoogroups.com, Daniel [EMAIL PROTECTED] wrote: Hello! This time Im trying to

[flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-07 Thread bhaq1972
Schmalle [EMAIL PROTECTED] wrote: BTW, The 'right fix' is to create yourself a new border class that does this and controls all rounded corners. The 'quick fix' is to put the TextInput in a Box. Peace, Mike On 9/6/06, bhaq1972 [EMAIL PROTECTED] wrote: thanks

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-08 Thread bhaq1972
dynamically assing it special feature? Lets say I want to set the text attribute to Write something here... when the component initializes. Thanks! --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: var aux:TextInput = new TextInput

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-08 Thread bhaq1972
=selectedItem; -- For some reason the selectedItem attribute in the ComboBox doesn't work as editorDataField. This means that when de data is loaded, no value is selected according to the value of the dataProvider. Any ideas? Thanks! --- In flexcoders@yahoogroups.com, bhaq1972

[flexcoders] Re: cf query, xml flex tre

2006-09-12 Thread bhaq1972
can you show us a dump (trace) of your cfquery returned object. ...doesn't have to be the whole thing just the main bits. --- In flexcoders@yahoogroups.com, Paul Hastings [EMAIL PROTECTED] wrote: On 9/12/06, bhaq1972 [EMAIL PROTECTED] wrote: thanks for the reply. eg var xml1:XML

[flexcoders] Re: cf query, xml flex tr

2006-09-13 Thread bhaq1972
, bhaq1972 [EMAIL PROTECTED] wrote: can you show us a dump (trace) of your cfquery returned object. sure. [object Object] ;-) the debugger is a bit more informative. thisMap = Object (@8fb2101) layers = Object (@8fb20e1) mapScale = 1:73,441 mapScaleFactor

[flexcoders] Re: cf query, xml flex t

2006-09-13 Thread bhaq1972
Hastings [EMAIL PROTECTED] wrote: On 9/13/06, bhaq1972 [EMAIL PROTECTED] wrote: the 'layers' property is the bit you're interested in. Its well formed xml correct? so what happens when you do yup. i can dump it out in cf use that xml inline w/the Tree as var xml1:XML = new XML

[flexcoders] Re: cf query, xml flex

2006-09-13 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Paul Hastings [EMAIL PROTECTED] wrote: On 9/13/06, bhaq1972 [EMAIL PROTECTED] wrote: try this var xml1:XML = new XML(node label=layers yes that works, at least it reports the 2 root nodes but as i said before, this stuff works inline fine. it's

[flexcoders] Re: Using objects in XML

2006-09-13 Thread bhaq1972
sorry i meant labelField=label --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: just a guess, in your repeater try mx:ComboBox labelField=data dataProvider={rpComboBox.currentItem.dataprovider} / -- Flexcoders Mailing List FAQ: http://groups.yahoo.com

[flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread bhaq1972
this can be done. at first I was thinking of keeping a register of what was opened so I knew what to close. you dont have to. mx:tree has a property called openItems ..this has a reference to all the opened items. all you have to do is check whether anything is opened during a Tree.itemOpen

[flexcoders] set focus on another control after tabbing out of last datagrid column

2006-10-11 Thread bhaq1972
in my example, i would like to setfocus onto a button (btn1) after tabbing out of the last datagridcolumn (instead of tabbing thru every row) mx:DataGrid id=dg dataProvider={dp} editable=true mx:columns mx:DataGridColumn dataField=Company editable=false/ mx:DataGridColumn

[flexcoders] Re: set focus on another control after tabbing out of last datagrid column

2006-10-11 Thread bhaq1972
/ /mx:dataProvider /mx:DataGrid mx:Button label=hello/ /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: in my example, i would like to setfocus onto a button (btn1) after tabbing out of the last datagridcolumn (instead of tabbing thru every row) mx:DataGrid id

[flexcoders] datagrid editeditemposition bug ?

2006-10-11 Thread bhaq1972
if you set the editedItemPosition first... tabbing doesnt work straight away. i have to hit the tab key THREE time before tabbing starts to work. is there a workaround? example mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Button label=set edited item position 1,1

[flexcoders] custom preloaders question

2006-10-25 Thread bhaq1972
hi everyone. in my test app i have a custom preloader defined. mx:Application preloader=CustomPreloader how do i get a reference to this CustomPreloader. mx:Application preloader=CustomPreloader initialize=trace (preloader) preloader is defined as null. any ideas. -- Flexcoders

[flexcoders] Re: A DataGrid with selectable *cells*

2006-10-26 Thread bhaq1972
no sorry. but i'm sure a few group members (including me) would be intersted if you care to share. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Has anyone else already got a DataGrid component that high lights cells when you click on them, before I go

[flexcoders] Re: Hide tabs in tabBar

2006-10-30 Thread bhaq1972
just an idea. maybe you can make use of the includeInLayout property (introduced in flex2). if your using the tabnavaigator.getTabAt() method.it returns a reference to the tab button. if you make that visible=false and includeInLayout=false; that should remove it from the tabbar. eg var

[flexcoders] Re: Hide tabs in tabBar

2006-10-30 Thread bhaq1972
dont know if you saw my suggestion but add this bit of script to your test mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=hideTab1() mx:Script import mx.controls.Button; private function hideTab1():void { var button1:Button = tn.getTabAt(1); button1.visible =

[flexcoders] popup (with a zoom effect) button label issue

2006-10-30 Thread bhaq1972
Hi everybody i've got an issue with button labels not rendering correctly eg. if the button label should say Login ... it actually shows L... the buttons are controls within a popup (titlewindow) which has a zoom effect. if i get rid of the zoom effect, the labels appear correctly. any

[flexcoders] Re: popup (with a zoom effect) button label issue

2006-10-31 Thread bhaq1972
protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ super.updateDisplayList(unscaledWidth, unscaledHeight); this.textField.text = this.label; } --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi everybody i've got

[Junk E-Mail - MED] Re: [flexcoders] Re: A DataGrid with selectable *cells*

2006-11-01 Thread bhaq1972
Any hoo, people can take a look at the SelectableCellDataGrid class from http://falkensweb.com/other.html and see how I've done it. very nice. one question. in a simple example, the first column isn't selectable. -- Flexcoders Mailing List FAQ:

[Junk E-Mail - MED] Re: [flexcoders] Re: A DataGrid with selectable *cells*

2006-11-01 Thread bhaq1972
@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 01 November 2006 11:17, bhaq1972 wrote: one question. in a simple example, the first column isn't selectable. Ah ha :-) By design at the mo - the 'which cell am I over code' seemed to get confused in previous iterations

Re: Extending custom components

2005-03-10 Thread bhaq1972
more details. would it be for sale? etc. regards bod(bhaq1972) --- In flexcoders@yahoogroups.com, adk365 [EMAIL PROTECTED] wrote: Hello, I'm creating a scheduling system where users can drag events onto a weekly calendar and resize the events for how long they want to spend doing

childDescriptors array/ UIObjectDescriptors.id is undefined

2005-03-10 Thread bhaq1972
Hi As i understand things the childDescriptors array (an array of UIObjectDescriptors) is created/populated when you create the mxml. When i do this myCustomComponent id=myCustomComponent /myCustomComponent the id property of the UIObjectDescriptor is 'myCustomComponent'. which is correct.

Re: childDescriptors array/ UIObjectDescriptors.id i s undefined

2005-03-11 Thread bhaq1972
. Matt _ From: bhaq1972 [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 7:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] childDescriptors array/ UIObjectDescriptors.id is undefined Hi As i understand things the childDescriptors array

Re: do you validate WS/RO requests?

2005-03-14 Thread bhaq1972
yes. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Quick survey, do you ever use the Validators on RemoteObject, WebService, or HTTPService requests? E.g., mx:RemoteObject ... mx:method name=someMethod mx:arguments arg1.../arg1 arg2.../arg2 / / /

Re: Grid alignment

2005-02-14 Thread bhaq1972
I'd be interested to know if there are any papers/work on how much slower apps can be when using mx:Grid. thanks bod --- In flexcoders@yahoogroups.com, John C. Bland II [EMAIL PROTECTED] wrote: Sounds good Senior Webster. :-) I'll look @ it right now and will definitely try harder on my

Re: Anyone used Flash Remoting for .NET and Flex 1.5?

2005-02-16 Thread bhaq1972
Hi Dirk, I've successfully used flex 1.5 (and flex 1.0) with flashorb. flashorb automatically converts .net datasets to actionscript resultsets. I was having difficulties using flashremoting. regards bod --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote: Out of

how to use datagrid cellEditor and focusedCell properties

2005-02-16 Thread bhaq1972
Hi can someone show me an example where these two properties (datagrid.cellEditor and datagrid.focusedCell) are being applied. thanks bod

Want to know when all records retrieved in remoting

2005-02-04 Thread bhaq1972
Hi I'm using flashorb remoting to retrieve data from my .net middle tier. My flashorb is configured to return an initial 10 records and then retrieve the rest as needed. This is fine and is exactly what i want when (for example) i am populating a datagrid or any other UI. However, if i am

[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
try mx.core.Application.application.dgcolore.dataProvider.addItem (vocolore); --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i have an dataGrid with an dataProvider of array of CColoriVO. from here work: mx:DataGrid dataProvider={vocolore} width=100%

[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
] wrote: Thank's work fine, but now my dataGrid not refresh the data into dataGrid in realTime , only if i click with mouse into a row dataGrid the data are refresh! Bye Devis bhaq1972 ha scritto: try mx.core.Application.application.dgcolore.dataProvider.addItem (vocolore

[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
if i click into row of dataGrid display the user change ? Devis bhaq1972 ha scritto: try firing a modelChanged event after your addItem eg mx.core.Application.application.dgcolore.dataProvider.addItem (vocolore); mx.core.Application.application.dgcolore.dataProvider.dispatchEvent

[flexcoders] Re: Extending the ComboBox

2005-04-01 Thread bhaq1972
yes please. thanks Abdul just send to [EMAIL PROTECTED] regards bod(bhaq1972) --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Not sure...But if you are looking for attachment corresponding to this thread, I can forward you offlist.. -abdul -Original

[flexcoders] Re: Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-05 Thread bhaq1972
just a few things you can do -install the samples application (samples.war) ..if you havent already. if your trying to access your java objects on websphere you probably need to use mx:RemoteObject tag with an endpoint attribute pointing to your java object e.g. mx:RemoteObject id=remote1

[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

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

2005-12-02 Thread bhaq1972
: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, December 01, 2005 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] tomcat mxml/swf expiry

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

2005-12-02 Thread bhaq1972
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, December 02, 2005 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5) Thanks for your input guys. Logs are as follows:- 02/12 12:17:35 WARNING License Service

[flexcoders] flex 2 translation

2005-12-13 Thread bhaq1972
Hi i've got a knowledge issue. what does this flex 1.5 code translate to Flex 1.5 function startUp():Void { this.addEventListener(click, this); this.addEventListener(myEvent, this.parentDocument); dispatchEvent({type:myEvent, val1:hello}); } function click(event):Void { //do

[flexcoders] Re: flex 2 translation

2005-12-13 Thread bhaq1972
' is to happen. Good Luck --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi i've got a knowledge issue. what does this flex 1.5 code translate to Flex 1.5 function startUp():Void { this.addEventListener(click, this); this.addEventListener(myEvent

[flexcoders] Re: flex 2 translation

2005-12-13 Thread bhaq1972
someFunction():Void{ // do stuff pehaps with val1 etc.} As to the mouse event vs mouse event type, check here: http://livedocs.macromedia.com/labs/1/flex/langref/flash/events/Mouse Event.html Hope this helps --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Thanks Darin

[flexcoders] Re: Web services: Question about array serialization

2005-12-14 Thread bhaq1972
I should be looking at Flex 2 migration issues (but i'll take a break). You can have a flex datagrid be populated by a .net dataset my .net webservice looks like this [Webmethod] public DataSet GetDataSet() { //code here } flex 1.5 mx:WebService id=service1 in as code function

[flexcoders] Re: What event is data that can change in Editable DataGrid and how to updata its!

2005-12-23 Thread bhaq1972
if your trying to edit a cell directly (by clicking on the cell) on your datagrid, use the cellEdit event. this gets triggered if you make changes in an editable datagrid eg mx:DataGrid cellEdit=doCellEdit(event) editable=true import mx.events.DataGridEvent; function

[flexcoders] Flex 1.5 how to get Menu height and width

2006-01-18 Thread bhaq1972
Hi I'm looking at the flex 1.5 livedocs example of how to create a Menu - http://livedocs.macromedia.com/flex/15/asdocs_en/index.html (at the bottom). I cant seem to get the height and width of the Menu after creating the menu. eg myMenu = Menu.createMenu(panel, myMenuData);

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-20 Thread bhaq1972
@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I'm looking at the flex 1.5 livedocs example of how to create a Menu - http://livedocs.macromedia.com/flex/15/asdocs_en/index.html (at the bottom). I cant seem to get the height and width of the Menu after creating the menu. eg myMenu

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
if you can process everything then. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, January 18, 2006 7:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5 how to get Menu height and width

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
as i posted this, i then tried another test (Matt your suggestion of trying 2-3 frames later) and this time it worked. not sure what the correct code is (for continuing code 3 frames later) but i used a doLater() and a 'count' variable. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
thanks. thats a better idea. --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: use do later and cgheck the variable on each frame and release it when its value is 0 instead of a count, since this could vary On 1/23/06, bhaq1972 [EMAIL PROTECTED] wrote: as i

[flexcoders] Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5

2006-01-31 Thread bhaq1972
Hi i've got the following. mx:VBox height=100% mx:DataGrid height=100%/ /mx:VBox this gives a real dataGrid with a height=100% However, if i use a Form container instead, the datagrid doesnt stretch (height!=100%) mx:Form height=100% mx:DataGrid height=100%/ /mx:Form i used minHeight=0 but

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

2006-01-31 Thread bhaq1972
maybe your menu dataprovider needs to be added another way you could try the following myMenu = Menu.createMenu(myApp, null); //populate dataprovider for (var obj in myEMP2Service.result.query.row) { myMenu.addMenuItem(myEMP2Service.result.query.row[obj]); } myMenu.show(200, 10); or if your

[flexcoders] Re: Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5

2006-02-01 Thread bhaq1972
Manish Works for me in Flex 2 - must be a bug in 1.5. Does it work if you set an explicit height for the Form? an explicit height is okay. i tried it in flex 2 alpha and i get the same result.maybe thats what differentiates the two containers. here's some test code. just swap between

[flexcoders] bug? tabIndexes on editable comboboxes don't work (flex 1.5)

2006-02-02 Thread bhaq1972
Hi Maybe this is a bug. If you add a tabIndex attribute to an editable combobox, it doesnt work. try this simple test. if u remove the tabindexs, its okay mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:TextInput tabIndex=1 / mx:TextInput tabIndex=2/ mx:TextInput

[flexcoders] how to loop thru mx.events.DataGridEvent (flex 2)

2006-02-07 Thread bhaq1972
i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a mx:TextArea out.text += obj1 + event[obj1] + \n; } } TIA bod --

[flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2)

2006-02-07 Thread bhaq1972
(evt); Does a WONDERFUL job. You will never look at objects the same ;-) Peace, Mike On 2/7/06, bhaq1972 [EMAIL PROTECTED] wrote: i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt

[flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer

2006-02-07 Thread bhaq1972
Kevin, _dgc.cellRenderer = com.StatusPicker; Are u sure this should be in double quotes. when i did a dynamic datagrid with a cellRenderer, i never used double quotes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] datagrid.selectedIndex not correct in cellPress - flex2

2006-02-07 Thread bhaq1972
Following from my previous post about datagrid cellpress event. i'm checking the selectedIndex property. the rowIndex is correct but the selectedIndex is incorrect. its always my previous rowIndex ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-08 Thread bhaq1972
Yes, because the selectedIndex property is updated only after cellPress event. Hi Manish If you run my test in flex 1.5 the result is different. the selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are the same, as long as your dg.selectable=true. i'm sure this is a bug in

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-09 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 2/8/06, bhaq1972 [EMAIL PROTECTED] wrote: If you run my test in flex 1.5 the result is different. the selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are the same, as long as your dg.selectable

[flexcoders] Re: Select all functionality in datagrid

2006-02-10 Thread bhaq1972
if you want to select all rows. try something like this. relevant bits of code - mx:DataGrid id=dg multipleSelection=true/ mx:Button click=selectAll(event)/ function selectAll(event)//strongly type if its flex2 beta { var array1:Array = new Array(); for (var i=0;

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-10 Thread bhaq1972
some feedback mx:DataGrid cellPress=cellPressEvt(event); event is of type DataGridEvent. i tried mx:DataGrid cellPress=cellPressEvt(event:mx.events.DataGridEvent) but flexbuilder 2 comes up with a compile error Expecting right parenthesis after colon I actually have yet to see an

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-10 Thread bhaq1972
thanks. i realize my mistake. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 2/10/06, bhaq1972 [EMAIL PROTECTED] wrote: mx:DataGrid cellPress=cellPressEvt(event); event is of type DataGridEvent. i tried mx:DataGrid cellPress=cellPressEvt

[flexcoders] Re: Job: Flash Developer/Programmer

2006-02-14 Thread bhaq1972
Ali My preference would be to have a single mailing list. Keep everything in one place. read what interests you and ignore what doesnt. regards bod --- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED] wrote: Hi, This post shouldn't have gotten through as its nothing to

[flexcoders] getting a compile error running the 'custom event' flex 2 example

2006-02-15 Thread bhaq1972
Hi I just copied and pasted the 'Events/ Using a Custom Event Class' example from the following link http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html into flex builder2 but i get the compile error Type annotation is not a compile-time constant: LogonEvent in my test flex

[flexcoders] Re: Response not resolvable with Flex 2.0 and ASP.NET 2.0 Web Service

2006-02-16 Thread bhaq1972
i've noticed this problem as well. Please can you advise Adobe. thanks in advance --- In flexcoders@yahoogroups.com, syndrake7 [EMAIL PROTECTED] wrote: Hello, I've searched the archive and found a lot of information about getting a .NET dataset into Flex. I've put together a test app,

[flexcoders] Re: getting a compile error running the 'custom event' flex 2 example

2006-02-16 Thread bhaq1972
(_userId:String, _password:String) { super(logon); userId = _userId; password = _password; } } } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, February 15

[flexcoders] Re: Response not resolvable with Flex 2.0 and ASP.NET 2.0 Web Service

2006-02-17 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Can you send us the WSDL please? I don't have .NET 2.0 set up. Matt Hi Matt I've kind of hijacked this thread so Tony (syndrake7) please don't hesitate to show your wsdl as well. Below is my wsdl and flex 2.0 code.

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
why dont you simplify things a bit. put your FullNameRenderer into the same folder location as your ComboBox mxml application. and do this mx:ComboBox creationComplete=test(event) function test(event){ event.target.dropdown.cellRenderer = FullNameRenderer; } --- In

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
i would also like to see the dropdown property made into a 'Read/Write'. i had to override the getDropdown() method which gave me problems when going from flex1 to 1.5 (i know this method is not in the api) other technologies such as PowerBuilder is not an issue. --- In

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
. --- In flexcoders@yahoogroups.com, george_lui [EMAIL PROTECTED] wrote: I don't see how this was terribly different from the original code. But I tried it anyways and it doesn't work. thanx anyways, geo --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: why dont you simplify things a bit

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: As far as I recall, dropdown object can be dropped and recreated when the data model and other things change. If you do not reassign cellrenderer at that time it will be gone. It would make sense to me to

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
/mx:ComboBox - Original Message - From: bhaq1972 To: flexcoders@yahoogroups.com Sent: Wednesday, February 22, 2006 10:21 AM Subject: [flexcoders] Re: problem with cell renderer in ComboBox --- In flexcoders@yahoogroups.com, Anatole Tartakovsky anatolet@ wrote

[flexcoders] flexbuilder 2 keyboard bug ???

2006-02-23 Thread bhaq1972
Hi A couple of times this has happened. I've been playing with the shortcut keys and somehow my keyboard has ended up being in US keyboard format (i'm used to UK). I don't know how it got like this (but i'm monitoring the situation). Interestingly, if i open up another app (eg Notepad) it

[flexcoders] IOError: Error #2058: There was an error decompressing the data.

2006-03-01 Thread bhaq1972
Hi I'm doing a simple test but get the above error. what am i doing wrong? tia var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF(hello); byteArr.position = 0; byteArr.compress(); byteArr.position = 0; byteArr.uncompress(); out.text += byteArr.readUTF(); //out is a textarea --

[flexcoders] Re: IOError: Error #2058: There was an error decompressing the data.

2006-03-02 Thread bhaq1972
Any Ideas? Anyone? thanks --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I'm doing a simple test but get the above error. what am i doing wrong? tia var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF(hello); byteArr.position = 0; byteArr.compress

[flexcoders] flex builder2 internal build error

2006-03-08 Thread bhaq1972
Hi In one flexbuilder2 project containing approximately 15 simple mxml apps ( most of which are copies of ones from the livedocs). I am getting 'an internal build error has occured. please check the error log' error. As follows. Any ideas. cant go any further. any help will be appreciated

[flexcoders] Re: flex builder2 internal build error

2006-03-09 Thread bhaq1972
. I had over 30 different files that could have had this in it, I got lucky. Long story short, this one little problem cost me 2 days on a component project, but I moved on for awhile to get a fresh look.. Peace, Mike On 3/8/06, bhaq1972 [EMAIL PROTECTED] wrote

[flexcoders] Re: XMLList as dataProvder for TileList

2006-03-09 Thread bhaq1972
without looking at your code, i'll take a big guess. try putting your XMLList into a XMLLIstCollection eg var xlc:XMLListCollection = new XMLListCollection(yourXMLList); yourTileList.dataProvider = xlc; --- In flexcoders@yahoogroups.com, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi,

[flexcoders] flex2b3 - adding a button to a textinput

2006-05-24 Thread bhaq1972
I'm trying to add a button to a textinput as follows myTextInput.mxml mx:TextInput initialize='startUp()'/ mx:Script public btn1:Button; private function startUp():void { btn1 = new Button(); btn1.label = xx; btn1.width = 20; btn1.visible = true; addChild(btn1); } My

<    1   2   3   4   5   >