Originally posted by rdbruski Post your problem. If you get a good answer, then that person must be ". . . strong in script and decent in Swish . . ."
You will get at least 6-12 good responses from the braintrust here, so fire away.
We have a swish file that opens when you go to our website http://www.home2000.com. It goes through it's message and at the end it says "click for details" This is where we are having our problem. We would like this to open a page in the mainFrame of the current browser window. The mainFrame is the lower right side of the screen or where the welcome screen is displayed. We are trying to use JavaScript to do this. So far nothing has worked, when we click on it there is no action.
In the actions tab, the onpress calls this:
Javascript: subregd();
Amerifax,
Glad to see a fellow cheesehead here. Appleton here. Anyway ono your problem... first I would make the Subdivision Resource Guide movie part of your main site as a banner or something. Reason is because I think most users will do what I did the first time I went to your site. Close the pop-ups. In that case the movie is useless. If you make it a banner in the main site, then all you have to do is do an on click action load the page or movie in the appropriate frame. Hope it helps.
Unless you really have to have it the way you currently have it,
I would change the way you enter your website.
After the user clicks enter the first time they visit your site after the compatibility check, just go right to the main site. Have that movie as a banner across the top. This lets you have a constant place for more movie content. The pop-up box movie is very annoying and I almost closed it because I thought it was an advertisement.
If you absolutely have to have the pop-up movie, do NOT load the other main page at the same time. On the "click to enter" button of the movie, THEN load that main page bringing it to front.
Originally posted by jomis003 If you make it a banner in the main site, then all you have to do is do an on click action load the page or movie in the appropriate frame. Hope it helps.
YOu have me thinking. I will have to evaluate your suggestion. I still would like to know why the script connect to Swish will not function.
It's people like yourselves that help us develop our website with your feedback. And we thank you for that. But for right now we want to leave the window as is. It is actually only supposed to open the first time you visit our site. The enter screen that does the system check is controlled by a cookie that resets every 30 days. Right now we are just trying to get everything to function properly, thus the problem with the script. On one of our other machines here in the office I get the following error trying to execute the script
Line: 1
Char: 1
Error: Object Expected
Code: 0
If I am reading your code correctly, it looks like what you are trying to do is call the javascript from the html. In this version of swish you cant call an external command. Try using in your movie the "on click" action then "goto_url" and then paste the script in there. This may work. Good Luck!
We are already calling the script from Swish in the goto url function. We have used this before in some other things we have done, we just can't seem to get this one to work.
Hmmm..... I guess the next step that I would take is compare this code to one that does work. See what the difference is in them. If they are the same, it could be the page that you are trying to link.