JavaScript - "null" es nulo o no es un objeto

 
Vista:

"null" es nulo o no es un objeto

Publicado por luna (3 intervenciones) el 14/09/2009 13:33:14
Hola chic@s!!

Me gustaría que alguien me dijese como corregir un error, que sale al ejecutar la galería de fotos de la web, sale: "null" es nulo o no es un objeto.

No me dice en que parte del código esta el error, pero yo creo que el error esta en este script.

Espero alguna respuesta. Muchas gracias.

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("Esta página requiere el archivo AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%',
'height', '100%',
'src', 'CoverFlowGaleryFlash',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'CoverFlowGaleryFlash',
'bgcolor', '#FF8000',
'name', 'CoverFlowGaleryFlash',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'CoverFlowGaleryFlash',
'salign', 't'
); //end AC code
}
</script>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:

Publicado por dragon (2 intervenciones) el 14/09/2009 23:36:14
debes verificar que AC_FL_RunContent te traiga informacion de no ser asi
por eso te trae este error

if (AC_FL_RunContent != null )
{
Que ejecute lo que tenga que ejecutar

}
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:sigo sin encontrar el error

Publicado por luna (3 intervenciones) el 15/09/2009 12:03:25
Muchas gracias dragon, pero sigo sin encontrar el error, me estoy volviendo loca. Será la mayor tontenría pero cuando esto se pone de que no es que no. Que pasada. Dejo el código entero haber si alguien me puede echar un cable.

Muchas gracias de nuevo.

<script type="text/javascript">
var projectroot="./";
</script>
<script type="text/javascript" src="./lmpres80.js"></script><noscript><br></noscript>
<script type="text/javascript" src="./menumodel002.js"></script><noscript><br></noscript>
<script language="javascript">AC_FL_RunContent = 0;</script>
<body style="margin-Left:0px;margin-Top:0px;margin-Bottom:0px;margin-Right:0px;" onresize=PosPage(2,5,1.000000,1.000000); bgcolor="#ffffff" >
<DIV STYLE="position:absolute; visibility:hidden; left:0px; top:0px; width:0px; height:0px; overflow:hidden;">
[<a href='./inicio.htm' title="">./inicio.htm</a>]<br>
[<a href='./page.htm' title="">./page.htm</a>]<br>
[<a href='./page-2.htm' title="">./page-2.htm</a>]<br>
[<a href='./page-3.htm' title="">./page-3.htm</a>]<br>
[<a href='http://www.lmsoft.com/'>Web Creator</a>]
[<a href='http://www.lmsoft.com/'>LMSOFT</a>]
</DIV>
<DIV id=lmwcbackpanel2 align='left'>
<DIV id=lmwcbackpanel style="position:relative;width:1200px;height:800px;">
<DIV id=lmwcbackpanelinner style="visibility:visible;position:absolute;left:0px;top:0px;width:1200px;height:800px;clip:rect(0px,1200px,800px,0px);">
<DIV id=Page style="visibility:visible;overflow:hidden;position:absolute;z-index:1;left:0px;top:0px;">
<a name=ANCHOR_Page></a><IMG alt="" id=LMImagePage src="./lmimginv.gif" style="width:1200px;height:800px;border:0px;">
</DIV>
<DIV id=Img7 style="visibility:visible;overflow:hidden;position:absolute;z-index:2;left:0px;top:-1px;">
<a name=ANCHOR_Img7></a>
<IMG alt="" id=LMImageImg7 src="./images/_gen_img7_20.jpg" style="width:1280px;height:600px;border:0px;"></DIV>
<DIV id=Img1 style="visibility:visible;overflow:hidden;position:absolute;z-index:3;left:71px;top:90px;">
<a name=ANCHOR_Img1></a>
<IMG alt="" id=LMImageImg1 src="./images/_gen_img1_00.jpg" style="width:820px;height:620px;border:0px;"></DIV>
<DIV id=Img8 style="visibility:visible;overflow:hidden;position:absolute;z-index:4;left:82px;top:102px;">
<a name=ANCHOR_Img8></a>
<IMG alt="" id=LMImageImg8 src="./images/_gen_img8_00.jpg" style="width:785px;height:581px;border:0px;"></DIV>
<DIV id=GFondo style="visibility:visible;overflow:hidden;position:absolute;z-index:5;left:0px;top:0px;width:0px;height:0px;">
<a name=ANCHOR_GFondo></a>
</DIV>
<DIV id=Img15 style="visibility:visible;overflow:hidden;position:absolute;z-index:6;left:426px;top:115px;">
<a name=ANCHOR_Img15></a>
<IMG alt="" id=LMImageImg15 src="./images/_gen_img15_10.jpg" style="width:435px;height:59px;border:0px;"></DIV>
<DIV id=Text4 align=left style="visibility:visible;position:absolute;z-index:7;left:436px;top:106px;width:286px;height:63px;">
<a name=ANCHOR_Text4></a>
<DIV id=LMTxtText4 align=left style="visibility:inherit;padding:0 0 0 0px;position:relative;left:5px;top:5px;width:276px;height:53px;;">
<div align="left"><font face="Times New Roman" color="#ffffff" size="4"><span style=" font-size:14pt"><b><br /></b></span></font></div><div align="left"><font face="Arial" color="#ffffff" size="4"><span style=" font-size:14pt"> Galería de imágenes</span></font></div>
</DIV>
</DIV>
<DIV id=GCentrar style="visibility:visible;overflow:hidden;position:absolute;z-index:8;left:0px;top:0px;width:0px;height:0px;">
<a name=ANCHOR_GCentrar></a>
</DIV>
<DIV id=Img9 style="visibility:visible;overflow:hidden;position:absolute;z-index:9;left:65px;top:83px;">
<a name=ANCHOR_Img9></a>
<IMG alt="" id=LMImageImg9 src="./images/_gen_img9_20.jpg" style="width:345px;height:624px;border:0px;"></DIV>
<DIV id=GIzquierda style="visibility:visible;overflow:hidden;position:absolute;z-index:10;left:0px;top:0px;width:0px;height:0px;">
<a name=ANCHOR_GIzquierda></a>
</DIV>
<DIV id=Img3 style="visibility:visible;overflow:hidden;position:absolute;z-index:11;left:722px;top:55px;">
<a name=ANCHOR_Img3></a>
<IMG alt="" id=LMImageImg3 src="./images/_gen_img3_00.jpg" style="width:135px;height:40px;border:0px;"></DIV>
<DIV id=Img4 style="visibility:visible;overflow:hidden;position:absolute;z-index:12;left:592px;top:55px;">
<a name=ANCHOR_Img4></a>
<IMG alt="" id=LMImageImg4 src="./images/_gen_img4_00.jpg" style="width:135px;height:40px;border:0px;"></DIV>
<DIV id=Img5 style="visibility:visible;overflow:hidden;position:absolute;z-index:13;left:463px;top:55px;">
<a name=ANCHOR_Img5></a>
<IMG alt="" id=LMImageImg5 src="./images/_gen_img5_00.jpg" style="width:135px;height:40px;border:0px;"></DIV>
<DIV id=Img6 style="visibility:visible;overflow:hidden;position:absolute;z-index:14;left:334px;top:55px;">
<a name=ANCHOR_Img6></a>
<IMG alt="" id=LMImageImg6 src="./images/_gen_img6_00.jpg" style="width:135px;height:40px;border:0px;"></DIV>
<DIV id=GMenu style="visibility:visible;overflow:hidden;position:absolute;z-index:16;left:0px;top:0px;width:0px;height:0px;">
<a name=ANCHOR_GMenu></a>
</DIV>
<DIV id=Obj. Web1 style="visibility:visible;overflow:hidden;position:absolute;z-index:17;left:104px;top:75px;width:737px;height:599px;">
<a name=ANCHOR_Obj. Web1></a>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>HIDRA-MEC</title>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#FF8000">
<!--URL utilizadas en la película-->
<!--Texto utilizado en la película-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent==0) {
alert("Esta página requiere el archivo AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%',
'height', '100%',
'src', 'CoverFlowGaleryFlash',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'CoverFlowGaleryFlash',
'bgcolor', '#FF8000',
'name', 'CoverFlowGaleryFlash',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'CoverFlowGaleryFlash',
'salign', 't'
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="CoverFlowGaleryFlash" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="CoverFlowGaleryFlash.swf" /><param name="quality" value="high" /><param name="salign" value="t" /><param name="bgcolor" value="#FF8000" /> <embed src="CoverFlowGaleryFlash.swf" quality="high" salign="t" bgcolor="#FF8000" width="50%" height="50%" name="CoverFlowGaleryFlash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
</DIV>

<script type="text/javascript">
//LMSOFT Web Creator Pro, Version:5.0.0.18
//LMSOFT Kernel 80

var LMObjects = new Array();
var pub_home = "./inicio.htm"
var objindex=0;
var Stretch=2;
var Position=5;
var ScaleW=1.000000;
var ScaleH=1.000000;
var fontbase=96.;
//---------------------------------------------------------------------------------------------
try {
if(isValideBrowser(7.00,5.00)) {
InitResources();
//---------------------------------------------------------------------------------------------
LMObjects[objindex++] = LMPage("Page",null,null,null,4);
LMObjects[objindex++] = LMImage("Img7",1,0,null,0,null,null,null,null,0);
LMObjects[objindex++] = LMImage("Img1",1,0,null,0,null,null,null,null,0);
LMObjects[objindex++] = LMImage("Img8",1,0,null,0,null,null,null,null,0);
objlist = new Array();
objlist[0] = "Img7";
objlist[1] = "Img1";
objlist[2] = "Img8";
LMObjects[objindex++] = LMGroup("GFondo",1,objlist);
LMObjects[objindex++] = LMImage("Img15",1,0,null,0,null,null,null,null,0);
branchlist = new Array();
LMObjects[objindex++] = LMText("Text4",1,0,null,0,null,branchlist,null,null,5,5,5,5);
objlist = new Array();
objlist[0] = "Img15";
objlist[1] = "Text4";
LMObjects[objindex++] = LMGroup("GCentrar",1,objlist);
LMObjects[objindex++] = LMImage("Img9",1,0,null,0,null,null,null,null,0);
objlist = new Array();
objlist[0] = "Img9";
LMObjects[objindex++] = LMGroup("GIzquierda",1,objlist);
LMObjects[objindex++] = LMImage("Img3",1,0,null,0,null,null,null,null,0);
LMObjects[objindex++] = LMImage("Img4",1,0,null,0,null,null,null,null,0);
LMObjects[objindex++] = LMImage("Img5",1,0,null,0,null,null,null,null,0);
LMObjects[objindex++] = LMImage("Img6",1,0,null,0,null,null,null,null,0);
menumodel002Show(335, 71, "Menu1");
objlist = new Array();
objlist[0] = "Img3";
objlist[1] = "Img4";
objlist[2] = "Img5";
objlist[3] = "Img6";
objlist[4] = "Menu1";
LMObjects[objindex++] = LMGroup("GMenu",1,objlist);
LMObjects[objindex++] = LMObjWeb("Obj. Web1",1,null);
//---------------------------------------------------------------------------------------------
}
}catch(e) {
alert(e.message);
}
var backpanel2=FindTagFromId("lmwcbackpanel2");
backpanel2.align="left";
SetBaseColor(0x3f3,0x3f0,0x77);
LMObjectAnimate(Stretch,Position,ScaleW,ScaleH);
</script><noscript><br></noscript>
</DIV>

</DIV>
</DIV>

</body>
</html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar