every success is followed by another wall!

I now have :

var tabArray = new Array();

attachMovie("tabButton_mc", "newButton0_mc", 90, {label: 'One'});
newButton0_mc._x = 50;
newButton0_mc._y = 50;
newButton0_mc.swapDepths(1);
tabArray[0] = newButton0_mc;

attachMovie("tabButton_mc", "newButton1_mc", 90, {label: 'Two'});
newButton1_mc._x = 150;
newButton1_mc._y = 50;
newButton1_mc.swapDepths(-1);
tabArray[1] = newButton1_mc;

attachMovie("tabButton_mc", "newButton2_mc", 90, {label: 'Three'});
newButton2_mc._x = 250;
newButton2_mc._y = 50;
newButton2_mc.swapDepths(-2);
tabArray[2] = newButton2_mc;

Q1) The all have the same depth but are all showing up. I thought the first time I 
trided it it didn't work, and from what Mr Muller says it should work either.

Q2) What is the best way of creating an array of my movie clips?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Muller
Sent: Wednesday, 17 December 2003 2:05 PM
To: Flash Developers List
Subject: [fugli] Re: add component - part 2


You can only have one object per depth.

Andrew Mercer wrote:

> but I should be able to have multiple components per depth - no?


-- 
Andrew Muller
Senior Macromedia Certified Instructor - ColdFusion, Flash
Certified Advanced Macromedia ColdFusion Developer - CF5, CFMX
Certified Macromedia Flash Developer - FL5, FMX

Daemon Internet Consultants
Macromedia Premier Solutions Partner

Macromedia Certified Training
http://www.daemon.com.au/go/training

T: 61 2 9380 4162
F: 61 2 9380 4204
17 Roslyn Gardens
Elizabeth Bay NSW 2011 AUSTRALIA

Daemon: Serious Web Development

FarCry, the open source CMS for ColdFusion MX
http://farcry.daemon.com.au/


---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to