Solved

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

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
How to put actionscript code for a button? 6 146
Flash player plugin 13 7 347
How to determine issues pulling up internal device in browser. 5 98
Flash ActionScript 6 65
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
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.

730 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