Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Flash 5 Beginner's Problem |
From: | Rebecca Lovelace |
Date: | Thu, 14 Dec 2000 19:05:11 GMT |
You need eval("square"+i).
HTH
Rebecca
-----Original Message-----
From: mike [dot] kellyt-online [dot] de [mike [dot] kellyt-online [dot] de (mailto:mike [dot] kellyt-online [dot] de)]
Sent: Thursday, December 14, 2000 5:46 AM
To: flasherchinwag [dot] com
Subject: FLASH: Flash 5 Beginner's Problem
Hope someone can help!
I have six movie clips ("square1" - "square6") on six layers in my main
timeline. In the first frame of my "actions" layer I have:
for (i=1; i<=6; i++) {
setProperty (("square" + i), _x, ("square"+i)._x+5);
}
Then in the 10th frame of the "actions" layer, I ask the movie to goto 1 and
play.
Unfortunately, instead of moving the clips by 5 pixels every loop, this
moves the whole lot off screen in one go.
Should my first bit of code be in a handler of some kind? Why are the "on"
and "onclipevent" handler options dimmed in my action code window?
Suggestions gratefully received.
Mike
PS. Sorry if you have received this multiple times - it's not coming through
to my mailbox, so I'm trying different setttings.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]