PDA

View Full Version : is there a "make default" option for .as files???


achisholm
08-18-2006, 10:41 AM
i want to create a default script template for my .as files and i'm wondering if Flash lets you apply a default document that will automatically open up every time i create a new .as file. Mine would look something like this:

// © author details, bla bla bla

/*---------------------------------------------
variable declarations
----------------------------------------------*/

/*---------------------------------------------
instantiate variables
----------------------------------------------*/

/*---------------------------------------------
functions
----------------------------------------------*/

/*---------------------------------------------
event handlers
----------------------------------------------*/

/*---------------------------------------------
run immediately
----------------------------------------------*/


I'm guessing there's not because i've spent 20 minutes trying to find this feature without any luck. I'd like to hear otherwise though!

Xeef
08-18-2006, 10:59 AM
no such function is know to me

how ever you can extend flash and make your own
look around in the jsfl forum

achisholm
08-18-2006, 11:45 AM
Ok, well that's one for the Flash 9 request list here (http://weblogs.macromedia.com/flashteam/archives/2006/08/feature_request_1.cfm). I will have a look at the jsfl but this is all new to me. Maybe i might learn something, cheers