demo page, separate .as file, simplified as code
Merge pull request #1 from benjamine/master

demo page, separate .as file, simplified as code