It should indeed be _root.edittext.myedittext.text !
But it doesnt change the textfield
The second try gives the following error
"edittext.sc", line 4 column 29: error- Illegal argument "variable" to .text
Any ideas
On Fri, Sep 26, 2008 at 9:01 PM, Matthias Kramm <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 26, 2008 at 08:16:14PM +0200, Eddie Adams <
> [EMAIL PROTECTED]> wrote:
> > the parent swf generated by flash:
> >
> > this.createEmptyMovieClip("edittext", 2);
> >
> > var mcLoader = new MovieClipLoader();
> > mcLoader.onLoadComplete = function() {
> > _root.edittext.myedittext = "set from parent";
> > }
>
> shouldn't that be _root.edittext.myedittext.text ?
>
> If that doesn't work, try setting a variable:
> .text myedittext font=Fontname
> text="set from child" variable=_root.textcontent
>
> and then set "_root.textcontent" from parent.
>
> Greetings
>
> Matthias
>
>
>
>
>