Hi,
I have a question is it better to use the document class only, or to define the class path by using publish settings>Flash>Actionscript 3>define path.

If I have a class on my desktop, I use the path(Macintosh HD:Users/johnbarrett/Desktop {it really uses the ":" but a happy face came here for some reason}) I still have use the document class to access the Greeter class, I guess otherwise the fla does not know why class I want to use. I guess my question is why set the path?

so my Greeter.as file looks like
PHP Code:
package {
        
import flash.text.TextField;
        
import flash.display.Sprite;

        public class 
Greeter extends Sprite{
            
                public function 
Greeter(){
                    
                        var 
txtHello:TextField = new TextField();
                        
txtHello.text "Hello from Johnny!";
                        
addChild(txtHello);
                }
        }

then I have a hello.fla with nothing in it but I use the document class as Greeter(bother saved on the desktop. Then I set the path for my desktop, but still have the document class set to Greeter.

Thanks in advance for any help on this,
Johnny