• Here is my site, its a site all about foxy bingo

    I have a swf file developed that takes an xml feed and displays the data in a cool way.

    I want that table to show under the main body of the home page. I have edited it in dreamweaver and uploaded it but nothing shows..

    i would love the answer to this as i’ve been racking my brain out for a while!

    I have even copied the SWF file in the same folder as the index.php, i get nothing….

    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <?php get_header(); ?>	
    
    	<div id="wrapper">
    
    		<div class ="content">
    
    			<h1>Welcome,</h1>
    
    			<p>My names Cheryl, i&rsquo;m 25 years young, i love music, playing sports, films, and playing bingo online.</p>
    
    			<p>Up until about 1 year ago i was a regular visitor of my local bingo hall. But i started to notice a change in the halls, crowds getting smaller, regulars not being regular and the general pzazz had evaporated, i think the smoking ban played it's part believe it or not!! Fortunately my friend introduced me to the wonderful world of online bingo, it appeared that's where most people had disappeared to, who can blame them? There's bigger prizes, more people, a lot of excitement and it completely opens up the fun floodgates, bingo received the modern face lift. When i first got into it though i was annoyed at the sheer volume of bingo sites, at least with the bingo halls you only have a handful of places to go, but online is endless. If the online bingo halls were real there would be one on every street corner! I was fortunate enough to not get caught up in the confusion and waffle that is out there, just like bingo halls where i stuck to one place, i did so with online bingo. I chose <strong><a href="https://www.foxybingofans.com">Foxy Bingo</a></strong>. My aim  is to now give you all the information you need on Foxy Bingo so that you can see how good they are and won't get lost in a world of confusion. If you stick with one site the experience is better, you get to know people, it's a better atmosphere, its more enjoyable. Chasing bingo online bingo sites is simply no fun    </p>
    
            <p>
              <script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','590','height','350','title','foxy bingo games','src','https://www.foxybingofans.com/wp-content/themes/softpresence/games_table','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','https://www.foxybingofans.com/wp-content/themes/softpresence/games_table' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="590" height="350" title="foxy bingo games">
            <param name="movie" value="https://www.foxybingofans.com/wp-content/themes/softpresence/games_table.swf" />
                <param name="quality" value="high" />
                <embed src="https://www.foxybingofans.com/wp-content/themes/softpresence/games_table.swf" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="590" height="350"></embed>
              </object></noscript>
            </p>
    		  <p>(",)</p>
       </div>
    
    		<div id="content-wrapper">
    
    	  <div id="content">
    
    				<?php if (have_posts()) : ?>
    
    			<?php while (have_posts()) : the_post(); ?>
    
    				<div class="post-wrapper">
    
    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/post-bg.gif" style="margin-left: -30px;margin-top: 0px; float: left;" />
    
    					<div style="float: left; width: 96%; margin-top: 10px; margin-bottom: 15px; padding: 14px;;  background-color: #FFFEF4; border: 1px solid #F6F3D1;">
    
    			<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span>
    
    			<div>Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?><strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon3.gif" alt="icon3" /><?php comments_popup_link('No Comments &raquo;', '1 Comment &raquo;', '% Comments &raquo;'); ?></div>
    
    </div>
    
    <div style="clear: both;"></div>
    
    			<div class="post">
    
    			<?php the_content('Read the rest of this entry &raquo;'); ?>
    
    			</div>
    
    			</div>
    
    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/post-bg2.gif" style="margin-left: -20px;margin-bottom: 25px;margin-top: 0px; float: left;" />
    
    			<?php comments_template(); ?>
    
    			<?php endwhile; ?>
    
    			   <p class="pagination"><?php next_posts_link('&laquo; Previous Entries') ?> <?php previous_posts_link('Next Entries &raquo;') ?></p>
    
    			<?php else : ?>
    
    			<h2 align="center">Not Found</h2>
    
    			<p align="center">Sorry, but you are looking for something that isn't here.</p>
    
    			<?php endif; ?>
    
    		  </div>
    
    	  </div>
    
    		<?php get_footer(); ?>   
    
    </body>
    
    </html>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter emanon1983

    (@emanon1983)

    anyone?

    Thread Starter emanon1983

    (@emanon1983)

    dead end?

    did you solve it?
    i think you should put the script:

    <script src=”Scripts/AC_RunActiveContent.js” type=”text/javascript”></script>

    into the header.php file

    SOLVED!!!

    I was struggling for hours to embed a swf. I didnt want to add it in a post/page through the admin interface, rather hard code it into one of the template files. (in my case index.php).

    You cannot place the swf or any of its attached files (e.g. xml, img data) in your theme’s directory. Place ALL flash content in the ROOT of your page, yes, among all the wp-whatever.php files. Then reference the swf’s location in whatever theme file you want (index.php, home.php) as <?php bloginfo(‘url’) ?>/yourmovie.swf.

    I really hopes this helps someone. I was loosing my mind!!

    Richard

    Richard, this helps me alot.

    Can you share the complete new working javascript that actually displays the SWF?

    Thank you.

    — Ed

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding a SWF file to my sites php template file’ is closed to new replies.