To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-04-2005, 08:21 PM   #1
JoelTHE
Learn more, know less.
 
Join Date: Jul 2004
Posts: 169
Intelligent Dynamic MCs - HELP!

I want to make a portfolio. This portfolio will have buttons that when clicked will load external MCs that display the items in the portfolio. Pretty standard. So far.

I want to create one Button MC that will self-duplicate repeatedly to accomodate as many portfolio items as there are in the directory/list/whatever. The variables need to change with each button so that when clicked, they load the proper item MC. The goal is to make a portfolio that I can add to or subtract from without having to change the main SWF whatsoever.

Example for 3 portfolio items:

Button 1 exists in the main SWF without a specific external MC to load. It searches and finds the first external MC, claims it and then finds there is a second MC. It duplicates itself to create Button2. Button2 claims the second item and finds there is a third item. It duplicates itself to create Button3. Button3 claims the 3rd MC. Then it searches and finds no more external portfolio MCs, so it stops duplicating.

I can't rely on external MCs having sequential names, because they will likely be added and removed over time.

I'm fine on having MCs load other MCs, and although I would like to see some code, I have a grasp on duplicating MCs, but I have no idea how I might have the button MCs search for external MCs and duplicate to accomodate them.

I am very appreciative of any help anyone can provide. Thanks!
JoelTHE is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:07 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.