Wow. Okay, thanks for the info Oleg. Very helpful. - Todd
--- In [email protected], Oleg Sivokon <olegsivo...@...> wrote: > > I'm afraid, that it is not possible to know that at compile time, unless you > define some compiler variable for that. However, at runtime you can always > check the player version in Capabilities.version. > If you want to exclude the code targeting FP10 at compile time, I'd do it > like this: > > mxmlc -define=CONFIG::fp10,false -define+=CONFIG::fp9,true > > Then, in your code: > > CONFIG::fp10 { > // do some FP10 specific stuff here > } > CONFIG::fp9 { > Alert.show( "In order to get the full functionality please update the player > version and reload the page :)" ); > } > > To be honest, conditional compilation in Flex SDK is somewhat undercooked... > but, that's what we have at hand... > > Best. > > Oleg >

