Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Bbt Lists
Duncan Reid wrote: One thing you can try is to give your image an id so it's seen as a "MovieClip" within the textfield, then you can run a checker to see when it's loaded then redraw the scrollbar... so to access it you would path: textfieldname.mcID. hope this helps some, Dunc Ah! I will tr

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Bbt Lists
Gustavo Teider - Adobe Flash Developer wrote: Gustavo Teider - Adobe Flash Developer wrote: your image its loading in html textfield with This is correct. It is an html field with the img tag (in this case). I am offsite at another location, so I do not have my files with me to post. But th

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Duncan Reid
One thing you can try is to give your image an id so it's seen as a "MovieClip" within the textfield, then you can run a checker to see when it's loaded then redraw the scrollbar... so to access it you would path: textfieldname.mcID. hope this helps some, Dunc On 9/20/06, Bbt Lists <[EMAIL P

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Gustavo Teider - Adobe Flash Developer
Bbt Lists escreveu: Gustavo Teider - Adobe Flash Developer wrote: use setScrollTarget scrollbar.setScrollTarget(your_textfield); is this ? But how do you tell if the data is actually done loading? I mean for example, i have a field that loads a jpg in, and since the jpg takes a little l

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Gustavo Teider - Adobe Flash Developer
Bbt Lists escreveu: Gustavo Teider - Adobe Flash Developer wrote: use setScrollTarget scrollbar.setScrollTarget(your_textfield); is this ? But how do you tell if the data is actually done loading? I mean for example, i have a field that loads a jpg in, and since the jpg takes a little l

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Marc Hoffman
Good point, and I don't know of an elegant answer. But one hack would be to simultaneously load your images into hidden clips using MovieClipLoader, and set up some onInit calls that would tell you when all the images have been downloaded. Marc At 09:20 AM 9/20/2006, you wrote: Gustavo Teid

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Bbt Lists
Gustavo Teider - Adobe Flash Developer wrote: use setScrollTarget scrollbar.setScrollTarget(your_textfield); is this ? But how do you tell if the data is actually done loading? I mean for example, i have a field that loads a jpg in, and since the jpg takes a little longer, the scroll bar

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Gustavo Teider - Adobe Flash Developer
dnk escreveu: Hi - I have had a few times where I need to call the redraw() function to recreate my scrollbars after the data is loaded But I obviously need to wait until the data is completed. The times I seem to have the issues is when loading something that takes a bit longer (IE an imag

[Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-19 Thread dnk
Hi - I have had a few times where I need to call the redraw() function to recreate my scrollbars after the data is loaded But I obviously need to wait until the data is completed. The times I seem to have the issues is when loading something that takes a bit longer (IE an image or something