Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Flash 5 swapDepths
From: Keenan Keeling
Date: Fri, 5 Jan 2001 22:02:15 GMT

YPos is just a number. the parameter for "SwapDepths" should be the object
that you wish to swap depths with name.

Unless the object you are trying to swap is the number represented by YPos.
Is this the case?

- Keenan S. Keeling
- Interactive Developer
- Fig Leaf Software (www.figleaf.com) - "We've Got You Covered!"
- (202)797-5460


-----Original Message-----
From: Ed Harvey [eharveyatiddnet [dot] com (mailto:eharveyatiddnet [dot] com)]
Sent: Friday, January 05, 2001 4:04 PM
To: 'Flash'
Subject: FLASH: Flash 5 swapDepths


I have a MC that I am duplicating. I want the MC's to change depths
depending on what it's y posiion is. The following code is what I have, can
anyone tell me why the depths of the MC won't change it's depth?

on (release) {
stopDrag ();
_root.ypos = int ( 286 - _y );
_root.name = _name;
tellTarget (_root) {
name.swapDepths(ypos);
}
}

Thanks,

Ed


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]