Monday, May 29, 2006
back to MS-DOS
For my Project, i was making batch file.
It was nice to google and use few new ms-dos commands like XCOPY.... I used them after long long time.. don’t even remember when I had used them last time.
Nice to be back in dev role :)
and thanks to this site.. http://www.computerhope.com/msdos.htm
It was nice to google and use few new ms-dos commands like XCOPY.... I used them after long long time.. don’t even remember when I had used them last time.
Nice to be back in dev role :)
and thanks to this site.. http://www.computerhope.com/msdos.htm
Wednesday, May 03, 2006
Flash Command Line compiler Link
Today, for my project i was goggling for possiblity to run .mxp file from the Command Line and came across this which is so simple but havent used till now. bookMark for the future :)
http://www.bit-101.com/blog/?cat=3
OR the direct code
@echo off
echo // > tempPublish.jsfl
:start
echo %1
echo filename = "file:///%1"; >> tempPublish.jsfl
echo fl.openDocument(filename); >> tempPublish.jsfl
echo curr_doc = fl.getDocumentDOM(); >> tempPublish.jsfl
echo curr_doc.publish(); >> tempPublish.jsfl
echo curr_doc.close(false); >> tempPublish.jsfl
shift
if "%1" == "" goto end
goto start
:end
echo fl.quit(true); >> tempPublish.jsfl
start "C:/Program Files/Macromedia/Flash MX 2004/Flash.exe" tempPublish.jsfl
myfile1.fla myfile2.fla pathto/subdir/myfile3.fla
THANKS to http://www.bit-101.com/blog/?cat=3
http://www.bit-101.com/blog/?cat=3
OR the direct code
@echo off
echo // > tempPublish.jsfl
:start
echo %1
echo filename = "file:///%1"; >> tempPublish.jsfl
echo fl.openDocument(filename); >> tempPublish.jsfl
echo curr_doc = fl.getDocumentDOM(); >> tempPublish.jsfl
echo curr_doc.publish(); >> tempPublish.jsfl
echo curr_doc.close(false); >> tempPublish.jsfl
shift
if "%1" == "" goto end
goto start
:end
echo fl.quit(true); >> tempPublish.jsfl
start "C:/Program Files/Macromedia/Flash MX 2004/Flash.exe" tempPublish.jsfl
myfile1.fla myfile2.fla pathto/subdir/myfile3.fla
THANKS to http://www.bit-101.com/blog/?cat=3