Flasher Archive

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


Subject: FLASH: FW: [FLASHmacromedia] Flash and URL
From: David Morse
Date: Thu, 16 Mar 2000 19:45:36 GMT

it's a little more tricky, but you can also use an FSCommand in
"Modify/Instance/Actions", like so...

On (Release)
Get URL ("JavaScript:circles2_DoFSCommand('URL1', '')",
window="_self")
End On


your HTML would look like this...



<SCRIPT LANGUAGE=JavaScript>
var sm=0; var nu=navigator.userAgent; var pp=navigator.appName; var
np=navigator.plugins; var InternetExplorer = pp.indexOf("Microsoft") != -1;
function circles2_DoFSCommand(command, args) {if (command == "URL1")
top.location="http://www.YOURURLHERE.com/";}
function dw(t){document.write(t);}</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
Sub circles2_FSCommand(ByVal command, ByVal args)
call circles2_DoFSCommand(command, args)
end sub
</SCRIPT><MAP NAME="circles2Map"><AREA COORDS="0,0,468,60"
HREF="http://www.YOURURLHERE.com/"></MAP>
<SCRIPT LANGUAGE=JavaScript>
if (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
if (np && np["Shockwave Flash"])sm=1;}
else if (nu && nu.indexOf("MSIE")>=0 && (nu.indexOf("Windows 95")>=0 ||
nu.indexOf("Windows 98")>=0 || nu.indexOf("Windows NT")>=0 )){
dw('<');
dw('SCRIPT LANGUAGE=VBScript\> \n');
dw('on error resume next \n');
dw('sm = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
dw('<');
dw('/SCRIPT\> \n');
}
if ((pp && (pp.indexOf("MSIE")>=0 || pp.indexOf("Microsoft Internet
Explorer")>=0) && navigator.appVersion.indexOf("3.")>=0)) sm=0;
if (sm){
dw('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash/cabs/swflash.cab#version=3,0,0,
0" ID=circles2 WIDTH=468 HEIGHT=60><PARAM NAME=movie
VALUE="YOURFLASH.swf"><PARAM NAME=loop VALUE=false><PARAM NAME=quality
VALUE=autohigh><EMBED SRC="YOURFLASH.swf" NAME=circles2 swLiveConnect=TRUE
WIDTH=468 HEIGHT=60 loop=false QUALITY=autohigh
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"></EMBED></OBJECT>');
} else if (!(pp && pp.indexOf("Netscape")>=0 &&
navigator.appVersion.indexOf("2.")>=0)){
dw('<IMG SRC="ALTGIFFORNONFLASHUSERS.gif" WIDTH=468 HEIGHT=60 BORDER=0
USEMAP="#circles2Map">');
}
</SCRIPT><NOEMBED><IMG SRC="ALTGIFFORNONFLASHUSERS.gif" WIDTH=468 HEIGHT=60
BORDER=0 USEMAP="#circles2Map"></NOEMBED><NOSCRIPT><IMG
SRC="ALTGIFFORNONFLASHUSERS.gif" WIDTH=468 HEIGHT=60 BORDER=0
USEMAP="#circles2Map"></NOSCRIPT>

peace,
david



-----Original Message-----
From: g [dot] borghoutsatbhmlaverbe [dot] nl [g [dot] borghoutsatbhmlaverbe [dot] nl (mailto:g [dot] borghoutsatbhmlaverbe [dot] nl)]
Sent: Wednesday, March 15, 2000 11:50 PM
To: FLASHmacromediaatonelist [dot] com
Subject: Re: [FLASHmacromedia] Flash and URL


From: g [dot] borghoutsatbhmlaverbe [dot] nl

uh, just a work around, not very elegant:
you could point your swf to a htmlpage with a refresh tag at 1...and that
one could be your true link that could be easily updated...

hth
guy


On don, 16 maa 2000, 07:28:39 GMT fcandiaatifrance [dot] com wrote:

>I would like to create a menu with Flash, withs links
>to various url. Is it possible to encode url outside
>the flash's movie (for example, as a parameter, in
>the html source code). I think that updating links in
>HTML code is easier than updating a movie !
>Thanks a lot for your help.
>
>Fabrice

------------------------------------------------------------------------
GET A NEXTCARD VISA, in 30 seconds! Get rates as low as 0.0%
Intro or 9.9% Fixed APR and no hidden fees. Apply NOW!
http://click.egroups.com/1/937/2/_/501043/_/953193005/
------------------------------------------------------------------------

-------------------------------------------
**PLEASE EDIT UNNECESSARY TEXT FROM YOUR MESSAGES.
**To unsubscribe: FLASHmacromedia-unsubscribeatonelist [dot] com (mailto:FLASHmacromedia-unsubscribeatonelist [dot] com)
**Resources: http://www.copfer.com/neodir/flkit.htm
** Please try the ARCHIVES FIRST at
http://www.onelist.com/archive/FLASHmacromedia

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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