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

2008-11-13 Thread bhaq1972
Thats so badly written. My question is - Does the RemoteObject class have a method which is equivalent to WebService class's loadWSDL() method? --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Does mx:RemoteObject have a loadWSDL() equivalent method like mx:WebService

[flexcoders] binding in actionscript

2008-11-12 Thread bhaq1972
mx:DataGrid verticalPosition={vpos}/ [Bindable] private var vpos:int=0; How do I put verticalPosition={vpos} into actionscript thanks in advance

[flexcoders] DataGridColumn sort on null dates

2008-10-23 Thread bhaq1972
I'm trying to write my own sortCompareFunction for a DataGridColumn which displays Dates or nulls. I looked thru the archives but can't find any examples. I'm happy to subclass DataGridColumn. Any links / examples will be appreciated. TIA

[flexcoders] Re: DataGridColumn sort on null dates

2008-10-23 Thread bhaq1972
Job Done!! --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm trying to write my own sortCompareFunction for a DataGridColumn which displays Dates or nulls. I looked thru the archives but can't find any examples. I'm happy to subclass DataGridColumn. Any

[flexcoders] Resolved Re: Have a question about Weborb

2008-09-30 Thread bhaq1972
hi Tim I'd like to try out you've done. Is there a tutorial anywhere you can recomend. regadrs Bod --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: OK, I found out how to do this. When updating a row I have to specify the row id, I think that is all. That is how I got

[flexcoders] determine if image source exists

2008-09-30 Thread bhaq1972
How can I check if a the jpg source defined by a string really exists. eg var image1:Image = new Image(); var sHello:String = images/hello.jpg; if(sHello exists) // this is the bit i need help on { image1.source = sHello; } tia bod

[flexcoders] Re: determine if image source exists

2008-09-30 Thread bhaq1972
thrown. hth Scott bhaq1972 wrote: How can I check if a the jpg source defined by a string really exists. eg var image1:Image = new Image(); var sHello:String = images/hello.jpg; if(sHello exists) // this is the bit i need help on { image1.source = sHello; } tia

[flexcoders] Re: Combobox does not hold selected item

2008-09-24 Thread bhaq1972
try var dg:DataGrid = DataGrid(listData.owner); data[colName] = selectedItem; IList(dg.dataProvider).setItemAt(data, dg.selectedIndex); --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Here is latest code. Still does not work: public function

[flexcoders] Datagrid itemEditorInstance problem

2008-09-17 Thread bhaq1972
When I click between cells on my datagrid (btw this doesn't always happen), the value of the existing cell moves to the next cell's itemEditorInstance I click on. eg if I click on column1, row2 value='A', i then click on column4 row2 the itemeditorInstance shows 'A' but what it should show

[flexcoders] Re: Datagrid itemEditorInstance problem

2008-09-17 Thread bhaq1972
ignore. problem solved. it was a bug. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: When I click between cells on my datagrid (btw this doesn't always happen), the value of the existing cell moves to the next cell's itemEditorInstance I click on. eg if I click

[flexcoders] are these 2 if tests the same (trivial question)

2008-06-05 Thread bhaq1972
if(var1 == var2 var3 == var4 || var5 == X) if((var1 == var2 var3 == var4) || var5 == X)

[flexcoders] Re: How to delete a workspace in FB3

2008-05-13 Thread bhaq1972
@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I created a workspace which I now would like to delete (erase forever) How do I delete this workspace from Flexbuilder? TIA bod

[flexcoders] Re: How to delete a workspace in FB3

2008-05-13 Thread bhaq1972
@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Any suggestions anyone? Another question - I'm planning to create 2 workspaces which contain a copy of the same projects. How do I tell which workspace i'm in? (I don't want to start changing code in workspaceA when I should have been doing

[flexcoders] How to delete a workspace in FB3

2008-05-12 Thread bhaq1972
I created a workspace which I now would like to delete (erase forever) How do I delete this workspace from Flexbuilder? TIA bod

[flexcoders] Re: LinkButton in DataGrid

2008-04-30 Thread bhaq1972
easiest way to get started (may not be the best way) would be to extend on the suggestion given, try mx:DataGridColumn headerText=COlumn 1 mx:itemRenderer mx:Component !--mx:Button label=Click Test width=200 click=outerDocument.handleClick(event) /-- mx:HBox verticalAlign=middle

[flexcoders] Re: TextInput with a corner radius

2008-04-23 Thread bhaq1972
Don't know about scale9 but if you have a solid borderstyle then you can have rounded corners. ie mx:TextInput borderStyle=solid cornerRadius=10/ --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: I want to have a text input with nice rounded corners. You can't do

[flexcoders] FB and command line mxmlc inconsistency

2008-04-18 Thread bhaq1972
In Flexbuilder, the following declaration (in a stylesheet)is okay. Embed(source=assets/images/pen.png) but when I build the project using command-line mxmlc, i get an error Invalid Embed directive in style sheet - can't resolve source BTW. I dont want to use

[flexcoders] flexbuilder not copying swc assets folder into bin

2008-04-17 Thread bhaq1972
I have an assets folder (containg images, stylesheets) in a library project. I reference this library project in my flex project but when i build, the assets folder is not being copied accross into the bin directory. What am I missing? TIA Bod

[flexcoders] Re: flexbuilder not copying swc assets folder into bin

2008-04-17 Thread bhaq1972
of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: 17 April 2008 09:27 To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] mxmlc help

2008-03-14 Thread bhaq1972
I have a flex project (MyProjectA) which references a MyProjectB via the Flex Build Path (Source path tab) properties window. This builds fine in flexbuilder but when I try to replicate the build using the mxmlc command-line, I just cant get it to work. I tried the following mxmlc

[flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2008-01-30 Thread bhaq1972
, bhaq1972 mbhaque@ wrote: Hi Kaleb (or anyone else) This is slightly off topic but can you point me to a c# example that works with Metal Hurlat. thanks Bod

[flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2008-01-29 Thread bhaq1972
Hi Kaleb (or anyone else) This is slightly off topic but can you point me to a c# example that works with Metal Hurlat. thanks Bod --- In flexcoders@yahoogroups.com, kaleb_pederson [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, peeyushtuli peeyush81@ wrote: Thank you all

[flexcoders] flexbuilder3 beta3

2007-12-13 Thread bhaq1972
why is my flexbuilder2 license serial number invalid for flexbuilder3 beta3?

[flexcoders] can't reference shared library source

2007-11-07 Thread bhaq1972
I need help from a flexbuilder guru. I have added an external source path [using the Flex Properties/Flex Build Path/ Source Path/Add Folder set up procedure]. Now I keep getting a compile errors where it cant find the external files eg 'Problem finding external stylesheet:

[flexcoders] Re: can't reference shared library source

2007-11-07 Thread bhaq1972
just to add... I get an error when setting up the source path - An internal error occurred during: Refreshing workspace. Element not found: /app1/folder1/folder2 any ideas? --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I need help from a flexbuilder guru. I have

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

[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] 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: 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: 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: 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: 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: 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: 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: 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] 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: 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] 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] 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] 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] test - ignore

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

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

[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

[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

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

<    1   2   3   4   5   >