Flasher Archive

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


Subject: FLASH: Flash5: Swap Depths
From: Ed Harvey
Date: Tue, 9 Jan 2001 15:14:14 GMT

Does anyone know if you can use variables when using the swapDepths
actionscript? I have tried it a couple of different ways, but only works
when I type in the MC's name.

I start out with swapDepths(target) is this the same as swapDepths(depth)?
FlowerA1.swapDepths(FlowerA2); (works)
FlowerA1.swapDepths(ypos); where ypos is set by the plants _y position
(doesn't work)
name.swapDepths(FlowerA2); where name is set by the MC _name. (doesn't work)

I have traced ypos and name variables and they are being set. Can anyone
tell me what is going on?
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


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