Solved

self scrolling text line with the text from TXT file

Posted on 2001-08-08
3
256 Views
Last Modified: 2006-11-17
Look ppl, i got a task. I need a self scrolling text like marquee in html with the text from txt file.
Now: I can do that when the dinamic text field is in a graphic object so i can get an effect of scrolling text with a simple motion of the textbox under the mask.
Problem: The text in the TXT file sometimes can vary in the size, so i need to control the size of the dinamic textfield from the TXT file with the help of some variable. But then I must have a MovieClip object instead of Graphic object where i put the dinamic text field.
And here is the problem. I cant see the text from the file in the dinamic textfield if it is in MovieClip object :((   what is that?
0
Comment
Question by:patker
3 Comments
 
LVL 1

Expert Comment

by:sturobinson17
Comment Utility
You can pass the information to the MovieClip using the TellTarget function. Make sure you give the Movieclip an Instance name.
0
 
LVL 2

Expert Comment

by:big_al_bruce
Comment Utility
make sure you label it correctly. For example, lets say you put it in a movieclip with an instance name (CTRL and I) of 'textmc'.

You'd reference this in flash5 using _root.textmc

or in flash 4 with /textmc

hope this helps ya :)
0
 
LVL 1

Accepted Solution

by:
uschfauq earned 100 total points
Comment Utility
Dear patker,

First put that text field in a movie clip, name its instance as big al bruce told u then in order to refrence it.
To get the same font and size every time you load a text file select the text field and in Flash 5 Text options give the field name and make it dynamic also select the required options in Embed Fonts. That way all your text will look same with little file size increase.

Hope it solves you problem :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
HTML 5 or Flash 7 475
How to display a webpage in a flash 10 344
Google Chrome Blank White Screens 13 279
File conversion question 5 54
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 last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

728 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

10 Experts available now in Live!

Get 1:1 Help Now