Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

how to get a flash file working properly in a wordpress page WordPress

  • SOLVED

I'm lost with flash.

http://developer.nelsonbostock.com/index.html

got a flash file (holder.swf) which is calling on a series of sub files to animate as per the demo above, which is working fine in the index.html page but not when i try to load the file in a Wordpress page using kimili flash embed (see how the individual animations don't load here: http://developer.nelsonbostock.com/index.php/who-we-are/

because the file links to other pages on the website, i can't embed it as an iframe otherwise the links load in the iframe.

what am I missing / what's the best way to get this working please?

Answers (3)

2010-03-16

Erez S answers:

http://developer.nelsonbostock.com/nelson-bostock-flash/index.html
is'nt working,and on
http://developer.nelsonbostock.com/index.php/who-we-are/
the flash is working perfect
so i don't understand what is the problem


Dave Smith comments:

sorry, see updated url in q'n or here: http://developer.nelsonbostock.com/index.html for the correctly working flash file. i'm still working in the background to try to fix it myself hence the changes


Erez S comments:

do you want to show it on every post,or to have short tag which you'll write on your post and this will show the flash?


Dave Smith comments:

the latter would be best


Erez S comments:

function jjj_showflash(){
return '
<object type="application/x-shockwave-flash" data="http://developer.nelsonbostock.com/holder.swf" width="550" height="210" id="VideoPlayback">
<param name="movie" value="http://developer.nelsonbostock.com/holder.swf" />
<param name="allowScriptAcess" value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="#ffffff" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>';
}
add_shortcode('showflash', 'jjj_showflash');

add the code to the end of your functions.php on your theme,before the ?> and then simply write [showflash] where you want to show the flash,enjoy

2010-03-16

Edouard Duplessis answers:

the best thing is to use absolute path in your flash...

or make a variable in your flash for your site root...

like that:
var root = http://www.mysite.com/myflashfile/

and when you call your file in flash call it like that:
$root./flash.swf

2010-03-16

Andrzej answers:

have you tried to add attribute base="." to your kmili code?