-
Hep needed Please!!
I have a flash movie which features apartment listing for rent.
I made a lot of dynamic text fields to which I load variables from a text file.
And my text file looks something like this:
&name=Sun Hill
&station=hayward
&walk=3min
&price=320,000
&name2=Hill Crest
&station2=fremont
&walk2=10min
&price2=560,000
And I want the name of the apartments to have hyperlinks. (in this case, "name" and "name2")
Is it possible?
How can I make it happen?
Help me please
Thank you in advance
-
Senior Member
This should work, with a font color tag also.
name="<a href='"+"http://www.sunhill.com"+"'><Font Color=\"#FF0000\">"+"Sun Hill"+"</Font></a>"
-
Thanks for the help, but it's not working...
Is it because I load variables within a MC?
And what if the address of the Sun Hill apartment is www.yahoo.com
or something?
Is there a way to make it link to it?
-
I forgot to say earlier, but it shows like this in movie:
""Sun Hill""
The "+" disappears and it doesn't have a hyperlink.
-
I can't remember where I came across this but the way I remember seeing it done was by setting the dynamic text field to render html text. The button looks like <>, it is inbetween the render background and the selectable buttons.
Once you have turned that on for the text field, you just need to put the html into it, like:
textField.text = "put html code for a hyperlink here";
That should do it.
Last edited by e-retina; 01-06-2003 at 10:28 PM.
-
It should be possible using an "a href" tag as described in the middle of this page:
http://www.macromedia.com/support/fl...s/htmltext.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|