RE: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex
fl.* classes are part of CS4. AS-only projects in FB are usually really small things that use flash.*.* classes. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of devenhariyani Sent: Monday, January 05, 2009 11:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex Hello, I've been using Flex for a while, but I'm still not complete clear how I can use AS3 without Flex. Flex is a great framework, but sometimes its too heavy and large for certain tasks. To start, I was trying to do a simple animation using only AS3 as described here: http://www.adobe.com/devnet/flash/articles/creating_animation_as3_print.html I have FlexBuilder3, and I don't have CS3 or CS4 Professional. I opened up FlexBuilder, created a Action Script 3 project, and I selected to use SDK Flex 3.1 (the only SDKs I had available were Flex 3.1 and Flex 2.0.1 Hotfix 3) Once my project was created I tried to import classes, but these packages could not be found: import fl.transitions.*; import fl.transitions.easing.*; Do I need to download a separate SDK to make flash work? Or, do I have to buy a whole new application, such as CS4 Professional?
Re: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex
Try FDT as well, or at least the trial. Im a big fan and many heavyweight flash devs out there use FDT for Flash and Flex work - it's like having Flash CS4 and Flex Builder, but better than both 'cause Flash's code IDE is only a setup up from a text editor and Flex Builder is not to my standards for and IDE. Try the FDT plugin for eclipse. Also check out Lee's 'Pimp my Eclipse' parts 1, 2 and 3 http://theflashblog.com/?p=483 Alan
Re: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex
The fl.* package is not included in the Flex SDK. Kirupa's Forum has a thread discussing this. http://www.kirupa.com/forum/archive/index.php/t-268080.html I have CS4 on my machine... however... if you don't want to go out and buy it... I don't think there is any issue with installing the Trial Version and grabbing the classes. But, if you're looking for some tweens and transition classes, you could also use Grant Skinner's GTween package. http://gskinner.com/libraries/gtween/ HTH, Nate On Mon, Jan 5, 2009 at 11:05 AM, devenhariyani wrote: > Hello, > > I've been using Flex for a while, but I'm still not complete clear how > I can use AS3 without Flex. Flex is a great framework, but sometimes > its too heavy and large for certain tasks. > > To start, I was trying to do a simple animation using only AS3 as > described here: > > > http://www.adobe.com/devnet/flash/articles/creating_animation_as3_print.html > > I have FlexBuilder3, and I don't have CS3 or CS4 Professional. I > opened up FlexBuilder, created a Action Script 3 project, and I > selected to use SDK Flex 3.1 (the only SDKs I had available were Flex > 3.1 and Flex 2.0.1 Hotfix 3) > > Once my project was created I tried to import classes, but these > packages could not be found: > > import fl.transitions.*; > import fl.transitions.easing.*; > > Do I need to download a separate SDK to make flash work? Or, do I > have to buy a whole new application, such as CS4 Professional? > > > -- Cheers, Nate http://blog.natebeck.net