actionscript 3 - How to access/set dynamic text box which is in defferent keyframe in external swf file in flash AS3? -


i have external swf file has dynamic text field in key-frame 70 how can set field's text 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 test";  // got error here      addchild(externalswf);  } 

you can add layer dynamic text field , expand layer 70 frames. related post: how refer object other keyframe

if using tlf text in external swf file check out this post.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -