Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]

Subject: Re: FLASH: Assigning an URL to dynamic text
From: Randy Kato
Date: Thu, 28 Sep 2000 21:16:35 +0100


I'm not sure what you're asking, but if you want to dynamically tie the URL to
the message, you can variable-ize the number so your variable names become
"messagex" and "urlx" where x is a numeric variable.

If you're just trying to make links within the text, HTML would be the easy way.
What formatting problems are you having?


Vinh Tran wrote:

> All:
> Does anyone know how to assign an URL to dynamic text in ActionScript? I
> could use HTML text but version 5 seems to format the text incorrectly. The
> requirement is to assign a different URL depending on the text being
> displayed. The following pseudo-code may help to understand what I'm trying
> to do....
> message1 = "This is message 1";
> message2 = "This is message 2";
> url1 = "http://www.someURL.com";
> url2 = "http://www.anotherURL.com";
> messageInstance:dynamicText = message1;
> messageInstance:dynamicText.url = url1; // This is where I need the help.
> Is this possible?

'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
...... . . . . . . . . .

NudeGuru.com is proud to sponsor the Flasher list
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

  RE: FLASH: Assigning an URL to dynamic t, Vinh Tran

  FLASH: Assigning an URL to dynamic text, Vinh Tran

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]