Adobe Connect User Community
Menu

#1 2012-01-31 10:13:17

**_alsodenn_**

load Img into custom pod

Hi Connect Communty!

I try to create a custom pod with flex and AS3. (I'm a newbie in flex)

How can I load a image into my custom pod like in the share pod or similiar?

Any ideas?

Offline

#2 2012-01-31 10:37:44

alistairlee

Re: load Img into custom pod

Welcome to the community.

I'm not sure if this answers your question - but if you want an image as part of your custom pod, the easiest way is to embed it.  This means that it will be part of your SWF file and doesn't need to be uploaded separately.

While a standard image tag would look like this:

<mx:Image id="myImage" source="img/myPic.jpg" />

You'll need to wrap the source location in an embed tag so that it will be compiled into your custom app.  Use the following syntax:

<mx:Image id="myImage" source="@Embed('img/myPic.jpg')" />

Thanks,
Alistair

Offline

#3 2012-01-31 10:42:57

**_alsodenn_**

Re: load Img into custom pod

Hi Alistair

Thanks for your reply.

But the presenter should load his own image of his choice. Is this possible?

Alsodenn.

Offline

Board footer