<overly simplistic explication>

You can set the visual stacking order of objects visually via layers, you can set the visual stacking order of objects programatically via depth.

</overly simplistic explication>

Andrew Mercer wrote:
Can someone please expain the depth param for me.
I now have:
attachMovie("tabButton_mc", "newButton0_mc", 2, {label: 'one'});
newButton0_mc._x = 144.4;
newButton0_mc._y = 130;
attachMovie("tabButton_mc", "newButton1_mc", 3, {label: 'two'});
newButton1_mc._x = 50;
newButton1_mc._y = 50;
This works when having deferent depths, but not the same.


    -----Original Message-----
    *From:* [EMAIL PROTECTED]
    [mailto:[EMAIL PROTECTED] Behalf Of *Jon Bloomer
    *Sent:* Wednesday, 17 December 2003 1:01 PM
    *To:* Flash Developers List
    *Subject:* [fugli] Re: add component

    Hi Andrew,
    make sure you have set up the linkage on the component or movieclip
    by right clicking on it and choosing linkage, add a name and check
    export for actionscript. The use the attachMovie() method. When you
    attach it you add a new name in the arguments which you then use to
    reference the movieclip or component, so if you called it myCheckBox
    you can then assign properties to it like this:
    myCheckBox._x=100;

etc.

    hope this helps.
    Jon

On 17/12/2003, at 1:57 PM, Andrew Mercer wrote:

        I am sure this is a real basic thing, but I am having troubles
        finding any help on it.
        I have a component (movie clip) in the library - how do I
        programmatically add an instance of it to th stage?


Regards, Andrew Mercer Senior Developer

        *Power* *Business Systems*
        7 Aberdeen Street
        Perth WA 6000

        *T:* +61 8 9221 1182
        *F:* +61 8 9325 5198
        *E:[EMAIL PROTECTED]
        *W:*www.power.net.au


*/" May happiness be yours during the season of goodwill, and may the New Year bring you and yours, peace and prosperity."/* */Happy Holidays from your team atPower Business Systems./*

        *CAUTION -*
        /This message may contain privileged and confidential
        information intended only for the use of the addressee named
        above. If you are not the intended recipient of this message you
        are hereby notified that any use, dissemination, distribution or
        reproduction of this message is prohibited. If you have received
        this message in error please notify Power Business Systems
        immediately. Any views expressed in this message are those of
        the individual sender and may not necessarily reflect the views
        of Power Business Systems./


---
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


Jon Bloomer - Web Designer
One Of A Kind
email: [EMAIL PROTECTED]
http://www.oneofakind.com.au
P: 02-9699-2477 F: 02-9699-2857
PO Box 1466 Darlinghurst NSW 2010

-- 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

Reply via email to