<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Probably a drawn object then…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Tom Reijnders<br><b>Sent:</b> 16 May 2011 13:05<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Dynamic text in buttons<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>I tried that, but I can't find the instance name of the label in the object...<br><br>i.e. ried that for the backBtn, i.e. I changed the static text 'back' in a dynamic text field with instance name txtLabel<br><br>Than I I do an inspect of backBtn:<br><br>tabIndex : 64002<br>blendMode : normal<br>cacheAsBitmap : false<br>filters : <br>scale9Grid : undefined<br>getDepth : [type Function]<br>enabled : true<br>useHandCursor : true<br>onSetFocus : [type Function]<br>onRelease : [type Function]<br>instance361 : _level0.engine.IFC.backBtn.instance361<br><br>txtLabel doesn't show up....<br><br><br><br>Op 16-5-2011 13:43, Dave Burnett schreef: <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt'> <br>When I get this I usually try an inspect(the_object) to make sure I'm actually addressing the right thing.<br> <br><br> <br>> Date: Mon, 16 May 2011 13:04:06 +0200<br>> From: <a href="mailto:reijnders@tor.nl">reijnders@tor.nl</a><br>> To: <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>> Subject: [Xerte] Re: Dynamic text in buttons<br>> <br>> I tried that , but that doesn't seem to work....<br>> I did that with the gotoPageButton (made the static text dynamic text <br>> with instance name txtLabel)<br>> <br>> Than I tried to set the label:<br>> this.toc_mc.attachMovie("gotoPageButton", "gotoPage", 9);<br>> this.toc_mc.gotoPage.txtLabel.text = "yes!";<br>> <br>> Doesn't work ....<br>> <br>> Op 16-5-2011 12:45, Julian Tenney schreef:<br>> > You need to attach the movie and then set the text with your code, so blah.blah.someTextField.text = theText<br>> ><br>> > -----Original Message-----<br>> > From: <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Tom Reijnders<br>> > Sent: 16 May 2011 11:44<br>> > To: Xerte discussion list<br>> > Subject: [Xerte] Re: Dynamic text in buttons<br>> ><br>> > Sorry annoying typo in subject...<br>> ><br>> > Op 16-5-2011 12:41, Tom Reijnders schreef:<br>> > <br>> >> Julian,<br>> >><br>> >> I am playing with buttons in XMLEngine.xml. I can't figure out how to<br>> >> make the texts of the library buttons dynamic. Dow you know how to do<br>> >> that?<br>> >><br>> >> I modified the static text into dynamic text, and added an instance<br>> >> name, but how do you set the text than when you attach the button as a<br>> >> movie clip??<br>> >><br>> >> t.i.a.<br>> >><br>> >> Tom<br>> >><br>> >> _______________________________________________<br>> >> Xerte mailing list<br>> >> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> >> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>> >><br>> >> This message and any attachment are intended solely for the addressee<br>> >> and may contain confidential information. If you have received this<br>> >> message in error, please send it back to me, and immediately delete<br>> >> it. Please do not use, copy or disclose the information contained in<br>> >> this message or in any attachment. Any views or opinions expressed by<br>> >> the author of this email do not necessarily reflect the views of the<br>> >> University of Nottingham.<br>> >><br>> >> This message has been checked for viruses but the contents of an<br>> >> attachment<br>> >> may still contain software viruses which could damage your computer<br>> >> system:<br>> >> you are advised to perform your own checks. Email communications with the<br>> >> University of Nottingham may be monitored as permitted by UK legislation.<br>> >><br>> >> <br>> > <br>> <br>> -- <br>> --<br>> <br>> Tom Reijnders<br>> TOR Informatica<br>> Chopinlaan 27<br>> 5242HM Rosmalen<br>> Tel: 073 5226191<br>> Fax: 073 5226196<br>> <br>> <br>> <br>> _______________________________________________<br>> Xerte mailing list<br>> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></p><p style='margin-left:36.0pt'>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. <o:p></o:p></p><p style='margin-left:36.0pt'>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. <o:p></o:p></p><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'>_______________________________________________<o:p></o:p></pre><pre style='margin-left:36.0pt'>Xerte mailing list<o:p></o:p></pre><pre style='margin-left:36.0pt'><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><o:p></o:p></pre><pre style='margin-left:36.0pt'><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'>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.<o:p></o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'>This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre><pre style='margin-left:36.0pt'>may still contain software viruses which could damage your computer system:<o:p></o:p></pre><pre style='margin-left:36.0pt'>you are advised to perform your own checks. Email communications with the<o:p></o:p></pre><pre style='margin-left:36.0pt'>University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'> <o:p></o:p></pre><p class=MsoNormal style='margin-left:36.0pt'><br><br><o:p></o:p></p><pre style='margin-left:36.0pt'>-- <o:p></o:p></pre><pre style='margin-left:36.0pt'>--<o:p></o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre><pre style='margin-left:36.0pt'>Tom Reijnders<o:p></o:p></pre><pre style='margin-left:36.0pt'>TOR Informatica<o:p></o:p></pre><pre style='margin-left:36.0pt'>Chopinlaan 27<o:p></o:p></pre><pre style='margin-left:36.0pt'>5242HM Rosmalen<o:p></o:p></pre><pre style='margin-left:36.0pt'>Tel: 073 5226191<o:p></o:p></pre><pre style='margin-left:36.0pt'>Fax: 073 5226196<o:p></o:p></pre><pre style='margin-left:36.0pt'><o:p> </o:p></pre></div></body></html>