• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

scroll

Hi there, I'm trying to do following tutorial
http://www.absolutecross.com/tutorials/flash/scrolling/

but i keep getting following errors:
**Error** Symbol=uptrigger, layer=Layer 1, frame=2:Line 1: Unexpected '/' encountered
     /text:scroll = Number(/text:scroll)-1;

**Error** Symbol=downtrigger, layer=Layer 1, frame=2:Line 1: Unexpected '/' encountered
     /text:scroll = Number(/text:scroll)+1;

I downloaded the file from the tutorial and it seems to be absolutly the same... but it works

any ideas?
0
dkloeck
Asked:
dkloeck
1 Solution
 
MontoyaProcess Improvement MgrCommented:
that is a very old tutorial. The commands you are looking at have been replaced by newere commands. Go to your publish settings and change them to ActionScript 1, instead of Actionscript 2. That should help.

0
 
iamlfetchCommented:
I post this code on this topic, it does the same thing but in a different way
http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21705490.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now