tawright
10-14-2003, 11:36 AM
MX, PHP, MySQL.
This is working... as far as adding a URL to a button with action on button... BUT... if there's no URL in the database, it's STILL creating a "http:///" link on the button. Why is this "not null" not working??
// adds url from database and opens in new window
on (release) {
if (_root.event_url != null) {
getURL("http://"+_root.event_url, "_blank");
}
}
This is working... as far as adding a URL to a button with action on button... BUT... if there's no URL in the database, it's STILL creating a "http:///" link on the button. Why is this "not null" not working??
// adds url from database and opens in new window
on (release) {
if (_root.event_url != null) {
getURL("http://"+_root.event_url, "_blank");
}
}