Book a Demo

Author Topic: Few newbie questions...Is it possible?  (Read 1996 times)

panel

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Actionscript 3
    • View Profile
Few newbie questions...Is it possible?
« on: November 07, 2007, 07:02:47 am »
I have downloaded EA trial and after one day of playing with it I must say it's very powerfull & usefull tool. Unfortunetly I have found and reported over 10 bugs (few serious regarding actionscript 3 code genetation and few regarding user interface) and at the moment working with EA is very very difficult for me (mostly becouse of code generation bugs).
Since EA releases are quite often I am just assuming that not many actionscript developers using it at the moment so it may not have big bugs repoart support from comunity. I am still curious about few things:

1. Is there any way to integrate class attribute Type with flash (actionscript) framework types (add custom types to type List)?
1a. Mabye I don't need every existing type in Types list but since basic type like Boolean is missing it would be nice to add it there and remove unused types like Void.
1b. Some advanced types requires import in code so is it possible to add imports automaticly? I mean I am setting attribute type to MovieClip (one of flash native types) and import line...
import flash.display.MovieClip;
...is added auomaticly

2. When I am creating private class atribute (ex. call it 'width') and then change it to property the automaticly generated name is 'setwidth', 'getwidth'. I believe name should be just 'width'. Of course I can rename it but is it time consuming. I believe it is Bug. Correct?

3. Typicly I am naming private class variables with underscore prefix ( _ ) ex. _age
but now UML diargams contain unnecesery character. Is there any way to add automaticly this prefix to private class variables in genereated code?