HiCan someone please point out the glaringly obvious thing that I am doing that is preventing me accessing flashVars from my application. I have included the flashVars in the object tags of the html wrapper page (as param tags and in the embed) and am attempting to access them from my mxml like
the same.
Graham
--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> can you post the html script/tags where the flashVars are embedded?
They do
> work...
>
>
>
> On 8/10/06, grahampengelly <[EMAIL PROTECTED]> wrote:
>
HiI am just embarking on my first Cairngorm based Flex app. In one of the sample apps there is the following syntaxpublic function onResult(event:* = null):void{}Could somebody please explain exactly what the argument "(event:* = null)" is actually doing. Obviously the argument is called 'event'
Darron's page explains an alternative, IResponder, that is
already
> part of the Flex API. It does the same thing, but it's more flexible,
> simpler to use, and easier to understand (just my opinion). I'm
using it in
> all my new Cairngorm apps. I have yet to find a
I am just getting up to speed with the Cairngorm architecture and have been struggling with this problem for a while. I have got to the point where I am getting a response from my web service call that has the data in that I expect but I cannot seem to get it to deserialize into the object that
> this. In effect event is cast as any object rather than having a
> strongly typed function call. Be aware in doing this though as type
> coercion issues may occur later on when dealing with the result.
>
> Since all event classes usually subclass from Event, you might use Event
x27;t have experience casting to a custom object but if you do
> end up needing to use Franck's suggested methodology I would certainly
> recommend creating a factory that will accept the SOAP return values
> and return an instance of your custom object.
>
> HTH,
> Ben
>
t up some sort of Java <-> AS class
> mapping in a config file.
>
> Ben
>
>
> --- In flexcoders@yahoogroups.com, "grahampengelly" wrote:
> >
> > Thanks Ben & Franck for your help. Like you Franck I couldn't see why
> > it would work t
the conversions automatically
> generated. That's what I'm after ...
>
>
>
> Cheers,
>
> Franck
>
>
>
> _
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of grahampengelly
> Sent: Wednesday, August 16,
HiI have created a custom component that derives from Box. I have added a couple of style decarations within the code for the component. The following is an example:[Style(name="headingFontColor", type="uint", format="Color", inherit="no")]...and then I access this using getStyle("headingFontCol
, "Tim Hoff" <[EMAIL PROTECTED]> wrote:>> Hi Graham,> > Have you tried this:> > AnswerButtonPanel.setStyle('headingFontColor', '#FF');> > Or use a CSS file:> > CSS:> > myStyle {> headingFontColor:#FF;> }> >
7;#FF');
>
> Or use a CSS file:
>
> CSS:
>
> myStyle {
> headingFontColor:#FF;
> }
>
> MXML:
>
>
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "grahampengelly"
> wrote:
> >
> > Hi
> >
> > I have create
HiI am building a custom component derived from Box. I have added a few style declarations as follows:[Style(name="headingFontColor", type="uint", format="Color", inherit="no")]...and then in the component I use the style with getStyle("headingFontColor") wrapped with a bit of default value stuf
og --- In flexcoders@yahoogroups.com, "grahampengelly" <[EMAIL PROTECTED]> wrote:>> Hi Tim> > Thanks for your quick reply... Both of those suggestions work. The> problem I have is that it is actually some child components of the> AnswerButtonPanel that I want to be a
@yahoogroups.com, "grahampengelly" <[EMAIL PROTECTED]> wrote:>> Firstly, apologies if there was a more or less duplicate post prior to> this one... I got a bit impatient waiting for the first one to show up> and assumed it hadn't landed.> > I have now just realised that whe
Hi
I am building an assessment application with Cairngorm. All is going
swimmingly but I am wondering where I should put the following.
The view collects the respondents answers and fires off an event,
containing them. The Controller picks this up and updates the Model...
Pretty standard stuff.
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of grahampengelly
> Sent: Thursday, September 07, 2006 8:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders]
HiI have a .NET web service I am calling from Flex. One of the methods expects an object described in the following extract from the WSDL: I am having trouble getting the array ResponseIds array to serialize properly
Thanks all for the discussion...So it seems the consensus is the validation, from a pattern purist point of view should sit in the model. Someone suggested a model.isDataValid property... This gives us an indication but how should we be communicating back to the view which data it is that is inv
s the same.> Data drives the view via dataBinding. There are alternatives to the way you> would structure your models and views but the principle remains the same.> > > Regards,> > Bjorn Schultheiss> Senior Flash Developer> QDC Technologies> > > _ >
k out the section on constructing> XML in the docs.> > Ben> > --- In flexcoders@yahoogroups.com, "grahampengelly" graham@ wrote:> >> > Hi> > > > I have a .NET web service I am calling from Flex. One of the methods> > expects an object described in th
21 matches
Mail list logo