[Xerte] variables in dot syntax

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jul 26 10:34:50 BST 2010


SCR
INT
  BUTTON

In the script:
icon.nextSibling.firstChild.duplicate(someNumber - 1);

for (I = 0; I < someNumber; i++){
  icon.nextSibling.childNOdes[i].attributes.rs = 'dave_' + i
}

Gives you unique IDs?

Afterwards you can push them all into an array, and then loop over the
array?

Is this the tree thing? Did you get my example (isent it, you didn't
respond, so I thought maybe your hotmail barfed on it). Attached again,

J

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 26 July 2010 10:31
To: Xerte list
Subject: RE: [Xerte] variables in dot syntax



If the text on each button is being set to something different, don't I
need a unique rs?

----------------------------------------
> Subject: RE: [Xerte] variables in dot syntax
> Date: Mon, 26 Jul 2010 10:29:12 +0100
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
>
> Yes, but you don't need to change it?
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave
Burnett
> Sent: 26 July 2010 10:29
> To: Xerte list
> Subject: RE: [Xerte] variables in dot syntax
>
>
>
> If I have a series of swf button responses and I want to change the
text
> in each, don't I have to use the rs value?
>
>
> ----------------------------------------
>> Subject: RE: [Xerte] variables in dot syntax
>> Date: Mon, 26 Jul 2010 09:38:27 +0100
>> From: Julian.Tenney at nottingham.ac.uk
>> To: xerte at lists.nottingham.ac.uk
>>
>> Why do you need to? I have never needed to do that...
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave
> Burnett
>> Sent: 25 July 2010 22:22
>> To: Xerte list
>> Subject: [Xerte] variables in dot syntax
>>
>>
>>
>> No hair left.
>>
>> I am addressing a swf loaded as a button interaction response.
>> I am assigning rs values dynamically e.g. dave_4
>>
>> The line below gives me the correct frame count of the button states.
>> dave_4.swfFile.button._totalFrames
>>
>>
>> But how do I dynamically vary that rs value?
>>
>> I can't seem to find a syntax that it likes
>>
>> Dave
>>
>> _________________________________________________________________
>> The New Busy is not the old busy. Search, chat and e-mail from your
>> inbox.
>>
>
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
>>
>
ON:WL:en-US:WM_HMP:042010_3_____________________________________________
>> __
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _________________________________________________________________
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars
> with Hotmail.
>
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=P
>
ID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5__________________________
> _____________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
ON:WL:en-US:WM_HMP:042010_3_____________________________________________
__
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree.zip
Type: application/x-zip-compressed
Size: 315828 bytes
Desc: tree.zip
Url : http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100726/1a2627df/tree.bin


More information about the Xerte mailing list