Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-04-02
10
Medium Priority
?
1,289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 

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
 

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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

722 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