I have created a flash map as a custom extension and used it in my document. The users can resize the map and they should be able to reset it to original size by clicking a button. I have created a HTML button for this but am not able to get the exact function which will resize the height and width of the object.
Here is the HTML for the button..
_html += "<div id='drilldiv' input type='button' style='background-color: blue;' onclick=DrillMapResize('WorldwithCountries') value='Global View'>Global</div>";
The function 'DrillMapResize' should reset the oject size (width: 800, height: 2500)
Can someone help me with the exact function to resize the object.