--- In flexcoders@yahoogroups.com, "markdemich" <d...@...> wrote: > > > > --- In flexcoders@yahoogroups.com, "droponrcll" <amyblankenship@> wrote: > > > > --- In flexcoders@yahoogroups.com, "markdemich" <demi@> wrote: > > > > > > A lot of my customer base still uses Flash 9. Was trying to determine > > > that if Flash 10 was loaded I would conditionally provide a feature in my > > > app to save something to a file. I tried faking out the compiler by doing > > > something like this. > > > > > > if (isFlash10) { > > > var f:Object = new FileReference(); > > > f.save("xyz",null); > > > } > > > > > > but I get an error when I run it in Flash 10. Everything I found leads me > > > to believe that I need to compile for Flash 10. However, I fear that will > > > mess up my Flash 9 users. > > > > > > Does anyone have any advice on making a SWF that will work in 9, but > > > optionally use Flash 10 features. > > > > > > > Try/catch. > > > > Try/catch won't help since it doesn't work, period.
Do you mean to tell me that if you attempt to instantiate a new FileReference, that try/catch won't allow you to determine that the attempt failed and do something based on that failure? Can you post your code that didn't work? -Amy