AS3: addChild from an AS file

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 8th, 2008, 08:49
New Member
Join Date: Jan 2008
Location: Seoul, Korea
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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);
}
}
}
Reply With Quote

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:40.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43