# Embed tag not working

**URL:** https://forum.kirupa.com/t/embed-tag-not-working/296553
**Category:** flash
**Created:** [September 16, 2009, 4:04pm UTC](https://forum.kirupa.com/t/embed-tag-not-working/296553 "2009-09-16T16:04:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dtk13](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@dtk13](https://forum.kirupa.com/u/dtk13)
#### Post date: [September 16, 2009, 4:04pm UTC](https://forum.kirupa.com/t/embed-tag-not-working/296553/1 "2009-09-16T16:04:43Z")

</div>

I’m trying to embed a swf into my AS3 project to access the swf’s library.

```auto

[Embed(source="UILibrary.swf", symbol="EffectsBtn")]
private var EffectsBtn:Class;
//...
//EffectsBtn then gets added to the stage in the main function
var effbtn:Sprite = new EffectsBtn();
addChild(effbtn);

```

However it never shows up on stage and I don’t get any errors.
