Hi Manish and Ketan,

i have checked both ways.

If you test Erics article you will see that the 'setProgress' function never
puts any text into the progressText textfield. The same if you add some code
into the 'set indeterminate' function. Only direct after the creation of the
TextField the text property is set correct.

I build an custom swc. And it works with real TextFields available on the
stage respectively in the symbol.

(see the app and example here:
http://www.mxug.de/flex/archives/2005/02/custom_preloade.cfm
sorry only german ;) but you can see the code)

Has one of you also made these experiences with AS created TextFields or do
we make something wrong completely?

Thanks,
Sven

-----Urspr�ngliche Nachricht-----
Von: Manish Jethani [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 16. Februar 2005 13:03
An: [email protected]
Betreff: Re: [flexcoders] Custom Progress Bar


Ketan R Bengali wrote:
> Now its working but still (I think) with a problem.
> Attaching my mxml file and .fla & .as file.

1. I was expecting to receive the files _off list_.
2. You did not mention _what_ problem you're facing. Not helpful at all.
3. Did you read Eric Anderson's article, the link to which I sent in 
my earlier message?

Anyway, since your custom preloader contains almost no code, it wasn't 
hard to figure out. I added a couple of lines to the constructor:

this.createTextField("progressText", 0, 0, 0, 250, 22);
progressText.text = "blah blah...";

This will show "blah blah..." constantly. If you want it to behave like 
a real preloader, see what Eric is doing in this article:

http://www.markme.com/eanderson/archives/006489.cfm

Manish


 
Yahoo! Groups Links



 





Reply via email to