VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Dreamweaver CS4 Flash Kills Store
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DrApple
VP-ASP New User

Australia
74 Posts

Posted - January 30 2009 :  21:11:52  Show Profile  Visit DrApple's Homepage  Reply with Quote
Just went to update one of my sites header template using CS4 and found its new implementation of embedding flash does not work with vpasp. First time I tried both the site and the admin were not functioning. Second time I got the following error.

------------------

Active Server Pages error 'ASP 0139'

Nested Object

/shoppage_header.htm, line 73

An object tag cannot be placed inside another object tag.

---------------------

The new code from DW is:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="476" height="54" id="FlashID" title="Advertising">
				      <param name="movie" value="images/advert/top_no_advert.swf" />
				      <param name="quality" value="high" />
				      <param name="wmode" value="opaque" />
				      <param name="swfversion" value="8.0.35.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="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="images/advert/top_no_advert.swf" width="476" height="54">
				        <!--<![endif]-->
				        <param name="quality" value="high" />
				        <param name="wmode" value="opaque" />
				        <param name="swfversion" value="8.0.35.0" />
				        <param name="expressinstall" value="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>


It also adds this script link which I uploaded to the server:
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>


DrApple

madbug
VP-ASP New User

130 Posts

Posted - July 04 2009 :  03:47:44  Show Profile  Reply with Quote
Hi,

I think the dreamweaver add in the code with "[" and "]" symbols that will have issue. Try to just use a simple flash embed code, such as

<object width="476" height="54">
<param name="movie" value="images/advert/top_no_advert.swf">
<embed src="images/advert/top_no_advert.swf" width="476" height="54">
</embed>
</object>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000