[TxMt] Classpaths problem mtasc.yaml

Alistair Colling alistair.colling at fpp.net
Tue Aug 12 13:54:16 UTC 2008

Thanks for your help with my last query Hans.

I am now having problems getting my Flash classes to compile. They are  
in the regular directory, when I compile my SWF using Flash everything  
compiles fine. However, when I compile using MTASC classes from my  
class library don't import (I get unknown variable error messages).

I've set my classpaths in the mtasc.yaml like this:

      - /Users/alicolling/Library/Application\ Support/Adobe/Flash\  
      - $(UserConfig)/Classes

But it still won't work.

If anyone has any suggestions I would be really glad to get on the  
road compiling from textmate :)

my full mtasc.yaml is:

# Name of your output file:
swf:        prelaunch.swf

# Name of your main class:
app:        OceanaPreLaunch.as

# Folder/URL/file to open when compilation succeeds. Use 'textmate' to  
preview in TextMate:
# preview:    textmate
#preview:    reference to automator app that clears log file and  
launches swf
preview: /Users/alicolling/Library/Scripts/dbgOceana.app
# SWF Header:
player:     8
width:      800
height:     600
fps:        31
bgcolor:    FFFFFF

# Optional, use it if you have a custom version of MTASC (i.e: HAMTASC):
# mtasc_path: /Users/your_name/bin/mtasc

# Optional, use it to send additional MTASC parameters (i.e: -strict)
params: -main -mx

# If you want to use XTrace (included with the bundle)
# trace: xtrace
# If you want to use Console.app (see <http://bomberstudios.com/2007/03/14/how-to-use-consoleapp-for-flash-debugging/ 
trace: console
# If you want to use 'tail -f'
# trace: terminal
# If you want to use a custom function for tracing:
# trace: com.namespace.to.your.trace.function

# Optional, include as many classpaths as you need:
      - /Users/alicolling/Library/Application\ Support/Adobe/Flash\  
      - $(UserConfig)/Classes
   # - /Users/your_name/Documents/mtasc-1.12-osx/std8/
   # - /Users/your_name/Documents/mtasc-1.12-osx/std/

Alistair Colling
Interactive Developer

FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511

This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above. 
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. 
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/

More information about the textmate mailing list