[flexcoders] VerifyError: Error #1014: Class mx.core::ByteArrayAsset could not be found.

2012-05-06 Thread cuttenv
I have been trying to narrow down this issue for awhile now I think I am rather 
close but not quite there yet. This is a runtime error that occurs whenever I 
try to compile my project on the command line. It doesn't happen in Flash 
Builder.

I have an Actionscript only project that is throwing this error. I have another 
library project that is being compiled and used in this project. 

I believe the issue is that the library project uses Embed tags to embed some 
files and thus requires the ByteArrayAsset class. I am able to clear the 
problem up by setting static-link-runtime-shared-libraries=true. I feel this is 
hacky because when I dump-config on the flash builder compiled project 
static-link is false.

I tried comparing both xml configurations dumps but the files are rather large. 
 Anyone know what compiler options I need to set to clear this up?
Thanks!





[flexcoders] mx textarea and paragraphs

2012-05-06 Thread faizal_ac
Hi,

I have been using the Spark Textarea for displaying responses from my server, 
and i have been using the paragraphElement to add to this textraea in the 
proper format.

The problem is that some responses are quite large and the performance such as 
scrolling is compromised using the spark textarea.

So my question is, is there any concept of paragraphs in mx textarea?

Thanks
Faizal



Re: [flexcoders] Modify label text

2012-05-06 Thread Csomák Gábor
add the datachange event listener to the itemrenderer, and on datachange,
set the label, or the variable what you bind to it.
you can't bind functions.

On Sat, May 5, 2012 at 8:53 PM, cjacquel73  wrote:

>
>
> Hello,
>
> How to modify the text of a label in an itemrenderer by a function like
> this ?
>
> 
>
> Thank you,
> Christophe
>
>  
>