|
-
There is a few methods. - Guessing you wish to keep the list component and xml for the choice.
Your request seems to be asking 2 different items.
One - is having items on different frames
Two - is having the items called in to a holder mc, So you could effectively have each item to call in a different swf, or you could even call in images and videos.
Or none of the above
Option 3 - Call in all the information you need, ie; All the images, videos, and text. Being an eCommerce section you would want a buy option. (More advance)
Method 1;
Place top of the frame
then give each frame you which to include a name, ie Boots, Coats, Shirts, Pants.
So we have 4 more frames
Then change the labels and url in the xml to the frame name.
Code:
<links>
<item>
<label>Boots</label>
<url>boots</url>
</item>
<item>
<label>Coats</label>
<url>coats</url>
</item>
<item>
<label>Shirts</label>
<url>shirts</url>
</item>
<item>
<label>Pants</label>
<url>pants</url>
</item>
</links>
In the actionscript, Change
Code:
getURL(evt.target.selectedItem.link);
To
Code:
gotoAndStop(evt.target.selectedItem.link);
Method 2;
Similar idea though you would place the url of the swf, video or image you wish to call in
Then change the getURL to
Code:
mcholder.unloadMovie();
mcholder.loadMovie(evt.target.selectedItem.link);
So you would unload the item in mcholder, then load in the new one.
The mcholder would be a movieclip on the timeline. With the instance name mcholder.
You can then call in multiple item types.
If you need more information shout.
Trust my code, and not my english.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|