Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I put external images in html text?

1 REPLY 1
Reply
Message 1 of 2
axilmar
396 Views, 1 Reply

How can I put external images in html text?

Hello.

 

I want to put external images in html text but I cannot.

 

I can put images from the library in html text using the image tag and specifying the src attribute as the image's library identifier. But I cannot do the same with external images, i.e. images from the filesystem.

 

How do I put images from the filesystem in html text? what exactly do I need to write inside the src attribute?

 

I need this functionality in order to put interactive icons for a chat window for an MMORPG I work for (DFUW).

 

I am using Scaleform SDK 4.3.

 

Thanks in advance

 

Achilleas

 

1 REPLY 1
Message 2 of 2
Doublezer0
in reply to: axilmar

Hi

 

Generally images need to be sourced out from a folder adjacent to the movieclip named the same as the movieclip loading the images. 

ie.  c:/scaleform/myProject/ <-- this is where your main scaleform SWF is located. 

Let's say it is called "myProject_01.swf". 

In the SAME folder as the movieclip you would have a folder called "/myProject_01/" where all your images would reside.  

 

So it would look like this.

 

c:/scaleform/myProject/myProject_01.swf

c:/scaleform/myProject/myProject_01/someImageFile.jpg

 

 

When it comes to loading images from external sources there are limitations in flash due to sandbox security.  I believe the method used within scaleform allows for local loading of images whilst adhering to the sandbox security protocols which usually have to be defined to allow certain paths and domains.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report