Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: I love Macromedia samples! |
From: | Bryan Ax |
Date: | Wed, 8 Nov 2000 13:03:41 GMT |
So, learning actionscript for the first time. Found this lovely sample re:
on ClipEvent
onClipEvent(keyDown) {
if (Key.getCode() == Key.RIGHT) {
} _parent.nextFrame();
else if (Key.getCode() == Key.LEFT){
_parent.prevFrame();
}
If you try and run it, there are syntax errors. Lovely. SHOULD be...
onClipEvent(keyDown)
{
if (Key.getCode() == Key.RIGHT)
{
_parent.nextFrame();
}
else
if (Key.getCode() == Key.LEFT)
{
_parent.prevFrame();
}
}
MACROMEDIA: PLEASE MAKE YOUR SAMPLES' SYNTAX CORRECT. We all have to.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]