Log in

View Full Version : Penny Auction Script not displaying Flash



CustomPowerDesigns
01-28-2010, 08:06 AM
Hi,
I am working on a Penny Auction script and would like to display flash on the page. I have tried and tried but can not seem to do it. I would like to display it as as the header, just above the logo div, but right now I am trying to do it under the logo to see if it would work. Nothing I do works. Here is my code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script src="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/swfobject_modified.js" type="text/javascript"></script>
<head>
<?php echo $html->charset(); ?>
<title>
<?php echo $title_for_layout; ?> ::
<?php echo $appConfigurations['name']; ?>
</title>
<?php
if(!empty($meta_description)) :
echo $html->meta('description', $meta_description);
endif;
if(!empty($meta_keywords)) :
echo $html->meta('keywords', $meta_keywords);
endif;
echo $html->css('style');

echo $javascript->link('jquery/jquery');
echo $javascript->link('jquery/plugins/color');
echo $javascript->link('jquery/jquery.ifixpng');
echo $javascript->link('default');
?>
<!--[if lt IE 7]>
<?php echo $javascript->link('unitpngfix'); ?>
<![endif]-->
<?php
echo $scripts_for_layout;
?>

</head>
<body>
<div id="container">
<div id="header">
<div class="logo">
<?php echo $html->link($html->image('logo.png', array('border' => '0', 'alt' => 'Hiperia', 'title' => 'Hiperia')), '/', null, null, false); ?>
</div>

<div class="login-form">
<?php if(!$session->check('Auth.User')):?>
<?php echo $this->element('status');?>
<?php endif; ?>
</div>
</div>

<div id="top-menu" class="clearfix">
<?php echo $this->element('menu_top');?>

<?php if($session->check('Auth.User')):?>
<div class="user-status">Welcome <strong><?php echo $session->read('Auth.User.username'); ?></strong></div>
<?php endif; ?>
</div>
<div><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="933" height="173">
<param name="movie" value="http://www.bidfireworks.com/app/webroot/themed/legato/fireworks.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.bidfireworks.com/app/webroot/themed/legato/fireworks.swf" width="933" height="173">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script></div>
<div id="maincontent">
<div id="wrapper">
<div id="midcol">
<?php
if($session->check('Message.flash')){
$session->flash();
}

if($session->check('Message.auth')){
$session->flash('auth');
}
?>
<?php echo $content_for_layout; ?>
</div>

<div id="leftcol">
<?php if($session->check('Auth.User')):?>
<?php echo $this->element('menu_user');?>
<?php endif; ?>
<?php echo $this->element('menu_categories');?>
<?php echo $this->element('how_it_works');?>
<?php echo $this->element('payment_options');?>
</div>
</div>

<div id="rightcol">
<?php echo $this->element('latest_winner');?>
<?php echo $this->element('latest_news');?>
<?php echo $this->element('winner_photo');?>
</div>
</div>


<div id="footer" class="clearfix">
<?php echo $this->element('footer');?>
</div>

<?php echo $cakeDebug; ?>
<div id="timestamp" style="display: none"><?php echo time();?></div>
<div id="timesyncfrequency" style="display: none"><?php echo $appConfigurations['timeSyncFrequency'];?></div>
<div id="auctionupdatefrequency" style="display: none"><?php echo $appConfigurations['auctionUpdateFrequency'];?></div>
</body>
</html>


The code is just before the maincontent div. I am not sure why it is not displaying the flash! Any help here would be GREATLY appreciated. Thank You!

Nile
01-29-2010, 02:08 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

CustomPowerDesigns
01-29-2010, 04:01 AM
http://www.bidfireworks.com

That is the link. Right now I just have a basic header up. But where it is at is where I would like the flash displayed.

Nile
01-29-2010, 09:49 PM
Can you replace the logo with the flash and then provide a link?

CustomPowerDesigns
01-31-2010, 01:04 AM
I have tried uploading a movie now to a different area so you can see what is happening. If you go to my website, http://www.bidfireworks.com , and sroll to the bottom the flash should be just under the image of a purse. It is using a place, and is there, but you cant see it and when you right click it it says, "Movie Not Loaded"

Here is the code for my entire page and I am using cakePHP as the development framework.


<script src="http://www.custompowerdesigns.com/Scripts/swfobject_modified.js" type="text/javascript"></script>
<div class="module clearfix">
<?php echo $html->image('banner-winner.jpg', array('border' => '0', 'alt' => 'Winner', 'title' => 'Winner')); ?>
</div>
<div class="module clearfix">
<?php echo $html->image('banner-purses.jpg', array('border' => '0', 'alt' => 'Purses Auction', 'title' => 'Purses Auction')); ?>
</div>
<div class="module clearfix">
<div id=”cakeflash_soundtracker”> </div>
<script type=”text/javascript”>

var so = new SWFObject(”http://cakeflash.com/swf/cakeflash_soundtracker.swf”, “cakeflash_soundtrackerMC”, “160?, “25?, “6?);

so.addParam(”wmode”, “transparent”);

so.addParam(”scale”, “exactfit”);

so.addParam(”allowscriptaccess”, “samedomain”);

so.addVariable(”mp3path”, “http://rpitmedia.com/mp3/ParisFashionWeek10_10_2006.mp3?);

so.addVariable(”title”, “Paris Fashion Show”);

so.write(”cakeflash_soundtracker”);

</script>

</div>

Nile
01-31-2010, 05:42 AM
It seems this is solved?

CustomPowerDesigns
02-09-2010, 05:49 AM
Sorry, yes it was solved. I have been working on it so much that I forgot to let you know that this was solved. The problem was that I did not have the Flash file in the webroot directory. Simple problem that I could just not figure out!