I noticed that the include file's code caused my IDE to barf. removing all the return types on the functions fixed it for me. <br><br>- e.d.<br><br><div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Geoff Stearns
</b> <<a href="mailto:geoff@deconcept.com">geoff@deconcept.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">the express install code with SWFObject doesn't use a class anymore
<br>because of preloading issues...<br><br>now there is just an include file with some code in it. you should<br>just insert this code into your movie so that it runs first. while i<br>haven't used any of the open source projects to create an express
<br>install swf, you should just be able to put this code into the main()<br>method that is executed when your swf loads... (i'm not really all<br>that familiar with how they work, but i think mtasc works like this)<br><br>
as long as your main class will load in flash player 6, you'll be<br>fine. In the future, if swf files get to be too incompatible with<br>older players, there may be a need to compile a separate swf file for<br>the express install stuff, and if you like, you can set up your
<br>projects like this now.<br><br><br><br><br>On Jun 16, 2006, at 2:22 PM, DL wrote:<br><br>> This earlier blog discusses ExpressInstall ..<br>><br>> <a href="http://blog.deconcept.com/2005/08/13/using-flash-player-express-">
http://blog.deconcept.com/2005/08/13/using-flash-player-express-</a><br>> install-with-flashobject/<br>><br>> There is some debate in the blog on whether to use the recommended<br>> approach of adding Expressinstall class to frame 1 in existing
<br>> *.fla.  Or<br>> to compile ExpressInstall into a separate swf which has the sole<br>> purpose of sniffing Flash version and updating.<br>><br>> Just an observation .. the recommended integrated approach (class
<br>> placed in frame 1) may be fine if you are using Adobe/MM Flash<br>> Editor, which has a frame timeline.<br>><br>> But .. open source compilers such as <a href="http://www.openlaszlo.org">http://www.openlaszlo.org
</a><br>> (which I use) do not have a conventional  timeline (to allow a frame 1<br>> to include the ExpressInstall class).  Frame 1 cannot be added.<br>><br>> So it seems that the solution in this opensource compiler environment
<br>> is to compile a pre-loader swf - a Flash sniffer (using ExpressInstall<br>> class) - which launches before the main movie (not containing<br>> ExpressInstall class).<br>><br>> Is this correct?  Is there a standalone 
Expressinstall.swf movie<br>> somewhere?<br>><br>> DL<br>> _______________________________________________<br>> SWFObject mailing list<br>> <a href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com
</a><br>> <a href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</a><br><br>_______________________________________________<br>SWFObject mailing list
<br><a href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</a><br><a href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
</a><br></blockquote></div><br>