TwelvestoneFlash

Flex project: compiles, but gives runtime errors with .swc files


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
scudsucker
 
2012-01-04

I have a (mostly) working project in Adobe Flash Builder.

However, the trial license has expired so if I close it I will not be able to re-open it. I prefer FlashDevelop anyway.. but...

I ported the code across, and all is compiling properly. However the project requires 5 .swc files over which I have no control - I must just add them and work with them.

Compiling my project in FlashDevelop works fine. However, on run, I get a runtime error as soon as the code reaches the first reference to a class inside a .swc:

VerifyError: Error #1014: Class com.REDACTED.UI.SlotMachine::SlotMachineModule_Base could not be found.

If I look in the class view in the relevant .swc I can see that the class exists (and obviously the project would not compile unless the class was there)

What am I missing to get the .swc called at runtime?

scudsucker
 
2012-01-04

Gah... bug in IDE.

When right clicking on a swc in the "lib" folder and choosing "Add to library" do not actually expect that the swc WILL be added to the library.

Out of 5 that I added, 2 were not done right as I could tell from checking Project -> Properties -> Compiler Options -> SWC Libraries.

Manually adding them works.. or sort of works. I have new problems now.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

Flex project: compiles, but gives runtime errors with .swc files