[flexcoders] Re: fcsh - can it compile a batch list of files

2008-01-17 Thread Reid Priedhorsky
reflexactions wrote: Is there a way to get fcsh to compile a list of modules. I am compiling all the modules in the application (about 70) from the command line using a batch file, this takes about 13 mins with incremental turned on, 20 mins without, I guess most of the time is being

[flexcoders] Re: Mouse-Over events work on Linux but not Windows

2007-10-31 Thread Reid Priedhorsky
Reid Priedhorsky wrote: Hi folks, I have a UIComponent subclass with Mouse-Over and Mouse-Out event handlers: this.addEventListener(MouseEvent.MOUSE_OUT, UI.mouseoutover_wrap(this, this.on_mouseout), false, 0, true

[flexcoders] Mouse-Over events work on Linux but not Windows

2007-10-30 Thread Reid Priedhorsky
Hi folks, I have a UIComponent subclass with Mouse-Over and Mouse-Out event handlers: this.addEventListener(MouseEvent.MOUSE_OUT, UI.mouseoutover_wrap(this, this.on_mouseout), false, 0, true); this.addEventListener(MouseEvent.MOUSE_OVER,

[flexcoders] diff tool for Flex 2

2007-10-03 Thread Reid Priedhorsky
Hi folks, I'm looking for an ActionScript gadget to compute a word-by-word diff between two chunks of text. The end result would be something like this: http://inessential.com/?comments=1postid=2607 Anyone can point me in the right direction? Many thanks, Reid

[flexcoders] Re: looking for a decent throbber

2007-09-28 Thread Reid Priedhorsky
Troy Gilbert wrote: Yes, that's a very appealing architecture. We don't have Flash here, though, just Flex, and while we could track down Flash, install it (the University has a site license, but there's paperwork to get it), and learn to use it, I was hoping someone out there might be able to

[flexcoders] Re: looking for a decent throbber

2007-09-27 Thread Reid Priedhorsky
Josh McDonald wrote: I'd just cook up something really simple and use a nice animated .swf created in flash to do it. Have a still swf and a busy swf, and with a hundred lines of event handling you could simply listen for start/end events (or even just provide on/off methods depending on

[flexcoders] Re: Flex Compiler Shell with Ant Possible ??

2007-09-26 Thread Reid Priedhorsky
Adnan Doric wrote: Hello, I would like to try the fcsh in my eclipse 3.2 Flex 2.0.1, but can't figure how to do it or if it is even possible. http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell I already use Flex Ant Task with mxmlc compiler, so I would like to switch to fcsh :)

[flexcoders] Re: Session timeout /SuperImage

2007-09-26 Thread Reid Priedhorsky
Richard Rodseth wrote: My flex app lives within an HTML app. I need to inform the user when the session has timed out, and redirect them to login. I'm interested in strategies for handling session timeout, and I also have a specific question about SuperImage. One of the places the app

[flexcoders] looking for a decent throbber

2007-09-26 Thread Reid Priedhorsky
Dear all, We are looking for a decent throbber to give the user some feedback when our application is loading data or thinking. We have been using jamesjaco's Loading Spinner from the Flex Component Exchange, but it chews up quite a lot of CPU and leaks memory rather badly (several hundred KB

[flexcoders] Re: swap two variables without temporary variable

2007-08-30 Thread Reid Priedhorsky
carlos m wrote: Hey Reid, Don't think there is a built-in function that will do that for you--not that I am aware of anyway--but there is definitely a way of implementing it! Check out this blog post by the awesome guys at polygonal:

[flexcoders] swap two variables without temporary variable

2007-08-29 Thread Reid Priedhorsky
Hi folks, I'm looking for a way to swap two variables without coding the swap manually with a temporary variable. In other words, what I have now is: temp = a; a = b; b = temp; In C, I could write (assuming a properly written swap() function): swap(a, b); In Python, I could

[flexcoders] fcsh wrapper to make fcsh work with make

2007-08-28 Thread Reid Priedhorsky
Hi folks, We have a small Python wrapper which enables fcsh to be used from make (i.e., you can say fsch-wrap at the regular shell prompt rather than compile 1 at the fcsh prompt). It works by creating a daemon process to wrap fsch's input and output. I thought that some of you might find it

[flexcoders] Re: Mouse events in non-drawn areas?

2007-03-09 Thread Reid Priedhorsky
Gordon Smith wrote: To make your component receive mouse events even in its transparent parts, fill those areas using 'graphics' with an alpha of 0. The Flash Player's mouse-detection logic doesn't care whether the pixels are opaque or transparent, it only cares that they have been drawn. Hi

[flexcoders] Re: Drawing in a Scrollable Canvas

2007-03-09 Thread Reid Priedhorsky
mike.cantrell wrote: One small problem still.. Now the lines drawn in the canvas are bleeding into other container. For instance, if I scroll down too far, the lines in the canvas will show in the parent containers (the panel that the canvas belongs to and the application canvas). I am

[flexcoders] Re: width=100% as maximum, not minimum?

2007-02-21 Thread Reid Priedhorsky
Roman Protsiuk wrote: Try mx:GridItem width=100% mx:Label id=route_from width=100% minWidth=0 / /mx:GridItem No dice, unfortunately. :( I was able to achieve a decent workaround with judicious use of autoLayout=false and horizontalScrollPolicy=off -- no more rogue expansion, the truncation

[flexcoders] width=100% as maximum, not minimum?

2007-02-20 Thread Reid Priedhorsky
Hi folks, I have the following MXML snippet: mx:Grid autoLayout=false width=100% verticalGap=0 mx:GridRow width=100% verticalAlign=middle mx:GridItemmx:Label text=From://mx:GridItem mx:GridItem width=100%

[flexcoders] Re: Flex 2 profiler

2007-01-29 Thread Reid Priedhorsky
Matt Chotin wrote: There isn't right now. We are looking to add one into the next major release of Flex. Does that mean Flex 3.0? If so, speaking for myself I'd love one sooner, even if it's imperfect and has to live on Adobe Labs for a while. Reid -- Flexcoders Mailing List FAQ:

[flexcoders] Flex 2 profiler?

2007-01-12 Thread Reid Priedhorsky
Hi guys, Do you have any suggestions on profiling my Flex 2 application? Any tools you like? Thanks, Reid

[flexcoders] verticalAlign=middle doesn't work on mx:GridRow

2007-01-08 Thread Reid Priedhorsky
Hi folks, I have the following code: mx:Grid width=100% mx:GridRow width=100% verticalAlign=middle mx:GridItemmx:Label text=From://mx:GridItem mx:GridItem width=100% mx:TextInput id=rf_from width=100% height=40/

[flexcoders] Mouse events in non-drawn areas?

2007-01-02 Thread Reid Priedhorsky
Hi folks, I have a component which is a subclass of UIComponent. I would like it to receive mouse events (MouseDown, MouseUp, and MouseMove, specifically) even in areas where there are no children and I have not drawn using this.graphics. Is this possible? Do any of you have ideas on how to

[flexcoders] Help with custom button?

2006-12-27 Thread Reid Priedhorsky
Hi folks, I am trying to create a custom button in AS3 using the Flex 2 SDK. It is pretty simple; I just want it to be a wedge shape that I can rotate to point in an arbitrary direction. My code is attached below, but I'm stuck on two issues: 1. Making it behave as regular buttons do in terms