| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Flash/Flex/AS3 luvr luvr
Join Date: Mar 2005
Location: Sausalito, CA
Posts: 43
|
Hiii.
I'm trying the very simple Document class textfield in the Properties dialog box, where I add in the value: Main I save that as myFlashCS3.fla. There's nothing else in that .fla. In that same dir, I have Main.as, which has this code: Code:
package
{
import flash.display.MovieClip;
public class Main extends MovieClip
{
public function Main()
{
trace("holla");
}
}
}
What am I doing wrong? Thank you. |
|
|
|
|
|
#3 |
|
Flash/Flex/AS3 luvr luvr
Join Date: Mar 2005
Location: Sausalito, CA
Posts: 43
|
I looked it over and all seems to be in order.
I've attached the .fla and the class file for review. I also made sure that the file system allows me all the rights I may need, and I confirmed that I do have those rights. Thanks for replying so quickly before. Thank you. |
|
|
|
|
|
#4 |
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,000
|
it works for me as is
__________________
I'm old enough to know better and young enough to do it anyway. -- maskedman |
|
|
|
|
|
#5 |
|
Flash/Flex/AS3 luvr luvr
Join Date: Mar 2005
Location: Sausalito, CA
Posts: 43
|
I'm debugging my class file by adding a breakpoint at the trace command, but I'm not sure what to look for that may explain why this isn't working for me.
Any recommendation? Thank you. |
|
|
|
|
|
#6 |
|
Flash/Flex/AS3 luvr luvr
Join Date: Mar 2005
Location: Sausalito, CA
Posts: 43
|
Problem solved.
'Verbose' option not selected for Filter Level, which is an item on the Output Panel's context menu. aaargh!!! Thanks all for your help. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you refer to the Document Class? | LostInTheCosmos | ActionScript 3.0 | 17 | 04-05-2008 03:24 PM |
| Is a custom event handling class wise? | frank grimes | ActionScript 3.0 | 8 | 07-28-2007 04:25 AM |
| attachMovie kills MovieClip subclass objects | Flash Gordon | ActionScript 2.0 | 10 | 05-17-2007 08:03 AM |
| Reusable class ... ? | xxlm | ActionScript 2.0 | 3 | 01-18-2006 04:29 AM |
| How can I implement a two-way relationship between classes in AS 2.0? | MHH | ActionScript 2.0 | 5 | 10-13-2004 05:35 PM |