AS3 example

Subscribe to AS3 example 3 posts

Sign in to reply


 
avatar for cataleptico cataleptico 2 posts
Flag Post

I tried running the AS3 source code in flash CS3 and even CS4 (that a friend of mine already got) but the buttons don’t work and the 3 (play, normal and hard) buttons appear at the same time. Am I supposed to fix it? :)

 
avatar for Jabor Jabor 11382 posts
Flag Post

The problem is that the Flash compiler expects all the .as files to be in the same directory as the .fla, and doesn’t check any subdirectories unless you tell it to. There are two ways to fix this:

1. Set the compiler to also look in the /Classes/ directory,
2. Copy all the .as files from /Classes/ to the project root directory.

 
avatar for Cloud_9ine Cloud_9ine 2434 posts
Flag Post

Unless you make a flash prject and link them up with that. :P

Sign in to reply