Thank you all so much. Apparently, the only thing I did wrong, that nobody mentioned nor the tutorials, was that you have to __save__ the fla first. I just tried to ctr+enter to see the swf! Thanks, beno
On Thu, Nov 12, 2009 at 2:33 PM, Olivier Rocq <[email protected]> wrote: > Hi, > > are you sure you named the files the right way, I've just copied your code > in an AS file that I named HelloWorld.as, created a flash file and in the > field Class, I typed HelloWorld, both files are in the same folder and when > I publish (Ctrl + enter) I get the trace statement in the Output window... > > > > On Thu, Nov 12, 2009 at 8: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 >> >> > > > -- > ------------------------------------------------ > Rocq Olivier > Webdesigner-Flash Designer > 0477/43.23.46 > [email protected] > www.web-4u.be > www.rocq-olivier.be > ------------------------------------------------ > > _______________________________________________ > 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
