Shoot!/Kongregate Labs FAQ and Discussion page 5

Subscribe to Shoot!/Kongregate Labs FAQ and Discussion 105 posts, 51 voices

Sign in to reply


 
avatar for Moly Moly 272 posts
Flag Post

Copy the fla into the classes folder and open it from there

 
avatar for CrashDummy1806 CrashDummy1806 5 posts
Flag Post

Thanks for a timely response; but, when I tried that I got multiple 1114 errors and 1 syntax.

The swf Menu screen flickers and is inoperable.
The ORIGINAL swf from the .ZIP I downloaded worked from outside “classes” perfectly PRIOR to opening the .fla file. I’ve attempted multiple “Start Overs” by throwing out files and re-downloading. Everything works fine until I open the .fla – that when everything goes south !

The errors I generated from reloacting .fla to classes are as follows:

1114: The public attribute can only be used inside a package.

 
avatar for CrashDummy1806 CrashDummy1806 5 posts
Flag Post

public function progressHandler(e:ProgressEvent):void
public function completeListener(e:Event):void
public function onPlay(e:MouseEvent)
public function onNormal(e:MouseEvent)
public function onHard(e:MouseEvent)
public function initGame()
public function onPlayAgainNormal(e:MouseEvent)
public function onPlayAgainHard(e:MouseEvent)
public function initStats()
public function updateStat(stat:String, val:int)
public function gameOver()

 
avatar for CrashDummy1806 CrashDummy1806 5 posts
Flag Post

OK, I figured it out.
The .fla has to be inside the classes folder when exporting the swf; and, the swf can be outside the classes folder but not more than one folder away. Seems a bit strange to me but I am new to game development. My flash background is in webdesign. Thank you for the help !

 
avatar for mp630 mp630 36 posts
Flag Post

AS3 blows, I can develop in AS2 in 1/4 of the time it takes to do stuff in AS3. Adobe turned flash into flex with AS3.

Sign in to reply


Click Here