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: Huub Schaeks
Subject: RE: [Swftools-common] change text in textfield in child swf generated by swfc
Date: Fri, 26 Sep 2008 21:58:01 +0200

The .text command should be an .edittext:

.edittext myedittext font=Fontname text="set from child" 
variable=_root.textcontent

should work

Regards,
Huub

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

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  wrote:

On Fri, Sep 26, 2008 at 08:16:14PM +0200, Eddie Adams  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












_________________________________________________________________
Uniek: Onbeperkt chatten op je mobiel voor maar € 2,95 per maand!
http://www.overaljevriendenbijje.nl/#superdeal



reply via email to

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