
25/04/2005, 10:48
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 7
Antigüedad: 20 años Puntos: 0 | |
en la página asp escribo el siguiente código:
sub CrearFlash(x,y,width,height,anchoimagen,altoimagen ,color)
response.Write("<div id='Layer1' style='position:absolute; left:" & x & "px; top:" & y & "px; width:" & width & "px; height:" & height & "px; z-index:1'> " _
& "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='" & width & "' height='" & height & "'> " _
& "<param name='movie' value='prova.swf?Ancho=" & anchoimagen & "&Alto=" & altoimagen &"&Wdth=" & width & "&Hght=" & height & "&Col=" & color & "'> " _
& "<param name='quality' value='high'> " _
& "<embed src='prova.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" & width & "' height='" & height & "'></embed></object> " _
& "</div>")
end sub
y en la de flash, para leer las variables las leo de la siguiente manera:
_root.Ancho
_root.Alto
_root.Col
...
pero ahora quiero que cuando haga click en el botón, desde asp se modifique el botón. |