# Shared Library Symbol and AS3 Class Linkage

**URL:** <https://forum.kirupa.com/t/shared-library-symbol-and-as3-class-linkage/289395>\
**Category:** flash\
**Created:** [May 29, 2009, 7:25pm UTC](https://forum.kirupa.com/t/shared-library-symbol-and-as3-class-linkage/289395 "2009-05-29T19:25:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrZoop](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@DrZoop](https://forum.kirupa.com/u/DrZoop)\
**Post date:** [May 29, 2009, 7:25pm UTC](https://forum.kirupa.com/t/shared-library-symbol-and-as3-class-linkage/289395/1 "2009-05-29T19:25:58Z")

</div>

I have created a symbol that imports a movie clip from another FLA/SWF (MovieClip, Property, Import for Runtime Sharing). It imports all right, but, I would also like that imported MovieClip to have its own class and have it be aware of any instances within it.

So, for example, the imported MovieClip is named: CSceneWinLose. I created a class file and have the linkage class name matching:

CSceneWinLose.as

```auto
  
public class CSceneWinLose extends MovieClip
  //normally, you extend the library item, in my case named BMCSceneWinLose.  
  //This is what I want! But it is not aware what BMCSceneWinLose is.
{
   public function CSceneWinLose():void
   {
      winScreen.visible = true; //By extending MovieClip, cannot compile because it doesn't know what winScreen is.
   }
}

```

How does one access the items (instances) inside of a imported movie clip? I feel like I should have to extend BMCSceneWinLose in my example, but in order to do that, I should import something.

A quick response would be very deeply appreciated.

Cheers,  
Zoop
