-
This page requires AC_RunActiveContent.js.
I get this message "This page requires AC_RunActiveContent.js." when viewing my .swf file which is loaded into a dreamweaver page and uploaded as a html file. so, I downloaded the java script fix for this and uploaded it to my server, it got rid of the pop up message brilliantly, however ..... it has pushed my home page down to the bottom of my page when I view it (about the same hight as my .swf file approx 15cm). As soon as I take the java script off the server it aligns to the top again which is great but the Warning message appears again. Can anyone help?
-
Flashmatics
hi welcome to FK... forget about using AC_RunActiveContent.js for embedding flash, people always seem to have problems with it..instead use swfObject for embedding your flash movies:
http://blog.deconcept.com/swfobject/
hope that helps
-
Cheers
Will have a look at that link and give it a go.
Thanks for your quick reply, I haven't been involved in anything like this before looks good
-
swfobject.js
It's all a bit dutch to me. I downloaded the folder swfobject1- 5 3 folder, inside I found a bunch of files and I read through the site, I chose the one right for me, but it doesn't really explain how I go about applying it. I tried uploading the swfobject.js to the server the same way I did the AC_RunActiveContect.js but that didn't work, any suggestions if you are still there?
-
Flashmatics
u only need to concern yourself with swfobject.js (you can ignore the other files) ..heres a simple example attached...
Last edited by silentweed; 11-22-2007 at 07:14 PM.
-
Hi all,
I have a problem with swfobject. I have a swf that loads inside a container, and the container resizes to the browser width and height. Everything works fine if I don't deconcept with swfobject. But if I do, in IE it doesn't load that swf inside the container (swf wich I use as a background). Works perfect in Firefox though. Here's the HTML code:
PHP Code:
<html>
<head>
<title>myTitle</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
</div>
<script type="text/javascript">
var so = new SWFObject("main.swf", "movie", "100%", "100%", "8", "#000000");
so.write("flashcontent");
</script>
</body>
</html>
Does anybody have an idea why when I use swfobject that swf doesn't laod in the container? Thnk you
-
I suggest checking swfObject 2. The latest version: http://code.google.com/p/swfobject/
There is also a wizard to hep you with your embedding code.
btw that version of swfobject will be used by Adobe with the CS4 series, thus becoming the standard in embedding. Way to go!
gparis
-
Bmcc*81
if you use dreamweaver... GotoAnd Download a free component in the adobe exchange. You just have to do some digging and it's the easiest way.
-
Help
I am new to flash programming and just bought a template for a friend. I have made all the changes to the template, but when I load it to my server, I receive "This page requires AC_RunActiveContent.js.". I can't figure out what to do to fix this. I have read about SWFObject, but really don't know where to go. Below is a copy of the code from Dreamweaver.
Thanks in advance for any help!!!
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#cfc6ad">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '766',
'height', '660',
'src', 'index',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'index',
'bgcolor', '#cfc6ad',
'name', 'index',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'index',
'salign', ''
); //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=6,0,0,0" width="766" height="660" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#cfc6ad" /> <embed src="index.swf" quality="high" bgcolor="#cfc6ad" width="766" height="660" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
-
hi,
youshould place the AC_RunActiveContent.js file in the same folder as the index.html file (that's why you are getting that message) You ca download the file here:
http://www.adobe.com/devnet/activeco...devletter.html. Also they a very good tutorial in how to use this file . Hope that helps.
-
-
This is stupid. It wasn't like this a couple of years ago the last time I used Flash. You just Published the crap you built and away you went. Why the crap do I need to copy JS files into anything. Adobe screwed up Flash. Is it too late to sell the product back to Macromedia?
-
Well, Adobe didn't screw up flash, microsoft did, for PCs, that's why you need the js file if you wan to avoid the click here to activate bla bla bla message
-
tell me how to downlood this ( AC_RunActiveContent.js.)
-
in flash go to your publish settings, make sure to check html, and flash will create this file for you when you publish your .swf. It will be in the same folder along with a html page
IMS
-
-
Photographer / PHP programmer
what the hell????
This is the FIRST time I have ever come across this crap...
It was at this URL
http://www.maani.us/xml_slideshow/in...p?menu=Gallery
That guy sells his .swf file as a business.
I would never be a customer of any web product which would send my viewers some retarded message that they would rightly know nothing about. If the website was for a business, then that business would loose prospective customers.
I don't even care WHY it's there, it's an absolutely INSANE bug to have in that kind of product (Adobe flash).
Seriously.... WTF?
-
Originally Posted by ctracy33
I am new to flash programming and just bought a template for a friend. I have made all the changes to the template, but when I load it to my server, I receive "This page requires AC_RunActiveContent.js.". I can't figure out what to do to fix this. I have read about SWFObject, but really don't know where to go. Below is a copy of the code from Dreamweaver.
Thanks in advance for any help!!!
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#cfc6ad">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '766',
'height', '660',
'src', 'index',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'index',
'bgcolor', '#cfc6ad',
'name', 'index',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'index',
'salign', ''
); //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=6,0,0,0" width="766" height="660" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#cfc6ad" /> <embed src="index.swf" quality="high" bgcolor="#cfc6ad" width="766" height="660" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
As far I know that alert message comes in case the flashplayer is disabled in the browser setting.... follow below steps to disable or enable flashplayer
Tools >>> Internet Options >>> Program Tab >>> Manage add-on options button >>> Filters >>> Add-ons that run without requiring permission >>> Select Shockwave Object >>> Click Enable button at bottom
Hope this helps you, in case you have any other solution to resolve the issue do let me know.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|