Skip to main content
Inspiring
March 18, 2009
Question

Referencing HTML page from within a movie clip

  • March 18, 2009
  • 1 reply
  • 345 views
Hi

Hope someone can help with this.

I have a simple horizontal scrolling gallery of 24 thumbnails in Flash, the thumbnail images are loaded into the boxes using actionscript. I would like each thumbnail to link to a html page of my choice. There is a movie clip instance called panel with the 24 buttons inside it and on the first button as a test I've placed the following action script:

on (release) {
getURL("team.html","_self");
}

When testing this movie from within Flash (CTRL, ENT) the button links to the html file (which is in the same folder as the SWF) with no problem. The problem is when I preview the page in a browser and try to click on the first button nothing is happening. I've tried it in both IE7 and Firefox with the same result.

The flash thumbnail clip is placed as a flash object into a html page using dreamweaver.

I'm sure this is something simple such as navigating the timeline but I've tried a few things like _root. but still no joy.

Hope someone can help.

Thanks, Jo
This topic has been closed for replies.

1 reply

Participating Frequently
March 19, 2009
Try

on (release) {
getURL(" http://site.com/team.html","_self");
}
graphix75Author
Inspiring
March 19, 2009
Thanks I will try this when I get back home (tomorrow) and report back.

Jo