-- Lingo syntaxmemberObjRef.scriptText // JavaScript syntaxmemberObjRef.scriptText;
Member property; indicates the content of the script, if any, assigned to a cast member.
Read/write.
The text of a script is removed when a movie is converted to a projector, protected, or compressed for Shockwave Player. Such movies then lose their values for the scriptText property. Therefore, the movie's scriptText property values cannot be retrieved when the movie is played back by a projector. However, Director can set new values for the scriptTex property inside the projector. These newly assigned scripts are automatically compiled so that they execute quickly.
This statement makes the contents of field cast member 20 the script of cast member 30:
-- Lingo syntax member(20).text = member(30).scriptText // JavaScript syntax member(20).text = member(30).scriptText;
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_en/09_pr565.htm