[flexcoders] Linking to external images or css files?

2006-12-13 Thread jason.proulx
Hey All, First post to flexcoders. I'm trying to link to a css file in a Flex Library project and I can't seem to figure out how to get it to work. MXML files and AS Classes work without a hitch, but I can't seem to either @Embed() images or reference stylesheets. I've tried a bunch

[flexcoders] FW: Linking to external images or css files?

2006-12-18 Thread jason.proulx
Hey All, First post to flexcoders. I'm trying to link to a css file in a Flex Library project and I can't seem to figure out how to get it to work. MXML files and AS Classes work without a hitch, but I can't seem to either @Embed() images or reference stylesheets. I've tried a bunch

[flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread jason.proulx
I'm a little confused. How come I can ask com.adobe.cairngorm.business.ServiceLocator for a service from an MXML component which is a sub-class of ServiceLocator? i.e.: Services.mxml: cairngorm:ServiceLocator ... mx:WebService name=myService ... / /cairngorm:ServiceLocator

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread jason.proulx
I traced through the code, com.adobe.cairngorm.business.ServiceLocator refers to itself as this when looking up a service: private function getServiceForId( serviceId : String ) : Object { if ( this[ serviceId ] == null ) { throw new

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread jason.proulx
Hey All, Re: Flex at Bell I'm not sure about everyone else; my team has only just started getting into it. The part I don't understand though, is the Cairngorm 2.1 Store example shows retrieving the service like this: ServiceLocator.getInstance().getWebService(myService); However,

RE: [flexcoders] Cairngorm ServiceLocator error

2007-01-15 Thread jason.proulx
Make sure you have: business:Services id=serviceLocator / in your main Application file. Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: January 15, 2007 9:26 AM To:

RE: [flexcoders] Cairngorm ServiceLocator error

2007-01-16 Thread jason.proulx
I always forget that part too :P Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: January 15, 2007 11:09 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm ServiceLocator

RE: [flexcoders] CGRM :: ServiceLocator :: Modules - how to share

2007-01-24 Thread jason.proulx
Hi Mike, I'm having precicely the same issue - I need to look into the new module feature further. My solution was to hack the Cairngorm ServiceLocator and make it a Multiton (every time you create a ServiceLocator, it simply adds itself to an array of instances, rather than keeping just 1

RE: [flexcoders] CGRM :: ServiceLocator :: Modules - how to share

2007-01-24 Thread jason.proulx
My Shell application looks something like this at the moment: mx:Application ... control:MainAppFrontController id=frontController / somemodule.control:ModuleFrontController id=moduleFrontController / business:MainAppServiceLocator id=serviceLocator /

RE: [flexcoders] Re: ViewHelper is dead ? So what's the 'best practice' here... ?

2007-01-30 Thread jason.proulx
I built a ViewController class that I use to switch views. It simply listens for CairngormEvents and changes state when it hears one it likes. I literally copied the code in FrontController, made it extend Canvas, and changed the functionality from handling commands to simply storing string

[flexcoders] Getter/setter databinding?

2007-01-30 Thread jason.proulx
I have an interface that defines 3 getters for a Step in a wizard. Public function get valid():Boolean; Public function get next():MyEvent; Public function get previous():MyEvent; Valid: is the current step of the wizard valid Next/Previous: is the next/previous CairngormEvent in the

RE: [flexcoders] Getter/setter databinding?

2007-01-30 Thread jason.proulx
Switching the views is the easy part, for some reason I'm having a hard time making valid a bindable property that my ViewController can listen to. Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael

RE: [flexcoders] Re: How to make FormItem labels left aligned?

2007-01-31 Thread jason.proulx
Too bad that's not simply a CSS style. Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR Sent: January 31, 2007 10:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to make

[flexcoders] Resizing a List component?

2007-02-01 Thread jason.proulx
Hey All, I don't remember encountering this issue before. I have a List component with a custom item renderer, which includes an image loaded dynamically at runtime. I want my List component to display all items all the time, and I need to resize it depending on the number of items that get

RE: [flexcoders] Resizing a List component?

2007-02-01 Thread jason.proulx
Figured it out :P variableRowHeight=true, it's working fine now :-) Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Proulx, Jason (EX22748) Sent: February 1, 2007 11:57 AM To: flexcoders@yahoogroups.com

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

2007-02-05 Thread jason.proulx
Pretty simple actually, all you need to do is create subclasses of DisplayObject and just use addChild in place of attachMovie. The only difference is you use the tag syntax, or AS3 code to programmatically create the layout for each of your visual components. If you prefer, you can always use

RE: [flexcoders] Included SWC dependency problem with Cairngorm - anyone else?

2007-02-14 Thread jason.proulx
Hmm, I'm doing the same thing and it's working fine. I have been in situations like that before (not the same scenario), and deleting the .project files and recreating usually works. Otherwise, try removing the .swc dependency for both projects and re-adding it, or open up Cairngorm as a

[flexcoders] How have you structured your Cairngorm data model?

2007-02-15 Thread jason.proulx
Hey All, So I'm still going through revisions of my project trying to get an idea of the best way to handle everything. Right now I am at a loss as to how to set up my model. I was very happy with my model setup when using only Flash Remoting, but we've moved over to FDS, but my model

RE: [flexcoders] Re: no rtmp connection on win xp ?

2007-02-19 Thread jason.proulx
Make sure the Windows Fire Wall is turned off too ;) Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Vroom Sent: February 15, 2007 8:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re:

RE: [flexcoders] Cold Fusion/Cairngorm VO advice

2007-02-20 Thread jason.proulx
You have 2 solutions for your options below. OPTION 1: If you're not using Data Services, you're safe defining ambiguous Value Objects in the client, and register them against a generic CFC on the server, i.e.: [RemoteClass(alias=com.mycompany.myproject.util.Bean)] public class UserVO

RE: [flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-23 Thread jason.proulx
We're working with Adobe on, I think, this same issue. Are you just changing the service name in Flex Integration in CF Admin? Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Niklas Richardson Sent:

[flexcoders] FDS and Cairngorm / Individual Item Updates

2007-02-23 Thread jason.proulx
Hey All, I'm having an issue finding a best-practice approach for CRUD operations with FDS. Create/Read/Delete are easy, I'm having a problem with updates. I can easily encapsulate CRD's in my Commands, but there doesn't seem to be an option to explicitly commit only a single record with

RE: [flexcoders] Re: FDS and Cairngorm / Individual Item Updates

2007-02-23 Thread jason.proulx
Yup, that's pretty much the way mine works now, though (before I change it) it works a bit more optimistically. For every field I have on my form I have an mx:Binding / back to the object so that the form works bidirectionally. But it's a little too aggressive :-) It seems like this approach

RE: [flexcoders] Cairngorm FDS Sample

2007-02-27 Thread jason.proulx
Heya, I was looking for one too and there doesn't seem to be one. I'm able to currently encapsulate Create/Read/Delete actions in commands, but I haven't yet found a reliable way to encapsulate Updates in a command. Everything else works very nicely. Example of fill: var

RE: [flexcoders] Center PopUp on Window not Application

2007-03-19 Thread jason.proulx
I think it's based on the parent that you specify when you add your window to In the first place i.e. PopUpManager.addPopUp(myWindow, myParent); PopUpManager.centerPopUp(myWindow); If you specify: Var myParent:DisplayObject = Application.application as DisplayObject; When you center

RE: [flexcoders] FDS Pain

2007-04-17 Thread jason.proulx
I use a simple ArrayCollection in cases like this, and provide a custom TreeDataDescriptor which converts a 1-dimentional array collection into something usable by the Tree component. When you bind your array collection to the Tree as the data provider, FDS will refresh it appropriately.

[flexcoders] Suggestive Search

2007-04-19 Thread jason.proulx
Hey All, I'm working on a suggestive search component that will search our companies LDAP directory. The issue we're having is that the RemoteObject calls are blocking the UI. Since the search is performed after a certain number of characters have been typed, once the call starts, the UI