Skip to main content
Known Participant
June 17, 2009
Question

how to access parent dynamic textx

  • June 17, 2009
  • 2 replies
  • 437 views

I have main screen that has Loader to load SWF files. Within these SWF files there is also Loader that loads SWF files.

                                   loads                                   loads

So  Main Screen  ============>  SWF files  ==============> SWF files

          |                                                                                               |

          |                                                                                               |

          |                                                                                               |

  dynamic text                                                         how to access from here the dynamic text

The main Screen has MovieClip (which is called page) that contains the dynamic text(which is called left_txt )

I tried this:

parent.page.left_txt.text = "Moora";

and

MovieClip(parent).page.left_txt.text = "Moora";

but it didn't work.

Waiting for your help.

This topic has been closed for replies.

2 replies

Inspiring
June 17, 2009

You can create to Sharedobject for the Dynamic text box

and then trace the SharedObject value

Try it  i am not sure..

regards,


Kamal

moorawayAuthor
Known Participant
June 17, 2009

Thank you all for helping !


but both suggestions don't work !

kglad
Community Expert
Community Expert
June 17, 2009

try:


MovieClip(parent.parent.parent.parent).page.left_txt.text = "Moora";


moorawayAuthor
Known Participant
June 17, 2009

It dosen't work.