Solved

self scrolling text line with the text from TXT file

Posted on 2001-08-08
3
283 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
ID: 6372002
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
ID: 6372550
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
ID: 6375306
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to show horrizontal scrollbar for AdvancedDatagrid next to freezed columns. 4 326
SCCM 2012 - Deploy Flash 16 7,035
Does Flash have a Firefox problem? 5 322
Actionscript in Flash 3 72
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
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.

821 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