View Full Version : Flex Project AND ActionScript Project : IF
tlc660
01-12-2007, 05:01 PM
this might be a stupid question, but i really cant figure out what difference between them if:
i create a flex project but use no MXML, and just using AS as my application.:rolleyes:
thankyou
Flex has a shed load of classes and components u can use all relying on the Flex framework.
dr_zeus
01-12-2007, 06:49 PM
An ActionScript project is for pure AS3. You cannot use Flex components! With a Flex project, you must use MXML (at least for the base Application), and all of the Flex components are available to you.
tlc660
01-12-2007, 09:08 PM
Flex has a shed load of classes and components u can use all relying on the Flex framework.
but we also can import and use the flex components (the swc) in actionscript project, right?
An ActionScript project is for pure AS3. You cannot use Flex components! With a Flex project, you must use MXML (at least for the base Application), and all of the Flex components are available to you.
yes, i can fire up the Flex Project with no MXML, just a single "Main.as" which are same as in ActionScript project
dr_zeus
01-12-2007, 09:37 PM
but we also can import and use the flex components (the swc) in actionscript project, right?
No. Behind the scenes, the Flex compiler adds a ton of bootstrapping and application initialization code that is required for the Flex components. Theoretically, you could write all of it yourself, but that's definitely not recommended.
yes, i can fire up the Flex Project with no MXML, just a single "Main.as" which are same as in ActionScript project
A Flex project requires at least one MXML file with the base mx:Application tag. If you don't have that, you're not using Flex.
tlc660
01-12-2007, 10:20 PM
A Flex project requires at least one MXML file with the base mx:Application tag. If you don't have that, you're not using Flex.
thats my question:p
i want to understand what if i startup a Flex Project in Flex Builder, and use no MXML just like what i do in ActionScript project, what the difference behind the scene.
my purpose is want to use RSL in my project, because thats was not supported in ActionScript project, even the external link also not working(see my another post : ActionScript Project AND SWC (http://www.actionscript.org/forums/showthread.php3?t=125776))
thats why i trying to understand what the flex difference with.
i want to understand what if i startup a Flex Project in Flex Builder, and use no MXML just like what i do in ActionScript project, u cannot
If you've got no MXML, you aint using Flex.
If you just use the base MXML class and then use AS from there on, there is not difference (except things are gonna take you a little longer using AS).
fern_yipper
09-14-2009, 11:48 PM
i have a related question:
are there any tutorials (vid or otherwise; vid preferable) on creating actionscript projects using flex?
i am hoping that there are good examples of how to do common things; for example, movie galleries, photo galleries, etc.
any suggestions would be appreciated.
thanks,
f_y
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.