That's actually more difficult than it sounds...  Any time it has happened I have coded around it.  If the problem occurs again, I'll be sure to share.  At this point though, I simply avoid using functions for data binding because of the problems I've had.  If another situation comes up where a function makes more sense, I'll give it a try again and report any problems.

-- Matthew

On 4/14/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Hi Matthew,
 
It would really help, if you can give me a test-case where you see mixed result...It would really help us...
 
Thanks
 
-abdul


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
Sent: Thursday, April 14, 2005 8:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] beginners question about sending data to custom flex components

I'm fairly new at this data binding stuff... but I thought you were only able to bind properties, or getters/setters.  I have had mixed results when I try to bind to a function.  Is this wrong?

-- Matthew

On 4/14/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Hi,

Can you post the code so that we look at it? IMO this shouldn't happen?
 
 
-abdul
 

From: erik katerborg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 14, 2005 3:10 PM

To: flexcoders@yahoogroups.com
Subject: [flexcoders] beginners question about sending data to custom flex components
Importance: High

hi,
 
This may be a beginner's question but I just can't figure one thing out: how to send dynamic data to a custom flex component.
what I want to do is the following:
 
<myCustomSWC myDataToBeUsed="{myActionscriptClass.getData();}" />
 
the problem is that the function is not executed but simply passed as a string to the component. Another problem is that the actionscript class may not have initialised yet so the function would not work at all.
 
does anyone have a suggestion on how to do this ???
 
thanks very much !!!
 
a confused flex coder,
 
erik.


Erik Katerborg
<Multimedia Designer>

t: <050 - 575.78.88>
f: <050 - 575.88.89>
e: <[EMAIL PROTECTED] >
w: <www.thefactore.com>
<theFactor.e>
Friesestraatweg 215a
Postbus 2010
9704 CA Groningen

Business Partner for Mediasurface
Alliance Partner for Macromedia


Yahoo! Groups Links


Yahoo! Groups Links



Yahoo! Groups Links

Reply via email to