A simple bug that occurs when the flash method is called by JS conforming to web standards is updated by Microsoft XP. It means that the flash of pages inserted in the traditional webpage creation mode cannot be browsed normally, when the page is opened, flash is surrounded by a dotted box, and you need to click it to view it normally. The following solution is to solve this problem and make flash meet WEB standards, in addition, the most important thing is that all the flash files on the website can call this code to make your code more concise!
1. Create a flash. js JS file and write
The Code is as follows:
Function flash (ur, w, h ){
Document. write ('');
Document. write ('');
Document. write ('');
Document. write ('');
Document. write ('');
Document. write ('');
Document. write ('');
Document. write ('');
}
2. on the webpageAndWrite the code that calls JS between them:
The Code is as follows: