i have 3 mac computers, and i updated textmate to the latest version, one by one. seems that mtasc is not working anymore, i get a colored blank swf all the time. is working for you, macuser?
Could you please describe the steps you've taken? Some code?
Thanks in advance...
thanks for your reply, and hope it's ok to answer with reply, never used a mailing list.
I've created a file Tuto.as with the content: "class Tuto {
static var app : Tuto;
function Tuto() { // creates a 'tf' TextField size 800x600 at pos 0,0 _root.createTextField("tf",0,0,0,800,600); // write some text into it _root.tf.text = "Hello world !"; }
// entry point static function main(mc) { app = new Tuto(); } }"
I compiled with "command+R" then key "2". the answer is: "2007-07-16 12:38:17.244 open[244] No such file: /Users/balutacristian/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt"
now, if i install mtasc support files, the default ones and i compile again, i receive nothing, just a blank swf.
very strange because before updating textmate, this code was working. i had another anoying problem but this one worked.
anyway, i switched to haXe, but if you have any ideea is welcome.
On 7/16/07, Ale Muñoz bomberstudios@gmail.com wrote:
Could you please describe the steps you've taken? Some code?
Thanks in advance...
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 7/16/07, Baluta Cristian cristi.baluta@gmail.com wrote:
now, if i install mtasc support files, the default ones and i compile again, i receive nothing, just a blank swf.
In one of the lastest changes to the bundle, some users asked for the removal of the -main parameter in mtasc.yaml
Thus, you should add the following line on your mtasc.yaml file if you want to compile samples from the MTASC site:
params: -main
For single .as files, I have just commited a fix where the "-main" parameter is auto-added to the commandline. Update your bundle to the latest version in the repository and everything should work fine.
thanks, worked with "params: -main"
On 7/16/07, Ale Muñoz bomberstudios@gmail.com wrote:
On 7/16/07, Baluta Cristian cristi.baluta@gmail.com wrote:
now, if i install mtasc support files, the default ones and i compile again, i receive nothing, just a blank swf.
In one of the lastest changes to the bundle, some users asked for the removal of the -main parameter in mtasc.yaml
Thus, you should add the following line on your mtasc.yaml file if you want to compile samples from the MTASC site:
params: -main
For single .as files, I have just commited a fix where the "-main" parameter is auto-added to the commandline. Update your bundle to the latest version in the repository and everything should work fine.
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 16 Jul 2007, at 12:29, Ale Muñoz wrote:
For single .as files, I have just commited a fix where the "-main" parameter is auto-added to the commandline. Update your bundle to the latest version in the repository and everything should work fine.
Can you ensure that this only adds the -main flag when compiling single files? Alternatively, could you allow a parameter in mtasc.yaml to suppress adding the -main flag?
Gaby
-- Junkets for bunterish lickspittles since 1998! http://www.playr.co.uk/
On 7/16/07, Gaby Vanhegan gaby@vanhegan.net wrote:
Can you ensure that this only adds the -main flag when compiling single files?
It is added *only* if there's no mtasc.yaml file present...
Alternatively, could you allow a parameter in mtasc.yaml to suppress adding the -main flag?
Could you please elaborate on this? Thanks in advance...
On 16 Jul 2007, at 13:40, Ale Muñoz wrote:
Alternatively, could you allow a parameter in mtasc.yaml to suppress adding the -main flag?
Could you please elaborate on this? Thanks in advance...
If build_with_mtasc.rb is going to automatically add the -main flag if none is present then something like:
mtasc.yaml: ... no-main: true
Would allow me to stop the script adding this flag for me.
Gaby
-- Junkets for bunterish lickspittles since 1998! http://www.playr.co.uk/
On 7/16/07, Gaby Vanhegan gaby@vanhegan.net wrote:
If build_with_mtasc.rb is going to automatically add the -main flag if none is present then something like:
mtasc.yaml: ... no-main: true
Would allow me to stop the script adding this flag for me.
Looks like I din't make myself very clear : )
The flag is *not* added if you have a mtasc.yaml file, only for single .as files.
This will be useful for "quick hacks" (i.e: you want to test some quick code to see if it works) and for newcomers to the bundle (no need to create a project, everything works "out of the box")
Let me know if this fits your workflow...
On 16 Jul 2007, at 13:54, Ale Muñoz wrote:
The flag is *not* added if you have a mtasc.yaml file, only for single .as files.
This will be useful for "quick hacks" (i.e: you want to test some quick code to see if it works) and for newcomers to the bundle (no need to create a project, everything works "out of the box")
Let me know if this fits your workflow...
That sounds perfect :)
Thank you!
Gaby
-- Junkets for bunterish lickspittles since 1998! http://www.playr.co.uk/