Solved

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

Posted on 2006-06-21
3
569 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now