My swf size is approximately 1000x700. If the browser size is smaller than this it needs to scale down but if it is larger I don't want it to scale. Just like this http://www.milesaldridge.com/.

I've tried publishing the Flash settings at Scaleefault(Show All) which scales it but I need to stop the scaling upwards at 1000x700.

I'd have thought that I could say in the html if (width<1024){scale;} and if(height<700){scale;}. But it's not working. Should it all be done in the html?