RE: [flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?

2006-09-15 Thread Pekka Kola
Hi! Unfortunately it will invalidate the display list. I just got into same troubles few days ago. A workaround was to create labels and do addChild in the set data method, which in my case was fortunately possible to do. BR, Pekka From: flexcoders@yahoogroups.com

[flexcoders] Current Time

2006-09-15 Thread KP
Hi All, Is there any way to show current time in below format? Thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] idiotic flex fires 2 event handlers for buttons of a substate !!!

2006-09-15 Thread JClouz
Say I have Button 1 in my base state with click handler = "doJob1()" If I make a new state "state 2" based on the base state, and change Button 1's click handler property to "doJob2()"... all is well. Now I make a new state, "state 3" based on "state 2". I change Button 1's click

[flexcoders] weakreference??

2006-09-15 Thread Aldo Bucchi
hi all, I am trying to implement indexes over collections of objects that have a relatively short lifetime... is there any way to weakly reference them in as3 to hint the garbage collector?? thx, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ:

Re: [flexcoders] idiotic flex fires 2 event handlers for buttons of a substate !!!

2006-09-15 Thread Ralf Bokelberg
Maybe you can replace the whole button instead of just the handler. Or you use one handler and inside it you ask for the current state to select the appropriate action. Cheers,Ralf. On 9/15/06, JClouz [EMAIL PROTECTED] wrote: Say I have Button 1 in my base state with click handler =

Re: [flexcoders] Problems debugging

2006-09-15 Thread Angus Johnson
You could always delete the project without! deleting the files and then recreating the project. It's worked for me. It's not uncommon for me to have to restart FB (the plugin version) several times a day.Also double check the .actionScriptProperties file. If you've moved an application then FB

Re: [flexcoders] weakreference??

2006-09-15 Thread Ralf Bokelberg
Take a look at flash.util.Dictionary Cheers, Ralf. On 9/15/06, Aldo Bucchi [EMAIL PROTECTED] wrote: hi all, I am trying to implement indexes over collections of objects that have a relatively short lifetime... is there any way to weakly reference them in as3 to hint the garbage collector??

Re: [flexcoders] weakreference??

2006-09-15 Thread Aldo Bucchi
Hi Ralf, Yeah, that is useful for some cases... but this one is kind of the other way around... I need something in the lines of: allPeople:Array; // holds all people nicePeople:WeakReferenceDict; // an index that is built once and then queried many many times uglyPeople:WeakReferenceDict;//

Re: [flexcoders] Flex - Database

2006-09-15 Thread Tom Chiverton
On Thursday 14 September 2006 16:02, Tracy Spratt wrote: If this functionality is the same as the SQLXML functionality I played with a year or so ago, SQL Server provides an url against which you can make SQL queries. Handy, but you really shouldn't be using it. The temptation then will be to

Re: [flexcoders] Selection Of FLEX + Cairngorm For a Large Enterprise Project

2006-09-15 Thread Tom Chiverton
On Wednesday 13 September 2006 16:14, AJIT DIXIT wrote: a) Security and Safety Against moderat level of threats from normal people, it's fine. You can run the remote calls over SSL, and obviously password protect things. b) Can Flex be used for very high volume site Sure. Just like any other

Re: [flexcoders] Flex - Database

2006-09-15 Thread Paul Andrews
That's true, but there would be nothing to stop anyone building a data access layer using actionscript that was separate to the view logic. Currently the view logic will use FDS, or a web service/whatever to get the data for the view, there's no logical reason why the fuctionality that typically

RE: [flexcoders] Selection Of FLEX + Cairngorm For a Large Enterprise Project

2006-09-15 Thread Steven Webster
Just wanted to add a little to this... On Wednesday 13 September 2006 16:14, AJIT DIXIT wrote: a) Security and Safety Against moderat level of threats from normal people, it's fine. You can run the remote calls over SSL, and obviously password protect things. For security, you want to

Re: [flexcoders] lots of different operation in the same web service

2006-09-15 Thread Tom Chiverton
On Thursday 14 September 2006 02:26, Diego Guebel wrote: Have a big delegate class with more than 40 different methods? That's the most obvious, assuming these 40 things are all to do with one object type, other wise... group them with some criteria and have 5 little small delegate classes?

Re: [flexcoders] Flex - Database

2006-09-15 Thread Paul Andrews
Ah, OK now we're talking about the security of a Flex/Flash app, and I take your point. Is that always an issue on an intranet? perhaps not. I guess that security is always going to force the layer split on the internet (so you might as well do it anyway for the intranet). I've spent too much

[flexcoders] Resizing Panel based on text are in client

2006-09-15 Thread richmcgillicuddy
I have a panel with a text area inside of the panel. The text is changing in the text area. I want to resize the height of the panel to accommodate the size of the text inside of the text area automatically up to a largest height and then modify the text area font to 'autofit' the text inside the

Re: [flexcoders] Hierarchical Cairngorming!????

2006-09-15 Thread Angus Johnson
I'm quite interested in this topic as well. I have multiple cairngorm sub applications developed as encapsulated modules which are loaded at runtime by a shell. At the moment I am shuttling events between the shell and the child app's through some interface objects. In a child app I have a

[flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?

2006-09-15 Thread Mark
Hi Eli -- 1) The number of series is dynamic but for testing purposes I'm working with 384 series and 6 categories. 2) Forgive my ignorance, but I'm not sure what the difference between speed and performance is. Originally I was adding an invisible label to each series and then only showing

[flexcoders] Re: Posting data with HTTPService....Please help!

2006-09-15 Thread mthielman11
here is our main saving block of code. There are some other things done to o the binding, but this does the post. // prepare the request parameters var request:URLRequest = new URLRequest();

[flexcoders] How to display XML object in DataGrid

2006-09-15 Thread sathish_nayak_b
In my Application i want to read XML file dinamically and display the contents in Datagrid . i used Following Code. function loadXmlFile():void{ var request:URLRequest = new URLRequest(temp.xml); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,

[flexcoders] Using Remote Object

2006-09-15 Thread Madhuri Chamarty
hi,I want to use the Remote Object for sending and receiving data. I'm using java jdbc connectivity for that purpose of connecting to the DB. I have placed my class files into the C:\fds2\jrun4\servers\default\flex\WEB-INF\classes folder .I want to know how i can use Remote Object for

[flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?

2006-09-15 Thread Mark
Thanks Pekka -- Yeah, I'm trying to find a more efficient way to do it. As far as I know the AreaSeries class doesn't have a setData method. To avoid the circular reference I put a boolean in the updateDisplayList to avoid adding/positioning labels after the first time. mark --- In

[flexcoders] Re: Sample project for CRUD type application

2006-09-15 Thread gordofeatherfoot
Hi Anatole, I have tried the DAOFlex but can't seem to get it working. I have used the build.xml from the example application and have run it but I get the following error after the employee and manager classes are built : BUILD FAILED C:\Documents and

[flexcoders] Adobe SystemManager example

2006-09-15 Thread Steve Gilchrist
Hi, Just checking out the adobe systemmanager example (link) and there appears to be an error in the code as below. I get a 'local' is an undefined property in the compiler. If I remove local and just have loadedSM.application it then complains about setVarOne not being defined (it's a method

Re: [flexcoders] Current Time

2006-09-15 Thread Paul Andrews
In case you need to get the time and format it too.. mx:Style @font-face{ src:url("seven_segment.ttf"); fontFamily: sevenSegment; } /mx:Style mx:DateFormatter id="hrsMins" formatString="HH:MM" /mx:Script![CDATA[var timeNow:Date = new Date();]]/mx:Scriptmx:Label

Re: [flexcoders] Flex - Database

2006-09-15 Thread Tom Chiverton
On Friday 15 September 2006 12:49, Paul Andrews wrote: I've spent too much time on intranet applications, forgetting about those devious sorts out there.. Heh, me too :-) Nice to pop back to the big bad world sometimes though - the majority of security breeches come from people inside the

[flexcoders] Re: Rotatation works with Label but not Button

2006-09-15 Thread fsawitzki
--- In flexcoders@yahoogroups.com, Steve Gustafson [EMAIL PROTECTED] wrote: In the following code sample, the mx:Label rotates exactly as it should, the text displays vertically. However in the mx:Button, the button rotates but the text disappears. I have not found any work-arounds for

[flexcoders] Remote Object....and Data Base Connectivity

2006-09-15 Thread Madhuri Chamarty
hi,I want to use the Remote Object for sending and receiving data. I'm using java jdbc connectivity for that purpose of connecting to the DB. I have placed my class files into the C:\fds2\jrun4\servers\default\flex\WEB-INF\classes folder .I want to know how i can use Remote Object for

[flexcoders] stumped again: drag but can't always drop

2006-09-15 Thread Paul Hastings
i'm trying to make use of the drag and drop quick start (btw those things are freaking awesome, hats off to aral balkan adobe for creating them) to drag (pan) an image and drop it either back on itself or in the canvas surrounding it. i'm not really interested in actually moving the image, just

[flexcoders] Re: Panel Windows Title Icon

2006-09-15 Thread mthielman11
One question I have had is, is it possible to put a button bar or something of that nature in the title bar area? It would be nice to use that space for a series of icon buttons or something. --- In flexcoders@yahoogroups.com, jgraham_us [EMAIL PROTECTED] wrote: You can also extend the

Re: [flexcoders] Flex - Database

2006-09-15 Thread Tom Chiverton
Nothing the client does (or asks to be performed) should be trusted, which is why business layers live on servers. Oh, collery: Using FDS data-sync is a bad idea from this point of view, as it allows the app very fine grained access (i.e. at the level of tables) as opposed to a high level

Re: [flexcoders] Problems debugging

2006-09-15 Thread Tom Chiverton
On Thursday 14 September 2006 20:25, joshuajnoble wrote: useful. Anyone have any advice or resources? Maybe the compiler is finding an error - anything in the problems tab ? -- Tom Chiverton Helping to biannually differentiate cross-media niches

Re: [flexcoders] Re: Panel Windows Title Icon

2006-09-15 Thread Tom Chiverton
On Friday 15 September 2006 14:11, mthielman11 wrote: One question I have had is, is it possible to put a button bar or something of that nature in the title bar area? It Yeah. Once you've extended the panel, you have access to it's draw and layout methods. -- Tom Chiverton Helping to

[flexcoders] Re: Remote Object....and Data Base Connectivity

2006-09-15 Thread dreuimar
You need to make a destination for it in remoting-config.xml e.g.: destination id=ClassName properties sourcecom.domain.ClassName/source scopeapplication/scope /properties /destination (file would be in:

[flexcoders] Huge memory usage in Flex Builder 2 (release version)

2006-09-15 Thread RBullotta
In a not-so-big Flex application, I'm noticing that FB is often consuming 500MB+ of RAM. Seems something is amiss... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Re: Installation recommendations

2006-09-15 Thread Tom Chiverton
On Thursday 14 September 2006 16:46, carl_steinhilber wrote: I asked this question about a week ago, and didn't get any sort of response. integrated JRUN. That part works fine. But I'd like to deploy FDS directly into the JRUN that was installed with ColdFusion, rather AFAIK Adobe redrew

Re: [flexcoders] Huge memory usage in Flex Builder 2 (release version)

2006-09-15 Thread Dave Carabetta
On 9/15/06, RBullotta [EMAIL PROTECTED] wrote: In a not-so-big Flex application, I'm noticing that FB is often consuming 500MB+ of RAM. Seems something is amiss... Yeah, Flex Builder's a huge memory hog. Have you tried this cheap trick?

RE: [flexcoders] Huge memory usage in Flex Builder 2 (release version)

2006-09-15 Thread Benoit Hediard
No, when your app start to grows, FB requires a lot of RAM for compilation. For our app, I had to add 1Go of RAM (total 2Go) on my dev machine, otherwise I had to close FB every 2 or 3 compilations... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] ChangeWatcher inside Cairngorm ModelLocator

2006-09-15 Thread Darren Houle
I'm building a Cairngorm app and trying to use a ChangeWatcher in the ModelLocator, but I can't seem to get it to work. In the ModelLocator, I create a few vars like normal, and then in the Constructor I call initDefaults() that inits all the app vars (handy for when the user logs out and then

[flexcoders] Re: Huge memory usage in Flex Builder 2 (release version)

2006-09-15 Thread Renaun Erickson
This is typical of Java applications that are constantly consuming new chunks of memory. As the mxmlc compiler is constantly allocating new memory and using it, the total allocated memory goes up. You can try using different JVM's as the Java HotSpot has some improvements with certian

[flexcoders] More WebService Examples?

2006-09-15 Thread Steve Kellogg @ Project SOC
Hello, Does anyone have any more examples of webservices in Flex that they can point me to? The only ones I see in the Flex docs are very simple, and there arent any that seem to exercise all of the available features. Thanks in advance, Steve Steve Kellogg Peak8

[flexcoders] Context Menu and Cross Domains

2006-09-15 Thread christophevond
I was reading an article on Adobe's site (mostly about flash) that said it was possible to get rid of some of the right click options like settings option. Is this true or did I miss read the article? -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Programmatic Skinning bug in Flex?

2006-09-15 Thread Chris Simeone
That was it. I was able to put the borderStyle attribute back in and now the borders are drawing. Good job rvollmar!! Thanks to both you and your freind. Chris --- In flexcoders@yahoogroups.com, rvollmar_adobe [EMAIL PROTECTED] wrote: Hi, I had a friend look this over and he found what was

RE: [flexcoders] Current Time

2006-09-15 Thread Tracy Spratt
We did it using images. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KP Sent: Friday, September 15, 2006 3:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Current Time Hi All, Is there any way to show current

Re: [flexcoders] Huge memory usage in Flex Builder 2 (release version)

2006-09-15 Thread Tom Chiverton
On Friday 15 September 2006 14:36, RBullotta wrote: In a not-so-big Flex application, I'm noticing that FB is often consuming 500MB+ of RAM. Where are you looking for this ? Windows task manager (which doesn't show you the amount used) ? -- Tom Chiverton Helping to dynamically extend

RE: [flexcoders] Flex - Database

2006-09-15 Thread Tracy Spratt
I really agree, but you will notice that soon after getting some HelloWorld.mxml level applications working, many beginners want to start using dynamic data. And now that Flex pricing has opened up it to any size project or company, many beginners do not come from an enterprise background and

Re: [flexcoders] Re: Panel Windows Title Icon

2006-09-15 Thread Jeff Tapper
Absolutely. If you look at the Panel subclass code from my blog that I mentioned in my previous post, you can see how i'm doing it for a number of projects. , At 09:11 AM 9/15/2006, mthielman11 wrote: One question I have had is, is it possible to put a button bar or something of that nature

RE: [flexcoders] Flex - Database

2006-09-15 Thread Ted Patrick
Greg, I have been playing with a custom MYSQL Class for AS3 based on Socket. It uses flash.net.Socket to connect directly to a database natively and exchange data. flash.net.Socket is an intrinsic class within the Flash Player 9 and provides a true Binary TCP/IP Socket. TCP/IP

RE: [flexcoders] Introducing FZip... ZIP it up!

2006-09-15 Thread Ted Patrick
WAY TO GO CLAUS! WAY TO GO MAX! Just Beautiful, Flash supports ZIP natively now! Ted Patrick Flex Evangelist Adobe Systems Incorporated -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claus Wahlers Sent: Friday, September 15, 2006 1:08 AM To:

[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-15 Thread Yasovardhan Babu
Hi Even I'm facing the same issue. I'm trying to access a .net web service from flex. When both are in the same server, flex is able to access. (http://localhost..works) But if try to access the webservice using the machine name, then nothing happens. Can you tell how I should configure

RE: [flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?

2006-09-15 Thread Ely Greenfield
typo...I meant speed and memory. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarkSent: Friday, September 15, 2006 5:50 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?

Re: [flexcoders] Re: adding control bar to panel programitically

2006-09-15 Thread aaron smith
hey thanks man. works as expected now. That does make sense that the order of adding children matters.. thanksAaronSmithOn 9/14/06, gustavo.saume [EMAIL PROTECTED] wrote: Hello aaron, i had the same problem recently... you just have to change the order of

[flexcoders] Re: idiotic flex fires 2 event handlers for buttons of a substate !!!

2006-09-15 Thread jpc14_99
Maybe you can replace the whole button instead of just the handler. That's what I ended up doing after my timely debugging and it works fine. I was just frustrated because you can switch a handle from the base state just fine, so I saw no reason why you couldn't do likewise to another

Re: [flexcoders] More WebService Examples?

2006-09-15 Thread Sam Shrefler
Steve: What exactly are you looking for? Also, what backend are you using? Sam On 9/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, Does anyone have any more examples of webservices in Flex that they can point me to? The only ones I see in the Flex docs are very

Re: [flexcoders] Introducing FZip... ZIP it up!

2006-09-15 Thread Rogerio Gonzalez
Very very nice!!! Thank you guys! Rogerio On 9/15/06, Claus Wahlers [EMAIL PROTECTED] wrote: Did you ever write an image gallery or a game in Flash? Did it bother you to write rather complicated load queues to load lots of small files such as image thumbnails or game assets like tiles?

RE: [flexcoders] ChangeWatcher inside Cairngorm ModelLocator

2006-09-15 Thread Darren Houle
Okay, so I think I see that you can't use a ChangeWatcher to simply watch for a change to an ArrayCollection, you use a ChangeWatcher to watch a binding, so... I use BindingUtils to create a binding between the ArrayCollection source property and a ModelLocator dummy property. Then I create a

[flexcoders] Re: Rotating html text

2006-09-15 Thread jeremyrichman
AHA!! I found it! And it looks like there's a bug in Flex (see below). It turns out that I _can_ set rotation+=90 and get a Text box to be displayed sideways, even using the htmlText, even with more than one font used in the html text (of course all the fonts have to be embedded). To do

[flexcoders] Re: Flex - Database

2006-09-15 Thread jason_williams_mm
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Oh, collery: Using FDS data-sync is a bad idea from this point of view, as it allows the app very fine grained access (i.e. at the level of tables) as opposed to a high level business process (create a user with these

[flexcoders] Re: Posting data with HTTPService....Please help!

2006-09-15 Thread btkracker
I found another post on this site that mentioned Flex's internal POST / GET logic. After some testing, I discovered that, even though I specify POST, Flex thinks it knows better. I checked the request on the web server and, sure enough, it sends the request as a GET!! To be blunt, this

[flexcoders] Re: How do I invoke debug version of a flex app from web browser URL

2006-09-15 Thread hank williams
Someone must know the answer to this! On 9/14/06, hank williams [EMAIL PROTECTED] wrote: I need to be able to invoke the debug version of my flex app from the browser URL bar. If I take the URL that the debug app is at, and instead of running via the eclipse run debug version button, I paste

[flexcoders] Cairngorm 2 - Strange ComboBox behavior

2006-09-15 Thread jakana1566
I have a cairngorm 2 application with a custom view that represents an order_item with various properties. My ModelLocator uses an array of value objects (of type order_item_vo) and then the application has a series of order_item_view objects in the UI. Everything works very well, *except*

[flexcoders] Edit in Datagrid

2006-09-15 Thread Louie Penaflor
Hi, I have a datagrid thats editable, but after update I cant seem to retrive all of the values in the entire row. Does anyone have any examples? Thanks. Louie __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Re: Multiple XML loads?

2006-09-15 Thread Jamie O
God @(#$ do I not so much enjoy being at the bottom of a learning curve. I can't fathom why putting the .send() into a function which is called when my button is pushed didn't occur to me but, well, it didn't. Thank you Tracy! The second piece that I am now probably doing something very stupid

[flexcoders] SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread lostinrecursion
Hi all, The destination is Flex and although my question is a little Backend oriented, I assume that many developers have faced this. I have a VO in my application called Lenders. Each Lender has x number of Locations (a collection of VOs represented by an ArrayCollection called

[flexcoders] Re: Error with Flex Builder

2006-09-15 Thread khspambucket
--- In flexcoders@yahoogroups.com, paromitadey [EMAIL PROTECTED] wrote: Hello All, I am getting a strange error while working on the Flex Builder 2.0. It displays a dialog box with the following text - JVM Terminated. Exit code=1 C:\Program Files\Adobe\Flex Builder

RE: [flexcoders] How to display XML object in DataGrid

2006-09-15 Thread Deepa Subramaniam
Your DataGridColumns need to specify a dataField property to determine which field in the XML object to display as the text for that cell. If you need to customize the text beyond just pulling out a field from the XML, you can use a labelFunction to do so. I believe the ASDoc example

[flexcoders] modularizing code

2006-09-15 Thread hank williams
I am trying to figure out how to make a source code library of MXML code that is available to multiple projects. It seems to me this involves creating a directory that is outside any project folder, but I am not clear how to reference these files. Currently I have defined a namespace for all of my

[flexcoders] Re: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread lostinrecursion
Thanks for the hint. Could you possibly just give me a simple example of a FOR XML AUTO Query? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Sure, that just looks like a couple joins. I don't do enough SQL to spit out any code but that requirement wouldn't worry me.

[flexcoders] Re: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread Tim Hoff
Hi, XMLEXPLICIT queries tend to get very complicated. But, here is the basic T-SQL that you're looking for. -TH SELECT 1 as Tag, NULL as Parent, L.LenderID as [Lender!1!lenderID], L.LenderName as [Lender!1!lenderName], NULL as [Location!2!locationID], NULL as [Location!2!locationName], NULL as

[flexcoders] Re: Installation recommendations

2006-09-15 Thread carl_steinhilber
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 14 September 2006 16:46, carl_steinhilber wrote: But I'd like to deploy FDS directly into the JRUN that was installed with ColdFusion, rather AFAIK Adobe redrew the technote on this and said it

Re: [flexcoders] modularizing code

2006-09-15 Thread Daniel Wabyick
I would recommend making a Flex library project. You put all of your common code there, and then you can create a SWC for compilation with other projects, or else you can just have other projects' classpaths reference your library project directly. The latter seems to result in a bit faster

[flexcoders] Re: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread Tim Hoff
Or, you could do it this way: SELECT Lenders.LenderID, Lenders.LenderName,Locations.LocationID, Locations.LocationName,Contacts.ContactID, Contacts.ContactNameFROM Lenders, Locations, ContactsWHERE Lenders.LenderID = Locations.LenderIDAND Locations.LocationID = Contacts.LocationIDFOR XML AUTO

[flexcoders] Re: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread lostinrecursion
I managed to get EXACTLY what I wanted out of FOR XML AUTO in SQL Server. I literally could not have asked for a better way. Now I'll just return the XML and in Flex reference it as ArrayCollection and boom. Done. Thanks so much to everyone who helped. Flexcoders strikes again! :) -Kenny

Re: [flexcoders] Re: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread Paul Hastings
On 9/16/06, Tim Hoff [EMAIL PROTECTED] wrote: Or, you could do it this way: SELECT Lenders.LenderID, Lenders.LenderName, Locations.LocationID, Locations.LocationName, Contacts.ContactID, Contacts.ContactName FROM Lenders, Locations, Contacts WHERE Lenders.LenderID = Locations.LenderID AND

RE: [flexcoders] ChangeWatcher inside Cairngorm ModelLocator

2006-09-15 Thread Darren Houle
Okay, that's downright annoying. I got it to work by doing the opposite of what the documentation says to do. I'm not binding to property to property, I'm binding object to object... public var qAcctVO : ArrayCollection; public var qDummy : Array; public var qBinding : ChangeWatcher; public

[flexcoders] getDefinitionByName

2006-09-15 Thread Daniel Freiman
I've been using getDefinitionByName to load classes dynamically, however if the class hasn't been previously instantiated it gives meReferenceError: Error #1065: Variable classname is not defined.Is there any way to fix this other than instantiating every class I might want to use with

RE: [flexcoders] Re: Installation recommendations

2006-09-15 Thread João Fernandes
Carl, After Adobe removed the technote we started to use what they recommended, cf and fds instances separately. The technote talked about deploying FDS CF merged like CF+Flex 1.5. You can deploy it in the same JRUN as CF, no need to use FDS with integrated JRun. To

[flexcoders] Re: Problems debugging

2006-09-15 Thread joshuajnoble
Thanks for the advice. The problem was in the actionscript prop file. I knew I was in for trouble by running Eclipse 3.2, but it seems like this one is just a bad setting in actionscript prop. Thanks! --- In flexcoders@yahoogroups.com, Angus Johnson [EMAIL PROTECTED] wrote: You could always

[flexcoders] datagrid column combobox inline itemrenderer dataprovider

2006-09-15 Thread Impudent1
I know this has been beaten to death but I have not been able to get anything working here :( In the script section of my code I have: // create our file Status array, this is hardcoded here but should grab from the database public var file_statuslist:Array = [Active, Inactive, Pending

[flexcoders] Re: datagrid column combobox inline itemrenderer dataprovider

2006-09-15 Thread Tim Hoff
Two things: 1. You are trying to bind the ArrayCollection, but you didn't instantiate it with the Array as the source. Note: you can just use an Array as the dataProvider for a ComboBox.The codeshould be: [Bindable]public var file_status:ArrayCollection = new ArrayCollection(file_statuslist);

[flexcoders] Introducing FZip... ZIP it up!

2006-09-15 Thread Claus Wahlers
Did you ever write an image gallery or a game in Flash? Did it bother you to write rather complicated load queues to load lots of small files such as image thumbnails or game assets like tiles? Are you working with big text files and need a reliable way to compress/uncompress them to save

[flexcoders] Flex2, ActionScript3, Cairngorm Flash9

2006-09-15 Thread comfederation
I have yet to get into all of this, beyond some basic point and clicking within FlexBuilder. So, I would be greatful if someone could please summarize the interaction between the various compoments in my subject line. From what I have read, I am under an impression that the Flex2 part basically

[flexcoders] Setting Transitions Programatically

2006-09-15 Thread Raheen M Shabbazz
Hello All, I've run into some difficulty setting transitions programatically as described in my post at the ActionScript.org forum :: http://www.actionscript.org/forums/showthread.php3?t=117061 (NOTE -- since Yahoo Groups doesn't display the code very well, I figured it best to include the link

[flexcoders] Posting patched versions of framework code to this list?

2006-09-15 Thread Louis Ryan
I have modified the DataGrid class to allow columns to be locked on the right. I posted this as an enhancement request to Adobe but its not so easy to include alot of text in their suggestion area so I didnt include the sample code I had for this. Is it OK to post modified versions of the Flex

[flexcoders] match 2 field values validator

2006-09-15 Thread Steve Gilchrist
Is there a pre-existing validator for checking that two fields match eg., password and confirmPassword form fields?I would prefer not to have an alert popup but the check done in a consistent way with some other validators. Anyone built one of these already? ThanksSteve __._,_.___ --

[flexcoders] Flex2, ActionScript3, Cairngorm Flash9

2006-09-15 Thread comfederation
I have yet to get into all of this, beyond some basic point and clicking within FlexBuilder. So, I would be greatful if someone could please summarize the interaction between the various compoments in my subject line. From what I have read, I am under an impression that the Flex2 part basically

[flexcoders] ToolTip Timers

2006-09-15 Thread josiah_kirby
I'm building a custom tooltip (implements IToolTip) which will have components in it. Once the tooltip is shown I want to keep it shown until I trigger an event to hide it. I have created a listener on the component for the tooltipHide to keep it from hiding with no luck. Anyone know how keep a

[flexcoders] Re: How do I invoke debug version of a flex app from web browser URL

2006-09-15 Thread Jason
Yep, I'd love an answer to this one as well... --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: I need to be able to invoke the debug version of my flex app from the browser URL bar. If I take the URL that the debug app is at, and instead of running via the

[flexcoders] Re: Posting patched versions of framework code to this list?

2006-09-15 Thread Renaun Erickson
You can always extend the class, make your own component and post it on Flex Exchange on Adobe.com. Renaun --- In flexcoders@yahoogroups.com, Louis Ryan [EMAIL PROTECTED] wrote: I have modified the DataGrid class to allow columns to be locked on the right. I posted this as an enhancement