Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a flash button to link to the middle of a page???

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to use a button in a flash movie to link to a web page. I can get to the page, but I want to get to the middle and I can't get it to work.

for example, what would I do if I wanted to get to &quot;index.html#middle&quot;. If i type index.html#middle as the url to go to as the button's action, it just goes to index.html. I have the link right because if I do it in .html(<a href = &quot;index.html#middle&quot;>) it will go to the middle of the page.

does anyone know how I can get this to work??
 
use the following actions:

on (release) {
getURL (&quot;index.html#middle&quot;, &quot;_self&quot;, &quot;POST&quot;);
}


works ok for me

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
hey amkst

Better to keep to one thread, cross-posting is a pain, especially when you re-post in a thread which is nothing to do with your question. Ok, in this thread you ask for something, I give you the solution, you post in another thread and change the syntax a little, now you want to open in the frame &quot;main&quot;, can you confirm this? Can you also be clear as to what you want to achieve ie: do you want the new page to appear where the button is, or in another frame altogether, or in a completely new window? Basically, can you make your mind up? ;-)

dave

ps: why haven't you registered yet? davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top