Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: actionScript question: frustrated because it's so easy in Director! |
From: | Bryan Ax |
Date: | Wed, 8 Nov 2000 13:33:49 GMT |
OK, so I'm trying to recreate a silly little game I already did in Director
using Flash 5 scripting now...
Anyway, the question is this:
Let's say you assign a movieClip to a particular level in a movie using:
_root.attachMovie("newDrop", "thisDrop"+myLevel,myLevel);
where myLevel is the level we're putting the value in to. Is there anyway
then from within each movie clip to reference it's own _level, much like in
Director you can have an object reference it's own spritenum?
I've got a workaround that's working for what I need to do by popping
elements from an array and assigning that to a property in my child object,
but it seems silly to have to do this. What am I missing?
Bryan Ax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Replies
Re: FLASH: actionScript question: frustr, Helen Triolo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]