ExternalInterface API Sample, Access Flash Drawing API from Javascript
This is the same like what Geoff Stearns did with FlashObject about drawing using javascript and flash. Is using ExternalInterface API on Flash 8.
ExternalInterface API on Flash 8 is used to make AS is available called by Javascript.
David Flanagan write the sample code about using ExternalInterface API on Flash 8. He demontration how Javascript access Drawing API on flash