[flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread bhaq1972
Hi Priya /superabe i got a question for you. have you tried returning .net datasets instead of ASObject? just wanted to gets some thoughts. --- In flexcoders@yahoogroups.com, priya s [EMAIL PROTECTED] wrote: Hi, Using ASObject I m able to exchange data from .NET to Flex. But I have 2

[flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread bhaq1972
issues when I tried that out. - superabe On 8/4/05, priya s [EMAIL PROTECTED] wrote: Hi , Returning a DataSet is straightforward, but for just returning a single object, using DataSets would'nt be right. Regards Priyanka bhaq1972 [EMAIL PROTECTED] wrote: Hi Priya /superabe

[flexcoders] Re: Dispatch event problem

2005-08-05 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Has anyone dispatched an event from cell renderer? anyone any ideas on how to proceed. Regards Rajesh J yes. in my checkbox cellrenderer after creating the checkbox i added an event listener for click eg

[flexcoders] Re: Dynamic Tree and VO's

2005-08-05 Thread bhaq1972
try event.selectedItem.postcode or event.selectedItem.POSTCODE or event.selectedItem['postcode'] --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Sorry, that didn't work either. Any other ideas?? --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL

[flexcoders] problem with modelChanged 'updateField' and editField()

2005-08-17 Thread bhaq1972
Hi Qu 1) I have an extended datagrid with an overidden editcell() function. My datagrid is populated from a database. When i make changes to a cell, i dispatch an 'updateField' modelChanged event to show changes. This works fine except when the cell is empty (i.e. no data in database to

[flexcoders] flash remoting .net initial rows issue

2005-08-23 Thread bhaq1972
Hi I'm using flashremoting .net with my .net dll. My c# function returns a dataset containg 5000 rows. It all works but i dont want all 5000 rows in one go. I only want an intial 20 rows. How do i do this ? Is there anything in the flashremoting config file i can set etc thanks in advance

[flexcoders] Re: Calling functions

2005-08-23 Thread bhaq1972
shouldn't that be mx:Canvas id =mycanvas width=715 height=408 backgroundColor=#FF initialize=drawlinesArrows(event.target) --- In flexcoders@yahoogroups.com, Prasad Dhananjaya [EMAIL PROTECTED] wrote: Hi All, I have a small question. I want to call function line() and function

[flexcoders] Re: the \n doesn't work in XML

2005-08-26 Thread bhaq1972
If you increse the height of a standard button eg height=40 then you can see the label over 2 lines (using #13;) --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: The #13; inserts a CR into the label string, but the Button doesn't display the second line. I think the

[flexcoders] Re: Setting focus on a specific cell.

2005-09-13 Thread bhaq1972
try something like this mx:DataGrid id=dg editable=true initialize=startUp() ... function startUp() { var obj1 = {itemIndex:2, columnIndex:1}; dg.focusedCell = obj1; } --- In flexcoders@yahoogroups.com, Omar Ramos [EMAIL PROTECTED] wrote: Hi list, Is there a way to set focus on a

[flexcoders] Re: DataGrid it's possibile

2005-09-13 Thread bhaq1972
2 ways you can do this. i can think of. 1) (simplest way) put a line break in headertext for your datagrid column eg mx:DataGrid headerHeight=70 mx:DataGridColumn columnName=blah headerText=Working #13;Day/ or 2) use a headerRenderer in your DataGridColumn eg mx:DataGridColumn

[flexcoders] Re: Array/Dataprovider/Tabbar etc issues.

2005-09-13 Thread bhaq1972
Hi, i did a simple test (below) ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var dp:Array = [{ label:one, data:two }, { label:four, data:five },

[flexcoders] Re: Problem with trying to set the focusedCell in a Tree

2005-09-16 Thread bhaq1972
whereas getTreeNodeAt () returns an object. if you do click=EmpolyeeTrace.focusedCell = {itemIndex:1}, you'll get focus. regards bod (bhaq1972) Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today

[flexcoders] Re: focusOut() on RowRenderer

2005-09-22 Thread bhaq1972
Hi I dont think you can 'focusOut' of a DataGridRow (read the livedocs to see its purpose in life). i did a quick test, and found only the load events (eg load, initialize) and mouse events were triggered in an extended DataGridRow. workaround - have a private var (currentIndex) which you

[flexcoders] Re: titile window header

2005-09-22 Thread bhaq1972
Also check out Christophe Coenraets Pod example. He has buttons on his header (its very cool) Also, i dont know what kind of buttons you want, but if its just a close button, use a TitleWindow. --- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] wrote: I don't know if

[flexcoders] Re: container - child : height=100% - layout problem

2005-09-22 Thread bhaq1972
just some ideas 1) look at scaleY property for your child canvas. 2) a general approach might be ovveride vBxContent layoutChildren() method something like this (untested) function layoutChildren() { super.layoutChildren(); //loop all children and and chge width if neccessary for(var

[flexcoders] Re: KeyDown event in mx:Application tag

2005-09-28 Thread bhaq1972
if you mousedown on the button the keydown event gets triggered. i dont know why this is the case (had this problem as well), but a workaround do the following mx:Application initialize=startUp() mx:Script function startUp() { Key.addListener(this); } function onKeyDown():Void {

[flexcoders] how do i select a single datagrid cell not the whole row

2005-10-04 Thread bhaq1972
Everyone I want to be able to to select and highlight a single cell in a non editable datagrid. i'm thinking, on a DataGrid.cellPress, color the cell any ideas/code would be grateful. regards bod(bhaq1972) Yahoo! Groups Sponsor ~-- Get

[flexcoders] Re: how do i select a single datagrid cell not the whole row

2005-10-05 Thread bhaq1972
Thanks for your response David. This wont work for me because my datagrid is non-editable. Basically, I want the green highlight, that appears across the whole row (when you select using your mouse), to only appear on one cell. thanks Bod (bhaq1972) --- In flexcoders@yahoogroups.com

[flexcoders] Re: Focusing cell on datagrid

2005-10-07 Thread bhaq1972
I'm not sure if this is what your asking so i might be wrong after you've done your async remote object call and your focused on a combobox cellrenderer use this code (untested) //maybe in cellFocusIn? if(dg.cellEditor.className ==ComboBox) { dg.cellEditor.addEventListener(open,

[flexcoders] Re: Focusing cell on datagrid

2005-10-10 Thread bhaq1972
--- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm not sure if this is what your asking so i might be wrong after you've done your async remote object call and your focused on a combobox cellrenderer use this code (untested) //maybe in cellFocusIn

[flexcoders] Re: Accessing the main Application Class

2005-10-11 Thread bhaq1972
I reckon your code should look like this function SetMainPanelText() { parent.main_panel.title=test; } in your mxml it should be XBApplication id=xbApp parent={this}/ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job).

[flexcoders] Re: Unable to refer controls in Accordion !

2005-10-11 Thread bhaq1972
you got a deferred instantiion issue. try mx:Accordian creationPolicy=all the default creationPolicy for an accordian is 'auto' regards bod (bhaq1972) --- In flexcoders@yahoogroups.com, Ramu p [EMAIL PROTECTED] wrote: Hi Flexcoders, I have a problem with Accordion which has two

[flexcoders] Re: How to selectively color specific rows in a data grid

2005-10-12 Thread bhaq1972
= time slots col1 = room1 col2 = room3 etc has anyone done anything like this. thanks bod(bhaq1972) --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: From Deepa way back in the day: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http

[flexcoders] Re: How to selectively color specific rows in a data grid

2005-10-12 Thread bhaq1972
Thanks Matt i thought as much. i saw a link in flex coders archives doing something like this. Looks like i'll be getting more familiar with it cheers any way bod (bhaq1972) --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I've done individual cell color by using

[flexcoders] Re: Datagrid Selective Cell Tabbing

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

[flexcoders] calling createEmptyMovieClip()

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

[flexcoders] Re: calling createEmptyMovieClip()

2005-10-17 Thread bhaq1972
: Try like this: var ref_mc = myCanvas.createChild(mx.core.UIObject); myCanvas.fillRect.call(ref_mc, 0, 0, 100, 100, 0xCC0033, 100); - Original Message - From: bhaq1972 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 17, 2005 10:44 AM Subject: [flexcoders

[flexcoders] Re: Comparision between two dates

2005-10-18 Thread bhaq1972
from a DateField) regards bod(bhaq1972) Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM

[flexcoders] Re: Combobox cell renderer and dynamic dataprovider

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

[flexcoders] mimic Datagrid single cell selection issue

2005-10-19 Thread bhaq1972
Hi all, i've got this little test app below where i'm using fillrect () to mimic the selecting of an individual cell. got a question. variables xpos and ypos are set using unsupported code. how can i set them using supported code? ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Dividing the mailing list into categories

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

[flexcoders] datagrid dragdrop question

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

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

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

[flexcoders] Re: set Effect at runtime

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

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

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

[flexcoders] Re: set Effect at runtime

2005-10-27 Thread bhaq1972
'.childDescriptors[0]' ? Could you please let me know how i should pick mx:Image correctly... Best Regards, Keishichi --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: trace (mx.core.Application.application.canvas1.viewstack1.panel1.viewstack2 .s

[flexcoders] Re: datagrid dragdrop question

2005-10-28 Thread bhaq1972
thanks --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 10/28/05, Manish Jethani [EMAIL PROTECTED] wrote: On 10/26/05, bhaq1972 [EMAIL PROTECTED] wrote: Can i drag and drop single cells as oppose to rows in a datagrid (as shown in the flex explorer

[flexcoders] Flex2: whats a TreeNode convert to

2006-03-24 Thread bhaq1972
Hi in Flex 1.5 we had mx.controls.treeclasses.TreeNode; what does that now become. thanks -- 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 Links * To

[flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread bhaq1972
Hi Whats the replacement for IMenuDataProvider. Specifically, what do i replace the methods addMenuItem(), removeMenuItemAt() with. thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: flex2 : IMenuDataProvider replacement

2006-03-28 Thread bhaq1972
data 1 //node/; IList(myMenu.dataProvider).addItem(newItem); Or IList(myMenu.dataProvider).removeItemAt(0); Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, March 27, 2006 7:23 AM

[flexcoders] Flex2 : Menu bug?

2006-03-28 Thread bhaq1972
Hi Just following on from my previous post. I noticed a difference in the menu behaviour from flex 1.5. if you have a line separator in your menu. you can actually select it with your mouse. This wasn't the case in flex 1.5. I believe the behaviour in flex 1.5 is correct, because a line

[flexcoders] Re: Internal Build Error

2006-03-28 Thread bhaq1972
I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL

[flexcoders] Flex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a mx:WebService call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after

[flexcoders] Re: Fex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
://jeff.mxdj.com/as3_datamanager.htm). This does the flex 2 version of what you are looking for. At 06:51 AM 3/29/2006, bhaq1972 wrote: This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld

[flexcoders] Flex2B2 - XML.contains()

2006-03-31 Thread bhaq1972
Just trying out this method. the first 2 if tests are failing (not getting traces). is that correct? var xml1:XML = Root Report / Detail / /Root;

[flexcoders] Re: Flex2B2 - XML.contains()

2006-04-03 Thread bhaq1972
[0]; if (xml1.contains(test)) { trace('found'); } Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, March 31, 2006 7:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 - XML.contains

[flexcoders] Re: Flex2B2 - XML.contains()

2006-04-04 Thread bhaq1972
(xml1.Report[0]) Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 03, 2006 1:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2B2 - XML.contains() Nope. Still failing the if test

[flexcoders] Flex2B2 : buttons on the panel header

2006-04-05 Thread bhaq1972
Hi i wanted to get some ideas/answers for the following. in flex 1.5 i had a extended panel which was based on Christophe Coenraets example where he added mulitiple buttons on the header. He uses the createClassObject() method, and then positions the button in the header. 1) will i still have

[flexcoders] Re: Flex2B2 : buttons on the panel header

2006-04-06 Thread bhaq1972
to answer my own questions 1) will i still have to do it that way? i found a link to Peter Ents flex2 panel. i like the way he's done it. http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.c fm 2) the btnAddress.move(100, 100); doesnt work. any ideas? (my x, y are

[flexcoders] Re: Testing if a variable exist?

2006-04-07 Thread bhaq1972
hi Gordon, one question please. how come the following code passes the if test even though myVar clearly exists? private var myVar:Object; private function test():void { myVar = new Object(); if(!(myVar in this)) { Alert.show(passes); } } thanks bod --- In

[flexcoders] Re: Testing if a variable exist?

2006-04-10 Thread bhaq1972
. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Friday, April 07, 2006 2:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Testing if a variable exist? hi Gordon, one question

[flexcoders] Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-10 Thread bhaq1972
When i call a .net webservice service method that looks like this public string myWebMethod(string[] array1) { } in flex 1.5 i had no problems but in flex 2 the array argument is being received as a fused string (where all the string args are concatenated). flex1.5 code var

[flexcoders] Flex2B2 simple question regarding xml attributes

2006-04-10 Thread bhaq1972
i can't find what i'm looking for in the docs. i need help All i want to do is iterate over an xml node's attributes. XML.attributes() returns a list of all the attributes, but this is only half of what i want. i want the attribute names as well. var xml1:XML = Node1 a='b' c='d' e='f' g='h'/

[flexcoders] Re: Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-11 Thread bhaq1972
. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: When i call a .net webservice service method that looks like this public string myWebMethod(string[] array1) { } in flex 1.5 i had no problems but in flex 2 the array argument is being received as a fused string (where all

[flexcoders] Re: DataGrid has items but doesn't display text

2006-04-11 Thread bhaq1972
Can you show us what your webservice returned data looks like. dont know if this helps but my webservice returned data was a string and i did the following private function returnWebService(event:ResultEvent):void { var xmlobj:XML = new XML(event.result); var xc3:XMLListCollection = new

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
(a in [EMAIL PROTECTED]) { trace (a.name()); trace (a.toXMLString()); } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 10, 2006 8:31 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
i did the following for each (var a:Object in [EMAIL PROTECTED]) { trace (a.name()); trace (a.toXMLString()); } a.name doesn't trace anything. a.toXMLString() traces the attribute value. so we're half way their. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote

[flexcoders] Re: DataGrid has items but doesn't display text

2006-04-11 Thread bhaq1972
headerText=Industry dataField=Industry/ mx:DataGridColumn headerText=Group Size dataField=PlanSizeGroup/ /mx:columns /mx:DataGrid --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Can you show us what your webservice returned data looks like

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-12 Thread bhaq1972
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, April 11, 2006 1:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2B2 simple question regarding xml attributes i did the following for each (var a:Object in [EMAIL PROTECTED

[flexcoders] Flex2B2 - Handling keyboard events

2006-04-12 Thread bhaq1972
The following example from the help doesn't work. how do i make it work? thanks ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; initialize=initApp() mx:Script![CDATA[ private function initApp():void { application.addEventListener

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-12 Thread bhaq1972
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, April 12, 2006 7:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 - Handling keyboard events The following example from the help doesn't work. how do i make it work? thanks ?xml version=1.0

[flexcoders] Re: Custom dg validator

2006-04-13 Thread bhaq1972
are you using your textinput as the cell renderer ie mx:DataGridColumn columnName=rptPricesOper cellRenderer=yourTextInput/ if so, you can do add a setValue function to your textinput and as mentioned, use listOwner and getcellIndex to get the colName eg add following code to your script

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-13 Thread bhaq1972
PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, April 12, 2006 10:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2B2 - Handling keyboard events Hi Matt I should have been a bit more specific with whats wrong. I'm actually not event triggering the event. i've got

[flexcoders] Flex2B2 - few questions

2006-04-13 Thread bhaq1972
1) DispatchChangeEvent doesn't seem to be available is that correct? 2) private variables no longer seem to be accesible in inherited object. is that correct? eg. myBox.as package { public class myBox extends mx.containers.Box { public var string1:String=; private var

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-13 Thread bhaq1972
assume you're using the one that came with the beta as I did.) Maybe the version of IE? I am using 6.029. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, April 13, 2006 4:40 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Flex2B2 - few questions

2006-04-18 Thread bhaq1972
that is using you. So maybe you want parentDocument.someObject - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, April 13, 2006 3:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 - few

[flexcoders] Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i'm getting 2 runtime errors when i do the following var pop:Object = mx.managers.PopUpManager.createPopUp(this, LoginPopUp, true); LoginPopUp.mxml looks like this ?xml version=1.0 encoding=utf-8? nx:myPanel xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:nx=* mx:FormItem label=UserID

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
Thanks Darron I've came across Peter Ents example. It was going to be my second choice way.but now its going to be my first choice (its been promoted) regards bod --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: bhaq1972 wrote: i'm getting 2 runtime

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i hit the 'send' too quickly!! i should've mentioned, my simple LoginPopUp.mxml component when used in a test app doesn't have those runtime errors. eg. mx:Application LoginPopUp / /mx:Application only get the problem when using with PopUpManager. --- In flexcoders@yahoogroups.com, bhaq1972

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
(this, LoginPopUp, true); //my LoginPopUp - same as previously decribed, except i'm now using MinMaxPanel.mxml instead of myPanel.mxml } ]] /mx:Script but still same error --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: i hit the 'send' too quickly!! i should've mentioned, my simple

[flexcoders] Re: Could not resolve mx:cellRenderer to a component implementation ??

2006-04-19 Thread bhaq1972
flex2? cellrenderer is now listItemRenderer --- In flexcoders@yahoogroups.com, Arnaud GARCIA [EMAIL PROTECTED] wrote: hi all, Any Idea for this error: Could not resolve mx:cellRenderer to a component implementation ?? I use a simple datagrid mx:DataGrid dataProvider={orders}

[flexcoders] Re: Could not resolve mx:cellRenderer to a component implementation ??

2006-04-19 Thread bhaq1972
sorry its itemrenderer. flex2docs are out-of-date --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: flex2? cellrenderer is now listItemRenderer --- In flexcoders@yahoogroups.com, Arnaud GARCIA arnaud.garcia@ wrote: hi all, Any Idea for this error: Could

[flexcoders] Flex2B2 - How to show a button label over 2 lines

2006-04-21 Thread bhaq1972
in flex1.5 i could do this mx:Button label=Hello #13;World height=40/ the same thing in flex2b2 doesn't work. any ideas how i can achieve this. thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Flex2B2 - How to show a button label over 2 lines

2006-04-21 Thread bhaq1972
a plain textfield instead. however, a button with multiple lines of text as label iskinda weird. On 4/21/06, bhaq1972 [EMAIL PROTECTED] wrote: in flex1.5 i could do this mx:Button label=Hello World height=40/ the same thing in flex2b2 doesn't work. any ideas how i can

[flexcoders] Flex2B2 - calling a function in the base class to manipulate a base string var

2006-04-24 Thread bhaq1972
this is follows on from the post Matt recently answered(thanks btw). i have a function on a base class (MyBox.as..extends a Box) as follows public var myString=; public function someFunction():void { myString = helloworld; } if i now call this function from my extended component (see

[flexcoders] Re: Flex2B2 - calling a function in the base class to manipulate a base string var

2006-04-25 Thread bhaq1972
[mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 24, 2006 1:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 - calling a function in the base class to manipulate a base string var this is follows on from the post Matt recently answered(thanks btw). i have

[flexcoders] Re: Dynamic create child in Flex1.5

2006-04-25 Thread bhaq1972
dont forget your component_name has to be the full name, including the folder structure. eg if My_Components sits in a folder called MyComponents then your full name is MyComponents.My_Component --- In flexcoders@yahoogroups.com, sinacapho [EMAIL PROTECTED] wrote: Dear all, that mean

[flexcoders] Flex2B2 - Need to hit 'tab' key twice to fire datagrid.itemEditEnd

2006-04-25 Thread bhaq1972
I have noticed that if you set the editedItemPosition first (on an editable datagrid), it takes two hits on the tab key to trigger the datagrid itemEditEnd event. I'm sure it should trigger straight away. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

[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

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

  1   2   3   4   5   >