Closed Thread Icon

Topic awaiting preservation: DYNAMIC URL?????????????????? Pages that link to <a href="https://ozoneasylum.com/backlink?for=12922" title="Pages that link to Topic awaiting preservation: DYNAMIC URL??????????????????" rel="nofollow" >Topic awaiting preservation: DYNAMIC URL??????????????????\

 
Author Thread
whitskay
Obsessive-Compulsive (I) Inmate

From: whitskay@hotmail.com
Insane since: Oct 2003

posted posted 10-08-2003 17:02

Ok what i am trying to do:

Well i have a banner called "Whats New" , i am trying to hook up a database to the banner. This will display the text that is being pulled from the database. In the database i am pulling the "title that i want displayed and i am also pulling the url........this is the problem, i am not able to display the url as a link....how would i display the url as a link in flash? I would like to make it so that you can click on the title in the whats new banner and it will take you to the title that it is displaying. I am able to show the url address but it is not a hyperlink.....how would i make this active? remember since i am pulling the url from the database the url will not be the same for each title......

Oh yeah i am doing this in access 2002

flash mx

cold fusion ...............PLEASE HELP!


Thanks For All Your Help

Karyn

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 10-08-2003 18:09

I would think this would be more of a Flash issue than anything.

How does Flash handle links?

Whatever Flash requires to recognize something as a link, you need to have added to the url.

If I were outputting to HTML, I would simply print <a> tags around it (this could be done by your script at the time the item is added to the DB, or it could be done at the tmie it is pulled out. I generally do it when it is pulled out so that you can still display the URL in other formats).

I don't know Flash at all, so I can't help you in that regard.

Perhaps you can set your Flash bit to recognize anything that begins with "http://" as a link and treat it accordingly?




[This message has been edited by DL-44 (edited 10-08-2003).]

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 10-14-2003 03:46

There are several ways to do this, but the easiest way would be to use the myTextField.htmlText property to write a simple <a> link into a text dynamic text field like so:

myTextField.htmlText = "<a href=\""+ urlVariable + "\" target=\"" + targetVariable + "\">" + titleVariable + "</a>";

NB: You can't do this with static text...




« BackwardsOnwards »

Show Forum Drop Down Menu