The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > Graphic & Game Programming > Flash ActionScript


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags: , ,

Reply
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 10-24-2007, 01:13 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,122
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Hello everybody,
I'm hell confused now trying to figure out what the hell is wrong with this flash, for some reason, there's nothing wrong when I played the swf, but when I recompiled the .fla file, it gives me an error that says there's something wrong when it reads the XML file... it couldn't read it... so I'm trying to figure out what is wrong in the ActionScript, however, I don't see that there's any actionscript in the .fla file, though, I see there are many .as file in the other folder, I'm just wondering if there's a way for ActionScript to import some kind of class form the other folder or packaging system just like the other object oriented language..? @_@ thx all..

even if it can import it, for some reason, there's nothing here that says import or something like that from the other file... sigh.. I'm damn confused lol... please help!!! thx

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by Lee : 10-24-2007 at 04:50 AM. Reason: Please use edit button not post 2 times in a row in 2 mins
Reply With Quote
  #2 (permalink)  
Old 10-24-2007, 06:36 AM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 317
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
Make sure it's not just an include rather than a class - you can include like

#include "Blah.as"

start code (Remember, no semi-colon after includes)

if it's a class then import it like

import foldername.classname;
or
import foldername.*;

so if you setup your classpath to "classes/" then you would have classes/com/programmerstalk/person.as;
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



All times are GMT -7. The time now is 01:17 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


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 44 45 46 47 48 49 50