This content has been marked as final. Show 11 replies
unless you've set a path for your as 3 classes (publish settings/flash/actionscript version/settings) your class file should be in MyClasses/MySocket subdirectory of your fla.
But my AS file MyBaseSocket IS in MyClasses/MySocket
and is MyClasses in your class path?
if yes, you have typo. recheck your file name and directory names.
Root App Dir :
D:\Server\MyFlashZone\_CS3 (files: IRCClient.fla && IRCClient.as)
Library file that i need:
D:\Server\MyFlashZone\_CS3\Myclasses\MySocket (file: MyBaseSocket.as)
import MyClasses.MySocket.MyBaseSocket; //still error
public class MyBaseSocket
I tried to put in classpath:
with no luck, and i don t really understand what is it for, is it used when the classes are in another directory like my app is in "c:/FLA" and my classes are in "d:/flash-classes" ?
you use the class path so you don't have to type long combersome paths in your import statement and elsewhere. flash always includes the path to your published html file.
is IRCClient.html and IRCClient.swf also in _CS3? if so, zip _CS3 and post a link.
you have a typo. Myclasses is not the same as MyClasses.
Thank you verry much :) and sorry for being so inatentive, but it s my true nature :/
it's a common problem. i usually copy and paste names when i seem to have problems like this just to rule out such typos. it's so hard to really see something (obvious) that you've been eyeing for any length of time.
Hi guys! Can I barge in? I can't even get my root class working. Please help!
you're not going to get much help with that explanation.