Muchisimas gracias
saludos

| ||||
![]() Gente encontre esta funcion que es para insertar un flash en un archivo ASP pero me tira errores, alguien podria revisarla a ver si le faltan cosas o que es lo que tiene mal Muchas gracias
Código:
function InsertFlash(Path, FileName, Width, Height) with response .write("<object classid=""clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"" " _ & " "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"" width=""" & Width & """ " _ & "height=""" & Height & """>") .write("<param name=""movie"" value=""" & Path & FileName & """>") & vbcrlf.write("<param name=menu value=false>") & vbcrlf .write("<param name=""quality"" value=""high"">") & vbcrlf.write("<embed src=""" & Path & FileName & """ quality=""high"" menu=""false"" ginspage=""http://www.macromedia.com/go/getflashplayer"" " _& "type=""application/x-shockwave-flash"" width=""" & Width & """ height=""" & Height & """></embed>") & vbcrlf.write("</object>") & vbcrlf end with end function |
| ||||
Cómo estás tratando de cargar el swf? Estás utilizando los tags enormes de macromedia? Saludos
__________________ "El hombre que ha empezado a vivir seriamente por dentro, empieza a vivir más sencillamente por fuera." -- Ernest Hemingway |
| ||||
si estoy usando la funcion esa y encontre despues otra funcion para hacer la carga, te la paso para que la veas tambien porque seria otra opcion pero tiene algo mal y no me doy cuenta que es
Código:
y se usa asi:function InsertFlash(Path, FileName, Width, Height) with response .write("<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 & """>") .write("<param name=""movie"" value=""" & Path & FileName & """>") & vbcrlf .write("<param name=menu value=false>") & vbcrlf .write("<param name=""quality"" value=""high"">") & vbcrlf .write("<embed src=""" & Path & FileName & """ quality=""high"" menu=""false"" pluginspage=""http://www.macromedia.com/go/getflashplayer"" " _ & "type=""application/x-shockwave-flash"" width=""" & Width & """ height=""" & Height & """></embed>") & vbcrlf .write("</object>") & vbcrlf end with end function
Código:
call InsertFlash("ruta_del_swf", "archivo.swf", "Ancho_del_archivo", "alto_del_archivo") |