Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post

    Thumbs down hyperlink works on local PC, not on live website

    I am using a flash website template, and editing it to suit a specific project.

    The animated navigation works except for one link - to the home page. All the other working links are relative, and to .html files. The home page link is relative also, but to an index.php page.

    The coding is identical, and it works on a local offline webpage, (in that IE trys to find index.php in the directory, error message is:

    cannot find 'file:///c:/..../index.php' etc.
    - this is okay since the index.php file is not present in the folder the offline test is saved in) but once uploaded, the link becomes dead. (the problem link is at top - the home icon, which is black online, but white offline, and works offline too)

  • #2
    New Coder
    Join Date
    Oct 2011
    Location
    New york
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Post

    Hi there,

    There may be a lot of reasons like:

    Uploading web pages and all the other files (like images) in the Document root folder / directory. The web site will not load in your browser otherwise.

    If the hyperlinks are not working, check if the files have indeed been uploaded… and to the correct directory on the server.
    This web address can be specified in two ways- relative and absolute URL.

    This is a really strange problem because Flash products support all types of hyperlinks. Our testing have never shown problems with hyperlinks. If you can refer me a link to your resulting SWF which can show us the problem, our team will immediately investigate it and give the necessary recommendations.

    Thanks,
    Jackie Bolinsky
    Last edited by JackieBolinsky; 10-24-2011 at 05:03 AM. Reason: My name

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    • The website in question is currently in /public_html/test/
    • The URL is http://www.thetaxman.net.au/test/
    • All of the hyperlinks are relative, and all of the webpages are in this directory.
    • The .swf file itself is in /public_html/test/flash
    • However, all of the current working links are relative, and are not prefixed by ../


    They are:
    • index.php (not working, but this page is present)
    • services.html (working)
    • faqs.html (working)
    • links.html (working)
    • contact.html (working)


    The actionscript in the .fla file is identical for each link, except for the filename. The actionscript I have looked at is for the behaviour of the navigation button. Perhaps there is other actionscript which has disabled the first home button?

  • #4
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Bump.

    Not solveable?

  • #5
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    The code below tells flash which button to disable
    Code:
    <param name="movie" value="flash/menu_v8.swf?button=1" />
    In your movie this would be services
    The code above was taken from FAQ and is the same in all your pages.
    My guess is that the buttons are numbered 1 to 5
    This would explain why home button is always disabled/not doing anything.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher

  • #6
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Thanks for your reply Paul.

    Quote Originally Posted by [Paul Ferrie ] View Post
    The code below tells flash which button to disable
    Code:
    <param name="movie" value="flash/menu_v8.swf?button=1" />
    In your movie this would be services
    Are you sure? The services button is working. Can it be working if it is disabled?

    Quote Originally Posted by [Paul Ferrie ] View Post
    The code above was taken from FAQ and is the same in all your pages.
    My guess is that the buttons are numbered 1 to 5
    This would explain why home button is always disabled/not doing anything.
    I removed the button parameter from the movie value and nothing changed. The services button still works, but the home button does not. I'm not sure if this implies the button parameter disables the button.

    Cheers.

  • #7
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Can you post the fla? I will know for sure what is going on if i can see it.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher

  • #8
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Sure. Here.

  • #9
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    It is as i thought.
    You need to change the button number in the embed code to reflect the page your on. Currently it is set to 1 on all pages. Change these to reflect there position in the menu and then you should be good.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher

  • Users who have thanked [Paul Ferrie ] for this post:

    SRD75 (11-02-2011)

  • #10
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Thanks. I was using a CMS and created the CMS template from a single page of the purchased HTML template (which contained multiple pages). The HTML template obviously (in hindsight) contained seperate button parameters for the movie value in each page, which was not reflected in the CMS template.

    Thank you for your help. You've solved a headache for me.

  • #11
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Quote Originally Posted by SRD75 View Post
    Thanks. I was using a CMS and created the CMS template from a single page of the purchased HTML template (which contained multiple pages). The HTML template obviously (in hindsight) contained seperate button parameters for the movie value in each page, which was not reflected in the CMS template.

    Thank you for your help. You've solved a headache for me.
    Cool, simple enough fix
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •