At 4/19/14 06:21 PM, Etherblood wrote:
At 4/19/14 05:23 PM, wolftriplex wrote:
But how do I do this? All the Actionscript code, including the main Engine, are all in separate Actionscript files and the Class on the Flash file is linked to the "Engine" actionscript file! I even set the code to start on Frame 2, but it still wants to run the actionscript engine, even though it's not on frame 2 :(
I'm not sure what your problem is, what isn't working, what errors do you get (if you get any), what does the corresponding code look like? What do you mean with "the Class on the Flash file"?
If you're using Adobe Flash CS x you just need to make 2 frames on the timeline, 1st frame for the preloader (nothing else), and the 2nd frame contains the ActionScript to start your game/engine.
Alright, so the error I get is that the line is "null or contains no properties" and it is on the first line of code! Now, the code for the game is not linked to any frame at all, like an action, it is in an actionscript file. Now, what I mean by "The class on the flash file" is when in the properties menu on the Flash file, there is a "Class" spot where you link an actionscript file to it!
I am using Adobe Flash Creative Cloud.