[SWFObject] ExpressInstall .. integrate class vs. separate swf?
eric dolecki
edolecki at gmail.com
Fri Jun 16 11:38:36 PDT 2006
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.
- e.d.
On 6/16/06, Geoff Stearns <geoff at deconcept.com> wrote:
>
> the express install code with SWFObject doesn't use a class anymore
> because of preloading issues...
>
> now there is just an include file with some code in it. you should
> just insert this code into your movie so that it runs first. while i
> haven't used any of the open source projects to create an express
> install swf, you should just be able to put this code into the main()
> method that is executed when your swf loads... (i'm not really all
> that familiar with how they work, but i think mtasc works like this)
>
> as long as your main class will load in flash player 6, you'll be
> fine. In the future, if swf files get to be too incompatible with
> older players, there may be a need to compile a separate swf file for
> the express install stuff, and if you like, you can set up your
> projects like this now.
>
>
>
>
> On Jun 16, 2006, at 2:22 PM, DL wrote:
>
> > This earlier blog discusses ExpressInstall ..
> >
> > http://blog.deconcept.com/2005/08/13/using-flash-player-express-
> > install-with-flashobject/
> >
> > There is some debate in the blog on whether to use the recommended
> > approach of adding Expressinstall class to frame 1 in existing
> > *.fla. Or
> > to compile ExpressInstall into a separate swf which has the sole
> > purpose of sniffing Flash version and updating.
> >
> > Just an observation .. the recommended integrated approach (class
> > placed in frame 1) may be fine if you are using Adobe/MM Flash
> > Editor, which has a frame timeline.
> >
> > But .. open source compilers such as http://www.openlaszlo.org
> > (which I use) do not have a conventional timeline (to allow a frame 1
> > to include the ExpressInstall class). Frame 1 cannot be added.
> >
> > So it seems that the solution in this opensource compiler environment
> > is to compile a pre-loader swf - a Flash sniffer (using ExpressInstall
> > class) - which launches before the main movie (not containing
> > ExpressInstall class).
> >
> > Is this correct? Is there a standalone Expressinstall.swf movie
> > somewhere?
> >
> > DL
> > _______________________________________________
> > SWFObject mailing list
> > SWFObject at lists.deconcept.com
> > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060616/2f96175f/attachment-0005.htm>
More information about the Swfobject
mailing list