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

2010-01-07 Thread Nick Middleweek
The second part doesn't work... I just get an error... I will take some screen shots of what I'm doing and will also try non-XML objects to see if my problem is just with XML objects. Nick 2010/1/7 valdhor valdhorli...@embarqmail.com M... It'd be great if i can on the fly edit

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

2010-01-07 Thread Nick Middleweek
No, SAP is SAP. It's a beast of a German system. We're talking directly to it's Web Service layer. 2010/1/7 valdhor valdhorli...@embarqmail.com What does SAP run on? Java? Is there no way to add some kind of middleware like WebORB?

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

2010-01-07 Thread Nick Middleweek
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 as untyped Objects. I'm guessing this is a bug

[flexcoders] garbage Collection articles

2010-01-07 Thread Nick Middleweek
Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm particularly interested in learning about what happens to variables/ objects that are declared in a local function but are assigned to the global 'Model', then the function ends so the

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

2010-01-07 Thread Nick Middleweek
, Nick Middleweek n...@... wrote: Hi Amy, Mm... What is a way of verifying the returned data is valid XML? It 'looks' ok, but are there tools to check it, I mean it's valid in terms that it looks formatted correctly... Try calling the service from a web browser. Most of them

Re: [Spam] RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Nick Middleweek
. 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:* Thursday, January 07, 2010 11:16 AM *To:* flexcoders@yahoogroups.com

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

2010-01-08 Thread Nick Middleweek
? Bodrul --- 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? We're making HTTP Service calls and we're getting back nested data. We have set

[flexcoders] Setting adv data grid row text.alpha = 0.5

2010-01-12 Thread Nick Middleweek
Hello, I've got an Adv DataGrid and I'm trying to set the text alpha of the rows to 0.5 if the .extend property of the dataprovider = true. Previously I have created item renderers for my own Adv Datagrid but I'm using a search results component and don't have access to the itemRenderers.

[flexcoders] styleFunction on adv datagrid

2010-01-14 Thread Nick Middleweek
Hello, I've got a groupingCollection as the dataProvider for my adv data grid (ADG) and I've got a styleFunction attached to the ADG to set the text color to grey. The groupingCollection is collapsed to start with and when I expandthe tree nodes, the rows come into show but they are rendered in

[flexcoders] WSDL objects - Flex value objects

2010-02-02 Thread Nick Middleweek
Hello, Does anyone know of a way to convert a WSDL document into a bunch of Flex Classes? I'm working on a project where the WDSL data structures are changing and it's a real pain to have to re-check what has changed and then re-code the classes and Interfaces... Thanks, Nick

Re: [flexcoders] WSDL objects - Flex value objects

2010-02-03 Thread Nick Middleweek
Hey, thanks for the reply... I'm not sure how that helps though? Thanks On 2 February 2010 16:56, claudiu ursica the_bran...@yahoo.com wrote: Google for Object Translator custom class. C

Re: [flexcoders] WSDL objects - Flex value objects

2010-02-03 Thread Nick Middleweek
This is super, I'll try this out today and seems it could save me some leg-work... Claudiu, I'll check out the translator class as well. Cheers, Nick On 3 February 2010 15:40, Peeyush Tuli peeyus...@gmail.com wrote: Why dont you use this?

Re: [flexcoders] WSDL objects - Flex value objects

2010-02-04 Thread Nick Middleweek
Hi, Is there any article on how to use your method and does it work with nth-level nested data structures? It could be that your way is easier and saves recoding/ recreating classes?... Is there a benefit though to using Typed objects rather than untyped? Does your way use untyped? Or perhaps

[flexcoders] What are your thoughts on Search results in a business app - tabular or hierachical?

2010-02-04 Thread Nick Middleweek
Hello, Here's just a general question I want to throw out there and get peoples thoughts. In a business system we have various search screens, you can then double click the search results to view the detail screen. There is a Web Service to do the Search operation, and There is a Web Service to

Re: [flexcoders] WSDL objects - Flex value objects

2010-02-04 Thread Nick Middleweek
-- *From:* Nick Middleweek n...@middleweek.co.uk *To:* flexcoders@yahoogroups.com *Sent:* Thu, February 4, 2010 10:21:59 AM *Subject:* Re: [flexcoders] WSDL objects - Flex value objects Hi, Is there any article on how to use your method and does it work with nth-level nested data structures

Re: [flexcoders] WSDL objects - Flex value objects

2010-02-04 Thread Nick Middleweek
OK, super stuff... So I can use the automated Web Service - VO builder that Peeyush mentioned and then a one liner to convert the SOAP object to a typed VO Class... Nice and thanks for persevering with me! :) On 4 February 2010 20:41, claudiu ursica the_bran...@yahoo.com wrote: Yes you

[flexcoders] Eclipse IDE and Windows 7

2010-02-05 Thread Nick Middleweek
Hi guys, Sorry for the off-topic question but I've moved over from Flex Builder to Eclipse with the FB plugin. A work friend suggesting working this way as Eclipse is better and I've noticed I now have brace matching like I used to have in Aptana :-) We have also installed WDT, SVN and a few

[flexcoders] Can I get 1:1 tuition in London or Paris?

2010-02-08 Thread Nick Middleweek
Hi guys, Does anyone know of a good company or individual(s) where I can get some private Flex/ ActionScript tuition? I've been coding for about 6 months and working on a great project but feel I need guidance in advanced areas and methodologies and to get an understanding of different and

Re: [flexcoders] Can I get 1:1 tuition in London or Paris?

2010-02-08 Thread Nick Middleweek
Hi, I'd like to work through a project and learn the ropes the correct way and when I have specific questions, I have someone to hand who is experienced to put me back on track, discuss the issue and explain why... :) Official training would be cool, I'm guessing that's heading towards the

[flexcoders] Flex builder automation?

2010-02-11 Thread Nick Middleweek
Hello, Is it possible to setup an automation task to do this... 1. Open Project Properties of a Flex Library Project 2. Deselect all items in the Classes tab 3. Reselect all items in the Classes tab 4. Deselect assets in the Classes tab 5. *Reselect all but 'com' in the Assets

[flexcoders] ArrayCollection of a specific type?

2010-02-11 Thread Nick Middleweek
Hello, Is it possible to specifc a class property to be an ArrayCollection of a certain Interface rather than just an ArrayCollection? Thanks, Nick

[flexcoders] A framework to help with busines apps?

2010-02-11 Thread Nick Middleweek
Hi, Are there any frameworks/ methods of working/ general thoughts on how to design business applications. By this I mean best practices to load a flex app, show a login screen, display a search screen, get data, show results, double click to view detail form, etc... I realise we can use

[flexcoders] Deep Object Copy?

2010-02-15 Thread Nick Middleweek
Hi, Are there any working utilities/code out there that can help me with a deep object copy? I have an Object that is about 4-5 levels deep and some of the elements are ArrayCollections of CustomObjects that have nested Objects. Basically it's quite complex! :-) My understanding is that

Re: [flexcoders] Deep Object Copy?

2010-02-16 Thread Nick Middleweek
an object. Can't recall off the top of my head the code but I'm sure you could find it via the Google. :-) On 16/02/2010, at 8:00 AM, Nick Middleweek wrote:

Re: [flexcoders] Deep Object Copy?

2010-02-16 Thread Nick Middleweek
ok, cool... I guess that was the answer I didn't want :) Shame there's no generic solution. Thanks for your help. On 16 February 2010 10:16, claudiu ursica the_bran...@yahoo.com wrote: Write your own utility. Do something recursive it takes some time but it will fit your needs. C

[flexcoders] Reverse Binding?

2010-02-16 Thread Nick Middleweek
Hi, Am I correct in thinking it is NOT possible to do automatic 'reverse' binding In Flex? e.g. You can bind an Object.property to a textInput which updates if the Object.property is changed but when you change the TextInput.text, it doesn't update the Object.property and you need to DIY using

Re: [flexcoders] PureMVC Folks...

2010-02-16 Thread Nick Middleweek
Nice! Cheers James! On 16 February 2010 00:57, jamesfin james.alan.finni...@gmail.com wrote: For you PureMVC/AS3 Folks... There's a new PureMVC Port in town...JavaScript. Well sort of. There's really an update using MooTools which will really move JavaScript along in the AS3/PureMVC

Re: [flexcoders] Deep Object Copy?

2010-02-17 Thread Nick Middleweek
Alex, I think that's exactly what I'm after... Great stuff! Cheers... I've found this link to back up your claim as well :) http://www.flexer.info/2007/10/25/deep-object-copy/ I'll give it a go and see what happens. Cheers, Nick On 16 February 2010 22:09, Alex Harui aha...@adobe.com wrote:

Re: [flexcoders] Re: Deep Object Copy?

2010-02-17 Thread Nick Middleweek
Hi HP... I think that's what ObjectUtil.copy does under the bonnet so I'm guessing it will also strip the Class information from the original objects in serialize/ deserialize process. Cheers, Nick On 16 February 2010 22:34, hpatino.rm hpat...@rocketmail.com wrote: From Programming

Re: [flexcoders] Re: Deep Object Copy?

2010-02-17 Thread Nick Middleweek
Cheers Mike, great find! We;re stuck on 3.3 for now but thanks for pointing that out... Nick p.s. Not sure about UID's .copy? On 17 February 2010 18:10, Mike msl...@mslinn.com wrote: I just noticed the ObjectUtil.clone() method, new for Flex SDK 4. public static function

[flexcoders] executeNextCommand() Cairngorm - Why?

2010-02-17 Thread Nick Middleweek
Hi, Hopefully this is a quick... I'm looking at some code that is using the executeNextCommand() in Cairngorm but I'm wondering why don't we just dispatch() the event that is created instead of calling executeNextCommand()... I'm quite new to Cairngorm and frameworks but to it seems

Re: [flexcoders] Re: Deep Object Copy?

2010-02-18 Thread Nick Middleweek
Hey Alex, What does that mean? Frozen? Is development frozen on it? Also, I'm confused, is that Flash Builder 4 or the SDk 4? Cheers, Nick On 18 February 2010 01:48, Alex Harui aha...@adobe.com wrote: Yeah, I didn’t even know about it. We took a look at it today and we’re going to

[flexcoders] Cleaning up source code

2010-02-18 Thread Nick Middleweek
Hello... Are there any utilities to help clean up project source code? Over the months, various VO's and Event Classes, etc have been added and things have changed making some redundant and I'd like to clean up my project. Rather than go through it all manually, are there any utilities to help?

[flexcoders] Detecting Events in Flex

2010-02-19 Thread Nick Middleweek
Hello, Is it possible to put a generic listener on an Object so that a function is fired and I can trace(event.type) from that function to see exactly what events are being fired and in what order so I can then read about the events to see which is appropriate for my needs? Cheers and have a

Re: [flexcoders] Re: Cleaning up source code

2010-02-23 Thread Nick Middleweek
This is great, thanks for the links, I'm using FlexFormatter and that's awesome. PMD could be what I'm after, I want to remove dead code and Class files and thanks for the tip on CPD. ?What is TDD? Thanks! On 22 February 2010 18:52, adebonis anth...@troywebconsulting.com wrote: Try

Re: [SPAM] [flexcoders] Component Data Calls

2010-02-23 Thread Nick Middleweek
Hi Tracy, Can you expand a bit please on the 'special component' for your data access. Is a non-visual component that you instruct it to fetch something and the results are then stored in your model? Is this a bit like a delegate/ responder ? Thanks, Nick On 14 February 2010 16:37, Tracy

[flexcoders] Changing the speed of sound?

2010-02-24 Thread Nick Middleweek
Hi, Is it possible to load in an mp3 and slow the playback down slightly? I've looked at the API but can't see anything specific but am wondering if there's any tricks? Thanks, Nick

Re: [flexcoders] Re: Changing the speed of sound?

2010-02-25 Thread Nick Middleweek
Thanks James, I'll have a read of that link. Where did you get the java code from? Cheers, nick On 25 February 2010 00:27, jamesfin james.alan.finni...@gmail.com wrote: Hi Nick, This will get ugly quickly as this isn't as easy as it sounds, pardon the pun. ;) You need to do some

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-25 Thread Nick Middleweek
Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit your windows hosts file to override it to point locally... Tracy mentioned FlashVars, that's a real easy way. You've help me enough in the world of 4D so I'll ping something over if you need it...

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Nick Middleweek
It's a bit hard without seeing the full code: http://pastebin.com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source

Re: [flexcoders] using a class once throughout the all app

2010-02-25 Thread Nick Middleweek
I'm interested in this... So you're findings are that if you have say 5 MXML components and each component uses and imports the popupManager class/ package it is bloating the SWF file 5 times what it should be rather than just importing it once? On 25 February 2010 06:35, ZIONIST

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Nick Middleweek
Ah yes... of course... creationComplete_handler. I had this problem when setting up form validation and the fields on the form weren't actually initialized themselves... something like that. On 25 February 2010 16:09, Tracy Spratt tr...@nts3rd.com wrote: Probably a timing issue. Binding

Re: [flexcoders] Embedded Flash in ASP.Net Page

2010-02-25 Thread Nick Middleweek
Hi Angelo, Embedding a SWF file in an ASP.Net page is the same as embedding it in an .html page, the SWF is rendered on the client and the browser doesn't care about the server-side technology. If I were you, I'd create a blank html page on your web server and between the BODY tags put similar

[flexcoders] Searching through an ArrayCollection of Objects

2010-03-02 Thread Nick Middleweek
Hi, I was wondering if there are any quick ways to solving this, quick as in CPU time, not developer time... I have an Array Collection of VO's called contact which has two properties... var myAC : ArrayCollection = new ArrayCollection(); var myContact : Contact = new Contact(); myContact.name

Re: [flexcoders] Dynamically create a Value Object...

2010-03-02 Thread Nick Middleweek
Hi Laurence, I'm pretty new to Flex so there might be reasons to stick with Value Objects that I'm unaware of but you can definitely read and write XML and generate forms, layouts, etc on the fly based on the XML contents. I've used E4X to query XML data that I've sucked in from an HTTP call,

Re: [flexcoders] Re: Searching through an ArrayCollection of Objects

2010-03-02 Thread Nick Middleweek
Thanks for the replies... How can I find out what's going on behind the scenes with IViewCursors or ListCollectionViews? Do they actually index the Collection data to make the filter super fast or do you think it's comparable if I'm just looping and searching using a brute comparison? I only

Re: [flexcoders] Dynamically create a Value Object...

2010-03-03 Thread Nick Middleweek
Hi, An idea... You could use XML to transfer the data from Flex -- CF and to create a dynamic ObjecVo in Flex you could just create and object and just add properties to that object and assign the values. You could create a VO in Flex that is designed around the XML... But I guess why would

[flexcoders] Lightweight Flex framework?

2010-03-03 Thread Nick Middleweek
Hi, Here's one to those that have experience with many frameworks... I'm currently using Cairngorm in a big project but want to start a couple of personal projects and want to use a proven framework for good measure. Is there a lightweight framework that is good for knocking out quick

Re: [flexcoders] Dynamically create a Value Object...

2010-03-03 Thread Nick Middleweek
I'm sure you can send XML data over CFAMFSecure. I've not done it myself but it's just text at the end of the day and you mentioned in your original post you thought it'd be a good idea using and writing XML. Iit is possible but if you prefer to use strictly typed VO's then perhaps you should

Re: [flexcoders] Re: Lightweight Flex framework?

2010-03-03 Thread Nick Middleweek
the Framework guessing game. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Hi, Here's one to those that have experience with many frameworks... I'm currently using Cairngorm in a big project but want to start a couple of personal

[flexcoders] [Bindable(event=numButtonsChange)]

2010-03-10 Thread Nick Middleweek
Hi, In this example: http://www.adobe.com/devnet/flex/quickstart/building_components_in_as/#comp_as ... they've got [Bindable(event=numButtonsChange)] above the getter for numButtons. I'm used to putting [Bindable] above the getter and dispatchEvent(new Event(myCustomEventName)) inside the

[flexcoders] Is there an internal build number?

2010-03-16 Thread Nick Middleweek
Hi, Is there some kind of internal build number that I can show on screen so I know when testing/ debugging that i'm looking at the latest compiled version? I guess I could maintain my own date/ time stamp but was wondering if there's any mx_internals variables or something? Thanks, Nick

[flexcoders] Automatically insert name, date, time into code, etc

2010-03-24 Thread Nick Middleweek
Hi, Is it possible from Eclipse to automatically insert my name, the date and time to the top of Class files and when making code changes, perhaps press a key combo to insert this information? Thanks, Nick

[flexcoders] Pasting an image into an image or bitmap container?

2010-03-24 Thread Nick Middleweek
Hi, Using Flex 3.x, I've done a bit of research and understand that through code, for security reasons I can't access the Clipboard - makes perfect sense. Is there though, a way to allow the user to manually paste an bitmap into an on screen Object so that I can access it as a bitmap or

Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-24 Thread Nick Middleweek
Hi, I really wanted the user to be able to just paste into Flex and then click send. It's for a tech support system and when ever there are screen errors, they get logged. At the moment they're either pasted in word and word is uploaded or those that know how, paste into MS Paint, save as a JPEG

Re: [flexcoders] Pasting an image into an image or bitmap container?

2010-03-24 Thread Nick Middleweek
that's a goood idea, ha :) On 24 March 2010 16:14, Oleg Sivokon olegsivo...@gmail.com wrote: Not unless the user has your AIR app installed, and that app will channel that image through LocalConnection. Or you may ask them to Base64 encode the image and paste it as text :D *sorry* Best.

Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread Nick Middleweek
Hi, I think that is only for grabbing the bitmap of a Flex or Air app container. I want the ability for the user to paste any image into the image container. I check out the blog just incase there is some other magic there... Cheers, Nick On 25 March 2010 09:31, bhaq1972 mbha...@hotmail.com

[flexcoders] double check that this Switch statement can't work...

2010-03-25 Thread Nick Middleweek
Hi, I was hoping I could use a switch statement to test what Object type is selected on my ADG but I don't think it's possible and need to use an if, else if, chain... if ( orgStructureADG.selectedIndex = 0 ) { switch ( orgStructureADG.selectedItem ) { case VendorCompcodeData:

Re: [flexcoders] double check that this Switch statement can't work...

2010-03-25 Thread Nick Middleweek
Ah nice... Cheers Oleg. I always put my break; statement inside the case brackets. I quite like the 1st way... Easier to read I think. Thanks, Nick On 25 March 2010 12:49, Oleg Sivokon olegsivo...@gmail.com wrote: In AS3 switch construction uses break - otherwise it'll fall through (all

Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread Nick Middleweek
Do you have a link to this blog though please? I'm still interested in reading through it... I've just googled Andrew Trice BitMapData blog getUIComponentBitmapData but can't find what you've mentioned. Cheers, Nick On 25 March 2010 10:43, bhaq1972 mbha...@hotmail.com wrote: I think i'm

[flexcoders] Problem with BindingUtils.bindProperty

2010-04-02 Thread Nick Middleweek
Hi, I'm trying to Bind a property on a component to a sub component but it doesn't seem to like binding to a property on this. // Set up Bindings and Watchers... __vendorAgencyOfficeFieldsEnterableChangeWatcher = BindingUtils.bindProperty(agencyOfficeHybridAccordian, enterable, this,

[flexcoders] Re: Problem with BindingUtils.bindProperty

2010-04-02 Thread Nick Middleweek
textBox.editable and then Binding my Watcher to the hidden textBox, is there a correct way of handling this? Cheers guys... Nick On 2 April 2010 23:05, Nick Middleweek n...@middleweek.co.uk wrote: Hi, I'm trying to Bind a property on a component to a sub component but it doesn't seem to like

[flexcoders] Re: Problem with BindingUtils.bindProperty

2010-04-02 Thread Nick Middleweek
Ok, the property that i'm Binding to must be public, that seems to work and the docs back it up :) On 2 April 2010 23:18, Nick Middleweek n...@middleweek.co.uk wrote: The same goes for ChangeWatcher... I can't do this... ChangeWatcher.watch( this, boolEditableProperty, callback

[flexcoders] DataGrid vs List ?

2010-04-16 Thread Nick Middleweek
Hi, Just curious... But why would you use a List control when you can use a DataGrid with one Column? Are there benefits over specifically using a List? It seems that a DG is a List but supports multiple columns... Thanks, Nick

[flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi, I'm working on a cairngorm flex app and have been told to put all business logic inside the CG Command. At the end of the CG Command, I need to get the ADG to expand it's grouping nodes for a particular node. What is the correct way of solving this problem because from my Command, I can't

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
: Download cairgorm extensions. It has classes called Callbacks which basically notifies the view after a command has finished. It's perfect for this situation. -Jake -- Sent from my Palm Prē -- On Apr 18, 2010 1:02 PM, Nick Middleweek n...@middleweek.co.uk

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
PM, Nick Middleweek n...@middleweek.co.uk wrote: Hi Jake, Thanks for the info... I know this sounds crazy but because of project/ company politics we have extreem difficulty getting 3rd party libraries on the project. Are there any preferred alternative ways? Cheers, Nick On 18

[flexcoders] Find tree node in groupingcollection?

2010-04-18 Thread Nick Middleweek
Hi, Does anyone know the best way to find the tree node in the grouping collection for the selected row in an AdvancedDataGrid ? Hope that makes sense... I've got an ADG with a grouping collection for the provider and I've got a selected row, what I would like to do is get the next level up and

[flexcoders] GroupingCollection.getParent() doesn't exist?

2010-04-18 Thread Nick Middleweek
Hi, Does anyone know why the getParent() command listed in the docs doesn't seem to exist? http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html#getParent%28%29 I've trying to use it like this... refreshParent =

Re: [flexcoders] Re: Find tree node in groupingcollection?

2010-04-20 Thread Nick Middleweek
Thanks Amy... Reading the docs a bit closer, that does make sense... GroupingCollection inherits from HierarchicalData which implements IHierarchicalData and the source of HierarchicalCollectionView is of type IHierarchicalData. Great stuff, thanks again! Nick On 19 April 2010 16:00, Amy

Re: [flexcoders] Re: GroupingCollection.getParent() doesn't exist?

2010-04-20 Thread Nick Middleweek
...@bellsouth.net wrote: Check a reference on Actionscript 3 for the definition of protected. HTH; Amy --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Hi, Does anyone know why the getParent() command listed in the docs doesn't seem

[flexcoders] TitleWindow.title won't update from a setter

2010-04-20 Thread Nick Middleweek
Hi, I've got a small MXML Component based on TitleWindow which I'm opening with PopupManager that has a setter and getter called iFormID. In the setter I have this code... public function set iFormID ( value : String ) : void { if ( _iFormID == value ) return; _iFormID = value;

Re: [flexcoders] TitleWindow.title won't update from a setter

2010-04-21 Thread Nick Middleweek
sure your setter is getting called? If so, when is it called? Maybe it is being called inside commitProperties after super.commitProperties. On 4/20/10 3:07 PM, Nick Middleweek n...@middleweek.co.uk wrote: Hi, I've got a small MXML Component based on TitleWindow which I'm opening

Re: [flexcoders] TitleWindow.title won't update from a setter

2010-04-21 Thread Nick Middleweek
Alex, That has fixed it but has now made me realise I'm initialising my private var _iFormID : String = ; And the first time I was opening the Popup, I was setting the .iFormID = , so the setter was *not* getting called. I'm now initialising it to null and it's working fine... Thanks for your

Re: [flexcoders] Re: TitleWindow.title won't update from a setter

2010-04-22 Thread Nick Middleweek
%40yahoogroups.com, Nick Middleweek n...@... wrote: Alex, That has fixed it but has now made me realise I'm initialising my private var _iFormID : String = ; And the first time I was opening the Popup, I was setting the .iFormID = , so the setter was *not* getting called. I'm now

[flexcoders] how to find redundant classes?

2010-04-22 Thread Nick Middleweek
Hi, Is there a quick way to find Classes that I no longer need? I'm sure I've asked this before but I can't find the thread... Unless I thought about asking it but didn't :-) I'm going through a project, some of it was inherited and some I don't know if I need anymore... Is there a good way of

Re: [flexcoders] how to find redundant classes?

2010-04-23 Thread Nick Middleweek
Hi, This is exactly what I'm trying to do :) I'm documenting my code but am trying to clear up at the same time... Although I'm tryping in the ASDocs comments myself and in my Eclipse I've got a little toolbar that generates ASDocs comments for the current file... It doesn't though tell me if

Re: [flexcoders] how to find redundant classes?

2010-04-23 Thread Nick Middleweek
Cheers Aaron... Thanks! On 23 April 2010 01:48, Aaron Hardy aaronius...@gmail.com wrote: FlexPMD would probably do the trick: http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD Aaron

Re: [flexcoders] how to find redundant classes?

2010-04-23 Thread Nick Middleweek
Ah ok, thanks Oleg... Cheers for the other tip - link-report, I'l give that a try too. Nick On 23 April 2010 09:46, Oleg Sivokon olegsivo...@gmail.com wrote: Hi, yes, just as Aron said. I was simply judging from my previous experience - usually the old classes would contradict to the

Re: [flexcoders] how to find redundant classes?

2010-04-23 Thread Nick Middleweek
FlexPMD only works on projects that do not have spaces in the the path name... Hopefully they fix that one soon... On 23 April 2010 10:00, Nick Middleweek n...@middleweek.co.uk wrote: Ah ok, thanks Oleg... Cheers for the other tip - link-report, I'l give that a try too. Nick On 23

[flexcoders] Resource bundles/ locales?

2010-05-11 Thread Nick Middleweek
Hi, I'm looking at Resource bundles and Locales and trying to get an understanding of how they are working in a project I've just come from. Has anyone seen this before?... We have a component who's label was bound to a Class.property... mx:Button id=me label={Labels.SAVE_LABEL} / In the

[flexcoders] Re: Resource bundles/ locales?

2010-05-11 Thread Nick Middleweek
OK, found the answer to this one... Basically, the static vars are being looped and replaced with the actual bundle.properties key-value. Hope this helps someone, it did me :) On 11 May 2010 14:42, Nick Middleweek n...@middleweek.co.uk wrote: Hi, I'm looking at Resource bundles and Locales

Re: [flexcoders] Resource bundles/ locales?

2010-05-11 Thread Nick Middleweek
Yep - it's funny what you find when you spend a little longer digging around... But I thought it was some undocumented waay of using resource bundles... Pretty cool stuff. Cheers Andriy :) Nick On 11 May 2010 16:01, Andriy Panas a.pa...@gmail.com wrote: Hi Nick, Have a closer look at

Re: [flexcoders] how to style a ComboBox - Dropdown ?

2010-05-13 Thread Nick Middleweek
is List. On 5/13/10 7:46 AM, Nick Middleweek n...@middleweek.co.uk wrote: Hi, I'm trying to find all the CSS options that are available so I can style up my ComboBox - Dropdown menu. Looking at the Language Reference I can see all the Styles available for hte ComboBox itself but one

Re: [flexcoders] how to style a ComboBox - Dropdown ?

2010-05-13 Thread Nick Middleweek
ah ha... ComboBox.dropdownFactory = Class factory that creates an mx.controls.List On 13 May 2010 19:45, Nick Middleweek n...@middleweek.co.uk wrote: ok, cool... Thanks Alex, Does it say that in the docs? I can't see it and have been stumped on similar things like this before when

[flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Nick Middleweek
Hello, I can't find any examples on how to create Functon variables? Does anyone have any to hand please? Thanks, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } );

Re: [flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Nick Middleweek
On 20 May 2010 11:46, Oleg Sivokon olegsivo...@gmail.com wrote: You cannot construct a function like that. What you can do is more like this: var f : Function = function (arguments) : Type { function body } -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: +44(0

Re: [flexcoders] Re: var myVar : Function = new Function ? examples?

2010-05-21 Thread Nick Middleweek
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick Middleweek n...@... wrote: Hello, I can't find any examples on how to create Functon variables? Does anyone have any to hand please? Thanks, Nick -- Sent by Nick Middleweek ( { email: n...@..., blog

[flexcoders] The Flex DOM?

2010-05-24 Thread Nick Middleweek
Hi, Might be a silly one but Flex doesn't have a DOM does it... or does it? I'm pretty sure I've seen a debugger app that shows a hierachical view starting from the Application level and displays all the containers and objects within. Thanks, Nick

Re: [flexcoders] The Flex DOM?

2010-05-25 Thread Nick Middleweek
a DOM. It's just a hierarchical relationship of components and controls. On Mon, May 24, 2010 at 4:01 PM, Nick Middleweek n...@middleweek.co.ukwrote: Hi, Might be a silly one but Flex doesn't have a DOM does it... or does it? I'm pretty sure I've seen a debugger app that shows

Re: [flexcoders] Detecting Browser Re-Size

2010-05-25 Thread Nick Middleweek
maybe forget that you've got an IFRAME and SWF, this fluid layout concept will apply to any HTML objects such as two images. Hope that helps somehow... (unless I've misread your problem?) Cheers, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: +44(0)774 035 5424, blog

Re: [flexcoders] Set Width of An Item Renderer Component Based on Visible Property of the Control

2010-05-25 Thread Nick Middleweek
from within the itemRenderer itself. I'm saying only do this on row one, just to optimise it, otherwise it'll run for ever row in the DG, which would hinder performance. Hope this helps, ask if you need anymore help. Cheers, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk

[flexcoders] Looping to addChild TextInputs, then removeAllChildren, are they GC'd?

2010-05-25 Thread Nick Middleweek
Hi, If I looped ten times and added ten Ten TextInputs to the 'stage' (addChild) they would remain in memory until they were removed (removeAllChildren) and then Garbabe Collected? Right? Let's say I created an Array and changed my loop to add them to the 'stage' (addChild) *AND* put the object

[flexcoders] Intuitive search UI ideas?

2010-05-26 Thread Nick Middleweek
would return all males above 25 and all females above 20. Now using a 'standard' search screen, this isn't possible. Does anyone have any examples or ideas on how to present such custom query options to the user and keeping it relatively easy and nice :) Cheers, Nick -- Sent by Nick Middleweek

Re: [flexcoders] How to store information in Cookies ???

2010-05-27 Thread Nick Middleweek
that helps, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } ); On 27 May 2010 10:14, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: Hello :) I have a menu item et i would like to store these information in CookiesI didn't work

Re: [flexcoders] How to store information in Cookies ???---Thank you :) Nick , Do you have an example of what you have done

2010-05-27 Thread Nick Middleweek
, download the CookieUtil library and plug it into your project. Then you can use CookieUtil.setCookie and CookieUtil.getCookie to set and get the values. Hope that helps, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } ); On 27 May

[flexcoders] Setting UI components in a composite component to private?

2010-05-27 Thread Nick Middleweek
Hi, When we create a composite component, such as an itemRenderer, based on an HBox and there's a button and TextInput inside, those sub-components are public, is there a way to specify they're private? Thanks, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http

Re: [flexcoders] Get URL that user typed in

2010-05-28 Thread Nick Middleweek
i think you're after the HTTP referrer. You can access this information server-side and I believe some of the data is available from JavaScript so from Flex, just reach out. HTH, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } ); On 28

[flexcoders] Changing the dataProvider for a ComboBox doesn't seem to work properly

2010-05-28 Thread Nick Middleweek
wrong? Thanks, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } );

[flexcoders] advanced flex architecure books?

2010-05-28 Thread Nick Middleweek
Hi, Can anyone recommend any Advanced Flex/ Actionscript books out there that can teach me all about the writing components properly, using mx_internal, the Flex life cycle and anything else so I can know everything about Flex and it's inner workings :-) Maybe quite a lot to ask but I've often

<    1   2   3   >