This is a discussion on "AS3: addChild from an AS file" within the Flash & Multimedia Forum section. This forum, and the thread "AS3: addChild from an AS file are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
AS3: addChild from an AS file
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
AS3: addChild from an AS file
Hello,
I have a fla file with a MovieClip named Billy (class: Billy, Base Class: flash.display.MovieClip) linked to Billy.as. I am trying to get .as file to add an instance of the MovieClip Billy onto the stage with no luck. If anybody can help me here, Thank You! I am not getting any error messages, just a blank swf file... this is the code in Billy.as. The fla file is blank. package { import flash.display.MovieClip; import Billy; public class Billy extends MovieClip { private var _billy:Billy; public function Billy() { _billy = new Billy(); addChild(_billy); } } } |
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do I use a:hover within a html file (without the css file) | heyo | Web Page Design | 2 | Mar 5th, 2007 22:50 |
| file.com | Compumaniac12 | Free Web Site Critique | 10 | Nov 19th, 2006 05:52 |
| Creating a log file (text file) and an XML file using XSL | kdelacruz | Other Programming Languages | 1 | Nov 4th, 2006 21:12 |
| .js file | Galaxyblue | JavaScript Forum | 11 | Feb 24th, 2004 19:40 |
| How make Word file same as html file in ASP | humair | Classic ASP | 5 | Sep 24th, 2003 14:35 |