devboy
05-10-2007, 09:58 PM
Hi,
I have a working game designed as an AS3 project in flex builder 2.
I wanted to add some UI to it by importing objects from a flex 2 project I created in the same workspace.
I went into the flash project's properties -> "ActionScript Build Path" -> "Library Path" and added the flex project via the "Add Project" button.
Now, going back to the flash project I try to instantiate an instance of a simple dialog I created in the flex project. I get a few "Unable to resolve class for ResourceBundle: core" and also the same for effects, skins and styles.
Now I know that the flash code "knows" the type I'm trying to create because if I kill the project reference in the properties page, the error changes indicating the type is unknown.
What am I missing? Do I need to do something special to expose the flex type?
Cheers
I have a working game designed as an AS3 project in flex builder 2.
I wanted to add some UI to it by importing objects from a flex 2 project I created in the same workspace.
I went into the flash project's properties -> "ActionScript Build Path" -> "Library Path" and added the flex project via the "Add Project" button.
Now, going back to the flash project I try to instantiate an instance of a simple dialog I created in the flex project. I get a few "Unable to resolve class for ResourceBundle: core" and also the same for effects, skins and styles.
Now I know that the flash code "knows" the type I'm trying to create because if I kill the project reference in the properties page, the error changes indicating the type is unknown.
What am I missing? Do I need to do something special to expose the flex type?
Cheers