[flexcoders] Fields grouping?

2009-08-18 Thread Nick Middleweek
hi guys, Is there a component that allows us to group fields/ objects together? I can't find a built in object, I'm after something visual that i can use to group fields, such as all the address fields together and another group to collate the numerous emails and phone numbers... Can I draw it?

Re: [Spam] Re: [flexcoders] Fields grouping?

2009-08-19 Thread Nick Middleweek
Acheson wesley.ache...@gmail.com On Tue, Aug 18, 2009 at 7:07 PM, Nick Middleweek n...@middleweek.co.ukwrote: hi guys, Is there a component that allows us to group fields/ objects together? I can't find a built in object, I'm after something visual that i can use to group fields

[flexcoders] 5 Datagrids ontop of each other, one resizes and the ones below shift up or down?

2009-08-19 Thread Nick Middleweek
Hi guys, Excuse the subject of this post :-) But it does sum up what I'm trying to achieve. I want to have 5 DataGrids ontop of each other in a vertical arrangement (A bit like the rows in Excel are ontop of each). In the bottom right of each DG, I want a little button that when clicked,

Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-19 Thread Nick Middleweek
Sorry for the newbie question but what do you mean image snapshot?... Do you mean take a screen shot of a certain area in flex and save it as a JPEG or something? Cheers, Nick 2009/8/19 flexjunker willtheb...@yahoo.com Anyone know of how to avoid the scroll bars in an imagesnapshot of a

Re: [Spam] RE: [flexcoders] 5 Datagrids ontop of each other, one resizes andthe ones below shift up or down?

2009-08-20 Thread Nick Middleweek
Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Nick Middleweek *Sent:* Wednesday, August 19, 2009 1:20 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] 5 Datagrids ontop of each

Re: [Spam] Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-20 Thread Nick Middleweek
OK, that's amazing... Is there not a way to test if the scrollbars are actually visible? Different from the scrollbar visible policy?... You could always crop the image I guess? can you do that in Flex/ AS? Or you could force scrollbars to be visible and then always crop the image that's

[flexcoders] How do I test if the DG row is a grouping row?

2009-08-20 Thread Nick Middleweek
Hi, I've been asked to fix a problem with an existing project that has some icons rendered (using an ItemRenderer) in the 1st column. I need to NOT display these icons when the grouping function is activated and the row is a grouping tree. The ItemRenderer component has a get and set override

Re: [Spam] RE: [flexcoders] 5 Datagrids ontop of each other, one resizes andthe ones below shift up or down?

2009-08-20 Thread Nick Middleweek
mx:Button label=Button id=button2 click=resizeDG(DG2);/ /mx:VBox /mx:Application 2009/8/20 Nick Middleweek n...@middleweek.co.uk Alex, Awesome, that makes total sense now! of course, the VBox will naturally flow the objects downwards... Thanks!!! :-) 2009/8/20 Alex Harui

Re: [Spam] [flexcoders] Pb with URLVariables

2009-08-21 Thread Nick Middleweek
Hey Christopher, I've just pasted this code into a test flex app in it's init() function and debugged it after the second variables property was assigned. They both contain EUR. code var variables:URLVariables = new URLVariables(); var cur:String; cur = EUR; variables.currency_code = cur;

[flexcoders] Resizeble columns that don't shrink the neighbouring column

2009-08-25 Thread Nick Middleweek
Hello, I'm working on someone elses code, it's an Advanced Data Grid that has resizeable columns. When column A is made bigger, this makes Column B smaller which is annoying the users. Is there a way to prevent this or do I have to write my code to support this feature? Thanks in advance, Nick

Re: [Spam] RE: [flexcoders] Resizeble columns that don't shrink theneighbouring column

2009-08-25 Thread Nick Middleweek
] *On Behalf Of *Nick Middleweek *Sent:* Tuesday, August 25, 2009 12:28 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Resizeble columns that don't shrink the neighbouring column Hello, I'm working on someone elses code, it's an Advanced Data Grid that has resizeable columns

[flexcoders] How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
Hello, I've got some XML data in a variable called dataXML, it looks similar to this... addresses address building_number=1 / address building_number=1a / address building_number=1b / address building_number=2 / address building_number=3 / address building_number=4 / address

[flexcoders] Re: How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
I've done it :-) for each(var address:XML in dataXML.children()){ var buildingNumber = address.attribute(Building_Number).toString().replace(/[^0-9]/g, ); addre...@building_numeric = buildingNumber; } Is there a better or quicker way to do this? Thanks, Nick 2009/8/25 Nick Middleweek

[flexcoders] Grouping issue on Advanced DataGrid

2009-08-26 Thread Nick Middleweek
Hello, I've got an advanced datagrid with 5 columns, The number_Group column has data like this... 1-10 1-10 11-20 11-20 11-20 21-30 21-30 21-30 41-50 101-110 When I apply Grouping, it works as expected but the 101-110 group is displayed before the 11-20 group. I've tried to set

[flexcoders] Re: Grouping issue on Advanced DataGrid

2009-08-26 Thread Nick Middleweek
Answer = use GroupingField.groupingFunction :-) Does anyone know what the groupingObjectFunction does? What is the returned Object for? Thanks, Nick 2009/8/26 Nick Middleweek n...@middleweek.co.uk Hello, I've got an advanced datagrid with 5 columns, The number_Group column has data like

Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
Hi, How do I determine what version of the SDK I'm using? Thanks, Nick 2009/8/26 Tom Chiverton tom.chiver...@halliwells.com

Re: [Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
Hi Tom, Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc -version* Cheers, Nick 2009/8/26 Tom Chiverton tom.chiver...@halliwells.com On Wednesday 26 Aug 2009, Nick Middleweek wrote: How do I determine what version of the SDK I'm using? Surprised you couldn't

Re: [Spam] Re: [Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updatedwith 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
, Nick Middleweek n...@middleweek.co.ukwrote: Hi Tom, Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc -version* Cheers, Nick 2009/8/26 Tom Chiverton tom.chiver...@halliwells.com On Wednesday 26 Aug 2009, Nick Middleweek wrote: How do I determine what version

Re: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-26 Thread Nick Middleweek
I'm not sure if this technique is frowned upon but... You could have a new private var boolAlertContinue:Boolean = false; In your alertHandler function, you would set it to true... boolAlertContinue = true; And after the Alert.show and before the if(myAlert == 1) you need to do a do while

Re: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Nick Middleweek
...@nts3rd.com No, no, no, this will not work. You must use the event mechanism. Tracy Spratt, Lariat Services, development services available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Nick Middleweek *Sent

Re: [Spam] RE: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Nick Middleweek
[mailto:flexcod...@yahoogroups.com] *On Behalf Of *Nick Middleweek *Sent:* Thursday, August 27, 2009 6:43 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show Why won't it work? I can't see why it wouldn't... I'm

[flexcoders] Creating a flex library project that references a remote SVN path?

2009-08-28 Thread Nick Middleweek
Hello, Is it even possible to create a flex library project that references a remote SVN path?? I'm trying to use the birdeye qavis graphing library and I've been told to create a flex library project and set the src to the remote SVN location... How do i do that? I'm stumped... I'm using FB3

Re: [Spam] Re: [flexcoders] Creating a flex library project that referencesa remote SVN path?

2009-08-28 Thread Nick Middleweek
with the source code and add that swc to the library path of your project. Nick Middleweek wrote: Hello, Is it even possible to create a flex library project that references a remote SVN path?? I'm trying to use the birdeye qavis graphing library and I've been told to create a flex library

[flexcoders] click and doubleClick on the same button?

2009-09-01 Thread Nick Middleweek
Hello, I'm having difficulty setting both a click and a doubleClick event on the same button. Is it possible? Thanks, Nick

Re: [Spam] Re: [flexcoders] click and doubleClick on the same button?

2009-09-01 Thread Nick Middleweek
) doubleClickEnabled=true doubleClick=button_doubClickHandler(event) / /mx:Application Hope that helps, Beau On Tue, Sep 1, 2009 at 9:27 AM, Nick Middleweek n...@middleweek.co.ukwrote: Hello, I'm having difficulty setting both a click and a doubleClick event on the same

[flexcoders] Stopping double-click of a button 'bubble' to the datagrid row

2009-09-01 Thread Nick Middleweek
Hello, I've got an advancedDataGrid (AvDG) and the first column has an item renderer which has a button on it. The button has a click handler. There is also a itemDoubleClick handler on the AvDG. Users are double-clicking the button so this is firing the click of the button handler but the

[flexcoders] Re: Stopping double-click of a button 'bubble' to the datagrid row

2009-09-01 Thread Nick Middleweek
Beau + Alex! Thank you! I've used event.stopPropagation(); //This is exactly what I needed! Chers, Nick 2009/9/1 Nick Middleweek n...@middleweek.co.uk Hello, I've got an advancedDataGrid (AvDG) and the first column has an item renderer which has a button on it. The button has

Re: [Spam] [Spam] Re: [flexcoders] click and doubleClick on the same button?

2009-09-02 Thread Nick Middleweek
and a MouseEvent.DOUBLE_CLICK event on the same button? Wouldn't that be possible to use a simple Mouse.CLICK event together with a ctrlKey (or a altKey or shiftKey) pressed? Just wondering.. Thanks George --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Beau

[flexcoders] What does [Bindable(dataChange)] do?

2009-09-03 Thread Nick Middleweek
i'm still new to Flex... I'm going through someone's code and i'm wondering what *[Bindable(dataChange)]* does. It's in an ItemRenderer MXML file for an Advanced DG. it's not inside any function, it's near the top, underneath the import statements and variable declarations and before the first

Re: [Spam] [flexcoders] Re: What does [Bindable(dataChange)] do?

2009-09-03 Thread Nick Middleweek
/9/3 valdhor valdhorli...@embarqmail.com Check the documentation at http://livedocs.adobe.com/flex/3/langref/mx/core/IDataRenderer.html. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: i'm still new to Flex... I'm going through someone's

[flexcoders] Alert.show for debug mode only

2009-09-05 Thread Nick Middleweek
Hi, When coding, I often use Alert.show to give me debug messages. I know there is the trace() command but sometimes, quite often, having an dialog is just easier. I also have a a DEBUG_MODE const set to true/ false to get data and do various other things in development mode, rather than when in

[flexcoders] Flex Builder help system

2009-09-07 Thread Nick Middleweek
Hello, Is there a way to change Flex Builder 3 so that when I press F1 over a component, rather than the help page open within FB3, can it open up in a web browser? Thanks, Nick

[flexcoders] How to organise Flex projects and call one from another?

2009-09-07 Thread Nick Middleweek
Hi, I'm working on some prototype Flex work and I've been given about seven projects and I need to make some tweaks... One of the tasks I've been asked to open a screen in one project when a button is clicked in another project. I understand the concept of passing FlashVars via QueryStrings and

[flexcoders] printing off the Adobe Flex References?

2009-09-09 Thread Nick Middleweek
I've got these PDF's... http://www.adobe.com/support/documentation/en/flex/ But is there a good way to print off the language reference? Thanks, Nick

Re: [Spam] [flexcoders] Re: printing off the Adobe Flex References?

2009-09-11 Thread Nick Middleweek
flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: I've got these PDF's... http://www.adobe.com/support/documentation/en/flex/ But is there a good way to print off the language reference? Thanks, Nick

[flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?

2009-10-05 Thread Nick Middleweek
Hi, I've got this MXML... mx:ControlBar horizontalAlign=right mx:Button label=Cancel enabled=true click={viewStackSearch.selectedIndex = 0;} / /mx:ControlBar ... and I'm trying to get the button to be right aligned it doesn't work. Am I missing something? Thanks, Nick

Re: [Spam] RE: [flexcoders] mx:ControlBar horizontalAlign=right - doesn'twork?

2009-10-06 Thread Nick Middleweek
It just stays left aligned... that's odd... Could there be anything that is over riding it? Thanks, Nick 2009/10/5 Alex Harui aha...@adobe.com Works for me. What did you see? Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog:

[flexcoders] Data Grid as itemRenderer not getting mouse events

2009-10-07 Thread Nick Middleweek
Hello, I have an Adv Data Grid and Column 1's itemRenderer is set to an MXML component that has a DataGrid in it. This (sub) DataGrid is shown when a button is clicked in another column. Works great, but... I'm trying to resize the columns of the sub DataGrid but the mouse events don't seem to

[flexcoders] Relative font size to the browser?

2009-10-08 Thread Nick Middleweek
Hi, I've tried searching for this one... Is it possible to set the font sizes of Flex objects relative to the browser's font/ zoom setting? In an ideal world, I'd like to let the font sizes increase and decrease if the browsers font/ zoom setting is changed. Has anyone needed to do anything

[flexcoders] How to create a zoom UI object?

2009-10-09 Thread Nick Middleweek
Hi, I'm hoping to create a little zoom UI object - like the one you find at the bottom-right of IE. I'm guessing I could use a ComboxBox? But I can't figure out how to drop an icon on it... Or is there a better way of doing this? Perhaps a button that when clicked just shows a popup? I think

Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-09 Thread Nick Middleweek
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Nick Middleweek *Sent:* Friday, October 09, 2009 7:39 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] How to create a zoom UI object? Hi, I'm hoping to create a little zoom UI object - like the one you find

Re: [Spam] [flexcoders] what is wrong with this code?

2009-10-12 Thread Nick Middleweek
Hi, Try sticking inside your init function... private function init():void { var str:String = Area = ; var area:Number = Math.PI * Math.pow(3, 2); str = str + area.toString(); Alert.show(str); } And you probably need a toString() method after the area because it's a Number and needs

Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-12 Thread Nick Middleweek
there. I have one on my blog Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Nick Middleweek *Sent:* Friday, October 09, 2009 7:39 AM

Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-12 Thread Nick Middleweek
Hello... I'm back... I'm thinking I can use the PopUpButton object for this... I'll let you know how I get on :) Cheers, Nick 2009/10/12 Nick Middleweek n...@middleweek.co.uk Hi Alex, Loving the combox box - good work, I'll have to pinch that if that's OK :) Do you know if it's

[flexcoders] Can I fix the right hand column to the right side of the Adv Data Grid?

2009-10-13 Thread Nick Middleweek
Hi, I have an Adv Data Grid and I'd like to fix the last (right hand) column to the far right hand side and so it only occupies 31 pixels. I've got a load of columns in the grid and the 1st and 2nd are fixed width, the ones in the middle are variable and the last column is set to 31 pixels but

[flexcoders] data and listData

2009-10-14 Thread Nick Middleweek
Hi, What is the difference between data and listData and why you use one over the other? In an Adv Data Grid, I've been told that .data may render incorrect information and .listData with getters and setters are the way forward but I seem to be using .data ok and can cast it to XML to reach into

[flexcoders] headerDragProxyStyleName property on an Adv Data Grid?

2009-10-14 Thread Nick Middleweek
Hi, When dragging to move columns on my Adv Data Grid, the user is saying it's not visible enough. I'm thinking I can make it easier to see byt changing the style property called headerDragProxyStyleName - but I could be wrong. I can't find anywhere that gives me a breakdown of what CSS

Re: [Spam] [flexcoders] Re: Can I fix the right hand column to the right side of the Adv Data Grid?

2009-10-14 Thread Nick Middleweek
Thanks for your reply on this, I'll check out those posts... I'll try adjusting the width as well - thanks... In general, can I just set measuredWidth of the column to a new value? or is that a read only property? Thanks, nick 2009/10/14 valdhor valdhorli...@embarqmail.com No. From my

[flexcoders] How do you understand the style properties and what values they need?

2009-10-14 Thread Nick Middleweek
Hello, I've found this Cheat sheet: http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks great... I'm trying to figure out how I can cheat with it as well :) e.g. Button Styles borderColor = 0xAAB3B3 - this is a hex color, easy! :-) But what about this one... Button

Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
armoury... :) .headerDragProxyStyle { borderColor: black; borderStyle: sold; borderThickness: 3; backgroundColor: green; } Thanks :-) 2009/10/14 valdhor valdhorli...@embarqmail.com In line... --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n

Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Hey Angleo, Just curious here but what's the outerDocument. prefix for on the change 2009/10/15 Angelo Anolin angelo_ano...@yahoo.com Agha, You need to use Itemrenderer to render your checkbox control inside your gridview: mx:DataGridColumn headerText=Testing width=100

Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Hey Angleo, Just curious here but what's the outerDocument. prefix for on the change event for? Cheers, Nick 2009/10/15 Angelo Anolin angelo_ano...@yahoo.com Agha, You need to use Itemrenderer to render your checkbox control inside your gridview: mx:DataGridColumn

Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Hi again :) In fact, this didn't fully work... it only implemented a green backgroundColor... The border styles were completely ignored, Mmmm?... :) 2009/10/15 Nick Middleweek n...@middleweek.co.uk e.g. By chance I just tried this and alas it worked but my question now

Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Middleweek n...@middleweek.co.uk Hi again :) In fact, this didn't fully work... it only implemented a green backgroundColor... The border styles were completely ignored, Mmmm?... :) 2009/10/15 Nick Middleweek n...@middleweek.co.uk e.g. By chance I just tried this and alas it worked but my

Re: [Spam] [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Cheers Steve, I didn't modify the default.css - I created a new one with the same name at the top of the MXML file that contains the Adv DataGrid... Thanks for the links... Nick 2009/10/15 valdhor valdhorli...@embarqmail.com I wouldn't modify any styles in the defaults.css file. I

Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Ah ok... Thanks Tracy... Is that a bit like Application.application ? 2009/10/15 Tracy Spratt tr...@nts3rd.com An item renderer is a component and has its own scope. “outerDocument” is a reference to the renderer’s parent document. You use it to access public properties of the

[flexcoders] how to dynamically change the icon of a Button?

2009-10-15 Thread Nick Middleweek
Hello, At the moment I've been doign this kind of thing for my buttons... mx:Button id=callBack icon=@Embed(source='assets/select_address.png') ... / But I've been asked to change it so that the icon path can be changed using a FlashVar, perhaps using CSS?... I'm ok with FlashVars but I'm not

Re: [Spam] [flexcoders] Re: how to dynamically change the icon of a Button?

2009-10-15 Thread Nick Middleweek
Thanks Steve! :) you never fail :) 2009/10/15 valdhor valdhorli...@embarqmail.com This should send you in the right direction... http://blog.benstucki.net/?p=42

[flexcoders] Skinning a scrollbar with Symbols, SWFs with poor mans Flash CS?

2009-10-23 Thread Nick Middleweek
Hi, By looking at the .css file from a ScaleNine theme I think I've worked out how to reskin a scrollbar in Flex using symbols from a .SWF file I've also stumbled across a tutorial that shows how to do it using PNG images. I'm guessing the advantage to using Symbols in SWF's is that the images

Re: [Spam] [flexcoders] addEventListner help

2009-10-30 Thread Nick Middleweek
Hi, As far as i'm aware the event is fired, which in turn calls a function that is set using button.addEventListener(MOUSE.CLICK, myClickHandler) So when the CLICK event fires on the button object it invokes myClickHandler pasing it an event object. if you want to call another function at the

Re: [Spam] [flexcoders] Re: Memory leak with Data Grid and Item Renderers

2009-11-09 Thread Nick Middleweek
Hi, There doesn't seem to be a removeAllChildren() method of the Advanced Data Grid. Also, when I test test the numChildren property it only gives me 4 but I've got a renderer (child) for each of the 9 columns over 20 rows = 180... I've just found a rendererArray which is an Array of Arrays for

[flexcoders] How to disable the folder/tree icon in Adv Data Grid?

2009-11-10 Thread Nick Middleweek
Hello, I've got an Advanced Data Grid that lists XML data in the following (simplified) form... address Address_Row_ID=12/ address Address_Row_ID=13/ address Address_Row_ID=14/ Clicking a button in the Adv Data Grid row, appends a child XML node to the row clicked so it looks like

[flexcoders] Re: How to disable the folder/tree icon in Adv Data Grid?

2009-11-10 Thread Nick Middleweek
to the the Address node XML, which in turn will (hopefully) cause my listData setter to be modified for that row so I can then set the sub-Data Grid to visible = true. Has anyone else loaded data dynamically for a sub-Data Grid in side an itemRenderer of an Advanced Data Grid? Thanks, Nick 2009/11/10 Nick

[flexcoders] Sending a message to each headerRenderer of an Adv DataGrid?

2009-11-10 Thread Nick Middleweek
Hello, At the moment, we are using EventBroker.subscribe within the headerRenderer's of a DataGrid so they can listen out for a CLEAR_FILTERS event. This fires a function to set the textinput object to which is inside the headerRenderer. Does anyone know any other way to talk to the

[flexcoders] Re: Sending a message to each headerRenderer of an Adv DataGrid?

2009-11-10 Thread Nick Middleweek
intLoop:int = 0; intLoop advancedDataGrid.headerItems[0].length; intLoop++){ if(advancedDataGrid.headerItems[0][intLoop] is HeaderFilterRenderer) HeaderFilterRenderer(advancedDataGrid.headerItems[0][intLoop]).clearFilter(); } Hope that helps someone... Nick 2009/11/10 Nick Middleweek n

[flexcoders] tabbing between headerRenderers?

2009-11-10 Thread Nick Middleweek
Hi, I've got a text input in each of my headerRenderers on my Adv Data Grid... Can anyone suggest a good way to allow tabbing between the headerRenderers text input objects? Have I got to roll my own? as in detect which one I'm in and then on key press, detect the tab and try put the focus in to

Re: [Spam] RE: [flexcoders] tabbing between headerRenderers?

2009-11-11 Thread Nick Middleweek
Hey Alex, Thanks for your reply... I'm finding that event.preventDefault isn't working for me... This is it in a new flex web app... http://pastebin.com/m40b6a13c And when I run it in debug mode, click into the text input and press any key, I can see the keyCode but cancelable = false and

Re: [Spam] RE: [flexcoders] tabbing between headerRenderers?

2009-11-11 Thread Nick Middleweek
Alex, I've sorted it... My mistake.. I wasn't using the correct event and I needed to assign it using AS, not MXML... http://pastebin.com/d5a59014b Thanks for your help :) Nick 2009/11/11 Nick Middleweek n...@middleweek.co.uk Hey Alex, Thanks for your reply... I'm finding

[flexcoders] How to test if an object contains a certain property?

2009-11-12 Thread Nick Middleweek
Hello, Does anyone know if it's possible to check if an object has a given property? objADGLD is of type AdvancedDataGridListData which always contains a property called .item Looking at the debugger, objADGLD.item's Declared Type can either be an Object or XML in different situations. When it

[flexcoders] Re: How to test if an object contains a certain property?

2009-11-12 Thread Nick Middleweek
Thanks for your help guys... that works perfectly!...

Re: [Spam] RE: [flexcoders] mx:ControlBar horizontalAlign=right - doesn'twork?

2009-11-27 Thread Nick Middleweek
colleague Gilles! :) 2009/10/6 Nick Middleweek n...@middleweek.co.uk It just stays left aligned... that's odd... Could there be anything that is over riding it? Thanks, Nick 2009/10/5 Alex Harui aha...@adobe.com Works for me. What did you see? Alex Harui Flex SDK Developer

[flexcoders] new StringValidator() .source problem?

2009-12-09 Thread Nick Middleweek
Hi, I'm trying to use StringValidator in ActionScript. The following example shows MXML and then adding the ID's to an Array... http://blog.flexexamples.com/2007/08/13/validating-flex-forms-using-the-validator-classes/ ... I'd like to do this entirely in ActionScript but am getting an error

[flexcoders] Re: new StringValidator() .source problem?

2009-12-09 Thread Nick Middleweek
with the ActionScript ? Can anyone see what I'm doing wrong? Thanks, N 2009/12/9 Nick Middleweek n...@middleweek.co.uk Hi, I'm trying to use StringValidator in ActionScript. The following example shows MXML and then adding the ID's to an Array... http://blog.flexexamples.com/2007/08/13

Re: [Spam] [flexcoders] Re: new StringValidator() .source problem?

2009-12-10 Thread Nick Middleweek
Hello Tibor, Thanks for replying. this_initializeHandler is the handler for the initialize event. A colleague told me to try creationComplete for the component and it now works... :) I'm thought that on the initiialize phase of the parent component, the children objects/components were

[flexcoders] Accessing the URLRequest object from the URLLoader?

2009-12-10 Thread Nick Middleweek
Hi, When we use URLLoader we pass it the URLRequest object either in the constructor or via the load method... When the URLLoader is complete, the 'complete' function is invoked where we can get access to the URLLoader object that has completed but I also want to access the URL that was

[flexcoders] Re: Accessing the URLRequest object from the URLLoader?

2009-12-11 Thread Nick Middleweek
intrigued to what the experts think... Also, does this create an issue with garbage collection? Cheers, N 2009/12/11 Nick Middleweek n...@middleweek.co.uk Hi, When we use URLLoader we pass it the URLRequest object either in the constructor or via the load method... When the URLLoader

[flexcoders] getters before setters

2009-12-16 Thread Nick Middleweek
Hi, I've been told to put my getters before my setters when defining Interfaces and creating the Class functions... ... then Bind my getters. Is this a known practice? Any what's the benefit? Is it something to do with how Flex calls the getters when setting via the setters? Thanks, Nick

Re: [Spam] [flexcoders] Re: getters before setters

2009-12-17 Thread Nick Middleweek
Thanks for your replies guys... I'll go with getters first then :) Also, i'm sure I've read somewhere that internally when you access a setter, it's self-checks the getter and only executes the setter if the return of the getter is different from the getter... Have I made this up? I normally

Re: [Spam] RE: [Spam] [flexcoders] Re: getters before setters

2009-12-18 Thread Nick Middleweek
Cheers Gordon... Thanks for the confirmation... 2009/12/18 Gordon Smith gosm...@adobe.com As far as I know, the setter never auomatically calls the getter. It certainly shouldn't, since the getter could have some undesirable side-effect that you wouldn't want happening in the setter.

Re: [Spam] Re: [flexcoders] How to dispatchevent in popup window?

2009-12-21 Thread Nick Middleweek
Hi, I'm quite new to Flex and was wondering if it's possible to use Meta Tags to declare the custom Event that is to be fired from the 'popup' component. And then assign that Custom Event to the function handler in the parent MXML or AS file? I guess this is the same as Geoff and Vaibhav's

Re: [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-21 Thread Nick Middleweek
Guys, what is wrong with Erdal's reponses? That is how I do it but am curious to know why if it's not a good way? Thanks, Nick

[flexcoders] Using Cairngorm and how to display a Popup from a Command

2009-12-21 Thread Nick Middleweek
Hi, If there's a preferred place to ask this, please let me know but I'm working on my first Cairngorm project and am getting used to how it all works which is great. I have a command that is fired after an event is notified that data is received from a Web Service. If there is a Fault or Error I

Re: [Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Nick Middleweek
. www.tiborballai.com --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Guys, what is wrong with Erdal's reponses? That is how I do it but am curious to know why if it's not a good way? Thanks, Nick

Re: [Spam] [flexcoders] Setting focus after confirming Alert

2009-12-22 Thread Nick Middleweek
Hi, Check out the example on the Alert language reference... http://livedocs.adobe.com/flex/3/langref/mx/controls/Alert.html#includeExamplesSummary You can assign a callback Handler like in the example: alertClickHandler() ... where you can check the button clicked and in that function you can

Re: [Spam] Re: [flexcoders] [Spam] Setting focus after confirming Alert

2009-12-22 Thread Nick Middleweek
? Personally, I would create a global variable to store the temp reference to the object you want to refocus in the alertHandler(). Nick 2009/12/22 sasuke uzumaki.naruto...@gmail.com Nick Middleweek wrote: Hi, Check out the example on the Alert language reference... http

Re: [Spam] RE: [flexcoders] Using Cairngorm and how to display a Popup from aCommand

2009-12-22 Thread Nick Middleweek
Nice post and thanks for replying... I understand your first solution, I think it's similar to a ChangeWatcher approach... but I'm a bit lost with the 2nd approach... In my circumstance, I have a button in my view that fires a Flash CLICK event, the view-mediator Handles it and fires a

Re: [Spam] [Spam] [Spam] Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-22 Thread Nick Middleweek
Tibor, Thanks for your help... That's totally cleared things up, now I see why you were suggesting to Extend the Application, etc and spoof it... Perhaps he can put a ?querystring of required values at the end of the filename in that settings screen? Nick 2009/12/22 Tibor

Re: [Spam] RE: [Spam] RE: [flexcoders] Using Cairngorm and how to display a Popup from aCommand

2009-12-29 Thread Nick Middleweek
Hello, thanks for your reply... The event is being dispatched from a Command but I'm using HTTP Service and AsyncToken to call a Web Service. I think my problem would be getting the function ref from the delegate to the responder Command as they are de-linked if that makes sense... Cheers, Nick

Re: [Spam] [flexcoders] Re: remove expand option from tree node?

2009-12-29 Thread Nick Middleweek
Excellent find, I needed this as well... :) 2009/12/29 MicC chigwel...@yahoo.com got it! Embedded isBranch=false into the xml very cool. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, MicC chigwel...@... wrote: The xml file on which the tree is based goes many

[flexcoders] Anyone using demonsterdebugger ?

2010-01-05 Thread Nick Middleweek
Hi, I've installed the http://demonsterdebugger.com/ and my MonsterDebugger.trace(this, Hello World!); works fine but I can't seem to inspect any objects as explained here... I just get a timeline thing moving along the bottom and the Hello World message is displayed. Is there anything

Re: [Spam] [flexcoders] Re: Anyone using demonsterdebugger ?

2010-01-06 Thread Nick Middleweek
Hi Sean, You're right, I missed out the 'this' keyword... All is good now, thanks! :) Do you know if it's possible to inspect the Event objects as code is running? Or would you just switch back to the Flex debugger for that? Thanks! 2010/1/5 seanmcmonahan s...@seanmonahan.org Love

[flexcoders] Coding in Cairngorm and using code planning tools

2010-01-06 Thread Nick Middleweek
Hi, Hope the subject makes sense... I was going to ask if there people use any UML tools when coding with frameworks such as Cairngorm but wanted to keep the topic slightly open. As I'm working more with Cairngorm on the project I'm on I'm realising that things can get a bit confusing and it'd

[flexcoders] Expressions panel in FB3 Mmmmmm

2010-01-06 Thread Nick Middleweek
Hi, Has anyone managed to get this what seems to 'could' be a wonderfull tool working? i just get a message in red saying something like Cant evaluate Thanks for any pointers... Nick

[flexcoders] Problem Casting an Object to a known type

2010-01-06 Thread Nick Middleweek
Hello... We've just run into a problem... Has anyone else come across this before? We're making HTTP Service calls and we're getting back nested data. We have set the resultFormat=e4x which we then parse into known Object types, such a IContactData, IInvoiceDetails... The Problem: With some

Re: [Spam] Re: [flexcoders] Problem Casting an Object to a known type

2010-01-06 Thread Nick Middleweek
Hi, Thanks for your reply... Our problem is that the http service isn't returning e4x or xml (even though the returnResult is set to that) if the data levels are 4 or more. It's coming back as untyped Objects. Normally we would call the HTTP Service asking for e4x, get the data back in the

Re: [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-06 Thread Nick Middleweek
it. The proper way to do what you are trying is: var myContact:ContactPerson = ContactPerson(myPerson); --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Hello... We've just run into a problem... Has anyone else come across this before

Re: [Spam] Re: [Spam] Re: [flexcoders] Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
-- *From:* Nick Middleweek n...@middleweek.co.uk *To:* flexcoders@yahoogroups.com *Sent:* Wed, January 6, 2010 5:13:46 PM *Subject:* Re: [Spam] Re: [flexcoders] Problem Casting an Object to a known type Hi, Thanks for your reply... Our problem is that the http

Re: [Spam] [flexcoders] Re: Expressions panel in FB3 Mmmmmm

2010-01-07 Thread Nick Middleweek
, Nick Middleweek n...@... wrote: Hi, Has anyone managed to get this what seems to 'could' be a wonderfull tool working? i just get a message in red saying something like Cant evaluate Thanks for any pointers... Nick

Re: [Spam] Re: [Spam] Re: [Spam] Re: [flexcoders] Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
which return plane objects to me. You should be able to parse that result as xml anytime. -- *From:* Nick Middleweek n...@middleweek.co.uk *To:* flexcoders@yahoogroups.com *Sent:* Thu, January 7, 2010 1:53:38 PM *Subject:* Re: [Spam] Re: [Spam] Re: [flexcoders

Re: [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
in. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Hey Valdor... Thanks for the tip there. Have you ever had problems receiving 4th level nested data from an HTTP Service? We're trying to receive it as e4x or xml but it's coming back

  1   2   3   >