Book a Demo

Author Topic: Problem with ActionScript source code generation  (Read 2630 times)

Morrandir

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Problem with ActionScript source code generation
« on: June 09, 2007, 07:03:53 am »
Hello there.

I'm just trying to generate ActionScript source code from a Class Model (which I imported from a XML Schema).

But it seems that I can create Java code only. I changed the Default Language for Code generation in Tools -> Options to ActionScript and changed the language in the Class Models propeties to ActionScript too.
But there's only Java code gerenated, in fact nowwhere I get a choice, where I could select ActionScript during the code generation process.

I'm using trial version atm... could that be the problem?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Problem with ActionScript source code generati
« Reply #1 on: June 10, 2007, 03:45:03 pm »
Language is set on each individual class element.  You should open the properties for each class and make sure that the Language is set to "Actionscript".  The "Default Language" setting only affects what the language is set to when a new class is created.

If you have a large number of classes which you need to change the language setting for, try using the Reset Options feature.