Wisej.Web.FlashPlayerWindowMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Controls layering and transparency of the content in the browser. Regardless of the windowMode value, Flash Player displays content viewed in full screen mode using direct path rendering. Using direct path rendering enables hardware accelerated presentation capabilities such as Stage Video and Stage 3D.
Name | Description |
---|---|
Name | Description |
---|---|
Direct
Use direct to path rendering. This attribute bypasses compositing in the screen buffer and renders the SWF content directly to the screen. This wmode value is recommended to provide the best performance for content playback. It enables hardware accelerated presentation of SWF content that uses Stage Video or Stage 3D.
Gpu
Use additional hardware acceleration on some Internet-connected TVs and mobile devices. In contrast to other wmode values, pixel fidelity for display list graphics is not guaranteed. Otherwise, this value is similar to wmode=direct.
Opaque
The SWF content is layered together with other HTML elements on the page. The SWF file is opaque and hides everything layered behind it on the page. This option reduces playback performance compared to wmode=window or wmode=direct.
Transparent
The SWF content is layered together with other HTML elements on the page. The SWF file background color (Stage color) is transparent. HTML elements beneath the SWF file are visible through any transparent areas of the SWF, with alpha blending. This option reduces playback performance compared to wmode=window or wmode=direct.
Window
The SWF content plays in its own rectangle ("window") on a web page. The browser determines how the SWF content is layered against other HTML elements. With this value, you cannot explicitly specify if SWF content appears above or below other HTML elements on the page.
Returns or sets the Window Mode property of the SWF file for transparency, layering, positioning, and rendering in the browser.
Always
The SWF file can communicate with the HTML page in which it is embedded. This rule applies even when the SWF file is from a different domain than the HTML page.
Never
The SWF file cannot communicate with any HTML page. Using this value is deprecated and not recommended, and is unnecessary if you don't serve untrusted SWF files from your own domain. If it is necessary to serve untrusted SWF files, Adobe recommends that you create a distinct subdomain and place all untrusted content there.
SameDomain
The SWF file communicates with the HTML page it's embedded in only when the SWF file is from the same domain. This value is the default value for AllowScriptAccess. To prevent a SWF file hosted from one domain from accessing a script in an HTML page on another domain, use this setting. Or, don't set a value for AllowScriptAccess,
Controls the ability to perform outbound URL access from within the SWF file.
Wisej.Web.FlashPlayerScale
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the value of the Scale attribute of the FlashPlayer control.
Name | Description |
---|---|
Name | Description |
---|---|
ExactFit
Makes the entire SWF file visible in the specified area without trying to preserve the original aspect ratio. Distortion can occur.
NoBorder
Scales the SWF file to fill the specified area, while maintaining the original aspect ratio of the file. Flash Player can crop the content, but no distortion occurs.
NoScale
Prevents the SWF file from scaling to fit the area of the OBJECT or EMBED tag. Cropping can occur.
ShowAll
Makes the entire SWF file visible in the specified area without distortion, while maintaining the original aspect ratio of the movie. Borders can appear on two sides of the movie.
Controls the ability to perform outbound URL access from within the SWF file.
AutoHigh | Emphasizes playback speed and appearance equally at first but sacrifices appearance for playback speed if necessary. Playback begins with anti-aliasing turned on. If the actual frame rate drops below the specified frame rate, anti-aliasing is turned off to improve playback speed. Use this setting to emulate the View > Antialias setting in Flash Professional. |
AutoLow | Emphasizes speed at first but improves appearance whenever possible. Playback begins with anti-aliasing turned off. If Flash Player detects that the processor can handle it, anti-aliasing is turned on. |
Best | Provides the best display quality and does not consider playback speed. All output is anti-aliased and all bitmaps are smoothed. |
High | Favors appearance over playback speed and always applies anti-aliasing. If the movie does not contain animation, bitmaps are smoothed; if the movie has animation, bitmaps are not smoothed. |
Low | Favors playback speed over appearance and never uses anti-aliasing. |
Medium | Applies some anti-aliasing and does not smooth bitmaps. It produces a better quality than the Low setting, but lower quality than the High setting. |
Specifies the display list Stage rendering quality. |
Wisej.Web.FlashPlayer
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a FlashPlayer control that can display flash applications.
Initializes a new instance of the FlashPlayer class.
BorderStyle: Indicates the border style for the control. (Default: None
)
Int32: Gets or sets the load timeout in milliseconds. (Default: 10000
)
Boolean: Specifies whether a timeline-based SWF file repeats indefinitely or stops when it reaches the last frame. (Default: False
)
FlashPlayerQuality: Specifies the display list Stage rendering quality. (Default: AutoHigh
)
FlashPlayerScale: Controls the ability to perform outbound URL access from within the SWF file. (Default: ShowAll
)
FlashPlayerScriptAccess: Controls the ability to perform outbound URL access from within the SWF file. (Default: SameDomain
)
Boolean: Specifies if movie playback controls are available in the Flash Player context menu. (Default: True
)
String: Returns or sets the pdf file name to display in the FlashPlayer control. (Default: ""
)
String: Returns or sets a JSON definition of the variables to pass the Flash player in the FlashVars parameter. (Default: ""
)
FlashPlayerWindowMode: Returns or sets the Window Mode property of the SWF file for transparency, layering, positioning, and rendering in the browser. (Default: Window
)
EventHandler Fired when the SwfSource property has changed.
Name | Description |
---|---|
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.