Your trying to connect an .fla file to a Document Class.

if you click on the stage in the properties window there will be an input
field called Document Class:  it would need to point to HelloWorld.  you can
leave off the .as ending. If you have connected it correctly, when u click
on the pencil icon next to it, it will pop open the HelloWorld.as file


You should see the trace in the output window

hope this helps

greg

On Thu, Nov 12, 2009 at 2:01 PM, beno - <[email protected]> wrote:

> Hi;
> Forgive me for asking on this list, but nobody answers at Adobe, and I
> can't find another active list to ask for help.
>
> I'm getting closer. I studied 2 tutorials twice, but apparently missed an
> important detail. I have the following code in a file called HelloWorld.as:
>
>
>
> package
> {
>    import flash.display.Sprite;
>
>    public class HelloWorld extends Sprite
>    {
>       public function HelloWorld() {
>          trace("Hello World");
>       }
>    }
> }
>
>
>
> I open up a new AS3 file, go to Properties and enter "HelloWorld" in the
> class field. Then I press ctr+enter to play the resulting swf. Nothing
> happens, not even a compiler error. Please advise.
> TIA,
> beno
>
> PS Where would I see that trace, anyway?
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to