speeding up compile time

Software: Away3D 4.x

klinek3, Newbie
Posted: 19 March 2014 11:13 AM   Total Posts: 8

Helo.

Assuming that I have only one model and skybox inside my Away scene, and import some Away classes as follow:

import away3d.cameras.lenses.*;
import away3d.cameras.Camera3D;
import away3d.containers.*;
import away3d.entities.*;
import away3d.materials.*;
import away3d.materials.methods.*;
import away3d.primitives.*;
import away3d.textures.*;
import away3d.utils.*;
import away3d.loaders.Loader3D;
import away3d.loaders.parsers.Parsers;
import away3d.events.LoaderEvent;
import away3d.controllers.LookAtController;


I’ve noticed that the compile time in flash CS6 is longer than 4 mins. Pointing to Away3D SWC file (inside flash publish settings/library path) doesn’t make any difference.

Do you know any method for speeding up compile time in flash (in case of Away3D)?

Regards

   

Avatar
Fabrice Closier, Administrator
Posted: 19 March 2014 11:48 AM   Total Posts: 1265   [ # 1 ]

Flash ide isn’t the fastest to compile but 4 minutes isn’t really normal unless you have complex fonts/lots of assets in the library or there is something wrong with your setup.
If you have a near empty library and you are sure your setup is ok, then I suggest you use the ide to create assets, and use another one to code/compile.

   

klinek3, Newbie
Posted: 19 March 2014 12:49 PM   Total Posts: 8   [ # 2 ]

Thanks for the reply. I will try it.

   

John Brookes, Moderator
Posted: 19 March 2014 01:02 PM   Total Posts: 732   [ # 3 ]

This is going to be very vague :/

Had this issue with Cs6 and it can be solved.
Problem is cant remember what it was.
Try Actionscript settings and toggle errors warning/strict.
May be wrong
Sorry no longer have CS6 installed and no way to check.

As Fabrice says
Do your assets in CS and code in something nice
http://www.flashdevelop.org/

   

klinek3, Newbie
Posted: 31 July 2014 11:36 AM   Total Posts: 8   [ # 4 ]

You were right ‘JohnBrookes’. Turning off ‘Warnings Mode’ in Flash CS6/Publish Settings solved my problem.

Compile time reduced from 4 minutes to less than 20 seconds.

Thanks.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X