[flexcoders] Custom Progress Bar

2006-11-05 Thread John Kirby
Title: quote






I want to use the Progress Bar as component in a video player to show
how much of the movie has played.

Can you subclass the Progress Bar to do this? I was planning on
creating a timer and a listener to update the progress bar.

Has anyone done something like this?

Thanks.
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: Re: [flexcoders] Custom Progress Bar

2005-02-16 Thread Ketan R Bengali
Now its working but still (I think) with a problem.
Attaching my mxml file and .fla  .as file.

Thanks Manish


Ketan B.




On Wed, 16 Feb 2005 Manish Jethani wrote :
Ketan R Bengali wrote:
I have converted a movieclip (in flash) to a .swc file which is 
a
progressbar. I wish to use the same as a custom progress bar 
for
my
flex app. Below is the Application mxml code:
[snip]
I don't know much about this beyond what I've read in the docs, 
but
maybe this will provide us a clue:
http://www.markme.com/eanderson/archives/006489.cfm
Does your preloader work if you put it in the same directory as 
your
app's main MXML file?
If you could send me the SWC file off list (with the source 
code), I
could try experimenting with it.
Manish
Yahoo! Groups Sponsor
ADVERTISEMENT
document.write('
');

Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/


To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]


Your use of Yahoo! Groups is subject to the
Yahoo! Terms of Service
.



zipnVwfXMvynI.zip
Description: Zip archive


AW: [flexcoders] Custom Progress Bar

2005-02-16 Thread Sven Claar
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: flexcoders@yahoogroups.com
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