• Boilerplate SWF ActionScript

    by  • November 18, 2011 • Uncategorized

    I needed a SWF file last night for some testing, so I dug around on the Internet for a way to call my localserver, but didn’t find any basic boilderplate code. Not knowing actionscript, I wasn’t sure what I was searching for, so eventually, after piecing things together I got this. 


    If you want to compile this into a SWF file of your own you can use as3compile found within SWFTools and simply pass it the actionscript file. This is by no means some advanced code or even too useful given flash security restrictions, but it may come in hand one day.