Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text field

Status
Not open for further replies.

GGROD

Programmer
Feb 7, 2002
68
US
I'm trying to make a scrollable text field. So far that is simple enough with the scroll pane component. But now I have text that equal about 2000 lines total and it contains some pictures (graphs). I'd like to have a text field scroll thru this text and pictures. What is the best way to handle this mixture of text and pictures. Should I make it a swf and have the scroll pane scroll this swf? And when I try to make a movieclip of this text I cannot see all the text cause the working area isn't big enough.

Any ideas?
 
Use a scrollpane for pictures and text. With the usual content clip scrolled in the pane... A movie clip can usually be no longer or wider than +/-2800 pixels...
Are you typing the text in the textfield?
 
The text I am using is an MS Word doc from a customer. This word doc contains the text along with pictures that the customer wants to appear within the scrollable text area. I'm trying to figure out the best way to get text and pictures in one text area I can scroll.

I thougt about making a movie clip that had the following:

Text here**********
*******************
*******************
*******************

Picture

Text here**********
*******************
*******************
*******************


I've tried having the text in an external text file and since flash reads this source similar to HTML I tried adding <image source= >tags to point to the pictures. So the pictures would appear with the text. But it seems the HTML tags I can use is limited.

 
Are you on MX or MX2004?

If on MX only, you can't use the < img > tag, and the following are the only tags officislly supported by Flash...


Furthermore, usually, Flash only loads simple text files (.txt) and the formating of a Word document, especially if it includes pictures, will most probably cause problems.

You'll have to recreate your client's document in a movie clip, and either use the scrollpane to scroll it or use your own custom movie clip scroller.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top