This content has been marked as final. Show 4 replies
I wonder if you can just use this as well:
Application.application.myPB, where myPB is the id of the component?
There is no other way to do this?
It is perfectly acceptable way, yes, though it is sort of a heavy weight hammer. You can always pass in the id or the control itself to the external class beforehand...add a setProgressControl(ctrl:UIComponent/MovieClip/etc) or similar method to your external class.
Another way to do it would be to use events, to completely decouple your external class from the specifics of a single application.
fabouney, What is your objection?