Then, double check, of course, your class SWFMaster to see that you've imported mx.events.EventDispatcher.
Also, you don't have to point to the -cp "C:/mtasc- 1.12/std" folder if you've set that in the project itself. Mtasc will use those as it needs to I believe.
On 3/17/06, quinrou . <
[EMAIL PROTECTED]> wrote:
I tried with and without -mx but as you said it think it's for v2 components
export project
<EXPORT><__ID__>20</__ID__><label>toptrump</label><data><existingSWF>true</existingSWF><setHeader>false</setHeader><version>7</version><fps>30</fps><swfHeight>600</swfHeight><swfWidth>800</swfWidth><launchAfterPublish /><cleanName>toptrump</cleanName><MtascTags><_infer>false</_infer><_wimp>false</_wimp><_v>false</_v><_main>true</_main><_mx>true</_mx><_separate>false</_separate><_strict>false</_strict><_keep>false</_keep><_msvc>false</_msvc></MtascTags><outputPath /><baseClassLocation><1>C:/Program Files/Macromedia/Flash 8/en/First Run/Classes/mx</1><0>C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/as2lib</0></baseClassLocation><classList><length>1</length><0><type>class</type><data>C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/7_11/pe/toptrump/App.as</data><label>C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/7_11/pe/toptrump/App.as</label></0></classList><swf>C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/assets/BBC_DC/7_11/pe/toptrump/toptrump.swf</swf></data></EXPORT>
batch command
"C:/mtasc-1.12/mtasc.exe" -swf "C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/assets/BBC_DC/7_11/pe/toptrump/toptrump.swf" -main -mx -cp "C:/mtasc- 1.12/std" -cp "C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/as2lib" -cp "C:/Program Files/Macromedia/Flash 8/en/First Run/Classes/mx" "C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/7_11/pe/toptrump/App.as" -trace trace -version 7
mtasc prompt window
C:\Documents and Settings\sebastienjouhans\My Documents\WORKING_COPIES\BBC_DC\PE
\PRODUCTION\content_directory\source_docs\BBC_DC\7_11\pe\toptrump>"C:/mtasc- 1.12
/mtasc.exe" -swf "C:/Documents and Settings/user/My Documents/WORKIN
G_COPIES/BBC_DC/PE/PRODUCTION/content_directory/assets/BBC_DC/7_11/pe/toptrump/t
optrump.swf" -main -mx -cp "C:/mtasc- 1.12/std" -cp "C:/Documents and Settings/user/My Documents/WORKING_COPIES/BBC_DC/PE/PRODUCTION/content_directo
ry/source_docs/BBC_DC/as2lib" -cp "C:/Program Files/Macromedia/Flash 8/en/First
Run/Classes/mx" "C:/Documents and Settings/user/My Documents/WORKING
_COPIES/BBC_DC/PE/PRODUCTION/content_directory/source_docs/BBC_DC/7_11/pe/toptru
mp/App.as" -trace trace -version 7
script/model/SwfMaster.as:41: characters 2-28 : type error Unknown variable Even
tDispatcher
C:\Documents and Settings\sebastienjouhans\My Documents\WORKING_COPIES\BBC_DC\PE
\PRODUCTION\content_directory\source_docs\BBC_DC\7_11\pe\toptrump>pause
Press any key to continue . . .
thanksOn 3/17/06, John Grden < [EMAIL PROTECTED]> wrote:The only thing you should have to do is, in preferences, point to the base class folder for your flash install. However, flasc SHOULD do this for you when it first runs, but double check it to make sure. Also, try checking "-mx" in the tags properties for your project to see if that helps. I'm not sure that's required as I think that only pertains to V2 components.
The good news is, I have several projects using Flasc that use the MX eventdispatcher and they all work fine.
Let me know.
also, you could export your project and send me the XML to review or have FLASC "show batch command" under options and send it to the list for reviewOn 3/17/06, quinrou . < [EMAIL PROTECTED]> wrote:Hi,
flasc is looking good but i am running into a problem.
i have classes using the MM eventdispatcher class and mtasc is complining. so my question is do i need to point to the mx package in the MM folder (C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx) ?
if yes how do i do that? from the preferences or from my project?
thanks
seb
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
John Grden - Blitz
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
