[flexcoders] Flash Player 8 and the trace() function

2005-10-21 Thread Laurent Cornelis
Hi, I've installed Flash Player 8 to use the file upload feature in Flex 1.5 but there is a problem : The Flash Player 8 don't have the debugging enabled and then the trace() function don't work anymore. Do you know how I can workaround it ? Regards, Laurent Cornélis --

[flexcoders] FileIO.browse() fails when called with filters

2005-10-21 Thread Laurent Cornelis
I have a problem with the FileIO.browse(filters) method. If I just try fileIO.browse() without argument, the file chooser is displayed and it works fine. If I try fileIO.browse([{description: "Images", extension: "*.jpg;*.gif;*.png"}, {description: "Flash Movies", extension: "*.swf"}, {descrip

Re: [flexcoders] FileIO.browse() fails when called with filters

2005-10-26 Thread Laurent Cornelis
sn't appear anymore. > > Benoit Hediard > > PS: Anyway, now we won't have to use the fileIO "hack" in Flex2 + Flash > Player8.5... ;) > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de Laur

[flexcoders] Cairngorm : commands to execute at startup

2005-03-21 Thread Laurent Cornelis
I have a command that I want to be executed at startup. So in my tag I set the initialize attribute : initialize="loadCatalog()" My loadCatalog function is defined like this : public function loadCatalog() : Void { alert("TEST"); EventBroadcaster.getInstance().broadcastEvent( "loadCatal

Re: [flexcoders] Cairngorm : commands to execute at startup

2005-03-21 Thread Laurent Cornelis
method call.. > > Timing is everything ;) > > Steven > > >>-Original Message- >>From: Laurent Cornelis [mailto:[EMAIL PROTECTED] >>Sent: 21 March 2005 14:29 >>To: flexcoders@yahoogroups.com >>Subject: [flexcoders] Cairngorm : commands to ex

[flexcoders] Custom security for RemoteObjects

2005-03-23 Thread Laurent Cornelis
Hi, What are you using to protect your services ? I want that the first time a user access one of the service (RemoteObjects in my case), he will be redirected to a custom login form. This form will send authentication data to a class that will validate these informations against our database

[flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Laurent Cornelis
Hi, I wonder how Java exceptions are mapped to ActionScript faults. I created a subclass of exception in Java that has the following properties : - message (from superclass Exception) - detail - type (I set the classname) - faultcode - description When I throws this exception during a remote o

Re: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Laurent Cornelis
n type. > > > -Original Message- > From: Laurent Cornelis [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 23, 2005 9:39 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] RemoteObject : Convert Java Exception to ActionScript > Fault > >

Re: [flexcoders] prevent Double click

2005-03-30 Thread Laurent Cornelis
If you use Cairngorm, use a ViewHelper to change the button state. This way you can change the state from anywhere. Regards, Laurent Cornélis [EMAIL PROTECTED] a écrit : > thanks Gordon, but i'm using our framework for receive data > (ServiceLocator etc) > and our function are called in other

[flexcoders] Register a ChangeEvent listener on a static property

2005-05-25 Thread Laurent Cornelis
otherClass() { ModelLocator.user.addEventListener("userChanged", this); } ... } But here, I have this error : There is no method with the name 'addEventListener'. Regards, Laurent Cornelis Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/g

[flexcoders] Debug Flex Cairngorm application

2005-03-21 Thread Laurent Cornelis
Hi, I try to debug a Cairngorm Flex application using FlexBuilder byt the debugger complains that the application is not using tag ... How do you debug Cairngorm application ? And more generally, what are you using to debug Flex applications ? Laurent Cornélis Yahoo! Groups Links <*> To