# Shared library failure

**URL:** <https://forum.kirupa.com/t/shared-library-failure/303913>\
**Category:** flash\
**Created:** [January 28, 2010, 10:52pm UTC](https://forum.kirupa.com/t/shared-library-failure/303913 "2010-01-28T22:52:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaroNuke](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@TaroNuke](https://forum.kirupa.com/u/TaroNuke)\
**Post date:** [January 28, 2010, 10:52pm UTC](https://forum.kirupa.com/t/shared-library-failure/303913/1 "2010-01-28T22:52:46Z")

</div>

So I had this really big game. I mean, _really_ big.

25 characters, each with 7 unique attacks and a few other gameplay required animations sound effects, and 15 fighting arenas, music etc.

As you’d expect, the .fla got pretty laggy.

A friend told me about [THIS](http://www.kirupa.com/developer/flash8/shared_library.htm), and I was like “:o”, so I decided to use a shared library!

I started exporting the characters into their own little files, 001.fla, 002.fla, 003.fla, and using runtime sharing with the swfs they created. I did characters 1 to 6 and it was working amazingly, the .fla’s lag was decreasing, the .swf’s filesize was going down, I was like yay! This is amazing!

Once I get through to #25, and I try loading the movie clip which contains the characters… the game just crashes on load. Was this a stupid idea :L

I then store the games on my site [that the game will eventually be uploaded to], and link them correctly.

EDIT: Resolved.

I didn’t change anything… It just suddenly started working 😕
