[flexcoders] Michael Corbridge/ServiceCenter/US/SunLife is out of the office.

2007-11-23 Thread michael . corbridge
I will be out of the office starting 11/20/2007 and will not return until 11/26/2007. I will respond to your message when I return. --- This e-mail message (including attachments, if any) is intended for the use of the

[flexcoders] Flex Camp Boston - Dec 7

2007-11-06 Thread michael . corbridge
Interested in attending Flex Camp? This December 7, Flex Camp Boston is being hosted at Bentley College in Waltham (just outside downtown Boston) For more information on registration, the agenda and list of speakers, visit: www.flexcampboston.com

Re: [flexcoders] How do I call a POJO from Flex ?

2007-10-16 Thread michael . corbridge
trouble (write me if you want an easy tutorial to get started - POJO's included) Michael Corbridge Distributed Computing Sun Life Financial Ltd. One Sun Life Executive Park Wellesley Hills, MA 02481 --- This e-mail message

Re: [flexcoders] Dragging onto a tree

2007-05-23 Thread michael . corbridge
You probably need to look at the: event.dragInitiator.selectedItem Christopher Olsen

Re: [flexcoders] Binding a property to a function

2007-01-26 Thread michael . corbridge
The approach I have used in this case is the ChangeWatcher class (mx.binding.utils) --- // set up the watcher when the app loads private function doInit():void {

[flexcoders] CANNOT embed arrayCollection inside valueObject ... Anyone see this? (Pete Farland)?

2007-01-19 Thread michael . corbridge
This seems to be specific to a WebLogic server. When a valueObject, containing a property as an arrayCollection, is passed to the server, we get the following error: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: flex.messaging.io.ArrayCollection: This

Re: [flexcoders] How do you capture the browser's onclose event in Flex 2.0?

2007-01-16 Thread michael . corbridge
I finished doing this a week ago if you are interested ... On my first attempt, I used the browsers onUnload event to call a service in the swf, but this did not work. Apparently the object in the DOM is not available to the javascript when browser begins unloading (ie6). My solution was to

Re: [flexcoders] Multiple Selections in a List

2007-01-05 Thread michael . corbridge
Not a stupid question at all! If you have a list that has an id=myList, you can inspect the selectedIndices array property. Here is some code (courtesy of Flex 2 Help in Eclipse) to help illustrate: --

Re: [flexcoders] [Flex2, Cairngorm 2.1] Trouble with ServiceLocator

2006-12-28 Thread michael . corbridge
Thomas, In my delegates, I am using this syntax: this.service = ServiceLocator.getInstance().getService( testService ); I note that you use getRemoteObject? Just a thought - mike

RE: [flexcoders] POST data to Flex 1.5 app from Flex 2.0 app

2006-08-08 Thread michael . corbridge
Thanks Matt, I get the following response if I try to post data to a mxml page: JRun Servlet Error HTTP method POST is not supported by this URL This seems to point to config settings on the JRun4 server (web.xml?). I note that http GET works as expected. Any thoughts? - mike

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread michael . corbridge
[Embed(source=/assets/images/alert.png)] [Bindable] public var alertSymbol:Class; Alert.show(Text entered in the comments box will be lost! Do you want to continue?,Alert,Alert.YES|Alert.NO,null,alertListener,alertSymbol,Alert.NO);

[flexcoders] POST data to Flex 1.5 app from Flex 2.0 app

2006-08-07 Thread michael . corbridge
Anyone have any insight into whether this can be done? I am well aware that navigateToURL() allows the method to be set to POST, but is there a way for a Flex 1.5 app to have access to that data? --- This e-mail message

Re: [flexcoders] anyone out there in eclipse land?

2006-07-07 Thread michael . corbridge
Hey Brendan, No problem, no offense taken :-) I tried your suggestion and it doesn't seem to apply to the 'console' panel, although it does apply filters to the 'problems' panel. I'll keep digging. Thanks for the suggestion. - mike

Re: [flexcoders] anyone out there in eclipse land?

2006-07-06 Thread michael . corbridge
No problem Brendan Maybe it was too much of a lob ball to resist ;-) The only reason I was asking is because I am trying to fix someone else's code and I think I know what the problem is. However the warnings are causing my Flex Builder to run so S L O W L Y (extra emphasis on the 'slow') that

[flexcoders] anyone out there in eclipse land?

2006-07-05 Thread michael . corbridge
know how to suppress the: warning: unable to bind to property ... and TypeError: Error #1009: Cannot access a property or method of a null object reference. in the eclipse console? --- This e-mail message (including

Re: [flexcoders] Re: Repost of bug issue over weekend

2006-06-26 Thread michael . corbridge
not a bug - here is working code: --- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* initialize=initList() mx:Script ![CDATA[ import

Re: [flexcoders] Mx.controls.Alert confusion

2006-06-13 Thread michael . corbridge
perhaps a bit confused ... the alert boxes appear on top of each other, sort of a 'last in - first out type of scenario, meaning the 'hi' is rendered, then the 'hello' is rendered on top of 'hi' working code below ...

Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside.

2006-05-23 Thread michael . corbridge
I'm not sure if this is relevant or not, but the following is response from Alistair regarding a previous question I had about the use of viewHelpers - In your complex value object case, here's what we'd recommend now.

[flexcoders] mx.automation

2006-05-22 Thread michael . corbridge
IAutomationIdHelper IAutomationMouseSimulator IAutomationObject IAutomationObjectContainer IInteractionReplayer Anyone know how these are used? Any examples out there? --- This e-mail message (including attachments, if

RE: [flexcoders] Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-16 Thread michael . corbridge
Thanks Alistar, That seems like a cleaner way to handle things. - mike Alistair McLeod To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: RE: [flexcoders] Are ViewHelper and ViewLocator flexcoders@yahoogroups.com deprecated in Cairngorm 2? 05/16/2006 08:59

Re: [flexcoders] delete class instances

2006-05-16 Thread michael . corbridge
To stop the 'ping' just throw a 'timer.stop()' into your stopPing() function. It worked for me. I also removed the timer.reset(); timer.start(); from the sayPing() function. I'm not sure that you need those. This should help cure the 'tinnitus' :-) Also - did you notice that you did not place

Re: [flexcoders] Re: delete class instances

2006-05-16 Thread michael . corbridge
did you try 'timer.stop()' ? private function stopPing():void { ping = null; timer.stop(); trace(ping: +ping); } Sonja Duijvesteijn To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] Re: delete class instances flexcoders@yahoogroups.com

[flexcoders] question for cairngorm mavens

2006-05-15 Thread michael . corbridge
For those of you who are developing using the cairngorm framework, are there any opinions on the use of multiple modelLocators in a (potentially) very large Flex2 app. Consider, for example, a Main.mxml that uses a tabNavigator to view five separate custom components, each of which is a large

Re: [flexcoders] Re: Cairngorm Sample Store

2006-05-11 Thread michael . corbridge
I would place: org.nevis.cairngorm.* in your: WEB-INF\flex\user_classes others may have different ideas A working cairngorm app updated to fds2_B_05_08 is being sent to you. stefan_schmalhaus To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [flexcoders]

Re: [flexcoders] BackgroundColor

2006-05-10 Thread michael . corbridge
backgroundColor=#008040 fillColors=[#008040,#008040] gets you a green background fillColors=[#008040,#008040] gets you a green background with an momentary flash of grey --

Re: [flexcoders] Beta 3 - Custom Java Adapter

2006-05-02 Thread michael . corbridge
http://mmbeta.macromedia.com/ does that work for you? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that

Re: [flexcoders] How to subclass a singleton class ---- cairngorm issue --- Please help!!

2006-04-27 Thread michael . corbridge
Are you creating a business delegate class to handle the service call? In the cairngorm framework, the actual work of getting the remoteObject and making a request is inside a delegate. Consider, for example a remoteObject service which returns a list of customers with the id: roCustList.

Re: [flexcoders] PLEASE: Could someone at Adobe/Macromedia do a Carnigorm Video Intro.

2006-04-26 Thread michael . corbridge
I have a very (very) simple sample app that I use to illustrate how to get the ball rolling with Cairngorm2 that I can send to you. It includes documentation on how to add your own dispatchEvent in step-by-step instructions. I'm not knocking the Cairngorm2 'Login' example, but I think that a

Re: [flexcoders] PLEASE: Could someone at Adobe/Macromedia do a Carnigorm Video Intro.

2006-04-26 Thread michael . corbridge
I will be sure to send it to you. The http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1.html article is great, however I don't think that it has been updated to Flex2 (Steve W?) --- This e-mail message

Re: [flexcoders] PLEASE: Could someone at Adobe/Macromedia do a Carnigorm Video Intro.

2006-04-26 Thread michael . corbridge
I'll send you a copy. On another note, I was looking at the ViewLocator/ViewHelper code and I found myself wondering how to implement it. It's not that the theory isn't sound, I'm sure it is - just try to find some simple working examples. Anyone out there have some simple Cairngorm2

Re: [flexcoders] PLEASE: Could someone at Adobe/Macromedia do a Carnigorm Video Intro.

2006-04-26 Thread michael . corbridge
I took the ViewLocator class and modified it to take an Object rather than a ViewHelper. It seems to work in that all components, and their methods are reachable at any point in the application. I'm not sure if this is what was intended in Cairngorm, but it seems to greatly simplify our

Re: [flexcoders] Disabling navigation between tabs in a tab navigator

2006-04-06 Thread michael . corbridge
One way to approach this might be to a run function (perhaps initiated by a button click event) that sets a boolean var: bTabEnabled = false; then set a var (statTabIndex) equal to the tabNav.selectedIndex. The tabNavigator has a change event that will fire when the user interacts with a tab.

Re: [flexcoders] This is my mistake.

2006-03-09 Thread michael . corbridge
What I really think is that someone should proof your copy. every beautiful little things in this world are fresh ... ? Unless you are attempting to initiate another, Your base are belong to us craze. --- This e-mail