 <p>There is no direct way to convert JavaScript to flash.</p> <p>There are two things you may with to try though. You can include an <strong>IFrame</strong> inside of flash from which you can render HTML content (though this may not be recommended depending on your purpose). You can also use the <strong>ExternalInterface</strong> class to call JavaScript methods from flash.</p>