Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Express Install

Status
Not open for further replies.

futilemonk

Technical User
Apr 26, 2006
20
US
can anyone please tell me if this actionscript has the correct syntax? because I cant get the express install to work properly, but I have visted aites where it does.

Actionscript:

#include "expressinstall.as"

// initialize the ExpressInstall object
var ExpressInstall = new ExpressInstall();

// if the user needs to upgrade, show the 'start upgrade' button
if (ExpressInstall.needsUpdate) {
ExpressInstall.init();
// if expressinstall is invoked, stop the timeline.
stop();
}



I keep getting the error:
there was an error downloading the latest flash player.PLease try again later or visit macromedia.
(i have tried for weeks)

but it seems to work fine for this site:
-thanks
 
I do, maybe my error is in the html:

<tr><td colspan="2" height="125"><div id="flashcontent">

<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags. Include a link to <a href="expressinstall.html?detectflash=false">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("flash/8.swf", "8", "762", "125", "9", "#000000", "true");
so.addParam("quality", "high");
so.write("flashcontent");
// ]]>
</script></td></tr>
 
thanks,

but i finally figured out why it doesnt work. swfobject requires the flash movie to be at least 214px by 137px, so that the upgrade dialog box can fit into the area.

the answer was in the documentation. oops =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top