1 person found this helpful
I'd recommend reading the Flex 3 Dev Guide, Chapter 4 on Events. http://livedocs.adobe.com/flex/3/devguide_flex3.pdf
This will explain the event model and how to dispatch and listen for events.
As I mentioned to you earlier, you'll need to play around with listening either to the complete event or the htmlRender event from mx:HTML.
Thanks again Jason.
I managed to find a solution that listens for a html component to complete it's loading and then despatches an event:-
I probably just need to replace the event in that example with my screenshot event (which you already know of) and then do the same for every one of the html components I have which unfortunately I have about 50 of. This may speed up the loading time as it will mean that I don't have to have a function constantly loading these images (which is what I was recommended in my looping a function thread which also works) and each image will appear only when it's corresponding html component has finished loading. Should work well I think.
Am I thinking along the right lines here when considering the intention of this is a method to have live thumbnails of websites within an app without the use of placing images on a server or is there a better method you can think of that can be achieved in flex alone?
I find working with existing examples and adapting them to my own apps is my best way to learn but I'll check out those docs too. Thanks a lot. All the best.