0

I have a external swf file which has a dynamic text field in key-frame 70 how can i set that field's text from another fla project.

I tried like

ldr = new Loader();
rq = new URLRequest("extarnal.swf");
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, ExLoaded); 
ldr.load(rq);

function ExLoaded(e:Event):void 

{                   
    var externalSWF:MovieClip= MovieClip(e.currentTarget.content);
    externalSWF.ThatDynamicText.text="this is a test";  // got error here 
    addChild(externalSWF);

}
Sarwar Hasan
  • 1,561
  • 2
  • 17
  • 25

1 Answers1

0

You can add a layer for the dynamic text field and expand the layer 70 frames. related post: How to refer to object from other keyframe

If using TLF text in external swf file check out this post.

Community
  • 1
  • 1
null.point3r
  • 1,053
  • 2
  • 9
  • 17