Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Microsoft WSUS 4 82
Embedded Video Download (Flash) 3 1,131
free flash maker 5 197
Rotating Adobe pdf document 4 300
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

757 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

19 Experts available now in Live!

Get 1:1 Help Now