Author Topic: Accessing Loaded Movieclip textures  (Read 816 times)

simonbeech

  • Newbie
  • *
  • Posts: 2
    • View Profile
Accessing Loaded Movieclip textures
« on: November 05, 2011, 12:40:29 am »
Hi,

Just started with the framework today and am loving to so far

Is it possible to access the a loaded movieclip and set a property, for example i'm loading a texture swf that contains a dynamic text box, can I update the contents of that textbox once the texture is loaded?

thanks

Simon

simonbeech

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Accessing Loaded Movieclip textures
« Reply #1 on: November 08, 2011, 06:44:22 pm »
Ok sorted it.

you access your movieclip like this.

loader.getLoadedContent( PATH + "ball.swf").displayObject.ball.ring.balltext.text = "23";

Hope this helps anyone else.

Simon

Gurel Erceis

  • Administrator
  • Newbie
  • *****
  • Posts: 11
    • View Profile
Re: Accessing Loaded Movieclip textures
« Reply #2 on: November 14, 2011, 08:42:54 pm »
You are right. I'll add this sample to our wiki =)