[flexcoders] One Website, Multiple Applications - Flex Builder 2 Setup

2006-08-14 Thread lostinrecursion
Hi all, First of all let me thank you for creating and contributing to such a wonderful group of Flex professionals. I have to say that most of the answers I have gleaned over time have come from this community and not from those other official forums. On to my question: I have a website I am

[flexcoders] Flex 2 Garbage Collection (based on AS3 changes)

2006-08-14 Thread lostinrecursion
Hi all, I used garbage collection methods a lot in my prior RIAs to keep the application running smooth as it progressed. But, now, being that I am not a total pro, I'm not sure how we accomplish this. Actionscript 3.0 does not allow the delete keyword to be used when trying to get rid of

[flexcoders] Re: One Website, Multiple Applications - Flex Builder 2 Setup

2006-08-14 Thread lostinrecursion
] wrote: --- In flexcoders@yahoogroups.com, lostinrecursion k.silans@ wrote: It would seem most effective to use one Flex Project for both applications for code reuse purposes and general organization. You may want to take a look at this thread with a similar topic: http://groups.yahoo.com

[flexcoders] Re: Custom UIComponent creating problem

2006-08-15 Thread lostinrecursion
Forgive me, but are you adding the Component to the Display List before you want to see it? Any objects which you want to be visual must be explicitly added to the Display List if they are custom drawn. See DisplayList on ASDoc. HTH -Kenny --- In flexcoders@yahoogroups.com, sinacapho [EMAIL

[flexcoders] Dynamic ViewStack (Cairngorm)

2006-08-15 Thread lostinrecursion
Hi all, Quick one, I think. :) I have two Components in my application, based on a ViewStack. For the purpose of simplicity, let's call them AdminView and UserView. Essentially the two ViewStacks contain different screens (or the same if applicable) dependent on the access level returned from

[flexcoders] Re: XML vs. Array data provider... inline renderer for DataGridColumn discrepanc

2006-08-15 Thread lostinrecursion
branch and leaf has a checkbox on it (think MSBackup, for example). Any ideas for that? Cheers, Jeff --- In flexcoders@yahoogroups.com, lostinrecursion k.silans@ wrote: Hi there. I have had a lot of trouble over the Flex 2 launch with getting XML to behave correctly as a DataProvider

[flexcoders] ViewStack.addChild // Code Check // Error

2006-08-16 Thread lostinrecursion
Hi all, I researched my attempts to create a Dynamic ViewStack yesterday and I think I am on the right track, although I can't get anything to display and I am facing an error. Here is the error message I receive: Type coercion failed. Cannot convert []34a56 to DisplayObject. Basically, I

[flexcoders] Re: ViewStack.addChild // Code Check // Error

2006-08-16 Thread lostinrecursion
AHA! I figured out my own problem which always feels great. I was making the problem more complex than it was. So, just extended the ViewStack with each view (WebUserView and ManagerView), then since that already extends UIComponent and DisplayObject, I went ahead and just popped it on as a child

[flexcoders] Where does component dataProvider, remotely loaded, fit in? (Cairngorm)

2006-08-17 Thread lostinrecursion
Hi all, I have many List components in an application I am building. There will be multiple options for each List or ComboBox component. I plan to load most of the options from an XML file I have set up with nodes and attributes describing the choices. I can load the XML with no problem, pull

[flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread lostinrecursion
Hi all. Just wondering if I have figured this out correctly. In an MVC/Cairngorm application, it is ok to have as many models as I determine based on my data needs. Then, I would have one ModelLocator class (which extends the core Cairngorm one) mapping to each model and instantiating variables

[flexcoders] Many options in List based Components. Best practice? (Using ValueObject)

2006-08-22 Thread lostinrecursion
Hi all, I have a screen in my application which will be fetching its ComboBox and List options from a database. I am planning to bind the List based components to this data via my ValueObject (We'll call it ProductOptionsVO for this excercise). Most of the data is coming back as a query and I am

[flexcoders] Extending the List Component: Sticky Selection

2006-08-23 Thread lostinrecursion
Ok, I have a client of mine who is stuck (no pun intended) on the idea of having a List component to which he does not have to hold CTRL down to do multiple selections. Essentially, he wants to be able to click on items and have them be selected and if they have already been selected, then

[flexcoders] Best Practice Question/Cairngorm Framework/VOs

2006-08-26 Thread lostinrecursion
Hi all, In a current application I am building, the administrative application has a screen (We'll call it Products) with no less than 30 various components gathering data to be fed to a CFC and consequently to a SQL Server database. I easily can load the options from the server and bind them to

[flexcoders] Re: Best Practice Question/Cairngorm Framework/VOs

2006-08-26 Thread lostinrecursion
It's so simple, I can't believe I didn't see it before. One event and One command can do the work of updating the ValueObject for my Product. All the event has to carry is the property name it will update and the value. The format of the value is known to the Model and doesn't need to be known to

[flexcoders] Re: Best Practice Question/Cairngorm Framework/VOs

2006-08-27 Thread lostinrecursion
={model.optiopnvo = OptionVO(myList.selectedItem)}/ or whatever you want: mx:TextInput id=myText change={model.optionvo.propertie = myText.text }/ Remember to import the ModelLocator in your mxml file and get an instance of it. Oriol. 2006/8/27, lostinrecursion [EMAIL PROTECTED

[flexcoders] ToggleButtonBar: Styling Individual Button

2006-08-28 Thread lostinrecursion
Hi all, I looked through the docs and did a couple of Googles but couldn't find anything on this. Is it possible to style each individual button in a ToggleButtonBar? For example, assigning a different background color to each one? Thanks -Kenny -- Flexcoders Mailing List FAQ:

[flexcoders] Bubbling, Practical Use?

2006-08-28 Thread lostinrecursion
Hi all, I understand the concept of bubbling and know what it does with no issue. But, for some reason I can't think of a practical application of it? Could someone just give me a brief example of when bubbling might be used in a real world app? I'd appreciate it. -Kenny -- Flexcoders

[flexcoders] Re: ToggleButtonBar: Styling Individual Button

2006-08-28 Thread lostinrecursion
Jason, How do you iterate through the ButtonBar? Meaning I notice the following code does not work and reports an error in Flex: myButtonBar.getChildAt(0).setStyle(backgroundColor, 0x99); Thank you. (I will also check out the documentation on this as well) -Kenny -- Flexcoders

[flexcoders] LinkButton - Style without surrounding color.

2006-11-05 Thread lostinrecursion
Hi all, I suspect this could be simple, although no results yielded when I searched the group (The Few. The Proud. The Searchers, LOL) I want to style a LinkButton in my application similar to an HTML link. For example, when the user rolls over the button, I would it to ONLY change the text

[flexcoders] Better way to update sub-records, Flex and Coldfusion

2006-11-17 Thread lostinrecursion
Hi all, I have been programming for a while now and have always used a particular method to update sub-records in a data driven application. I know there is a better way and was hoping flexcoders could point me in a solid direction. Let's say I have a table called MasterRecords and one called

[flexcoders] Two Flex Questions, Non Development

2006-12-02 Thread lostinrecursion
HI all, I have been developing Flash applications, now Flex, for roughly 5 years as an independent. I have no real formal training and my knowledge has come from many books and, of course, lively communities like flexcoders. In an attempt to continue learning even as my client base grows, I

[flexcoders] Re: Drag/Drop - Datagrid. Target is off?

2006-12-03 Thread lostinrecursion
) - --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Kenny in the target just enable the DropEnable=true On 11/30/06, lostinrecursion [EMAIL PROTECTED] wrote: Hi all, I have a little app I built with some drag/drop functionality that I coded in. I am not using the default

[flexcoders] Simple Question - Array to ArrayCollection - Best Practice/CFusion

2006-12-03 Thread lostinrecursion
Hi all, This is a best practice question really. I use Cairngorm for the larger apps I build. I also use Coldfusion and the nifty class mapping that it can perform between DTOs (or VOs, whatever you call them) Here's the conundrum. A lot of my top level classes have ArrayCollections of other

[flexcoders] Re: SOLUTION: Unable to bind Warning

2006-12-08 Thread lostinrecursion
It's interesting how AMF does not provide the same wrapper functionality as HTTP and WEB services. Reason being, when using the standard CFC to AS Class mapping features of Flex 2, you could certainly benefit from such an automated conversion. For example, when passing data to Coldfusion as an

[flexcoders] Cairngorm: Event to Command Decision Making (Cairngorm Store 2.0)

2006-12-08 Thread lostinrecursion
Hi all, I just had the pleasure of stepping through the Cairngorm Store (v2.0) and checking it out. (I2, Great Work) I have two event questions regarding the store. 1. I notice that there are two events (UpdateShippingCostEvent and NewScreenEvent) which do not map to a command in the

[flexcoders] Business Objects and Value Objects/Cairngorm. Distinction?

2006-12-09 Thread lostinrecursion
Hi all, I was reading a fantastic series by Alex Uhlmann on How Business Logic can Manage Your Views (http://weblogs.macromedia.com/auhlmann/archives/2006/06/cairngorm_sampl.cfm) I have one question for someone who may know. Could someone tell me the difference between a Business Object (such as

[flexcoders] Re: Cairngorm: Event to Command Decision Making (Cairngorm Store 2.0)

2006-12-09 Thread lostinrecursion
Douglas, Thanks for your concise and clear reply. Much appreciated. One thing is a little confusing though. From your post: If you want to follow this approach in your app you might do something like the following: Create an object on the model that keeps track of selectedStates list and

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-09 Thread lostinrecursion
Alex, What if the three lists a developer is filtering/sorting are contained within a component? Then doesn't hard coding the values into the ModelLocator defeat the purpose of component independence? You would have to update your model every time you wanted to add an instance of the component,

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-09 Thread lostinrecursion
What is the matter with me today? Second time, I asked a question there was a clearly published answer for. Ignore me until midnight PST. Otherwise, who knows what chaos I could cause. -Kenny

[flexcoders] Class Property Placements (Cairngorm, What happened to top down approach?)

2006-12-09 Thread lostinrecursion
Sorry folks, but this has been nagging me all day. Is there any specific reason why in most of the Cairngorm applications I have seen that the properties are declared below the class methods? Is that just a formatting choice or is there some reason for the diversion frok the traditional top down

[flexcoders] Re: ListBase.as getting called after Drop to Datagrid--Preventing the Drop???

2006-12-12 Thread lostinrecursion
As a point of interest also, there is a great article about this on the blog of Peter Ent. It's exactly what you are looking for. He has some great info on there. Link is: http://weblogs.macromedia.com/pent/ Scroll down a little and you'll see part II in the series. You can find part two from

[flexcoders] Cairngorm Store, Best Practice Question: Containers

2006-12-23 Thread lostinrecursion
Hi all, Just a quick question about the Cairngorm Store. It is my understanding that the application was constructed to showcase some of the best practices in developing a Cairngorm project. With that in mind, I took note of some container nesting in the Store. I am a little confused because

[flexcoders] LiveDocs, Release Notes?

2007-01-26 Thread lostinrecursion
Hi all, I have read the Flex 2 documentation like my morning paper since beta, but my question is since the new 2.0.1 updater rolled out and there is a new /201 docs out there - is there any place I can see where things have changed in the docs instead of having to read through and say Oh, that's

[flexcoders] Re: Can Flex directly replace Flash????

2007-02-03 Thread lostinrecursion
I agree. AS3 actually has the most incredible drag and drop support and it is also very easy to implement via Flex. In fact, all List based components have this functionality native to them. But adding it to a non list base component isn't awfully hard either. Look in the docs for drag and drop

[flexcoders] Text, Global Level - Embedded Font

2007-02-15 Thread lostinrecursion
Hi all, I did a search here and did find a post called Styling in Flex is officially ridiculous... but really couldn't see my answer in there. Hoping this is a simple one. I have a RIA I am working on and I need to make all the text in the application Century Gothic - I know how to embed and

[flexcoders] Design View, Flex IDE. Normal behavior or my error?

2007-02-15 Thread lostinrecursion
Is it the expected behavior of the Flex IDE to display odd blue swirls in place of the custom skins I have created within the Flash IDE? I notice that when I apply custom skins, they never render in the individual component instances and, if at all, only render in the main application file.

[flexcoders] backgroundImage on Canvas, Not working in Skinned app?

2007-02-18 Thread lostinrecursion
Could someone help me with this? I am going bananas. I have a skinned app that I am developing (custom skinned based on the Obsidian theme, if you know what that is) - Despite every attempt to apply a backgroundImage property to a Canvas, it does not stick. The odd thing is that it does in fact

[flexcoders] Re: backgroundImage on Canvas, Not working in Skinned app?

2007-02-18 Thread lostinrecursion
Of course. I know better. ;) The component appears within a VBox. It is a Custom view in my application. -- mx:CustomComponentCanvas id=myCanvas backgroundImage=Embed(source='/assets/images/elements/background.png')/ -- I have tried doing it through the external CSS as well as follows: --

[flexcoders] SequenceCommand, Adding Properties to the nextEvent

2007-02-21 Thread lostinrecursion
Hi all, Forgive me if this is simple but I just can't seem to make it work. I have a command that fires each time a new record is added via SequenceCommand. (So, for example, AddUserCommand fires GetUsersCommand in the executeNextCommand function) The problem is that my GetUsersCommand is role

[flexcoders] Re: SequenceCommand, Adding Properties to the nextEvent

2007-02-22 Thread lostinrecursion
the nextEvent to GetUsersCommand inside AddUserCommand set the nextEvent.data to role value. IMO, the above should work. On Feb 21, 2007, at 7:53 PM, lostinrecursion wrote: Hi all, Forgive me if this is simple but I just can't seem to make it work. I have a command that fires each

[flexcoders] Layout Change, Flexible

2007-03-13 Thread lostinrecursion
Hi all, I have two components in a view. One called Dashboard ( a custom Canvas component which can be hidden/shown by a pull bar) - and the other called WorkArea, which is the main work area, also an extension of Canvas, Simply, when the Dashboard is moved out of view, I want the WorkArea

[flexcoders] Accordion Redux, Icons

2007-03-15 Thread lostinrecursion
I noticed a post back in February and wondered if it was, in fact, a documented bug or if someone had figured out the behavior as now I am facing the problem. When setting the icon field in an Accordion control's children, the last icon is the only one to appear for all of them. To borrow from

[flexcoders] Re: Accordion Redux, Icons

2007-03-15 Thread lostinrecursion
A little digging unearthed the following: Should you set the headerStyleName CSS property of the Accordion, the behavior will occur. Remove it and toss it all in the same selector. Problem solved. A big thanks to an active community for that one. -KS

[flexcoders] LiveDocs Offline

2007-03-19 Thread lostinrecursion
Is anyone else experiencing issues accessing LiveDocs for all Adobe technologies today? So far, I am having issues with CF and Flex. I am receiving page not found errors and strange loading of the docs. I did a Google and can't believe that if it is the case, we have not been notified somehow.

[flexcoders] Developing Rich Clients, Source Code?

2007-03-21 Thread lostinrecursion
Hi all, I had the pleasure of picking up the book, Developing Rich Clients with Macromedia Flex, by our community brethren Steven Webster and Alistair McLeod. At first I was hesitant to pick it up because of the fact it was Flex 1.5 and I am a Flex 2 convert. But, I HIGHLY recommend it to anyone

[flexcoders] Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-21 Thread lostinrecursion
Evening folks, I finished reading a chapter in the new book, RIAs with Flex and Java. Specifically, I was reading Chapter 11: Advanced Datagrid which introduces the concept of a destination aware component which contains calls to a remote object embedded in the extended component's MXML code.

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread lostinrecursion
Thanks Tom. As I go through the book, I am seeing more and more of that approach. Also shocking to me is that, although it has become a widely accepted way to develop large apps, Cairngorm isn't even so much as given a footnote in the book. Well, it is a great resource anyway, but not what I

[flexcoders] UI Design

2007-03-22 Thread lostinrecursion
Hi all, A lot of emphasis in the Flex community has been put on the business logic and structure of good Flex applications. Although I started life as a graphic designer in this business, I often find myself being critical of my layouts the most. It's not unusual for me to code a lot of the

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread lostinrecursion
Maury, Good points. And forgive me for the totally ignoring bit. It was late and I was cranky. :) You do make a valid point when you say that it seems no different than the StatesComboBox that displays US States all the time. I guess I am getting hung up on this because I primarily use

[flexcoders] Re: Are Events OK in the MVC (S) pattern

2007-03-26 Thread lostinrecursion
Brett, You can read about this in more detail on any website which discusses the pattern but I will try and simplify it here for you. I highly recommend also trying out Cairngorm (A Flex MVC framework) even if only to better understand the concepts. If your view is firing events, the events are

[flexcoders] invalidateSize() in tandem with invalidateDisplayList()

2007-04-02 Thread lostinrecursion
Hi all, I just watched a great session from 360Flex. Ely Greenfield talks about his DisplayShelf component from soup to nuts. He mentions that when you know you need to change the size of something, you call invalidateSize() and when you know you need to redraw something, you call

[flexcoders] What method to use? DataGrid, Rich Tooltip

2007-04-04 Thread lostinrecursion
Hi there, This is pretty simple, but I am having trouble figuring how I should do it. I have a DataGrid with a dataProvider that has an imageURL property. Here's what I want to do: When the user rolls over a row in the grid, an image pops up (sort of like a tooltip would) displaying the image.

[flexcoders] Zorn Package

2007-04-09 Thread lostinrecursion
Hi all, After Googling and looking through some of the posts here, I am still a little unclear on something. What is Zorn? I notice since installing the Apollo Extensions for FB in Eclipse, this package is now showing up in my importable list. Thanks. -Kenny

[flexcoders] Re: CairngormEvent Antipattern

2006-08-30 Thread lostinrecursion
This approach seems like it could be extremely useful for me as I am starting to build a lot of larger projects, but I have a quick comment. Forgive me if I am off base here, but is there a mistake in the code example? I am new to Cairngorm so bear with me for a moment. According to your

[flexcoders] NumericStepper, Custom Format

2006-09-01 Thread lostinrecursion
Forgive me, but I did not see a mention of this in the docs. How can I apply a Custom Formatter to a NumericStepper component? For example, displaying currency values instead of integers. Thanks. -Kenny -- Flexcoders Mailing List FAQ:

[flexcoders] Quick Validator Question

2006-09-02 Thread lostinrecursion
Hi all, I was on lynda.com learning about Validators in Flex. Quick question. Do I have to create a single validator for each field I want to validate or can one validator apply to multiple fields? It seems to me it would get hairy when your dealing with a lot of form fields. For example, the

[flexcoders] Re: Bubbling, Practical Use?

2006-09-04 Thread lostinrecursion
As an interesting side note to the discussion, wouldn't the concept of bubbling be basically obsolete in a Cairngorm based application? Here's my reasoning. If, in a pure Cairngorm app, each gesture (and event) is mapped to a specific custom command in the Controller, then bubbling has no place

[flexcoders] Cairngorm, Where should Validators go?

2006-09-04 Thread lostinrecursion
Hi all, Just wanted some feedback on this. Since Cairngorm is an MVC architecture, is it appropriate to put the mx:Validator tags inside the views to which it is relevant? If not, where do validators go in a Cairngorm app? Thanks so much. -Kenny -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Cairngorm... Where should this go?

2006-09-07 Thread lostinrecursion
Sorry but I have to interject on this. Intsrestingly enough I asked a similar question some days ago and did not receive a response from a design pettern perspective, but from a what works perspective. I am actually 85% of the tim all about what works, so not there is anything wrong with it. But,

[flexcoders] The Business of Flex/RIA Development

2006-09-12 Thread lostinrecursion
Hi all, Does anyone know of any places where I could review things such as example pricing, support fees, etc. The problem is I have been in the game for about five years now and I feel like I am grossly undercharging for my work. I just want to learn about averages for medium, small, enterprise

[flexcoders] Custom Validators - subField

2006-09-13 Thread lostinrecursion
Hi all, In LiveDocs, its says that by setting subField within a ValidationResult, it allows Flex to highlight the component. I am not experiencing this behavior. Could someone help? I just want the Validator to highlight the correct field. I set up the fields to validate in an mx:Model tag as

[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: SQL Query to populate Flex Object (CF Backend)

2006-09-15 Thread lostinrecursion
PROTECTED] On Behalf Of lostinrecursion Sent: Friday, September 15, 2006 1:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SQL Query to populate Flex Object (CF Backend) Hi all, The destination is Flex and although my question is a little Backend oriented, I assume that many

[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

[flexcoders] Implementation of Concept: Grid

2006-09-19 Thread lostinrecursion
Hi all, I wrote up this question a while ago but I realized, after looking at it, that it was poorly posed. As such, it was buried among the graveyard of unanswered posts. I think I have a much better way to represent it: I have a database table which holds the following fields: width length

[flexcoders] Going Bananas, CFC to AS3 Class Mapping

2006-09-23 Thread lostinrecursion
Hi all, I am going bananas with this problem. (Sorry always wanted to say that) Anyway, here is the issue: I have 3 CFCs on my Server (Lender, LenderLocation, LenderLocationContact) which are carbons of classes built in my AS3/Flex 2 application of the same name. Now, I invoke a CFC with an id

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-23 Thread lostinrecursion
I see. No they do not. Should the name of the function inside the AS class match the name of the function in the CFC? For example, I call it populate in my CFC. Plus, according to Forta, the conversion is automatic. Maybe I am misunderstanding. I also have other methods such as addLocation and

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-23 Thread lostinrecursion
Here is my code, perhaps this will help AS3 Class package com.desktopae.vo{ import com.adobe.cairngorm.vo.ValueObject; import mx.collections.ArrayCollection; [Bindable] [RemoteClass(alias=desktopae.cfc.vo.Lender)] public dynamic class Lender{

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-23 Thread lostinrecursion
Well, now the interesting thing is it works as long as I am only returning simple values (i.e. String/Number) - But when I return an array, it breaks. In fact, when using typeof(event.result.myArray), it is returning as object in the console. Odd. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-23 Thread lostinrecursion
I'm sure. I build my results into a Struct. Add each Struct to an element of a CF array. But, the problem is, when I try and discover the type of the variable returned from CFC, it lists as a generic object. ex: typeof(event.result.theCFarray) == 'object' I can't get Flex to even recognize it

[flexcoders] CF Mappings, Flex, use-mappings

2006-09-24 Thread lostinrecursion
Hi all, A little frustration for my Sunday morning. I have setup a mapping on my local CF machine (typical Dev edition) that corresponds to a mapping on my host. The problem is, I get the error message: Can't find x component when I try to call it. I have verified that the CF Mapping works as

[flexcoders] An interesting twist. AS3 to CFC Generator, Flex.

2006-09-24 Thread lostinrecursion
Can anyone shed some light on something I discovered this morning when using the Flex IDE's nifty little Convert AS class to CFC function? Say I have a class that has three properties: private var name: String private var age: Number private var friends: ArrayCollection When I use the CF

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-24 Thread lostinrecursion
Thank you everyone for turning my simple question into a very informative discussion on the topic. This is why only come to flexcoders. Thanks again. -LIR -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-24 Thread lostinrecursion
One more thing if I may. In a previous reply, someone had mentioned using an init() function. Is this personal choice or is this required? I ask because I have a function called populate which basically does a similar task. Thanks. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-24 Thread lostinrecursion
Also, and this is through my tesing of it, I have noticed that although someone mentioned calling it an Array on the CF side and typing it as an ArrayCollection on the AS side, that in fact you are presented with a Type coercion error that essentially is saying that it cannot convert the generic

[flexcoders] Warrants its own thread, CFC/AS Class Sequence

2006-09-24 Thread lostinrecursion
Finally, I have been totally successful in getting all my values from my CFC to automatically fill their respective properties in my AS class(es). Thank you to all for that. But, an interesting problem has arisen from it... and I think it has something to do with the sequence in which Flex

[flexcoders] Model is not persistent? Cairngorm, CFC to AS3 Mappings

2006-09-25 Thread lostinrecursion
Hi all, I have a pretty odd issue and I can't narrow down the reason why. I have a CFC and a corresponding AS3 class. For this example, MyValueObject.as and MyValueObject.cfc I call the CFC and return the results to the onResult function in the calling command. In my model, I have a property

[flexcoders] Re: Model is not persistent? Cairngorm, CFC to AS3 Mappings

2006-09-25 Thread lostinrecursion
I have figured it out! And unfortunately it is wholly due to my inexperience. Hate when that happens. LOL Basically it had to do with my referencing a shortcut to the model in my View. I referenced it as myShortcut = ApplicationModel.getInstance().shortcutTarget. It should have only pointed to

[flexcoders] Mapping Fails, CFCs

2006-09-27 Thread lostinrecursion
Hi all, I have a problem with a mapping I have setup in CF 7.0.2 and could really use some help. My hair is at pull out status. ;) First of all, the mapping DOES work when called from a normal Coldfusion Template, so I know this is FLEX specific. I have also set the use-mappings tag in

[flexcoders] Re: Mapping Fails, CFCs

2006-09-27 Thread lostinrecursion
I appreciate this and will explore it should I not find another method. It is my feeling that a workaround is not needed for this because CF and Flex 2 play nice with eachother by default. --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote: Hello, i have no experience with

[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
The code actually works as expected as long as I am calling from the webroot (ex. myApp.cfc.SomeComponent) -However, I have posted it below for your review. mx:RemoteObject id=myService destination=ColdFusion result=event.token.resultHandler(event)

[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
Sorry, I may not have been clear enough. But the issue is not mapping VOs here. It is CF throwing an error saying it cannot find the component. (The single quote is an artifact. The original code does not have it) Unfortunately, no it does not. I only put the {} around it from a previous try.

[flexcoders] Re: Mapping Fails, CFCs

2006-10-01 Thread lostinrecursion
Hi all, Sorry to be a pain, but I am still struggling with this problem in a big way. I still cannot get my mappings to work from Flex 2. I really need to work this out or I am going to be forced to change the paths to every file (AS Classes Remote Alias, CFCs, CFC Calls, etc) each time I want

[flexcoders] Re: Mapping Fails, CFCs

2006-10-01 Thread lostinrecursion
I work with a shared host, so I wonder if that is possible. But I would like to give it a go. Could you provide me a simple example? Thanks -LIR -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Style Alert, Instance Level

2006-10-10 Thread lostinrecursion
Hi all, Quick question. I know that through the Alert selector in a CSS file, we can set many properties of an Alert box globally. Is there any way in which I can do this on an instance level? Or is this impossible because Alert is called from the class itself? For example, sometimes an Alert

[flexcoders] Arrays/DataProviders/CFCs - Need a workaround.

2006-10-10 Thread lostinrecursion
Hi all, I am hoping this is fairly simple. I use CF7 and Flex via RemoteObject calls to populate certain sets of data in my application. Everything works as expected (also thanks to this list) until I attempt to get the DataGrid that I am using to display an Array to update when I add an item.

[flexcoders] Re: Arrays/DataProviders/CFCs - Need a workaround.

2006-10-10 Thread lostinrecursion
, dunno, in 1.5 I recall having to use a hackdg.dataProvider = dg.dataProvider on occasion. DK On 10/11/06, lostinrecursion [EMAIL PROTECTED] wrote: Hi all, I am hoping this is fairly simple. I use CF7 and Flex via RemoteObject calls to populate certain sets of data in my

[flexcoders] Re: Arrays/DataProviders/CFCs - Need a workaround.

2006-10-11 Thread lostinrecursion
, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 11 October 2006 05:12, lostinrecursion wrote: attempt to get the DataGrid that I am using to display an Array to update when I add an item. The DataGrid can't display Array. You will need to create a new ArrayCollection from the Array

[flexcoders] Re: Arrays/DataProviders/CFCs - Need a workaround.

2006-10-11 Thread lostinrecursion
There is nothing sweeter than answering my own question: Here's the solution. After I assign the event.result to my model property, (i.e. school = event.result) I then manually call a method I created called convert()(i.e. school.convert) which basically just assigns the students Array as an