<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV>Also, if you want to use the minimum code for the express upgrade, without
the extra stuff, this works fine:</DIV>
<DIV> </DIV>
<DIV>#include "expressinstall.as"<BR>var ExpressInstall = new
ExpressInstall();<BR>if (ExpressInstall.needsUpdate)
{<BR> ExpressInstall.init();<BR> stop();<BR>}<BR><FONT face=Arial
size=2>*********** REPLY SEPARATOR ***********<BR><BR>On 11/29/2006 at 9:39 AM
Steve Lovisa wrote:</FONT></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid">
<DIV class=Section1>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’m a freelance designer who is
only ankle deep in JS & ActionScript. I’ve been struggling to get Express
Install to work and would appreciate any help I can
get!<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My SWF is a container for a
progressive download video. WITHOUT Express Install, it's working
fine:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
title=blocked::http://www.silverlinecreative.com/clients/firstchoice/index_swfobject_only.html
href="http://www.silverlinecreative.com/clients/firstchoice/index_swfobject_only.html">http://www.silverlinecreative.com/clients/firstchoice/index_swfobject_only.html</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When I add the Express Install
option, everything works…except the SWF never starts
playing:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
title=blocked::http://www.silverlinecreative.com/clients/firstchoice/index_swfobject_express.html
href="http://www.silverlinecreative.com/clients/firstchoice/index_swfobject_express.html">www.silverlinecreative.com/clients/firstchoice/index_swfobject_express.html</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here’s what I’ve done…In my
header, I included:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><script type="text/javascript"
src="swfobject.js"></script><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Where the SWF should appear, I
included:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><div
id="bcam_video"><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><!-- this appears if user
doesn't have JavaScript enabled, or doesn't have the required Flash Player
version --><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><p>To view the BCAM video,
please <br /><a href="http://www.adobe.com/go/getflashplayer/"
target="_blank">Install the latest Flash
Player</a></p><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></div><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><script
type="text/javascript"><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">//
<![CDATA[<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">var so = new
SWFObject("bcam_video_exp.swf", "myMovie", "250", "230", "8", "#FFFFFF",
"true");<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">so.write("bcam_video");<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">//
]]><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></script><o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">And in the first frame of my Flash
file (thinking the problem lies here?), I
included:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">#include
"expressinstall.as"<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">// initialize the ExpressInstall
object<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">var ExpressInstall = new
ExpressInstall();<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">// if the user needs to upgrade,
show the 'start upgrade' button<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">if (ExpressInstall.needsUpdate)
{<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">// this is optional, you could
also automatically start the <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">// upgrade by calling
ExpressInstall.init() here instead of the following
lines<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">// attach the custom upgrade
message ** NOTE: see notes in Upgrade Message movieclip re: types of
content to use<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
var upgradeMsg = _root.attachMovie("upgradeMsg_src", "upgradeMsg",
1);<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
upgradeMsg._x = Stage.width / 2;<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
upgradeMsg._y = Stage.height / 2;<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
// attach the button actions that will start the ExpresInstall
updater<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
upgradeMsg.upgradeBtn.onRelease = function() {<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
ExpressInstall.init();<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
}<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
// if expressinstall is invoked, stop the
timeline.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
stop();<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any
ideas??<o:p></o:p></SPAN></FONT></P></DIV><FONT size=2
Arial></BLOCKQUOTE></FONT></BODY></HTML>