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

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

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

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

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

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... img id='mcID' src='stuff.jpg' hspace='10' vspace='5' align='left' so to access it you would path:

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 img src ?? Do you have an example about this ? Put your files in your server , so , will be easy []´s This is correct. It is an html field with

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... img id='mcID' src='stuff.jpg' hspace='10' vspace='5' align='left' so to access it you would

[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