Tag Archives: flash

I still can’t find anything in the documentation on how this is done. It’s driving me crazy…

Recoding of an existing Flash presentation to allow Wells Fargo personnel
to modify its content by editing external text files. The new presentation
also included a comprehensive documentation on how to modify its content.

Role: ActionScript programming, html & css coding, writing, standardization
of typographic conventions

If you are working on a large project in Flash with a multitude of .fla files that require frequent republishing, Flash JavaScript is godsend. Flash JavaScript lets you automate a lot of the tasks in Flash that you would otherwise have to do manually, publishing .fla files being one of them. For example, the project that I am currently working on is organized into tasks each of which contains six Flash activities. Instead of publishing each file individually, I have a .jsfl script that automates the entire process.

var task = "pg_01_05_10";
for(var i =1;i<=6;i++){
	var doc = fl.openDocument("file:///d|/kirill.mazin/My Documents/headstart_dari/resources/sns/"+task+"/"+task+"_0" + i +"/" + task + "_0" + i  + ".fla");
	doc.exportSWF("file:///d|/kirill.mazin/My Documents/headstart_dari/root_html/sns/" + task + "/swf/" + task + "_0" + i + ".swf", true);
	doc.close(false);
}

Final form of Hah with Hamza above

I’m writing this in the hope that there are some poor souls out there who are doing the same thing and who can relate to these problems.

I am presently working at a place that develops on-line language courses for fairly exotic languages. The two languages that we are currently working on are: Dari and Pashto. The courses are being developed using Flash which supports the Arabic script haphazardly. For example, certain letters completely mess-up the order of words in a sentence. For Dari, the solution was to create an XML-based look-up table and using a couple of classes rewrite morphing characters using presentational forms. Pashto turned out to be tougher, as several glyphs didn’t have presentational forms, and only morphing forms. Our current solution was to create a custom font that mapped the missing presentational forms, and making the user install the custom font. Anyway, if anyone is facing similar problems or has better solutions and is interested in sharing their experiences please send me an e-mail to kirill at kirillmazin dot com. I can send you the AS classes that we are using to deal with these problems, and/or the custom font that we are using.