SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Mar 2003
    Location
    thailand
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    flash - frontpage

    I have a problem I cant overcome, maybe someone can help.

    I want to make a link in a flash page to call a frontpage page
    within the same folder.

    It should also work when the folder is copied to a other
    computer.

    I cant find the right string.

    Thank you, hein

  2. #2
    ...
    Join Date
    Jan 2002
    Location
    London, UK
    Posts
    759
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't this work?

    getURL("someLocalPage.html", "_self");

  3. #3
    SitePoint Member
    Join Date
    Mar 2003
    Location
    thailand
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello, thank you for the help, it wont work. I am using MX

  4. #4
    ...
    Join Date
    Jan 2002
    Location
    London, UK
    Posts
    759
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heinzx,

    I take it your Flash movie's link to another page work's locally but not when you switch it to another machine?

    When you say frontpage are you referring to the homepage ie. somefolder/index.html or somefolder/default.htm? or MS's FrontPage editor?

    whats the exact error your getting 'file not found!' or no error?

    can you post an example of the Actionscript your using?

  5. #5
    SitePoint Member
    Join Date
    Mar 2003
    Location
    thailand
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Chas
    heinzx,

    I take it your Flash movie's link to another page work's locally but not when you switch it to another machine? ....YES.....

    When you say frontpage are you referring to the homepage ie. somefolder/index.html or somefolder/default.htm? or MS's FrontPage editor?........MS FRONTPAGE.........

    whats the exact error your getting 'file not found!' or no error?
    ......FILE NOT FOUND........

    can you post an example of the Actionscript your using?
    getURL("content.html, _self") ;

    actually even if I type this in somehow wrongly, flash corrects it to have it right, so I guess the syntax is correct.

    if I use file://........the location of the content.html..... it works but if I move the program to a other computer it wont find the right place.

    thank you for cooperation

  6. #6
    ...
    Join Date
    Jan 2002
    Location
    London, UK
    Posts
    759
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heinzx,

    the corrent syntax for the getURL function your using would be...

    getURL("content.html", "_self" ) ;

    and not

    getURL("content.html, _self" ) ;

    Flash MX's check syntax option wont correct this as it's a text string.

    the example above should work provided your other locations file and or directory structure match.

    let me know if that deosn't work

  7. #7
    SitePoint Member
    Join Date
    Mar 2003
    Location
    thailand
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello,

    thank you for the info.

    it wont work, it always ends up with showing the index page (the page where the link is, but without showing the content page in the index page as indicated by self)

    There must be something fundamentally wrong because under livemotion it shows the same behaviour. When I use file://..... it works but as indicated it is not portabel.

    thank you


    it shoud
    Quote Originally Posted by Chas
    heinzx,

    the corrent syntax for the getURL function your using would be...

    getURL("content.html", "_self" ) ;

    and not

    getURL("content.html, _self" ) ;

    Flash MX's check syntax option wont correct this as it's a text string.

    the example above should work provided your other locations file and or directory structure match.

    let me know if that deosn't work


Bookmarks

Posting Permissions

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