|
-
Best methods on storing .as files
We're developing a website with multiple swf objects. Each of these objects will need access to multiple .as files. On smaller sites, i've always just stored .as files in the DocumentRoot of the website along with the swfs.
So we'd have foo.swf witch a Doc Class of Bar and Bar.as - both Bar.as and foo.swf would live in /
On this project, we are thinking about using a folder directory structure for the sake of of the home brew cms, and ease of finding items for the developers.
so it would be something like
/
/css
/flashFLA
/flashSWF
/flashFLV
/flashAS
/js
/xml
/php
Will this be more of a headache? How will this effect the way we set Doc Classes?
Last edited by paragonc; 03-04-2008 at 05:37 PM.
-
in AS3, it is not necessary to publish .as files. They are compiled to bytecode and embedded in the swf.
If you're talking about whether that proposed directory structure makes sense to a developer, then I see no problems with it.
-
Well we're trying to figure out the best way to work on this project because we have multiple developers working on different components around the same time.
I think we are going to start using dreamweavers check in check out features. With that said, if we have /flashFLA - wont the publish settings defaultly drop the .swf into /flashFLA - is there a way to change that so it globally publishes it to /flashSWF ?
Also set it so flash globally looks in /flashAS to import the *.as files
Last edited by paragonc; 03-04-2008 at 05:58 PM.
-
I have no idea about the Flash IDE's publish settings. I know you can set the classpath to look into an arbitrary directory, so finding the flashAS directory should be no problem. Code guys will likely be familiar with svn or cvs, which is a great idea when you have multiple people working on the same codebase. It may or may not help you with the graphical parts, but it'll save your ass when someone overwrites someone else's hard coding work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|