Re: Navbar issue (urgent)
Read this,as of april this issue will be undone by Microsoft
Hans
http://forums.swishzone.com/index.php?showtopic=35036
Re: Navbar issue (urgent)
Quote:
Originally Posted by
haakoo
Thanks Hans but that has nothing to do with this problem. I repeat, the navbar works fine in all my pages except for those two and it's exactly the same swf. Therefore the problem must lie in the HTML code or javascript on those pages although both are entirely different. I'm convinced there is some kind of conflict, otherwise the navbar would not work on any of the pages.
Re: Navbar issue (urgent)
Hi Powerball and Welcome,
I can't say that I understand your promblem from your first post. Could you explain what the problem is in more detail?
Re: Navbar issue (urgent)
Hi Powerball.
If you were using Flash I would say try exporting your swf lower version of actionscript or Flash player version. I've had links behave like you describe only to have them corrected by bumping back a version or so.
Best of luck!
Re: Navbar issue (urgent)
Quote:
Originally Posted by
Egg Bramhill
Hi Powerball and Welcome,
I can't say that I understand your promblem from your first post. Could you explain what the problem is in more detail?
The Navigation bar, found under the header, has navigation buttons on it. While they all change to red when hovered over, they do absolutely nothing when clicked on however, this applies only to the 2 pages mentioned in my original post. Furthermore, it seems to apply only to IE 6.0 because they do work in Firefox, and I am told they also work in IE 7.0.
The swf used on those pages is the same on all other pages of the site, which can be accessed using the text links at the base of the page. Therefore logic dictates that the navbar should definitely work on the two affected pages also. As this is not the case, I believe there may be a conflict in the html or javascript used on those pages.
For example, www.powerball-club.com/petanque has a 3rd swf on it in the form of a magazine display. Perhaps the html code for that has an instruction that conflicts with the code used by the navbar? I don't understand code so I'm unable to see it if there is such a conflict. On the other hand, there is also a web form using javascript commands. I doubt that has anything to do with the problem but I pose the question because like all the other pages on the site, www.powerball-club.com/exercises has no other swf's other than the header however, it does have some javascripted buttons.
That's it in a nutshell. I can see no reason why the navbar is not working on these 2 pages and would be most appreciative if someone could identify the cause please.
Re: Navbar issue (urgent)
Quote:
Originally Posted by
RedWombat
Hi Powerball.
If you were using Flash I would say try exporting your swf lower version of actionscript or Flash player version. I've had links behave like you describe only to have them corrected by bumping back a version or so.
Best of luck!
Hi RedWombat, I made this navbar using SWiSHmax, not Flash. I posted in this forum as it is the only one here dealing with Flash.
Re: Navbar issue (urgent)
Hi
I noticed that the 2 pages that your referring too, have no www. Prefix on them when loaded I wonder if that is causing the problem?
Re: Navbar issue (urgent)
Quote:
Originally Posted by
manny2k
Hi
I noticed that the 2 pages that your referring too, have no www. Prefix on them when loaded I wonder if that is causing the problem?
Bravo manny!! I had never noticed that and indeed, when you add back the www. the navbar works as it should. That's very strange!
The question is, what do I need to do to make the page load with the www. in the address because as it stands it's already in the link provided? In other words, what is in the html code of those 2 pages that is making the loaded page remove the www. ?
1 Attachment(s)
Re: Navbar issue (urgent)
Powerball,
I'd say that the problem is almost certainly what RedWombat suggests, the fact that the swf's are published in Flash 9. I don't know SwishMax but Flash has the option in the publishing dialogue to choose whichever player version you want. I'm sure SwishMax will have the same type of option. Try Flash 6 or Flash 8 and see if that sorts out the problem
Re: Navbar issue (urgent)
Powerball.
I don't use SwishMax, so I can help with the application.
I noticed when decompiling your navigation swf that you are using Absolute URL's in your buttons. Try using a Relative URL instead. That might help.
Examples:
Absolute URL: http://www.yourdomain.com/index.htm
Relative URL: index.htm or if the file is in a subfolder on your site: subfolder/index.htm
I've taken your SWF and exported in the Flash 6 player Actionscript ver 1.0 and everything works. Here's a sample I put up if you want to see: http://www.bigplan.net/client/powerball/flashtest.htm
The only other thing I can think is it has to do with your hosting company. Perhaps they don't like URL's without an alias. Just a thought.
Hope this helps.
Hope this helps.
Re: Navbar issue (urgent)
Actually, the swf was published in Flash 4 which is the default setting in SWiSHmax. I do have the option of publishing it in a later version if I want to but I have difficulty in accepting that this could be the cause. My reason being that the same swf is used on all the other pages and they have no problem. Plus, if I manually add back the www in the address bar and then reopen the page, the navbar works perfectly.
My guess is that there's something in the html code that's responsible but I cannot see it.
Re: Navbar issue (urgent)
Quote:
Originally Posted by
RedWombat
Here we have a problem RedWombat, and maybe it's behind this issue. All the pages that work on my site are in the main public_html directory. The 2 pages causing trouble however, are index pages situated in separate directories. I don't see how I can use a relative URL pointing to the root folder if I'm already in a subfolder.
For example, let's say I'm in http://www.powerball-club.com/petanque/index.html, how would I point back to the root folder? Surely, if I inserted the target as index.html I would merely refresh the index page of the petanque subfolder.
Of course, one way to overcome this could be to put the 2 pages in the root folder. For example, http://www.powerball-club.com/petanque.html but I must admit I would like to conquer this issue so that I can use subfolders on the site. Oh, and before I drop this subject, I noticed that the navbar works perfectly in each exercise page found within the exercises subfolder. For example, http://www.powerball-club.com/exercises/7.html. That only goes to prove that it is possible to run the navbar in a subfolder but it also makes the issue even more confusing. Why will it not work in index.html pages?
So are you suggesting that I should try re-exporting the swf in Flash Player 6 format?
Quote:
The only other thing I can think is it has to do with your hosting company. Perhaps they don't like URL's without an alias. Just a thought.
What is an URL without an alias please?
Re: Navbar issue (urgent)
You make some valid points Powerball.
On the relative URL from a sub folder. You can direct the URL up a level by placing ../ before the file name. For example: ../index.htm or you can tell the URL to begin at the root of the site by using /index.htm. It kind of depends on levels of sub folders etc that you have. If you wanted to point to a file in a cross folder. Say your in examples and you want to point to the index file in petanque. It could look like this: /petanque/index.htm.
I know that you've had success on some of your sub pages, but I've not been able to see it work on any page in your examples, with the exception of the link to your blog.
If it's the Flash Player version 4 that you're compiling to, I wouldn't go that far. Stop at version 6 if that. Actionscript was significantly different back in version 4.
You could try the Flash Player version 6, but I found somthing else you might want to look at. In your html code you have this item in your Embed and Object tags
Code:
<param name="allowscriptaccess" value="samedomain">
"samedomain" is suppose to permit scripting operations only if the Flash application is from the same domain as the HTML page. Perhaps the difference between having the www and not having it is making Flash believe it is a different domain. Your options for this attribute are Always, Never and Samedomain. I know we're running you all over the place with what we think is the issue, but try changing this to Always to see what you get.
As far as the alias question, I refer to the www part of the URL as an alias. It can be changed to whatever you want. With your webserver you can create an entire different site off the same domain using a different alias if you want.
I hope we're being helpful here.
Re: Navbar issue (urgent)
With regard to changing the relative URL's to ../index.html in the swf, I can't see how that could work because the same swf is used throughout the site so all pages located in the root directory would cause problems. Perhaps one alternative would be to create a separate swf for the 2 problem pages although I'm still at a loss as to why it won't work in /exercises/index.html when it does work in /exercises/1.html ???
I changed the scriptaccess to "always" and upped the page but it hasn't made any difference. :(
If you want to verify that the other pages work as they should you can access them using the text links at the base of the page. I'm concerned that you say none of the buttins worked for you in any of the pages I cited because they work perfectly for me on http://www.powerball-club.com/exercises/7.html.
Thanks for the explanation of the alias although I'm still not certain how I can make any changes to that.
Re: Navbar issue (urgent)
You're welcome.
I just about replied to your second to last post because now the links are working for me, when I waited until reading your last post after you exported using ver 6. :)
It is true that a single SWF with links to several sub folders would have issues with Relative URL's. You are correct with that.
Glad it worked out.
Best of luck!
Re: Navbar issue (urgent)
Glad to see you managed to sort it out Powerball. As RedWobat points out there's a huge difference between Flash 4 and Flash 6. It's even more difficult when certain versions of certain browsers mess it up.
I don't understand the problem with swf's calling on various different sub folders though. It's only a matter of getting the path name correct.