[Xerte] Flash basic question - buttons

KnowledgeWare knowledgeware at kccsoft.com
Thu Jun 28 01:07:16 BST 2012


I have a button in the library. I'd like to use three instances of it on the
stage, and assign a different name to each from actionscript (Exit, return
to LMS, cancel).

 

I have the text set to dynamic but don't seem able to change it.
Exit_exit_btn is the instance name of the first button on the stage.

 

Exit_exit_btn.text = "Exit";

Exit_exit_btn.text.dt = "Exit";   etc. doesn't name the button

 

How should I be doing this? I should not be setting an instance name on the
button in the library, should I?

 

RonM2

 

 

 

Description: cid:image001.png at 01CD5486.26D05230

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120627/0976139c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20982 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120627/0976139c/attachment-0001.png>


More information about the Xerte mailing list