[Xerte] Re: accessing objects with sequential names
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Wed Jan 4 09:36:40 GMT 2012
Yes, object['string'].property is the same as object.string.property.
Doesn't attach movie have an initObject as the fourth param so you can do
attachMovie(libItem, newName, depth, {_x: 30}); etc?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 03 January 2012 21:23
To: Xerte list
Subject: [Xerte] accessing objects with sequential names
Created by using attachMovie in a loop:
pageid.attachMovie("clip", "myclip"+ i, i+2);
How do I access those in a loop again?
Julian posted it but I've gapped.
I'm trying to set some _x values.
engine["myclip" + i]._x = 30;
Close?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120104/30ed02d1/attachment.html>
More information about the Xerte
mailing list