# Accessing an embedded image in a loaded swf

**URL:** https://forum.kirupa.com/t/accessing-an-embedded-image-in-a-loaded-swf/230563
**Category:** flash
**Created:** [June 27, 2007, 7:19am UTC](https://forum.kirupa.com/t/accessing-an-embedded-image-in-a-loaded-swf/230563 "2007-06-27T07:19:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![costa](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@costa](https://forum.kirupa.com/u/costa)
#### Post date: [June 27, 2007, 7:19am UTC](https://forum.kirupa.com/t/accessing-an-embedded-image-in-a-loaded-swf/230563/1 "2007-06-27T07:19:28Z")

</div>

Dear all,

I am loading a swf which contains a mc and an image with a class defined. I got not problems passing the mc to a container of my main movie but I do not know how to access the image class. In a preview test, with the image embedded in my main mc, I just did something like this:

var myImage:ClassName = new ClassName(100,100);  
var imageBitmap:Bitmap = new Bitmap(myImage);

but now I do not know how to do the same action.

Thanks in advance
