Home     |     Photoshop    |     Flash General    |     Flash Actionscript    |     Dreamweaver    |     Macromedia Fireworks


Cervo Technologies
The Right Source to Outsource

Macromedia Flash General

AC_RunActiveContent.js


I am publishing a simple Flash page in Flash CS3
 and when I upload to my website

 www.ilakomedia.com

 I get the error message "This requires AC_RunActiveContent.js"
 and can't see my website, please help

You need to upload that file to your server. It fixes the IE Activation issue.
Dreamweaver or Flash should have generated that file for you. If not here it is:

 http://www.johnkalnin.com/flashhelp/Scripts/AC_RunActiveContent.js

-----------------------------------------------Reply-----------------------------------------------

I got to the file link, but how do I save this file
and under what name, please?

Any reason Flash CS3 needs an updater to generate
this automatically?
thanks

-----------------------------------------------Reply-----------------------------------------------

my guess is check in the same folder as you source, swf, and html file.  keep the name the same and upload to your server/host in same directory as your swf and html file

-----------------------------------------------Reply-----------------------------------------------
Also make sure when you upload the file that your FTP program doesn't change
the name to all lower-case. Many web servers are case-sensitive (mine is). So
the file must be named AC_RunActiveContent.js, and NOT ac_runactivecontent.js.
Otherwise there is a chance the browser won't find the file.

-----------------------------------------------Reply-----------------------------------------------
CS3 creates this for you - it's in the same folder as your html and swf - upload all 3.

Chris Georgenes / mudbubble.com / keyframer.com / Adobe Community Expert

that's exactly what's in there and it's not working

any other ideas, please?

thank you kindly

-----------------------------------------------Reply-----------------------------------------------

thanks, i tried that and it still doesn't work

-----------------------------------------------Reply-----------------------------------------------
for some reasons, my FLash CS3 is not generating this file
 and I've never had to deal with this before

 I'm attaching the .js file I made from scratch by following the
 link to the file and doing it in Mac Text Edit

 Is there any way to attach the .js file to this forum? thanks

-----------------------------------------------Reply-----------------------------------------------

You may have uploaded the file but have you amended the holding html page to contain a link to the file and adjusted the object tag accordingly?

-----------------------------------------------Reply-----------------------------------------------
no I haven't, I don't know HTML, how would I do this exactly please?

 gosh, it used to be i just posted my SWFs and HTML and it worked fine,
 is this a new thing with Flash CS3?

 I;m confused as to why it didn't do this automatically in the first place?

-----------------------------------------------Reply-----------------------------------------------

Look, I went into your site, you have and if then statement that's alerting you
that you need the script just take it away and leave the script like this:

 <script language="javascript">
        AC_FL_RunContent(
        'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v...
,0,0',
                        'width', '1024',
                        'height', '768',
                        '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', '#ffffff',
                        'name', 'index',
                        'menu', 'true',
                        'allowFullScreen', 'false',
                        'allowScriptAccess','sameDomain',
                        'movie', 'index',
                        'salign', ''
                        ); //end AC code
 </script>

 Cheers
 Gorka

-----------------------------------------------Reply-----------------------------------------------

Hmmm - CS3 should generate this for you - if not then you will encounter this issue every time you
publish - let's find out the source of the problem now - do you have the SWF and HTML formats
selected in Publish Settings?

Chris Georgenes / mudbubble.com / keyframer.com / Adobe Community Expert

Hi to all who have helped, many thanks
 and in reply to Gorka and Chris,

 I simply am going to hold off for now and
 try to figure out why my Flash CS3 is not
 generating this on its own

 The answer is your other question about the Publish is
 I'm simply publishing to SWF and HTML like I always do
 but it's simply not working like it used to where I didn't
 get this .js error message

 thanks

-----------------------------------------------Reply-----------------------------------------------

Thats a good idea. Sometimes its best to start all over again.

Try with a simpel exampel first and then move on. And first of all,
read the manual.

/Claes

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc