[Xerte] Re: set value in loaded swf

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jan 27 10:13:13 GMT 2011


Or make it a component that takes the label from something on initObject. Cleaner as you don't need an interaction icon to handle onLoad, horses for courses,

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 27 January 2011 08:21
To: Xerte discussion list
Subject: [Xerte] Re: set value in loaded swf

you need to wait until it's loaded.

________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 26 January 2011 23:05
To: Xerte list
Subject: [Xerte] Re: set value in loaded swf

OK, this should be the same as ID, right:

icon.previousSibling.previousSibling.clip()

so

icon.previousSibling.previousSibling.clip().clip.label.SetText('dave');
?

The simple.fla just has the one textfield instance, 'label' afaik.

________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 26 Jan 2011 22:31:37 +0000
Subject: [Xerte] Re: set value in loaded swf
iconID.clip

________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 26 January 2011 20:01
To: Xerte list
Subject: [Xerte] set value in loaded swf

Let's say I take simple.fla from the buttons template folder and cut it down to a single frame.
Then I call that into a graphic icon.

Trying to figure out how to set the label.

If used as an interaction button, you obviously just set the label in the properties tab.
clip?
clip()?

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.

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte 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/20110127/925dd30f/attachment.html>


More information about the Xerte mailing list