[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] set variable
From: |
Nicola De Filippo |
Subject: |
Re: [Gnash-dev] set variable |
Date: |
Sat, 17 Nov 2007 11:07:59 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 0.20070907.709405) |
Hi,
> The question is: would the path way work with the proprietary player ?
i have 2 variables ins faccia.swf, QualeOggetto setting object,
TestoQuale.QualeColore set color for QualeOggetto; width follow javascript i
change (widh proprietary player) at runtime object color:
<html>
<head>
<title>Example</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function chiamaMetodo() {
var IE = navigator.appName.indexOf("Microsoft") != -1;
var filmato = IE ? window.movie : window.document.movie;
var filmato = window.document.movie;
filmato.SetVariable( 'QualeOggetto','_root.oggetto.interno' );
filmato.SetVariable('TestoColore.QualeColore', 'FF0000');
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<a href="javascript:chiamaMetodo()">click</a><br>
<br>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"
width=400 height=200 id="movie">
<param name=movie
value="faccia.swf?QualeOggetto=_root.oggetto.interno&QualeColore=FF0000">
<param name=quality value=high>
<param name=bgcolor value=#FFFFFF>
<embed src="faccia.swf?QualeOggetto=_root.oggetto.interno&QualeColore=FF0000"
quality=high bgcolor=#FFFFFF width=400 height=200
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="movie" >
</embed></object>
<br><br>
</body>
</html>
Now, i should do it, with gnash within not web apllication, but within desktop
application. Is it possible? This's the question.
Thank you
Nicola