PDA

View Full Version : AC_FL_RunContent()


C4talyst
10-16-2008, 07:25 PM
I took over maintenance of this web site from another guy who can't be reached. He's using AC_RunActiveContent.js to play flash movies on the site. My only problem is getting the movies to autoplay on page load.

The page in question is here:

http://www.fightclub.com/index-main.php

I just want that one movie box to play automatically on page load. I've tried every possible combination of flashvars and script settings with no love.

Could anyone help me with this?

atomic
10-16-2008, 08:35 PM
You mean the .flv on the right?

If so, you need to check the autoPlay setting in the FLVPlayback component, if that's what's used, and most likely past that name (not autostart) in the .js script...

C4talyst
10-16-2008, 09:02 PM
Hey thanks for the reply, I'm not sure where this setting is, I just took over maintenance for this site. I don't want it enabled globally, just on that one page. Do you know if that's possible and where I'd stick that setting?

C4talyst
10-16-2008, 10:13 PM
I see what you're saying now...I have this flvplayer.swf file but I'm not sure where it came from. No arguments I'm passing to it are working.

atomic
10-17-2008, 02:10 AM
You must have a .fla for the flvplayer.swf...

If so, in that flvplayer.fla, in the actionscript, line 150, change the following line...

From:

VideoStatus(0);

To:

VideoStatus(1);

...And it should then auto play...

CyanBlue
10-17-2008, 02:45 AM
I don't think he has an access to the FLA file, and I don't know if he even has Flash installed on his computer... Maybe you should go from there... ;)

atomic
10-17-2008, 02:48 AM
Ummmmmmmmh! No .fla, hey?

Maybe, n'en déplaise à ASWC et Mattkenefick, he should get a decompiler then!

CyanBlue
10-17-2008, 03:09 AM
It sounds like he just need to rebuild a simplest FLV player... Know of any link he might try???

Or try Jeroen's free one instead???
http://www.jeroenwijering.com/

atomic
10-17-2008, 03:14 AM
The easiest would simply be that I send him the decompiled .fla... Make the change I suggested, recompile the .swf and he's rolling!

I would thus need a mail address, sent to me through a PM! :p

CyanBlue
10-17-2008, 03:18 AM
True... :)

atomic
10-17-2008, 03:22 AM
But if he doesn't even have Flash, then he can't recompile the .fla either!

So I should in fact, only provide him with the recompiled .swf.

C4talyst
10-25-2008, 07:06 AM
Hey thanks for all the replies; I don't have access to the source fla's...