Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Dynamic loading a text with hyperlink inside flash |
From: | Nathan Dicken |
Date: | Wed, 5 Apr 2000 18:10:44 +0100 |
Sure you can. Could get pretty complex though... Loading the text into
the text field mc's that will scroll can be pretty straightfoward. On the
other hand, to have a button hit state that is sized to a specific text
field will probably take some work...
The process that I'm picturing is to first figure out the width of the
widest character in your font selection (take into account font, specific
font size). Next, after the data is read into Flash from the text file,
import a specific chunk of text into a text field mc while monitoring it's
length for the purpose of sizing and positioning the button hit state above
it. For example, if the widest character is an "M" and is 5 pixels wide,
and the specific text that you're working with is "DOG", then the width of
the button state that will float over this text field will be 15, or 3
letters x 5. This probably won't be the exact width of the text letters
but will be a safe estimate - a little larger. After that, it would be
just the process of setting up text field/button hit state combinations
off-stage and then bringing them in and keeping them rolling...
Hope that helps.
Nathan
--------------------
Nathan Dicken
Fusionary Media
www.fusionary.com
>Hi,
>Is it possible to load some texts from a external file and at the same time
>having individual text having a link to a URL. If possible, i want to text
>to scroll from right to left.
>
>i.e I have a banner which load text from an external file. These text have a
>link to a specific URL. It scrolls from right to left and then load another
>text with another URL link.
>
>Your prompt reply is greatly appreicated.
>Thks
>
>Regards
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> the new Flasher list books section, check it out
> at http://www.chinwag.com/flasher/books.shtml
> send suggestions for inclusions to helpchinwag [dot] com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Dynamic loading a text with hyper, c pm
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]