[flexcoders] Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-27 Thread Vijay Ganesan
I have the same code running in an AIR app and in a browser app - the only difference being the containing mx:WindowedApplication versus mx:Application. See code below for both. Double clicking on the button in the AIR app works fine (MouseEvent.DOUBLE_CLICK gets fired) but the same does not fire

[flexcoders] Re: Flex overlay over HTML

2008-07-27 Thread Tim Hoff
Sorry Easow, With this kind of communication, comes disconnects concerning meaning; from time to time, or region to region. I thought that I had a handle on what you were looking for. But, alass, my specific interpretation failed to grasp the requirement. Perhaps more detail will get us

[flexcoders] list allowMultipleSelection without key pressed ?

2008-07-27 Thread brett.coffin
Is there a way to have the buttons in the list behave like toggle buttons without the ctrl key press... Can i trick the list to believe that the ctrl key is press at all times ? any suggestion would be appreciated. ;) Good Flex Coding

[flexcoders] Re: Passing parameter to component

2008-07-27 Thread Cathal
I've tried to just display the contents of this variable to test it, but nothing gets printed to the screen. code inside the component: mx:Script ![CDATA[ public var strProjectName:String; ]] /mx:Script mx:Label text={strProjectName} / If I replace

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-27 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Amy, I guess that everyone has their own perspective. Like you, I used to complain that the flex styles weren't as comprehensive as the .net controls that I was used to at the time. However, looking at it from an

[flexcoders] Re: Preventing Change in Focus Using Mouse

2008-07-27 Thread edlueze
Thanks! I think what you are saying is that I need to trap any MOUSE_DOWN event in the parent's panel/canvas/application layout container during the event capture phase, check if is ok to change focus, then stopPropagation. Is that right? That could get a little ugly - there is no telling how

[flexcoders] Re: Centering Bar Chart labels vertically

2008-07-27 Thread Tim Hoff
Cool, and I totally understand where you're coming from. Believe me, there have been many occasions that I've run into the same brick walls; where there isn't a built-in property for what I need to do. And yes, from time to time, the phrase what the heck? comes out of my mouth. You know, even

[flexcoders] CF remote object return struct and singletons

2008-07-27 Thread Scott
I was returning type query from my remote object but needed to add in some other processed data along with the query so I changed the type to struct. I am processing the data into a singleton class to track the user's login. Previously I had the following line to set the data in the singleton:

RE:[flexcoders] Re: Passing parameter to component

2008-07-27 Thread Scott
Nevermind, I misread your question. Sorry. Try mx:Label text={strProjectName.text} / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cathal Sent: Sunday, July 27, 2008 7:01 AM To: flexcoders@yahoogroups.com Subject: {Disarmed}

RE:[flexcoders] Re: Passing parameter to component

2008-07-27 Thread Scott
It doesn't look like you're including the component... The component in your function needs to be defined something like: mx:Script ![CDATA[ Import com.myapp.mycomponent; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Value of AS variable dissapearing

2008-07-27 Thread Scott
I've got a weird issue that I'm trying to track down... It's all part of the life of a class instance that I posted before (I've got an update on that one coming soon). In my user registration validation class, I check to see if the email address already exists in the DB. I created a CFC

[flexcoders] Flex MDI and View States Error

2008-07-27 Thread Faisal Abid
I have an application where the FlexMDI windows are being created dynamicly via actionscript however the MDICanvas is being created on inital application creation. When i make the state go to another state other then the default and try to add an mdiwindow, it adds fine however when you click on

[flexcoders] Re: Flex MDI and View States Error

2008-07-27 Thread ben.clinkinbeard
Hi Faisal, I think the problem is in the way you are adding the window. Since you are just using addChild(), the window is never assigned a windowManager and I think that is what is null. If you say mdic.windowManager.add( window ), it will addChild() for you and also set the windowManager

[flexcoders] Re: Icon Click and iconFunction on ListItemRenderer

2008-07-27 Thread Vijay Anand Mareddy
Figured out the answer to my question. You dont need to extend ListeItemRenderer. The default one is good enough. The currentTarget property of the ListEvent.Click (Not ListEvent.ItemClick) will tell you whether you clicked on the icon (if it exists) or the textfield. --- In

[flexcoders] Eclipse (Flex plugin) Editor Won't Start

2008-07-27 Thread ntman12001
Hello, I have just installed Eclipse with the Flex plugin and am getting an error at the point when the editor should begin creating a new document. Any help in determining what might be causing this, or whether I should reinstall would be appreciated. Here are the details that it shows:

[flexcoders] Flex Builder Speed-ups?

2008-07-27 Thread tudsy
My Flex Builder can run extremely slow, almost every keypress sends javaw.exe CPU usage over 50% and this causes an unacceptable lag for even simple editing. Any tips? I'm running Vista SP1 on an AMD X2 3600 (1.8 Ghz each core) with 2 GB RAM. I've tried tweaking the memory settings from the

[flexcoders] Re: Passing parameter to component

2008-07-27 Thread Cathal
Actually you are correct, it is not assigned untill later. The reason my little test with the label didn't work was because I forgot the [Bindable] tag in the actionscript. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: It might get assigned to null at startup and then

Re: [flexcoders] Eclipse (Flex plugin) Editor Won't Start

2008-07-27 Thread Sherif Abdou
If i had to guess, you are using Eclipse 3.4 which is not supported thus u have to uninstall Flex plugin, download Eclipse 3.3 and it shopuld work. - Original Message From: ntman12001 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 27, 2008 1:05:48 PM Subject:

[flexcoders] Re: Eclipse (Flex plugin) Editor Won't Start

2008-07-27 Thread ntman12001
You are correct, Sherif. That is exactly what I did. Everything is working A-OK now. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: If i had to guess, you are using Eclipse 3.4 which is not supported thus u have to uninstall Flex plugin, download Eclipse 3.3 and it

Re: [flexcoders] Re: Icon Click and iconFunction on ListItemRenderer

2008-07-27 Thread anand kumar
Hi Vijay Anand,   My name is Anand, I have one friend in WiproTechnologies, He is last name Mareddy, just wondering. He is Mareddy Srinivas Reddy.   Regards -Anand --- On Mon, 7/28/08, Vijay Anand Mareddy [EMAIL PROTECTED] wrote: From: Vijay Anand Mareddy [EMAIL PROTECTED] Subject: [flexcoders]

RE:[flexcoders] Value of AS variable dissapearing

2008-07-27 Thread Scott
Ok, I'm really not fully understanding what is happening here... I decided to move on and come back to this issue. So I started with more validations on the form entries. While testing the form fields I started to get the email validation to show 'true' for finding a duplicate email address

Re: [flexcoders] Re: Zoom Tile Container

2008-07-27 Thread [EMAIL PROTECTED]
Here is an example of tile containers with zoom http://reenie.org/test/tilezoom/zoomtest.html This example uses a canvas for each tile but the canvas only goes to 200% of its original size. How would I do this effect to get a 100% of the application percentage width ? In the following

RE: [flexcoders] Value of AS variable dissapearing

2008-07-27 Thread Alex Harui
It's hard to say w/o seeing what code is in what methods. If you make a RemoteObject request, there's no way it will return before the if statement if all the code you showed is in one method. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Preventing Change in Focus Using Mouse

2008-07-27 Thread Alex Harui
Yeah, something like that, but I'd worry that the button won't get the mouseDown and not behave correctly. I still think you will probably have to restore focus afterwards. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edlueze Sent:

RE: [flexcoders] list allowMultipleSelection without key pressed ?

2008-07-27 Thread Alex Harui
Override selectItems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brett.coffin Sent: Sunday, July 27, 2008 6:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] list allowMultipleSelection without key pressed ? Is there a

Re: [flexcoders] Re: Zoom Tile Container

2008-07-27 Thread [EMAIL PROTECTED]
Here is an example of a tile container zoom that does zoom to %100 of the application, but it doesn't use an effect, it uses states and transitions. http://reenie.org/test/zoom/zoomtest.html I like this better, but I'm not sure you can generate dynamic components with this method. [EMAIL

Re: [flexcoders] Flex Builder Speed-ups?

2008-07-27 Thread Mike Chabot
You can turn off the Build Automatically option under the project menu. -Mike Chabot On Sun, Jul 27, 2008 at 10:21 AM, tudsy [EMAIL PROTECTED] wrote: My Flex Builder can run extremely slow, almost every keypress sends javaw.exe CPU usage over 50% and this causes an unacceptable lag for even

Re: [flexcoders] Flex Builder Speed-ups?

2008-07-27 Thread Shiva Kumar
use  -incremental option in flex compiler. --- On Mon, 7/28/08, Mike Chabot [EMAIL PROTECTED] wrote: From: Mike Chabot [EMAIL PROTECTED] Subject: Re: [flexcoders] Flex Builder Speed-ups? To: flexcoders@yahoogroups.com Date: Monday, July 28, 2008, 5:09 AM You can turn

[flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-27 Thread ron_mori
The fault handler is being call. (server 500 status) The good news is that my research points me towards the BlazeDS proxy server which I have successfully set up to make my remote server calls. Now the trick is to get the proxy to grab the remote error msg and return a status 200 good msg back

Re: [flexcoders] Flex Builder Speed-ups?

2008-07-27 Thread Sherif Abdou
I made a post on this a couple of days ago, I seriously thing it has to do with SP1 for Vista. Even ColdFusion takes up to 600,000K on startup and eclipse takes up to 350,000 K. I have my own server with windows 2008 and I have never seen coldfusion take more than 400,000K. so no idea what is