swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] change text in textfield in child swf generated by


From: Eddie Adams
Subject: Re: [Swftools-common] change text in textfield in child swf generated by swfc
Date: Fri, 26 Sep 2008 21:19:21 +0200

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 <address@hidden> wrote:
On Fri, Sep 26, 2008 at 08:16:14PM +0200, Eddie Adams <address@hidden> wrote:
> the parent swf generated by flash:
>
> this.createEmptyMovieClip("edittext", 2);
>
> var mcLoader = new MovieClipLoader();
> mcLoader. {
>      _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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]