Solved

AC_FL_RunContent gives me a 'Error: Syntax Error' in IE

Posted on 2009-04-02
10
1,268 Views
Last Modified: 2013-12-08
I get the error on my home page (have a flash file there)...don't get the error in Firefox...it loads fine, etc...what should I do?
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','650','height','150','src','Flash/cenetheader','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Flash/cenetheader' ); //end AC code

Open in new window

0
Comment
Question by:cenetadmin
  • 4
  • 4
10 Comments
 
LVL 19

Expert Comment

by:v2Media
ID: 24056627
Not enough detail in the question to offer any help.
0
 

Author Comment

by:cenetadmin
ID: 24059377
what else do I need to provide?  Below is some of the code from the page...
When I run this page from visual studio (default.html), and browse it from IE I get: Line 69, char: 1 Error: Object expected Code: 0 it is this line with the AC_FL_RunContent on it.
                                    
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','650','height','150','src','Flash/cenetheader','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Flash/cenetheader' ); //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,28,0" width="650" height="150">
  <param name="movie" value="Flash/cenetheader.swf" />
  <param name="quality" value="high" />
  <embed src="Flash/cenetheader.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650" height="150"></embed>
</object>
</noscript>
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24065337
OK, so if you view it in another browser, such as firefox, do you get the same error?

Object expected error could mean anything. Is the AC javascript file included in the page anywhere?
0
 

Author Comment

by:cenetadmin
ID: 24076987
in development mode...(visual studio)...if I attempt to browse to IE...I get the error...If I use Firefox I get no errors...
if I publish the project to my development server and run the site...I get no errors and the flash appears.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:cenetadmin
ID: 24077013
I have the AC_RunActiveContent.js file at the root of the project. It has the AC_FL_RunContent function in it.
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24225413
Did you include the js file somewhere in the code before the call to AC_RunActiveContent()?

for eg: -
<script language="javascript" type="text/javascript" src="AC_RunActiveContent.js"></script>

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','650','height','150','src','Flash/cenetheader','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Flash/cenetheader' ); //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,28,0" width="650" height="150">

  <param name="movie" value="Flash/cenetheader.swf" />

  <param name="quality" value="high" />

  <embed src="Flash/cenetheader.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650" height="150"></embed>

</object>

</noscript>

Open in new window

0
 

Author Comment

by:cenetadmin
ID: 24228662
I have this:

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
0
 
LVL 19

Accepted Solution

by:
v2Media earned 500 total points
ID: 24230054
OK - so are the files in that location on the server?  The reason I'm persisting on this point is because that error message is what you get when the browser doesn't get the external js file. You should have: -

default.html
Scripts/AC_RunActiveContent.js
Flash/cenetheader.swf

...on the test/live server including cAsE sEnSitIviTy?

Another common reason is a dinked flash plug-in for IE. Check that the flash plugin for IE is the latest version and that it's enabled. If a plug-in crashes IE a few times, it might get disabled. To check that flash is working properly in IE, load the swf directly in the browser address bar http://localhost/siteFolder/Flash/cenetheader.swf. Do the same with your JS file to ensure IE is finding the file http://localhost/siteFolder/Scripts/AC_RunActiveContent.js

After checking these things, if the error persists, I'd need to see the page myself to debug. If you have live server space somewhere, please upload it and post a link.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now