Fernando Mendoza
Fernando Mendoza

Reputation: 129

HTML link anchor inside ActionScript 3?

is there any way to click on a flash button ni as3 and take me to certain part of one html page like the html normal # anchor links work?

i tried with

navigateToURL(new URLRequest("cruceros_europa.html#center"), "_self");

but it doesnt work. Any ideas?

Upvotes: 0

Views: 872

Answers (1)

Marty
Marty

Reputation: 39456

Works fine for me.. Are you sure you've set up your anchor right?

Try this, for example:

navigateToURL(
    new URLRequest("http://projectavian.com/blog/#footer")
);

Upvotes: 2

Related Questions