# EMBED tag using FlashDevelop problem

**URL:** <https://forum.kirupa.com/t/embed-tag-using-flashdevelop-problem/273158>\
**Category:** flash\
**Created:** [October 12, 2008, 11:24am UTC](https://forum.kirupa.com/t/embed-tag-using-flashdevelop-problem/273158 "2008-10-12T11:24:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dimitree/32/2530_2.png) [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Post date:** [October 12, 2008, 11:24am UTC](https://forum.kirupa.com/t/embed-tag-using-flashdevelop-problem/273158/1 "2008-10-12T11:24:02Z")

</div>

I am trying to embed an image file in a papervison project using FlashDevelop.  
I dont get any compiler error- but I cannot see the image(bitmap material) in the final project!

Part of the code is:

[AS]

```
     [Embed(source="Earth.jpg")]

```

/_the image is in the same directory as the class, also added to the library(blue coloured)_/  
private var EarthMap: Class;

```
	public function EarthTest1()
	{
		super(640,480); 

		var earthbmp:BitmapData = new EarthMap().bitmapData;
	
		
		var earthmaterial:BitmapMaterial = new BitmapMaterial(earthbmp);
		
		
       
		sphere = new Sphere(null, 150,20,12);
		
		scene.addChild(sphere); 
		camera.fov = 30; 
		
		addEventListener(Event.ENTER_FRAME, enterFrame); 			

	}[/AS]

```

I have a feeling that this is a common error for beginners like me in FlashDevelop. Any help is appreciated…  
PS. using SDK4
