[Xerte] Re: Flash basic question - buttons

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jun 29 11:51:05 BST 2012


This is a swf that you want to load into Xerte?

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: 28 June 2012 01:07
To: Xerte discussion list
Subject: [Xerte] Flash basic question - buttons

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



[cid:image001.png at 01CD55E2.FFA29F70]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120629/1f6a9ee2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20982 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120629/1f6a9ee2/attachment-0001.png>


More information about the Xerte mailing list