Jump to content

speedtouch

Members
  • Posts

    3
  • Joined

  • Last visited

speedtouch's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Oop! Thanks for the quick reply, I managed to solve it, and it was user-error of course. My main starling class had: import flash.events.Event; When it should have been: import starling.events.Event; Easy mistake to make, I just hope my mistake might help someone in the future that runs into something similar. There were a few more errors I had to fix to get the library to work flashdevelop. I'm running it on air SDK 3.5 so perhaps it's more strict. I just implemented what I would expect the compiler would have done: simpleAssetLoad.as (38) col: 35 Error: Implicit coercion of a value of type uint to an unrelated type String. _queue.push(new SimpleLoadItem(_totalItems, $url, $data)); _queue.push(new SimpleLoadItem(_totalItems.toString(), $url, $data)); SimpleLoader.as(23): col: 4 Error: Access of undefined property url. url = _simpleLoadItem.url; //url = _simpleLoadItem.url; SpriterMC.as(497): col: 3 Error: Function does not return a value. Animation.as(234): col: 3 Error: Function does not return a value. Animation.as(355): col: 3 Error: Function does not return a value. (added return false;) return null; // added it to the end of each function since we need to guarantee a return value
  2. Nice benchmarks I've been trying to use the API but I've run into a few errors when I try. First, under sammyjoeosborne/spriter/load/SimpleAssetLoader.as (38), _totalItems (uint) is passed to a new SimpleLoadItem(), but it expects a String. Next in sammyjoeosborne/spriter/load/SimpleLoader.as (23) url is not defined anywhere. Now seeing as how these haven't been updated in 10 days on git, I figure that I must be missing something, considering things seem to be working for you guys. I only have flashdevelop on hand so I haven't been able to check out the .fla files, and I'm new to starling. Anything I should know about getting this API up and running? EDIT: Looking further into some of these errors, it seems like these are legitimate issues that your compiler seems to be hiding away from you guys. After patching the ones I found, and loading an the scml file, and its textures, it seems to have gotten confused with trying to load an event. Scml files and folders parsed. Sending to TexturePack loading textures from individual files START LOAD CALLED ScmlData ready TexturePack hero loaded all textures successfully. TexturePack hero loaded all textures successfully. [Fault] exception, information=TypeError: Error #1034: Type Coercion failed: cannot convert starling.events::Event@478b041 to flash.events.Event. Fault, invokeEvent() at EventDispatcher.as:138 Can I get a fix? EDIT2: Disregard that last part, that was my fault. My main class that took the sprite ready callback was importing the wrong library :) Hopefully this will help other people
  3. Can we get an updated implementation for plain/raw AS3 for the new file format? I looked at Oddysee's change for Flashpunk but I had a hard time finding what would need to be changed for just the raw as3.
×
×
  • Create New...