Paul Ferrie
04-14-2003, 10:58 AM
hi guys,
I will try and keep this as simple as possible.
I have a flash forum on my site( friends of ed source)
I am trying to sort out a directlink function wich works fine as a standalone.(directlink = email reply notifaction = directlink)
Innovat forum (http://www.innovativedesigns.org.uk/flashforum/)That works just fine. Anyways i am loading the flash forum into my main site and trying to get the directlink function to work, so far so good.
Directlink:
The directlink is a piece of data that is sent with an email notifaction to some replying to your post url/go.php?directlink=yes&forumID=6&threadID=6
Variables from the link are read into flash cookies set by go.php then go loads index.php which checks for cookies.
This all works fine (standalone and within the mainsite) The problem lies with the directlink if statement that checks if directlink =yes. I have button within the main site that will load the forum(works) but what i am trying to do is:
Reply to post, get email with link
follow link to site
if directlink = "yes" loadMovie(forum)
onClipEvent (enterFrame) {
if (_root.directlink.length>1) {//directlink is textfield
loadMovie("board.swf", _root.win4);
_root.win4._x = 118;
_root.win4._y = 110;
_root.frontMe(_root.win4);
}
if (_root.board == true) {//board=true is located within the
// first frame of the forum
delete this.enterFrame;
_root.bforum = "true";// tells me if the
//forum is loaded
}
}
What i do know is all the variables are being loaded into the main movie just fine and are vied with txtfileds.
THe forumwill load just fine when i press the button to load it, but i am trying load it with the if statement.
Can anyone shed some like on this
cheers
I will try and keep this as simple as possible.
I have a flash forum on my site( friends of ed source)
I am trying to sort out a directlink function wich works fine as a standalone.(directlink = email reply notifaction = directlink)
Innovat forum (http://www.innovativedesigns.org.uk/flashforum/)That works just fine. Anyways i am loading the flash forum into my main site and trying to get the directlink function to work, so far so good.
Directlink:
The directlink is a piece of data that is sent with an email notifaction to some replying to your post url/go.php?directlink=yes&forumID=6&threadID=6
Variables from the link are read into flash cookies set by go.php then go loads index.php which checks for cookies.
This all works fine (standalone and within the mainsite) The problem lies with the directlink if statement that checks if directlink =yes. I have button within the main site that will load the forum(works) but what i am trying to do is:
Reply to post, get email with link
follow link to site
if directlink = "yes" loadMovie(forum)
onClipEvent (enterFrame) {
if (_root.directlink.length>1) {//directlink is textfield
loadMovie("board.swf", _root.win4);
_root.win4._x = 118;
_root.win4._y = 110;
_root.frontMe(_root.win4);
}
if (_root.board == true) {//board=true is located within the
// first frame of the forum
delete this.enterFrame;
_root.bforum = "true";// tells me if the
//forum is loaded
}
}
What i do know is all the variables are being loaded into the main movie just fine and are vied with txtfileds.
THe forumwill load just fine when i press the button to load it, but i am trying load it with the if statement.
Can anyone shed some like on this
cheers