First of all, here is the site I am working on.

I am trying to get a modal window to pop-up when elements in the Flash are clicked on. Which at this point I have about 90% working when you click on the warrior image. Below is a list of issues I am still trying to solve that I hope you can help me with...

  • The modal background doesn't fill up the whole page like it should.
  • I cannot get the close button to work
  • I need to set the vidname variable in both the Flash and Java to load in a dynamic HTML file. Depending on which image is clicked on. My naming convention will probably be something like vid-1.html, vid-2.html, etc.

If you need to look at the .js file you can view it here.

Below is the ActionScript I currently have...

var vidname = "modal.html";

peeps.vid1.onRelease = function() {
getURL('javascript:loadVid(\'' + vidname + '\');');

2 answers


Something is adding position:relative to the body tag when the modal bg is turned on and that's stopping it stretching full height.

hope that's a clue....

Answered about 10 years ago by Tony Crockford

I think you will get better answers if you post this question in flash forums rather than HTML ones.

Answered about 10 years ago by Divya Manian