
Welcome Guest
|
#1
|
|||
|
|||
|
Loading buttons into movie clips in ordered sequence?
I posted this over at Flashkit recently but thought I'd add it here as well in the hopes of getting this sorted out.
Here's a brief run down of something I need to do... I wonder if anyone has any suggestions on how best to do it. The simplified version is as follows; I have 5 buttons labelled 1, 2, 3, 4 and 5. They are 30x30pixels and each in a seperate swf file called button1.swf, button2.swf and so on. I need to load these buttons into a main flash file called main.swf. In this swf I've placed 5 empty movie clips with the instance names slot1, slot2, slot3, slot4 and slot5. I can load the buttons into these slots very easily by using; Code:
loadMovie("button1.swf", "slot1");
loadMovie("button2.swf", "slot2");
loadMovie("button3.swf", "slot3");
loadMovie("button4.swf", "slot4");
loadMovie("button5.swf", "slot5"); Code:
http://www.mysite.com/admin.php?button1=yes,button2=no,button3=yes Now I can probably make the Flash file read that url somehow and show only the buttons they've opted to display (haven't really sorted that out yet actually) but what I need is not only that but somehow to make it so that if they choose button1, button 3 and button 5 (for instance) that those three buttons will appear in the first three slots of main.swf I can't have buttons 1, 3 and 5 show up in slots 1, 3 and 5... I need them in 1, 2 and 3... all grouped together. If they select all five buttons, then all five slots will be filled. If they select just button 4, then it needs to go into the first slot in main.swf Not sure how best to go about this and I'm open to any suggestions. Sorry for the long post, I just wanted to be clear about everything. David |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| loading images fade-in/out into empty movie clips | cthomasmn | Flash MX 2004 |
4 | 01-03-2008 04:50 PM |
| Loading Movie Clips and Pathing | Chris Manuel | Flash MX 2004 |
1 | 12-21-2005 08:35 PM |
| movie clips as buttons | jonyboy | Flash MX ActionScript |
4 | 08-13-2004 09:16 AM |
| Defining hitArea for movie clips that are used for buttons | grooovylim | General Flash | 2 | 06-24-2003 04:09 PM |
| preloading | plankd | Newbies |
4 | 08-25-2000 11:15 AM |




