
Welcome Guest
|
#1
|
|||
|
|||
|
Including Custom Class error
I suspect that the answer to this dilemna will be really easy but I'm somewhat new to Actionscripting and this problem has been stumping me for days now.
I'm having a problem USING a new Class that I created in Flash MX 2004. The problem is that when I try to #include the class file in my main movie, I keep getting: **Error** C:\Project Data\Graphs\FLA\Ells.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts. class Ells { Ells.as is the class file and the code checks syntax with no errors. In fact, I dumbed it down to just a class reference with 2 vars and no methods, but still the error. I checked the Publish Settings and I've set to Flash Player 7 / Actionscript 2.0. I've also tried with all combinations of Publish Settings options, but no luck. I'm stumped.
__________________
dr.G |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linking symbol to custom class | skitzer | Flash CS3 / Flash 9 |
6 | 03-12-2010 02:20 PM |
| Extend MovieClip. Error 1195; 'static type class'? | lakehaze | Newbies |
0 | 12-16-2008 05:59 AM |
| Syntax error in class declaration extends MovieClip | clem_c_rock | Newbies |
1 | 11-09-2007 05:36 AM |
| Handling custom events: syntax of handler in listener class definition | ADreamer_17 | Actionscript 2.0 |
4 | 08-11-2004 04:44 PM |
| Reference to a custom movieclip class inside a custom class | ADreamer_17 | Flash MX 2004 |
4 | 07-20-2004 09:40 AM |

Programming Languages



