Solved

load image into flash from html text box that is loaded from an external text file

Posted on 2006-06-21
3
576 Views
Last Modified: 2010-08-05
Hi, I've used LoadVars to load text and jpeg thumbnails into a textbox. This content is from an external text file. Is it possible to load an image into a specific MovieClip depending on the thumbnail that is clicked on the textbox. I know how to load this into a new html browser page, but I need it back in Flash. Pls. help.
0
Comment
Question by:skylabel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:ddlam
ID: 16957293
textbox supports some HTML tags
open properties(Ctrl+F3) and click 'Render as HTML' for the textbox
if you are using action script to generate the textbox. Just use yourTextBox.html = true;

then, type the img src html like <img src='http://website/your.jpg' />
or type action script yourTextBox.htmlText = "<img src='http://website/your.jpg' />";

reference:
http://livedocs.macromedia.com/flashlite/2/main/00000825.html
0
 
LVL 1

Author Comment

by:skylabel
ID: 16957325
I know that, but is there a way to load that image back into a MovieClip in Flash for display?
0
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 16958833
You could use asfunction() to execute your custom loadMovie() function to load the selected image into the movieClip of your choice...

CyanBlue
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question