Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Javascript popup from external .js file
From: derrickito
Date: Sat, 6 Jan 2001 08:10:25 GMT

Im making a site with frames, one of the frames links directly to the swf
file.

i want to call some external javascript files from this swf, but since they
are external i am having some problems calling them.

my javascript is in a file called "js", so i tried to link straight to the
javascript with the geturl action "js/popup.js" but it didnt work,
on top of that problem the javascript needs some variables sent to it, such
as the url and the h + w .

how do i call this external javascript and send it the info it needs?
heres a copy of the code in the js file if it helps

function openWindow(url, w, h) {
var windowprops = "width=" + w + ",height=" + h;
popup = window.open(url,'remote',windowprops);
}

thanks!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Javascript popup from externa, Matthijs Koevoets

Replies
  FLASH: Macromedia Flash makes front page, Ken Sherwood

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]