[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] change text in textfield in child swf generated by swf
From: |
Eddie Adams |
Subject: |
[Swftools-common] change text in textfield in child swf generated by swfc |
Date: |
Fri, 26 Sep 2008 20:16:14 +0200 |
Here's how?:
the child swf generated by swfc:
.flash filename="edittext.swf" bbox=410x210
.font Fontname filename="EstaBold.ttf"
.text myedittext font=Fontname text="set from child"
.put myedittext x=3 y=100
.end
the parent swf generated by flash:
this.createEmptyMovieClip("edittext", 2);
var mcLoader = new MovieClipLoader();
mcLoader. {
_root.edittext.myedittext = "set from parent";
}
mcLoader. {
trace(_root.edittext.myedittext);
}
mcLoader.loadClip("edittext.swf", edittext);
But nothing changes, any clue?
Greet,
eddie
- [Swftools-common] change text in textfield in child swf generated by swfc,
Eddie Adams <=