# Migration problems

**URL:** https://forum.kirupa.com/t/migration-problems/286741
**Category:** flash
**Created:** [April 20, 2009, 1:29pm UTC](https://forum.kirupa.com/t/migration-problems/286741 "2009-04-20T13:29:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![the\_lar](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@the\_lar](https://forum.kirupa.com/u/the_lar)
#### Post date: [April 20, 2009, 1:29pm UTC](https://forum.kirupa.com/t/migration-problems/286741/1 "2009-04-20T13:29:55Z")

</div>

Hi all,

I’m in the process of migrating from Flash over to Flex Actionscript Projects, to be honest I’m struggling with very simple stuff!

Obviously I’m used to having the Library in Flash, I am trying to export MovieClips as SWCs to use in Flex but I can’t seem to get it to work. Here’s what I’m doing:

In Flash, I create a MovieClip (just a simple square) and give it a class name of squareMC  
In the Flash Library, I right click the symbol and Export SWC file - saving it to the assets folder of my Flex Actionscript Project  
In Flex, Project \> Properties \> Actionscript Build Path \> Library Path I have added the assets folder as a SWC folder

How on earth do I now use the squareMC class? All I want to do is to add it to the stage!

var sq:squareMC = new squareMC(); //Doesn’t work

Is this the right approach anyway?

Any help greatfully received!

Lar
