Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: open

Message Too Old, No Replies

Linking to a html named anchor from flash

     
2:27 am on Apr 14, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 5, 2006
posts:46
votes: 0


Most of the content on my webpage is inside of a flash frame and I would like to allow my users to be able to jump to another section of the html page by clicking on a link inside the swf file. Has anyone been able to get this to work successfully?

Thanks for the help.

4:08 pm on Apr 15, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Did you try encoding the pound sign?

http://www.example.com/page.html#my_anchor

12:01 am on Apr 16, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 5, 2006
posts:46
votes: 0


Thank you for the repley. I've done something similar. The anchor on my html page is called "bottom" so i've used the following code:


on (release) {
getURL("#bottom");
}

In this example the pound sign is encoded but im still not having any success.

3:40 pm on Apr 16, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


You tried with the full URL? Flash doesn't "know" what page it "lives" on. getURL('http://www.example.com/page.html#my_anchor');

Also it requires encoding for special characters. Give it a shot. :-)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members