html method for embedding Flash

Source: Internet
Author: User
<param name= "allowscriptaccess" value= "Samedomain"/>
Use allowscriptaccess to enable a flash application to communicate with its HTML page. This parameter is required because the Fscommand () and GetURL () actions may cause JavaScript to use the permissions of the HTML page, which may differ from the permissions of the Flash application. This has an important relationship to cross-domain security.
That is to say, if the SWF is under blog.80s.net.cn, but the page is under fmail.80s.net.cn, want to use Geturl or Fscommand call JS in the page is not OK
Unless you set the value to always
Value parameter Description:
Always allows scripting operations to be performed at any time.
Never prevents all scripts from performing operations.
Samedomain allows script operations to be performed only when the Flash application comes from the same domain as the HTML page.
The default values used by all HTML publishing templates are Samedomain

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.