469,294 Members | 1,571 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,294 developers. It's quick & easy.

Object expected error after uploading web page

I am probably an itermediate user when it comes to flash however I am at a loss with this problem. I have posted numerous flash files to the internet and never had this problem however the key there is those were all using older versions of Flash and using windows xp. I now own Flash CS3 and I am running Windows Vista I am not sure if this has anything to do with it. Anyway I used dreamweaver to create and upload the page and file.When I go to preview it, it works just fine but after I upload it all you get is a blank screen and at the bottom of the browser you have that little error symbol and you click on it and its the problems with this web page might prevent it from being displayed properly..so on and so forth. The error is as follows:
Error: Object Expected
Code: 0
UEL: http://www.kabobit.com/test/test2/index.html

(notice the url is basically a test page just to see if I can get the video to work, it is not the actual page it is inteded to run on. I inted to use it on the main page www.kabobit.com as a proressive download flash video as that is the only way to get the sound synched up with the video. Right now I have a regular .swf running and you can see that music is faster than the video.

Here is my source code for the test page. Any help would greatly be appreciated!!!!

The error starts down where is says AC_FL_Runcontent....

Source code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
<script src="../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<body onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"><br />
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','400','height ','266','id','FLVPlayer','src','FLVPlayer_Progress ive','flashvars','&MM_ComponentVersion=1&skinName= Clear_Skin_1&streamName=http://www.kabobit.com/3minvideo&autoPlay=true&autoRewind=false','quality ','high','scale','noscale','name','FLVPlayer','sal ign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //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=8,0,0,0" width="400" height="266" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_ 1&streamName=http://www.kabobit.com/3minvideo&autoPlay=true&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_S kin_1&streamName=http://www.kabobit.com/3minvideo&autoPlay=true&autoRewind=false" quality="high" scale="noscale" width="400" height="266" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
Nov 6 '07 #1
2 4320
149 100+
The object is probably you js file.


The URL is http://www.kabobit.com/test/test2/index.htm so it looks like you searching in the directory above the root or htdocs. Is this right?

Check your directories are set up properly.
Nov 7 '07 #2
I feel stupid saying this but I think I fixed it in the code however, that obviously is the case because if you go to that URL now it is just a blank screen. It doesn't pop up with an error down in the lower left corner now but the video still does not play.
Nov 7 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Bill | last post: by
9 posts views Thread by matt | last post: by
4 posts views Thread by Kiyomi | last post: by
1 post views Thread by wenqiang7 | last post: by
4 posts views Thread by Momi | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.