How to open Named Anchor links in flash
About anchor links
In html you can link to a speciffic area of a html page by adding anchors, for example this link will point you to the "solution" area of this page; you link to an area of a page (to an anchor) by adding # after file name followed by the anchor name, e.g: products.php#product4 or just #product4 if destination is on same page.
The 'namedanchor' (destination) is written like this in the html code:
<a name="solution" id="solution"></a>
The flash issue
When you want a flash button to open a Named Anchor inside the html page normally you would think that the link can be open by something like this:
but the above will not work because of some flash limitations
Write this function in <head> ... </head> area of html code:
This solution was tested and worked in both Internet Explorer and Mozilla Firefox type browsers.
Download Sample Files