Two things: 1) I need to include the AIR libraries? How do I add those to an Actionscript project?
2) When I create a Flex project, and replace the WindowedApplication mxml file with a similarly named file that is .as and that extends Sprite, I can write stage.nativeWindow.activate(). However, when I create an Actionscript project, and try to access the stage.nativeWindow propoerty, its not there. Why not? Isn't it the same flash.display.Sprite class? --- In [email protected], Clark Stevenson <a.scots...@...> wrote: > > Yeah mate. > > You need the Flex SDK but if you start an Actionscript project you have no > access to the <MXML> stuff. > > I dont use Flex as a MXML language... ie the framework. It reminds me of > boring forms and banking applications. But AS3 on the other hand..... You > can do anything you want. > > Clark. > > On 12 August 2010 20:27, Oleg Sivokon <olegsivo...@...> wrote: > > > > > > > The definition for Sprite is in playerglobals.swc. However, you are asking > > wrong question. You cannot compile an AS3 project w/o SDK, or you would need > > at least an alternative compiler, and only one that exists is the one > > developed by SWFTools few years ago. But it's outdated now... so, > > technically, for AS3 Flex SDK is your only option. On the other hand, having > > other libraries in your path won't harm because they aren't embedded in your > > project, unless you explicitly embed them. > > > > >

