Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Arrays and Swapping Movie Clips |
From: | Mike Kelly |
Date: | Wed, 3 Jan 2001 13:17:56 GMT |
Hello,
I'm looking to swap a movie clip in Flash 5 according to which keyboard key
is being pressed. I've been trying to address the original movie clip as an
indexed property of the main timeline. Ie, if there's only one movie clip
on the main timeline, (_root.onlyclip) I was hoping it might be addressable
as _root[0].
That way, to swap the movieclip to _root.newclip I could just say _root[0] =
newclip.
Needless to say this doesn't seem to be working!!
Is there a simple way to swap movie clips without having one off stage and
swapping their co-ordinates? This seems very long winded, and complicates
the animation code for the visible clip.
No doubt there's a simple way of doing this (I hope), but I'm a beginner.
Thanks for suggestions,
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]