?
Solved

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

Posted on 2006-06-21
3
Medium Priority
?
578 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 1500 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

764 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