PDA

View Full Version : Combining Variables, Concatenate?



chessmusic
October 14th, 2001, 11:22 AM
I am trying to set up a flash where people type in their screen name and that becomes part of an address they are then directed to: (i.e. www.domain.com/screen (http://www.domain.com/screen) name)

The screen name would function like a directory. So far, I can have it throw back the www.domain.com (http://www.domain.com) part, but it stops there and doesn't add on the screen name. I have tried several things including assigning www.domain.com (http://www.domain.com) to a variable and just trying to add a variable for the screen name to it. Anyone have any ideas how to achieve this?

suprabeener
October 14th, 2001, 12:23 PM
getURL("http://www.domain.com/" + screenName, target);

chessmusic
October 14th, 2001, 02:03 PM
<a href="http://("http://members.aol.com/"+name)">("http://members.aol.com/"+name)</a>

That is what happens when I tried it. Actually what I am looking for is 3 parts.

I want to have:

[/url] + name + domain.com
[url="http://name.domain.com"]name.domain.com (http://)

from what you gave I assume it would be

getURL("<a href="http://"">"</a> + screenName + ".domain.com")

....god this is frustrating lol

chessmusic
October 14th, 2001, 02:05 PM
Beginning of the urls and action for get url should have an but ezboard likes to play games I see

chessmusic
October 14th, 2001, 03:11 PM
It works now, just had to check the expression box. Thanks

suprabeener
October 14th, 2001, 03:49 PM
sometimes i wonder if "normal" mode actually makes things easier. ; )