homepage Welcome to WebmasterWorld Guest from 54.205.14.21
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Linking to a html named anchor from flash
dainstructor




msg:3626123
 2:27 am on Apr 14, 2008 (gmt 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.

 

rocknbil




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

Did you try encoding the pound sign?

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

dainstructor




msg:3627777
 12:01 am on Apr 16, 2008 (gmt 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.

rocknbil




msg:3628293
 3:40 pm on Apr 16, 2008 (gmt 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. :-)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved