Simple question about flex and AS 3.0

November 30

Hi, this might sound like a simple question so I apologize...
I have both a copy of flex 2 and 3, and i want to simply code in AS
3.0 not mxml. I referred to the help of both flex 2 and 3, and all
i could come up with is "you can add dynamic behavior to your
documents using actionscript", which means to me, you only write
your functions in AS and create instances with mxml (...ugh).
personally, i find mxml to be ugly (mainly because it looks like
html to me), and i'd rather not use it. coming from programming in
an IDE in Java, it seems like it would be nicer to have something
similar, all the while having the power and cool features of flash.
I'm not fully educated in this matter so i understand that i could
be totally wrong.
i mean, if i have to code in mxml, i will. i'm a web
programmer for a living, and if a more experience programmer said
something like "if you don't code mxml in flex, you'll never get a
job coding in flex", i would trust the advice, and learn the ugly
code. :)
yes, i do have Flash cs3, it's great but it seems like a pain
to me the way you organize classes.... i've only seen a few
tutorials, ones that explain how you cannot simply import a custom
class, you have tell your movie to link to it, put it in the same
directory, or manually name the package, it's sort of confusing.
my main point here is that i'm very eager to start building
apps in straight AS 3.0 instead of using flash cs3 (for some
projects), and it would be cool to get some help or be pointed in
the right direction.
to simplify:
can i write AS 3.0 and only as 3.0 in flex 2 or 3? how? can
you link me to a tutorial? any advise?



Hey William, thanks for the post. It's a great coincidence
because I'm reading that book as well. I'm about half way through
it, and I love it. I installed mxmlc on my linux box and am writing
pure AS 3 apps. I think that's the way to go, though I know it's
not for everybody.
My problem with mxml is that it has a weird syntax for
function calls, and it's not as 'intuitive' for a person like me,
who came from C++ and Java programming in the past. I like writing
programs in the C++ and Java style syntax, and since so many other
languages use a similar syntax, I don't see any reason to learn the
nuances of mxml, unless I was getting paid to do it. As far as I
can tell there is no benefit.
I hate using Flash to write flash apps as well, I feel like
they become messy and confusing, especially when trying to write an
OOP application. I only use it if I want to move an object in a
very specific way and can't do it with the Tween methods.

View 17 Replies


  1. Backup easyserver has stopped
  2. msi neo4 platinum probleme demarrage
  3. Neha jpx pothos
  4. fb02 sales order
  5. changiing dtc folder nwds 7.0
  6. BExGetData
  7. CC&B xai
  8. drovelcl
  9. neededloh
  10. attachedyxc
Copyrights 2019 Fcffair BigData Resource, All rights reserved