A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Anchors and Flash

  1. #1

    Anchors and Flash

    HOW DO I, target anchors from a flash button..
    I have tried the
    --getURL("registration_cci.htm#info","main");

    not working, any suggestions.
    im in the same html page, no frame jumping. I even tried it with the built in Dreamweaver Flash buttons...still no dice HELP
    S
    h2o

  2. #2
    Senior Member olias32's Avatar
    Join Date
    Jan 2003
    Location
    Romania
    Posts
    126

    Yes the anchor thing is a bit strange

    However here is the solution:

    Code:
    on (release) {
    	getURL("yourpage.htm"+unescape("%23")+"anchorName", "frameName");
    }
    Use the anchor name without the # symbol.
    Be advised that this only works online! Offline it does nothing. I know it's tricky but online it work without problems.

  3. #3
    Member
    Join Date
    Dec 2002
    Location
    MI, USA
    Posts
    39
    Hi olias32,
    Is there any way to keep it from reloading the whole page when it goes to the anchor like a regular html link?
    Thanks.

  4. #4
    Senior Member olias32's Avatar
    Join Date
    Jan 2003
    Location
    Romania
    Posts
    126

    strange

    hello cricket

    i just checked what you asked me. this is not how it worked when i posted this reply. i guess they made some changes in the latest flash player. It used to go directly to the anchor, just like a normal html link

    let me check it out and i'll have a reply soon

    cheers
    Last edited by olias32; 10-01-2005 at 03:39 AM. Reason: typo

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center