This content has been marked as final. Show 3 replies
"Zal" <firstname.lastname@example.org> wrote in message
> Hi every one,
> I ran into trouble with my refactor application. This code is used inside
> loaded module with the ModuleManager...
> Aren't they the exact same package and Class ?!?!?
> (copy/paste from Flex Console)
> TypeError: Error #1034: Type Coercion failed: cannot convert
> com.terrainmarketing.stv.common.vo::NoteVO@15231881 to
> note()[/Users/duch/Documents/Flex Builder
> I am ... What's going on and how can I "repair" this?
Very interesting !
Found this link too, that helps understand: blogs.adobe.com/aharui/…
Now one more question: if I use the SharedCode technic, I must build my project with command-lined mxmlc or there is a trick with the setup of FlexBuilder ?
because not every developers are made equally... in my team at least.
Well, I have tried to use mxmlc but it won't be that for tonight. I would need to use an XML as a directive for an ant task, but I never done that (and I don't ever know what I just write means...), and it's very late in the night, I have to finish this project tomorrow.
I wont create a SharedCode.swf module.
Instead, and it looks like it's working, I will use all my common modules classes in my main app, somewhere in the initialization process.
I'm using the pureMVC mutlicore framework and its Pipe utility.
And of course when I load my modules, I pass the main application's domain to them.
Here's my code: