[Xerte] Re: Flash basic question - buttons

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jul 2 09:46:14 BST 2012


Not sure what happens with libraries when you load the swf into another one, start by testing whether you can do attachMovie to insatiate the buttons.

The .label property is what you should set, IIRC.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: 29 June 2012 18:19
To: 'Xerte discussion list'
Subject: [Xerte] Re: Flash basic question - buttons

Yes Julian...it's an external swf (part of the menu)

RonM2

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, June 29, 2012 3:51 AM
To: Xerte discussion list
Subject: [Xerte] Re: Flash basic question - buttons

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> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[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 01CD5837.8522D330]


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120702/f9973d58/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/20120702/f9973d58/attachment-0001.png>


More information about the Xerte mailing list