Error: Definition mx.charts.events:ChartEvent could not be found.

11 views
Skip to first unread message

Deb

unread,
Aug 13, 2008, 8:52:12 AM8/13/08
to Israfil Mojo User Discussions
Hi All,

I am using net.israfil.mojo- maven-flex2-plugin - 1.3. I am getting
"Error: Definition mx.charts.events:ChartEvent could not be found."
this error.

I am creating "SWF" for my project. On weekly basis i need to merge
the latest source form perforce to my working branch. Before the merge
i migrated ant-flex build to maven-build and it was a success. After
merge the latest source with my working project i am getting "Error:
Definition mx.charts.events:ChartEvent could not be found." this
error. To solve this i copied "chart.swc" to my ${FLEX_HOME}/
frameworks/libs. For other swc file i did the same and the maven-flex2-
plugin can able to read the swc. But in case of chart.swc it is not
happening.

Any one have any idea .

Deb

unread,
Aug 14, 2008, 6:00:51 AM8/14/08
to Israfil Mojo User Discussions
To my below post i want to add more to it:-

According to Israfil mojo maven pluging charts, fds are optional swc.
to use this i mentioned below stuff in my pom.xml
<resolveExtraSwcsFromFlexFrameworksLibs>true</
resolveExtraSwcsFromFlexFrameworksLibs>
<useNetwork>true</useNetwork>
<debug>true</debug>
<main>Main.mxml</main>

But no better luck.
Please suggest
Reply all
Reply to author
Forward
0 new messages