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
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
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
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
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,
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:
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
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
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 /
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
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
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
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
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
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
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
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
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
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:
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
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:
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
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
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
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
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.
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
27 matches
Mail list logo