dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Help with javascript pop-ups

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    2

    Help with javascript pop-ups

    Ok, this has been confusing me for some time. I have a full flash website here at
    Drunkenbard.com, and it loads pages from the links using this code:
    Code:
    on (release) {
    	unloadMovieNum(1);
    	loadMovieNum("page9.swf", 1);
    }
    Which loads an .swf file right within the existing .swf main page file. Now my problem is is that if I load an .swf file with thumbnails, I cant have it do popups. I have to be able to load the .html file that has the swf file in it. Here is an example:
    Example(click "Overlord Pic 1" thumbnail).--- that is the .html file.

    I need to figure out how to load an html file into the existing swf page, so frankly, I need to know the variable string similar to this:
    Code:
    loadMovieNum("page9.swf", 1);
    That loads the .html

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Code:
    getURL("javascript:window.open('filename.html','newWinName','width=500,height=400');void(0);");
    adjust the width and height as needed

  3. #3
    Sockpuppet
    Join Date
    Mar 2005
    Location
    Who cares?
    Posts
    177

  4. #4
    Junior Member
    Join Date
    Apr 2005
    Posts
    2
    I couldn't get it it work catbert but Dedic... that program worked perfect Your awesome!!!!!! thx!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center