RE: [flexcoders] Re: Slow Memory Leak with PopUpManager and TitleWindow

2007-09-01 Thread Alex Harui
That's a great example of the dangers of weak references. GC is only done when needed so an idle app is in no hurry to kick out dead objects and weak reference listeners may eat cpu time. If you make the app busy enough to force a GC you'll eventually see it get cleared, and no, adding another di

[flexcoders] Multiple Model Locators in Cairngorm

2007-09-01 Thread boybles
Is it possible to have a multiple AppModelLocators in Cairngorm...and if so, how best to implement them? For example, I have several apps in my directory structure: *Component1 -business -commands -control LAppModelLocator.as -model -view -vo *Component2

Re: [flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread R�kos Attila
Or you can use the "is" operator: if (event.currentTarget is CreditCardValidator) { ... } But take care of the fact, that it will return true on compatible types (descendants), too. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Tony Alves <

Re: [flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread R�kos Attila
flash.utils.getQualifiedClassName() Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Tony Alves <[EMAIL PROTECTED]> To: Flex Coders Date:Sunday, September 2, 2007, 12:55:37 AM Subject: [flexcoders] Determine the class of an event current

[flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread Tony Alves
How would I determine the class of an events "currentTarget" ? I want to do something like: switch (event.currentTarget) { case CreditCardValidator: break; case StringValidator: break; } Does not work, but explains what I am looking for. Anyone? Tony

[flexcoders] Determine the class of an event currentTarget

2007-09-01 Thread Tony Alves
How would I determine the class of an events "currentTarget" ? I want to do something like: switch (event.currentTarget) { case CreditCardValidator: break; case StringValidator: break; } Does not work, but explains what I am looking for. Anyone? Tony

[flexcoders] Setters/Getters only work in debug mode

2007-09-01 Thread Sherif Abdou
so i just wanted to know if this is a bug or not, but none of my data shows up unless i use the debug mode. i use getters/setters so i have no idea what the problem could be. i am using flex moxie(3)

Re: [flexcoders] String syntax question

2007-09-01 Thread Sherif Abdou
if i understand this, try setting ur locateString to an empty one or just a new instance of the string class - Original Message From: candysmate <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Saturday, September 1, 2007 12:09:31 PM Subject: [flexcoders] String syntax question

Re: [flexcoders] Re: Skin sources?

2007-09-01 Thread John Barrett
Can I ask are these skins mostly CSS? I am a newbie in flex, but I am really liking these skins, very cool stuff! I saw fillcolors.com from asfusion, and am going to try to create a cool skin of my own. I just thought that I would ask. Thanks, John - Original Message From: scalenine <[

RE: [flexcoders] need some help with filter and returning data

2007-09-01 Thread Gordon Smith
You could write if (startDate < minDate && endDate < minDate || startDate > maxDate && endDate > maxDate) return false; else return true; or return !(startDate < minDate && endDate < minDate || startDate > maxDate && endDate > maxDate) Or you could applyDe Morgan

[flexcoders] Re: callLater() question

2007-09-01 Thread ben.clinkinbeard
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1438.html --- In flexcoders@yahoogroups.com, "candysmate" <[EMAIL PROTECTED]> wrote: > > If I use callLater(myfunction()); Flex complains. > callLater(myfunction); works OK. > > So, if I w

[flexcoders] callLater() question

2007-09-01 Thread candysmate
If I use callLater(myfunction()); Flex complains. callLater(myfunction); works OK. So, if I wish to use callLater() with a function which requires parameters to be passed to it, what is the correct syntax please? best, Graham

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Re: [flexcoders] Re: String syntax question Graham, Nice. I see how the timing issue came into play now! Stupid little gotchas, I hate them. Nice to be able to bounce stuff off of people here on flexcoders to get the right neurons firing. It sure is Tony. I'm every grateful, as a Flex newbie, t

RE: [flexcoders] How to diplay a ticker with Labels

2007-09-01 Thread Alex Harui
Can you draw a picture of what you want? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Friday, August 31, 2007 11:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to diplay a ticker with Labels Hi,

RE: [flexcoders] Re: FlexMouseEvent stop propagation

2007-09-01 Thread Alex Harui
You sure you don't want a modal dialog? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Saturday, September 01, 2007 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlexMouseEvent stop propagation

RE: [flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-09-01 Thread Alex Harui
Yeah, Tree doesn't like having styles set on it during a scroll, especially from a renderer. You might actually be setting up an infinite invalidation loop. You're welcome to file a bug so we can make it less sensitive, and maybe we should make it easier to override the logic for icons. Also,

[flexcoders] Re: FlexMouseEvent stop propagation

2007-09-01 Thread ben.clinkinbeard
I would try listening for the click event also and use event.stopImmediatePropagation(). HTH, Ben --- In flexcoders@yahoogroups.com, "Patrick Driggett" <[EMAIL PROTECTED]> wrote: > > I am listening for FlexMouseEvent.MOUSE_DOWN_OUTSIDE so that I can > close a dialog when I click outside of it.

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Re: [flexcoders] String syntax question Hello Graham, locateString has not been set to a value. By default it is null and the string conversion translates that to "null". Did you want it to be an empty String? public var locateString:String=""; Regards, Tony Sorry Tony, I should have said that

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Hey Ralf, you were right. It is a timing problem. I just tried callLater(nominalLocateRequest); and it worked fine. Must be to do with the layers working together in the Janus exe wrapper. Many thanks for the tip. cheers, Graham PS How do you use callLater with a function which requires arugem

Re: [flexcoders] Re: String syntax question

2007-09-01 Thread Ralf Bokelberg
How are you calling the method? Any chance you are calling it before the variable is set? Cheers, Ralf. On 9/1/07, candysmate <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com , "Ralf > Bokelberg" > <[EMAIL PROTECTED]> wrote: > > > > The syntax looks ok. I guess it is either a tim

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > The syntax looks ok. I guess it is either a timing problem > (the locateString is not set, when you try to build your SQL) > or a scope problem (locateString is hidden by a local variable > of the same name) > > May

Re: [flexcoders] String syntax question

2007-09-01 Thread Ralf Bokelberg
The syntax looks ok. I guess it is either a timing problem (the locateString is not set, when you try to build your SQL) or a scope problem (locateString is hidden by a local variable of the same name) Maybe you can show us more of the context? Cheers, Ralf. On 9/1/07, candysmate <[EMAIL PROTECT

[flexcoders] Re: image embed and scaling question

2007-09-01 Thread Tony
I handled it this way: http://www.adobe.com/2006/mxml"; layout="vertical"> --- In flexcoders@yahoogroups.com, grimmwerks <[EMAIL PROTECTED]> wrote: > > I've got an image that I want to have across the top - right now it's > about 800x80; i'd like this to

Re: [flexcoders]how to addChild() above a programmatic skin Solved

2007-09-01 Thread dorkie dork from dorktown
Solved Since you all wanted to know, when I was using addChild to the Title Window the image would be added in the "content" area, which does not include the border or skin. So, in my image I added the property includeInLayout="false" and I could position the image wherever I wanted on the TitleWi

[flexcoders] String syntax question

2007-09-01 Thread candysmate
I must be going (more) nuts, because I cannot figure out why my Bindable public var: [Bindable] public var locateString:String; which gives the correct value to: gives: SELECT * from nominal WHERE (account = 'null') when I build a string with: var sql:String = "SELECT * FROM nominal WHERE

[flexcoders] Re: Passing data between components

2007-09-01 Thread Tony
Have you seen my examples here? http://blog.3alves.com/2007/08/accessing-values-across-components-in.html Simplified examples, but might give you an idea of a couple of ways to do it. Tony --- In flexcoders@yahoogroups.com, "nextadvantage" <[EMAIL PROTECTED]> wrote: > > Hi All; > > I am a front

Re: [flexcoders] Does anyone know what the cause of this problem is

2007-09-01 Thread Tony Alves
If using Flex Builder: ctrl-shift-F search the whole workspace for "_accountID". Sherif Abdou wrote: > Data binding will not be able to detect assignments to "_accountID". > > Data binding will not be able to detect assignments to > "_accountID".SalesBuilder/managersWebServiceManager.mxml

Re: [flexcoders] need some help with filter and returning data

2007-09-01 Thread Ralf Bokelberg
No need to change the original expression. You can return ! (what ever complicated expression you want here) instead. Cheers, Ralf. On 9/1/07, Mark <[EMAIL PROTECTED]> wrote: > > Im using the filterFunction to filter my arrayColletion but I can't > seem to get past what I need. Instead of return

[flexcoders] Telnet Client

2007-09-01 Thread python_programmer
Hi everyone, I am considering using Flex for the client side of a project I am working on (I have the server side already written, and it is accessible using standard telnet). I mainly want a prettier UI for this. I tried to use the info at: http://livedocs.adobe.com/flex/201/html/wwhelp/ww

Re: [flexcoders] Re: How to get the previously selected item in ComboBox on change?

2007-09-01 Thread Sherif Abdou
why dont u do something like create a custom combo box, override the method then just add the previous click to an array and once you have that just search for the index before it or something along those lines - Original Message From: williamkusumo <[EMAIL PROTECTED]> To: flexcoders@ya

[flexcoders] as3mathlib -- AS3 update of the WIS Math libraries

2007-09-01 Thread Philip Kromer
I've just imported the WIS mathematics library -- an excellent collection of mathematics routines -- onto Google Code: http://code.google.com/p/as3mathlib/ (You'll find the Actionscript 2 version of the library at its original site http://members.shaw.ca/flashprogramming/wisASLibrary/wis/index.

[flexcoders] FlexMouseEvent stop propagation

2007-09-01 Thread Patrick Driggett
I am listening for FlexMouseEvent.MOUSE_DOWN_OUTSIDE so that I can close a dialog when I click outside of it. This works perfectly, however, this also fires a mouse click event after that so the component that happens to be underneath the click handles a mouse click. However, I don't want this to

[flexcoders] solved - Re: flex sending corrupt SOAP request

2007-09-01 Thread awilber
This behavior (empty SOAP request sent to server) stemmed somehow from my wsdl file. I'm uncertain what the specific problem was, but when I rebuilt the wsdl from scratch using a different model, the SOAP request from Flex was properly formed. --- In flexcoders@yahoogroups.com, "awilber" <[EMAIL P

[flexcoders] Flex Builder & Mac OS X

2007-09-01 Thread John Barrett
Hi, I just downloaded flex builder from adobe labs (moxie). During the download (all standard, using the build in version, not the plug in) It seems that the file "mm.cfg" installed in my home directory(Users/My account/mm.cfg),and the rest installed in /users/my account/Applications/Flex Build

[flexcoders] need some help with filter and returning data

2007-09-01 Thread Mark
Im using the filterFunction to filter my arrayColletion but I can't seem to get past what I need. Instead of returning what is true I need to return what is not. So in other words I need the return to read something more like (in plain english): DO NOT RETURN - If "startDate" AND "end Date"

[flexcoders] Re: WEBORB config for remote hosting

2007-09-01 Thread candysmate
--- In flexcoders@yahoogroups.com, Montse <[EMAIL PROTECTED]> wrote: > > > Hi. > > I've no server in mi PC. > I'm developing my first test app with WEBORB PHP. > I've extracted the WEBORB distribution zip in a folder in my server (remote > hosting = Hostgo) > The getting started guide in the cons

[flexcoders] Re: Flex Java Developers

2007-09-01 Thread Matt
Good question. Honestly there are going to be certain limitations, but I've done the best I can to minimize that or at least provide work-arounds for those scenarios where possible. You can technically create your own Flex-specific features, but that sort of breaks the paradigm of jSeamless being

[flexcoders] Re: Charts: LabeledRenderer across a BarSet

2007-09-01 Thread barry.beattie
many thanx for your reply, Brendan I think there's something *funny* going on with it, however. this actually has no effect on the fill colours: private static const fills:Array = [0xFF,0x00FF00,0xFF,0x7A7A7A,0xFF,0xAAFFAA,0xFF]; I thought this was overriding the defau

[flexcoders] WEBORB config for remote hosting

2007-09-01 Thread Montse
Hi. I've no server in mi PC. I'm developing my first test app with WEBORB PHP. I've extracted the WEBORB distribution zip in a folder in my server (remote hosting = Hostgo) The getting started guide in the console shows how to set URLs and folders in a "localhost" system, but mine is not localhos

[flexcoders] Re: Skin sources?

2007-09-01 Thread candysmate
--- In flexcoders@yahoogroups.com, "scalenine" <[EMAIL PROTECTED]> wrote: > > Also check out: > > http://fleksray.org/Flex_skin.html > > http://www.fillcolors.com > > http://bkflex.blogspot.com/ - Bhavin has some skins on there. > > Also, you can do a search on Adobe Exchange in the Flex sectio