Flash Photo Album 2 is now free with source files

Flash Photo Album 2 is new version of Flash photo album with new features.

Convert new lines to single line space when read from external file

This is a handy code that I use very often in actionscript 1 and 2 to convert new lines to one new line as it is visible in html. Flash thinks them as double new lines \n\n instead of \r\n (return and new line). This code removes \n (new line) and leaves \r (return) in string.


function textToFlashTF(text) {
return text.split('\r\n').join('\r');
}

Released Flash Photo Album version 2

In past couple years there was great interest for Free Flash Photo Album, which is still great and much faster than any others flash photo album on the internet. But it is a bit difficult to setup, especially if you have a lot of photos to show and each photo has a title. That’s why I wrote new Flash photo album version 2 which uses xml for specifying images and customizing photo album itself.

…continue reading: Released Flash Photo Album version 2

Cool text codign effect for flash menus

There are plenty of web sites using some kind of text typing effects. I always wandered how it is done. Searching for solution I found sample typewriter actionscript at http://proto.layer51.com/d.aspx?f=493 . Wich was really compact and clear. Also some time ago one of my friends asked me to help with his text efect that types new text, shows random characters from text, random underscores and hyphens and if there is some existing text show it descending. I did it then but cann’t remember how. Because there also I adjusted some existing code.

…continue reading: Cool text codign effect for flash menus