<HTML><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">
<STYLE><!-- /* Style Definitions */ p.52b0a10e-e424-4590-b10f-c5680498d0ff, li.52b0a10e-e424-4590-b10f-c5680498d0ff, div.52b0a10e-e424-4590-b10f-c5680498d0ff, table.52b0a10e-e424-4590-b10f-c5680498d0ffTable {margin:0cm; margin-bottom:.0001pt;} div.Section1 {page:Section1;} --></STYLE>
</head><BODY>
<P><div>Hi Baluta, thanks for your reply,</div><div><br></div>Delegate is the only class that I am using that isn't a custom class in the same folder as my SWF. If I put the mx folder from my classes into my project folder I don't get Delegate as an undefined variable, I get this message instead: <div><a href="txmt://open?url=file:////OceanaQ.as&line=32&column=48">OceanaQ.as:32: characters 47-54 : type error Unknown variable success</a> </div><div><br></div><div>this is the code it relates to:</div><div><br><div><div>xml.onLoad = Delegate.create(this, parseXML, success);</div><div><br></div><div>I am imagining that I will get errors for every class I use that is not in the project directory when I compile using MTASC.</div><div><br></div><div>Any suggestions gladly received :)</div><div><br></div><div>Alistair</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On 12 Aug 2008, at 15:26, Baluta Cristian wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">what classes do you have there?<div>btw, code compiled with flash is not 100% compatible with the one compiled with mtasc<br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 4:54 PM, Alistair Colling <span dir="ltr"><<a href="mailto:alistair.colling@fpp.net">alistair.colling@fpp.net</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks for your help with my last query Hans.<br> <br> I am now having problems getting my Flash classes to compile. They are<br> in the regular directory, when I compile my SWF using Flash everything<br> compiles fine. However, when I compile using MTASC classes from my<br> class library don't import (I get unknown variable error messages).<br> <br> I've set my classpaths in the mtasc.yaml like this:<br> <br> classpaths:<br> - /Users/alicolling/Library/Application\ Support/Adobe/Flash\<br> CS3/en/Configuration/Classes<br> - $(UserConfig)/Classes<br> <br> But it still won't work.<br> <br> If anyone has any suggestions I would be really glad to get on the<br> road compiling from textmate :)<br> Thanks,<br> Alistair<br> <br> my full mtasc.yaml is:<br> ///////////////////<br> <br> <br> # Name of your output file:<br> swf: prelaunch.swf<br> <br> # Name of your main class:<br> app: OceanaPreLaunch.as<br> <br> # Folder/URL/file to open when compilation succeeds. Use 'textmate' to<br> preview in TextMate:<br> # preview: textmate<br> #preview: reference to automator app that clears log file and<br> launches swf<br> preview: /Users/alicolling/Library/Scripts/dbgOceana.app<br> # SWF Header:<br> player: 8<br> width: 800<br> height: 600<br> fps: 31<br> bgcolor: FFFFFF<br> <br> # Optional, use it if you have a custom version of MTASC (i.e: HAMTASC):<br> # mtasc_path: /Users/your_name/bin/mtasc<br> <br> # Optional, use it to send additional MTASC parameters (i.e: -strict)<br> params: -main -mx<br> <br> <br> # If you want to use XTrace (included with the bundle)<br> # trace: xtrace<br> #<br> # If you want to use Console.app (see <<a href="http://bomberstudios.com/2007/03/14/how-to-use-consoleapp-for-flash-debugging/" target="_blank">http://bomberstudios.com/2007/03/14/how-to-use-consoleapp-for-flash-debugging/</a><br> >)<br> trace: console<br> #<br> # If you want to use 'tail -f'<br> # trace: terminal<br> #<br> # If you want to use a custom function for tracing:<br> # trace: com.namespace.to.your.trace.function<br> <br> # Optional, include as many classpaths as you need:<br> classpaths:<br> - /Users/alicolling/Library/Application\ Support/Adobe/Flash\<br> CS3/en/Configuration/Classes<br> - $(UserConfig)/Classes<br> # - /Users/your_name/Documents/mtasc-1.12-osx/std8/<br> # - /Users/your_name/Documents/mtasc-1.12-osx/std/<br> <br> --------------------------------------------------------------------------<br> Alistair Colling<br> Interactive Developer<br> <br> FPP Brand Communications (Newcastle upon Tyne)<br> The Courtyard<br> Dinsdale Place<br> Sandyford<br> Newcastle upon Tyne NE2 1BD<br> Telephone: +44 (0)191 261 6662<br> Fax: +44 (0)191 233 2511<br> <br> This transmission is confidential and intended solely for the person or organisation to whom it is addressed.<br> It may contain privileged and confidential information. If you are not the intended recipient, you should not<br> copy, distribute or take any action in reliance on it. If you have received this transmission in error, please<br> notify the sender at the e-mail address above.<br> FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.<br> Registered Number 3775564. Registered in England and Wales. Visit our website at <a href="http://www.fpp.net/" target="_blank">http://www.fpp.net/</a><br> <br> _______________________________________________<br> textmate mailing list<br> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br> </blockquote></div><br><br clear="all"><br>-- <br>Cristi<br><a href="http://www.ralcr.com">www.ralcr.com</a><br> </div></div> <span><ATT00001.txt></span></blockquote></div><br></div></div></div><BR></P>
<P><FONT COLOR="#ff0000" FACE="verdana"><FONT SIZE="1"></FONT></FONT></P><STRONG>
<HR>
</STRONG>
<P></P>
<P><FONT SIZE="2"><STRONG><FONT COLOR="#ff0000" FACE="Verdana">Alistair Colling</FONT></STRONG><BR></FONT><FONT COLOR="#ff0000" FACE="verdana" SIZE="2">Interactive Developer<BR><BR><!--StartFragment --><FONT FACE="verdana" SIZE="1"><FONT COLOR="#000000"><!--StartFragment --><FONT FACE="verdana" SIZE="1"><FONT SIZE="2"><STRONG>FPP Brand Communications (Newcastle upon Tyne)<BR></STRONG>The Courtyard<BR>Dinsdale Place<BR>Sandyford<BR>Newcastle upon Tyne NE2 1BD<BR>Telephone: +44 (0)191 261 6662<BR>Fax: +44 (0)191 233 2511</FONT><BR><BR>This transmission is confidential and intended solely for the person or organisation to whom it is addressed.<BR>It may contain privileged and confidential information. If you are not the intended recipient, you should not<BR>copy, distribute or take any action in reliance on it. If you have received this transmission in error, please<BR>notify the sender at the e-mail address above. <BR>FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. <BR>Registered Number 3775564. Registered in England and Wales. Visit our website at </FONT><A HREF="http://www.fpp.net/"><FONT COLOR="#0000f0" FACE="verdana" SIZE="1">www.fpp.net</FONT></A></FONT></FONT></FONT><FONT SIZE="+0"></FONT></P><STRONG></STRONG><FONT SIZE="+0"></FONT><FONT SIZE="+0"></FONT>
<P CLASS="52b0a10e-e424-4590-b10f-c5680498d0ff"><FONT FACE="verdana" SIZE="1"><A HREF="http://www.fpp.net/"></A></FONT></P>
<P></P>
<P></P><DISCLAIMER></DISCLAIMER>
<P></P>
<P></P></BODY></HTML>