Skip to main content
Participating Frequently
August 9, 2006
Question

#include not work at Flash 9????

  • August 9, 2006
  • 4 replies
  • 558 views
Yesterday I downloaded the Flash 9. I´m at my first site build on it. First error, that returned in Output panel:

**Error** Scene 1, Layer 'AS~', Frame 1 : Line 1, Column 1 : [Compiler] Error #1093: Syntax error.
#include "preloader.as";
ReferenceError: Error #1065: Variable Timeline1_f8dd656852ddbd4c81bd45ba2a4d758 is not defined.

ReferenceError: Error #1065: Variable Timeline0_17825488161b1d45abb675858e1aea71 is not defined.


Any idea? This is a simple bar/percent preload AS.

Ty.

David

***Edit: this preload is what I´m using long time in Flash 8.
This topic has been closed for replies.

4 replies

kglad
Community Expert
Community Expert
August 10, 2006
no problem. good luck with your project!
kglad
Community Expert
Community Expert
August 10, 2006
that's incorrect. why do you say that?
davidnobAuthor
Participating Frequently
August 10, 2006
quote:

Originally posted by: kglad
that's incorrect. why do you say that?



Simple..a bad understand about what is write at Live Docs. Forgive me.
Inspiring
August 10, 2006
The pound character is no longer part of the statement in AS3. See
http://livedocs.macromedia.com/labs/as3preview/langref/statements.html#include


davidnobAuthor
Participating Frequently
August 10, 2006
So, this probally mean: No more external .as files, huh?

And sorry my English...is my 4th language ;)

kglad
Community Expert
Community Expert
August 9, 2006
remove the semi-colon.
davidnobAuthor
Participating Frequently
August 9, 2006
quote:

Originally posted by: kglad
remove the semi-colon.



Man, you can do what you do: quotes or not, semi-colon or not. Is the same message at output panel. As a test, I saved the same file as Flash 8, AS2, and it worked well, and you can open at Flash 9 again, still working. Maybe a bug?
Inspiring
August 10, 2006