So the same swf is used for both playback and broadcast, or are there two separate swfs for that?
Basically you can use the swfobject.getFlashPlayerVersion() API method ( http://code.google.com/p/swfobject/wiki/api) to get the major and minor player version and then run some logic to: - pass a flashvar value into a single swf to turn on or off functionality - choose between different swfs to get embedded and shown to the user - or invoke the expressinstall mechanism (swfobject.showExpressInstall(att, par, replaceElemIdStr, callbackFn)) Note you can always do version detection inside your swf and show/hide functionality (and show a "press here to upgrade to the latest Flash player for broadcast functionality") too. Invoking ExpressInstall is pretty simple inside a swf (as seen here: http://code.google.com/p/swfobject/source/browse/trunk/swfobject/src/expressInstall.as) Cheers, Aran On Fri, Feb 24, 2012 at 3:13 PM, Erik G <erik.gold...@gmail.com> wrote: > This might be less of a SWFObject question and more about AS in > general, but I want to "gate" some of my SWF so that people with a > flash version below 10.3 cannot use it. Specifically, people with any > flash version can watch video using my program, but only people who > have 10.3+ can broadcast. > > I'd love to put the user through the expressInstall.swf flow, but I'm > not totally sure how to embed that within my existing .SWF without > making a new div and embedding it there. > > any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to swfobject@googlegroups.com. > To unsubscribe from this group, send email to > swfobject+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.