[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: 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: 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: 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: 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] 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] 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] 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: 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: 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: 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] 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 - 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 - 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: 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] 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: 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: flex2 final - CheckBox itemrenderer question

2006-07-27 Thread bhaq1972
@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: thanks for the input guys. But i have one issue. In your example Tim, your checkbox item renderer is binding onto the 'followUp' property of the dataProvider. eg mx:CheckBox id=cbFollowUp selected={data.followUp}/ 'followUp' is the name of your

[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: Flex work in the UK

2006-07-24 Thread bhaq1972
have u checked the jobserve web site. they have a few listings in there --- In flexcoders@yahoogroups.com, jamiebadman [EMAIL PROTECTED] wrote: Hi, I've been working with Flex application development for a good while now and am looking for a new role. Can anyone recommend either

[flexcoders] Flex 2 final XML attributes

2006-07-14 Thread bhaq1972
Hi just wondered, the XML.attributes() method only list the values of all the attributes of the specified node. how can i get a list of name/value pairs of all the attributes. this is possible using XmlDocument class but not with the new XML class. am i right? thanks Bod -- Flexcoders

[flexcoders] Re: Flex2 final - Another 'security error accessing url'

2006-07-13 Thread bhaq1972
: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, July 12, 2006 6:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 final - Another 'security error accessing url' Hi (I

[flexcoders] Flex2 final - Another 'security error accessing url'

2006-07-12 Thread bhaq1972
Hi (I didn't want to take over Sathish's post but i have a similar problem.) My problem is as follows. I'm taking my flex app and trying to expose it to the internet. in our LAN environment, everything is okay. My flex swf is hosted on IIS...which also hosts my webservice. my flex app looks

[flexcoders] Re: RPC result paging - please, help

2006-07-07 Thread bhaq1972
Hi Kelly its sounds very good what you've done. i will be in the process of doing something similar. Care to share your c# code. would be very appreciated. regards Bod --- In flexcoders@yahoogroups.com, Kelly Birr [EMAIL PROTECTED] wrote: Dmitry, I've done it from ASP.NET to Flex 2.0

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread bhaq1972
try something like this var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF(hello); trace(byteArr.length); byteArr.position = 0; trace(byteArr.readUTF()); (something i tried in beta2...so who knows) --- In flexcoders@yahoogroups.com, davidgolds [EMAIL PROTECTED] wrote: How can I

[flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread bhaq1972
from what your describingyour itemRenderer is an 'edit' button. the itemRenderer is appearing in a datagrid. save the row index during a datagrid.itemFocusIn event eg private var savedIndex:int; mx:DataGrid itemFocusIn=saveIndex(event) private function saveIndex(event:DataGridEvent):void {

[flexcoders] Re: A datagrid with a separate scrollbar

2006-07-05 Thread bhaq1972
Firstly, you need to make sure scrollPolicy is swicthed off eg mx:DataGrid id=dg verticalScrollPolicy=off then for example, have a button which changes the scrollposition as follows mx:Button label=scrollDown click=dg.verticalScrollPosition +=10 autoRepeat=true

[flexcoders] Re: Flex2 release version - PopUp mangager ..sizing popups

2006-07-04 Thread bhaq1972
believe this has changed. On 7/3/06, bhaq1972 [EMAIL PROTECTED] wrote: Hi can someone confirm this. i'm now having to set the widths and heights of the popups i create using PopUpManager. i never had to do this before. flex/flashplayer would do it for me. is this correct

[flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread bhaq1972
Hi can someone confirm this. i'm now having to set the widths and heights of the popups i create using PopUpManager. i never had to do this before. flex/flashplayer would do it for me. is this correct? Yahoo! Groups Sponsor ~-- Yahoo! Groups

[flexcoders] Flex2B3 - Item Renderer and scrolling runtime error

2006-06-30 Thread bhaq1972
I've got 3 questions if anyone could kindly help me on. I have an itemRenderer that looks like this ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; backgroundColor=yellow width=100% mx:Label text={data.name} fontWeight=bold/ mx:Label

[flexcoders] Flex2B3 - how to clear XML node values

2006-06-30 Thread bhaq1972
I have the following XML var xml1:XML = root nodeAhello/nodeA nodeBworld/nodeB /root i want to clear the node values 'hello' and 'world' in a generic way meaning i dont know how many nodes there are (ie nodeA, nodeB, nodeX etc).

[flexcoders] Flex2B3 - flex and url variables

2006-06-27 Thread bhaq1972
i was looking in the archives. the issue was raised a few months ago. however i wasn't able to make Matt Horn or Abdul's code work. my problem - i want to pass request data using query string to the html wrapper. eg http://myserver/myflexapp.html?foo=bar it would be nice if it was easy like

[flexcoders] flex2b3 - datgrid tabbing problem as well

2006-06-26 Thread bhaq1972
I've seen a few people mentioning having problems with datagrid tabbing. I thought i'd might mention this as well. i haven't been able to create a test to demonstrate this, but what i have noticed is that when i tab from column0(which has the itemEditorInstance) to column1 i lose the tabbing

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-21 Thread bhaq1972
won't clip their content. I always thought it was a bug. On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote: sorry, the width of button2 should have been 100% (i only want to specify percentage widths). I'm not sure exactly what effect you want. Do you always want a part of button2

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
width=100 label=number2/ /mx:Canvas /mx:HBox On 6/16/06, bhaq1972 [EMAIL PROTECTED] wrote: Mike and Tom thanks for the input. firstly, I tried using clipContent before but doesn't work. if i was dealing with fixed widths and set the horizonatalScrollPolicy 'off', i can

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
wider than 75 pixels. If it goes over 100 pixels, then of course all of button2 would be shown. You'll have to play with the numbers to get a specific effect. On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote: hi Jason How can I keep this effect if i modify your example to become

[flexcoders] Flex2B3 - Resize effect problem

2006-06-19 Thread bhaq1972
hi In my example i'm resizing a panel's width from 300 to 0 (and vice versa). However i've got one issue. I sometimes see a ghost of the panel's title still there. somekind of refresh issue? how do i remove it. thanks mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script

[flexcoders] Re: Flex2B3 - Resize effect problem

2006-06-19 Thread bhaq1972
, bhaq1972 mbhaque@ wrote: hi In my example i'm resizing a panel's width from 300 to 0 (and vice versa). However i've got one issue. I sometimes see a ghost of the panel's title still there. somekind of refresh issue? how do i remove it. thanks mx:Application xmlns:mx=http

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-16 Thread bhaq1972
the mask. Peace, Mike On 6/15/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 15 June 2006 12:09, bhaq1972 wrote: how do i achieve this ? clipContent ? -- Tom Chiverton This email is sent

[flexcoders] Re: Flex2B3 - Tree question

2006-06-16 Thread bhaq1972
\ D=427 http://www.cflex.net/showfiledetails.cfm? ChannelID=1Object=Fileobject\ ID=427 -TH --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Whats the replacement for rowRenderer. i want to create a Tree which has lines (going accross) imbetween every node/item any

[flexcoders] Re: Panel percentheight does not affect scrolling

2006-06-16 Thread bhaq1972
this is a guess try adding minHeight=0 to your Panel. --- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote: I have 2 panels on a screen (25%, 75%). When I use a percentage height the content of a panel cannot be scrolled, however when I use a fixed height it works.

[flexcoders] Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-15 Thread bhaq1972
I'm trying to cut off any gui controls that appear outside the parent container. In this case, any part of button2 which appears outside the yellow hbox. how do i achieve this ? TIA mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:HBox width=300 height=100

[flexcoders] Flex2B3 - Tree question

2006-06-15 Thread bhaq1972
Whats the replacement for rowRenderer. i want to create a Tree which has lines (going accross) imbetween every node/item any suggestions TIA Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email.

[flexcoders] Re: Flex2B3 - LinkBar advice please

2006-06-14 Thread bhaq1972
/ mx:VBox label=screen2/ mx:VBox label=screen3/ mx:VBox label=screen4/ /mx:ViewStack /mx:Panel /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I have a linkbar and a viewstack. I

[flexcoders] Re: How to change vertical position of a buttonlabel??

2006-06-14 Thread bhaq1972
are u using flex2? checkout labelPlacement property. --- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED] wrote: Does anybody know how to set the vertical position of a label(of a Button) I want my label 3 pixels down. Yahoo! Groups Sponsor

[flexcoders] Re: Flex2B3 - LinkBar advice please

2006-06-14 Thread bhaq1972
i'm down to one problem. how can i supress the horizontalScrollBar from appearing. btw. the answer to problem 2 was hbox1.horizontalScrollPosition = hbox1.maxWidth;//not hbox1.width --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I've modified my code to give me

[flexcoders] Re: flex2b3 - keydown re-visted

2006-06-12 Thread bhaq1972
(): application.addEventListener(KeyboardEvent.KEY_DOWN, keydown_handler); application.setFocus(); Hth, Matt Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, June 09, 2006 10:26 AM

[flexcoders] Re: flex2b3 - flexbuilder codegen errors

2006-06-12 Thread bhaq1972
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, June 09, 2006 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex2b3 - flexbuilder codegen errors Hi again I thought i might mention this as well

[flexcoders] Re: flex2b3 - keydown re-visted

2006-06-12 Thread bhaq1972
in init(): application.addEventListener(KeyboardEvent.KEY_DOWN, keydown_handler); application.setFocus(); Hth, Matt Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, June 09, 2006

[flexcoders] Re: flex2b3 - flexbuilder codegen errors

2006-06-12 Thread bhaq1972
PROTECTED] wrote: How do you know what to comment out? When I get the cdoegen error, no file is identified. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, June 09, 2006 10:31 AM

[flexcoders] flex2b3 - how to test the SpriteExample in docs (for eg)

2006-06-09 Thread bhaq1972
silly question - how do we test the actionscript class examples found in the live docs. eg the SpriteExample class or the KeyboardEventExample class. Yahoo! Groups Sponsor ~-- Everything you need is one click away.  Make Yahoo! your home page 

[flexcoders] flex2b3 - keydown re-visted

2006-06-09 Thread bhaq1972
Hi, i had this problem in flex2b2 but now have decided to tackle this again in b3. In this example (see below), 1) set focus on the label (using your mouse), and then hit your keyboard...nothing happens 2) now try again but this time set focus on the button (using mouse) and then hit your

[flexcoders] flex2b3 - flexbuilder codegen errors

2006-06-09 Thread bhaq1972
Hi again I thought i might mention this as well (as i've seen it recently). Sometimes when i compile my flex app, i get a codegen error. i dont think there is a problem because when i comment out the code ..build...then uncomment and re-build the problem goes away.

[flexcoders] Flex2B3 - set the combobox selectedItem within an inline script

2006-06-08 Thread bhaq1972
I've got a Combobox component declared as an itemEditor in a datagrid. during its initialize i set its dataprovider. i then want to set its selecteditem or selectedIndex to be the same as datagrids dataprovider any ideas ? code ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Flex2B3 - set the combobox selectedItem within an inline script

2006-06-08 Thread bhaq1972
] On Behalf Of bhaq1972 Sent: Thursday, June 08, 2006 7:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B3 - set the combobox selectedItem within an inline script I've got a Combobox component declared as an itemEditor in a datagrid. during its initialize i set its

[flexcoders] Re: Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread bhaq1972
i reckon your the selectedIndicis is changing and therefore cannot be relied upon within your for loop. try this. (as a starting point) private function removeSelected():void { var array1:Array = new Array(); for(var j:int;j dgTest.selectedIndices.length; j++) { var num1:int =

[flexcoders] Flex2B3 - preventDefault()

2006-06-07 Thread bhaq1972
Hi I have a datagrid itemEditEnd event, where i am doing an asynchronous validation. To prevent losing focus from the itemEditorInstance during the asynchronous validation, i call event.preventDefault(). If the asynchronous validation is succesfull i want to cancel the

[flexcoders] Re: Flex2B3 - preventDefault()

2006-06-07 Thread bhaq1972
; // code continued } --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I have a datagrid itemEditEnd event, where i am doing an asynchronous validation. To prevent losing focus from the itemEditorInstance during the asynchronous validation, i call event.preventDefault

[flexcoders] Re: flex2b3 - adding a button to a textinput

2006-05-25 Thread bhaq1972
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* myTextInput / /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm trying to add a button to a textinput as follows myTextInput.mxml

[flexcoders] Re: flex2b3 - adding a button to a textinput

2006-05-25 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Off the top of my head; set the height property of the Button. I don't think people realize that it's the actual containers that set the size of the controls. So your Button has measured itself but, it

[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

[flexcoders] Re: Flex2B3 - parentDocument definition

2006-05-10 Thread bhaq1972
parentDocument should point to the parent MXML document (i.e. the root element in the .mxml file). So the way it works is correct. here's an interesting one. if i add another child to myComponent (a mx:Button), it thinks the parentDocument is the root application and not comp1 (see

[flexcoders] Flex2B3 - 'page cannot be displayed' issue

2006-05-10 Thread bhaq1972
I want to do an initial deployment (nothing serious). All i've done is set up a virtual directory on iis pointing to my flex html page. When i try to access this page from another network machine at my workplace, i keep getting 'Page cannot be displayed'. I suppose this is a flexbuilder

[flexcoders] Re: Flex2 B3, changing the tree folder icons

2006-05-10 Thread bhaq1972
try folderOpenIcon=mx.core.UIComponent (worked for me). --- In flexcoders@yahoogroups.com, º£ÔÆ·É [EMAIL PROTECTED] wrote: I had the same problem. 2006/5/10, greenfishinwater [EMAIL PROTECTED]: To change the open, close and default folder icons on a tree, I used

[flexcoders] Re: mx:Tree control icon setting (f2b3)

2006-05-10 Thread bhaq1972
its something i'm thinking about as well (only thinking!). if it was flex1.5 I would have a cellRenderer that looked like this mx:HBox mx:Image / mx:Label/ /mx:HBox the do mx:Tree cellRenderer=/ so i'd probably do it that way in f2b2 (dont forget cellRenderer is now called

[flexcoders] Re: mx:Tree control icon setting (f2b3)

2006-05-10 Thread bhaq1972
Jason's solution is better. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: its something i'm thinking about as well (only thinking!). if it was flex1.5 I would have a cellRenderer that looked like this mx:HBox mx:Image / mx:Label/ /mx:HBox the do mx:Tree

[flexcoders] Re: Help with conversion from FB2B2 to FB2B3

2006-05-09 Thread bhaq1972
I had this problem as well. i had an Actionscript file associated with an mxml, and it didn't like the public definitions. i had to delete and rename the file. (it had the same name as the mxml file associated with it). that sorted it out. --- In flexcoders@yahoogroups.com, Jeremy

[flexcoders] Flex2B3 - parentDocument definition

2006-05-09 Thread bhaq1972
Hi I've got this simple test mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* mx:Box id=box1 myComponent id=comp1/ /mx:Box /mx:Application Now, in flex 1.5 the parentDocument for myButton(child of myComponent) is box1. In flex2b3 the parentDocument is comp1. Is this

[flexcoders] flex2 - ambiguous reference to TextInput

2006-05-04 Thread bhaq1972
I created my own extended TextInput control which i have named TextInput.mxml. but i'm getting a compiler error Ambiguous reference to TextInput. [CODEGEN C:\Documents and Settings...\mycontrols\TextInput.mxml -- Flexcoders Mailing List FAQ:

[flexcoders] Re: FB2: Uncaught exception in compiler

2006-05-04 Thread bhaq1972
I've noticed that as well. If you have an mxml component and its associated script file have the same name it doesn't like it. why is that not allowed? (btw manish thanks for your last answer to my post) regards bod --- In flexcoders@yahoogroups.com, John C. Bland II [EMAIL

[flexcoders] Re: flex2 - ambiguous reference to TextInput

2006-05-04 Thread bhaq1972
;- ) Peace, Mike On 5/4/06, Manish Jethani [EMAIL PROTECTED] wrote: On 5/4/06, bhaq1972 [EMAIL PROTECTED] wrote: I created my own extended TextInput control which i have named TextInput.mxml. but i'm getting a compiler error Ambiguous reference to TextInput. [CODEGEN C:\Documents

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972
i got my hands on flex2 beta3 and dropdownFactory works fine. heres a simple example for anyone whos interested mx:ComboBox id=cb labelField=fname dropdownWidth={cb.width*2} mx:dataProvider mx:Object fname=one lname=1/ mx:Object fname=two lname=2/ mx:Object fname=three lname=3/

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972
sorry i just realized its not yet out. we signed up to the early release. --- In flexcoders@yahoogroups.com, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Beta 3? Out? - Original Message - From: bhaq1972 To: flexcoders@yahoogroups.com Sent: Wednesday, May 03, 2006 1:15 PM

[flexcoders] Re: addEventListener In Flex 2.0

2006-05-02 Thread bhaq1972
you can do the following In Flex 1.5 I had this: Parent DesignView[0].addEventListener(selectionChanged, mx.utils.Delegate.create(this, valueChanged)) function valueChanged(event) { currentSelection = event.selection adjustControls(event.style) } Flex2B2 Parent

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-02 Thread bhaq1972
I also have a need to have a datagrid as a dropdown. matt's suggestion (previously to me) was to to subclass ComboBox and override the dropdown getter. However, i have never been able to get the dropdown getter to be called (my trace() never shows) mx:ComboBox mx:Script override public

[flexcoders] Re: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972
if i can add to matts suggestion. i usually find one doLater() isn't enough so i tried your example with the following change public function populate():Void { for (var i:Number = 0; i largeArray.length; i++) largeArray[i] = {Number: i, TestColumn: 'a' + i}; doLater(this, scrollMe); }

[flexcoders] Re: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972
to respond --- In flexcoders@yahoogroups.com, Andriy Panas [EMAIL PROTECTED] wrote: Hello bhaq1972, if i can add to matts suggestion. i usually find one doLater() isn't enough so i tried your example with the following change your code skipped Does the code suggested work for you

[flexcoders] Flex2B2 - flexbuilder warning - application doesnt exist

2006-04-26 Thread bhaq1972
some feedback. i renamed application1.mxml to application2.mxml using the right mouse click option 'Rename' available in the Navigator view. however i keep getting a warning - application1.mxml does not exist. i usually then go into properties, for the project and 1) remove it from the

<    1   2   3   4   5   >