Search code examples
flashactionscript-3terminaltextmatetextmatebundles

open flash player and test swf from textmate


i usually write my code with textmate.

a custom command for testing the proj directly in flash is:

echo 'document.testMovie();' > /tmp/fc.jsfl
open -a /Applications/Adobe\ Flash\ CS5/Adobe\ Flash\ CS5.app /tmp/fc.jsfl

what about the flash standalone player?

echo 'document.testMovie();' > /tmp/fc.jsfl
open -a /Applications/Adobe\ Flash\ Builder\ 4/player/mac/Flash\ Player.app /tmp/fc.jsfl

works great but it only open the player...it doesn'pass the file to it. can you help me?

thanks a lot :)


Solution

  • You can open the Flahs Player like that, you need to pass it a swf, not a jsfl file, so you need to compile the code first.

    Have a look at this neat tutorial on setting up TextMate with the Flex Shell Compiler.

    Also you might like Project Sprouts, check it out!

    HTH