Skip to main content
Known Participant
October 22, 2014
Question

Update A Stage Component From A External Actionscript Class File/Package

  • October 22, 2014
  • 0 replies
  • 161 views

I've created a "label" which I dragged onto the stage, and I have an external class that I need to be able to update this label. But right now, it as if the class has no idea the label exists.

The external file is somewhat setup like this:

package {

import....

....

...

  public class Downloader extends EventDispatcher {

          public function Downloader() {

          ...

          }

}

}

----------------

I need a way to update the text for the label within that package. Can someone explain to me what extra steps are needed? I've searched online, but I'm just getting a ton of information which I feel isn't relevant to what I need, or it seems like they are over complicating things.

This topic has been closed for replies.