I’ll do my best to keep this question as short as possible:
I’ve made 5 ‘fruit’ movieclips and they’re in my library.
And using so.addVariable(“getNumber”, “003”); in my HTML code, I’d like those particular fruit movieclips to play one after the other (and then loop).
I’ve had a look around for something similar, without luck, so I’m trying to make it from scratch. I got as far as getting it to load the first number and then the first type and url, but I’m stuck on getting to go onto the next type, also being able to define (with addVariable) which number’s nodes gets played.
Here’s an example of my XML to show the structure.
<?xml version="1.0" encoding="utf-8"?>
<list>
<number="001" >
<fruit type="banana" url="http://www.google.com" />
<fruit type="orange" url="http://www.google.com" />
<fruit type="apple" url="http://www.google.com" />
<fruit type="grape" url="http://www.google.com" />
<fruit type="pear" url="http://www.google.com" />
</number>
<number="002" >
<fruit type="banana" url="http://www.google.com" />
<fruit type="pear" url="http://www.google.com" />
</number>
<number="003" >
<fruit type="orange" url="http://www.google.com" />
<fruit type="apple" url="http://www.google.com" />
</number>
</list>
Many thanks to the kind soul(s) that can lend a helping hand or to point me in the right direction.