• holymonkey

    (@holymonkey)


    I’m using the swfobject 2 to embed banners I made with flash. The banners ONLY function if I set the action script to open in a blank window… “_blank” if it try “_self”, or “_top”, or “_parent” the banners are dead.

    I’ve been all over the internet to find a solution and read about setting the paramater “allowscriptaccess” to either “always” or “samedomain”. Even that hasn’t worked for me when embedding the swf’s in the php code for my page. I’m hoping I’ll have better luck with the swfobject, but I cant find an example for where to set this paramiter. 🙁

    the banners can be found here: http://www.holymonkeystudio.com

    This is what I’m using to embed a banner in a post”
    [swfobj src=”http://www.holymonkeystudio.com/banners/skin_me.swf” width=”320″ height=”120″ align=”left” ]

    Wher eand how do i set this “allowscriptacess” ?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • same problem here – any solution?

    Using this code:
    [swfobj src=”http://anotherdomain.com/myswf.swf” height=”370″ width=”590″ wmode=”opaque” allowscriptaccess=”always”]

    all parameters set correctly except for allowscriptaccess, which is ignored.

    Found the answer – there is an error in swfobj.php

    in shortcode_atts array, allowscriptaccess is spelled incorrectly as allowscriptacces – correct this and it works as advertised.

    @spiglanin You are absolutely correct.

    Thank you for tracking this down. I’ve made the fix in the swfobj.php code and resubmitted it to wordpress.org. The update should be available there soon.

    Please contact me if you continue to have problems.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cant figure out allowscriptaccess paramiter for swfobject :(’ is closed to new replies.