You are here:

Animation/Action Script Syntax Erro

Advertisement


Question
Hi Russell
I have been trying to add the following actionscript to a movie clip without any success:
on (press) {
this.startDrag() ;
}
on (release) {
this.stopDrag() ;
}
Errors as follows:
1087: Syntax error: extra characters found after end of program
I am following the tutorials from this website:
http://animation.about.com/od/flashanima..
I would be very grateful if you could help me out . Thank you

Anita


Answer
Hi Anita,

I'm stuck on this. Try this user group:

http://www.laflash.org/laflash

They may have the answer for you.

Russell

Animation

All Answers


Answers by Expert:


Ask Experts

Volunteer


Russell Calabrese

Expertise

Technical questions about hand drawn and computer animation techniques and production. Historical questions about cartoons and animation.

Experience

30+ years as an Animator, Director and Producer of Television, Feature, Commercial and Independent Animation.

Organizations
Academy of Television Arts and Sciences (Senior Governorof the Animation Peer Group) Executive Board Member of The Animation Guild ASIFA Hollywood

Education/Credentials
SVA, Rutgers University

Awards and Honors
Emmy Award winning Director 2007 "Where's Lazlo?: Camp Lazlo"
Emmy Award winning Director 1999 for "Steven Spielberg Presents Pinky and the Brain"

Past/Present Clients
Warner Brothers, Disney, Cartoon Network

©2012 About.com, a part of The New York Times Company. All rights reserved.