4820d5b044
Player::background_color is now an Option. SetBackgroundColor will change the background color of the player only when this is None, i.e. only if no background color has yet been set. This matches the behavior of the offical Flash Player, for example, if a parent SWF is missing a SetBackgroundColor tag and loads a child SWF, the child SWF's SetBackgroundColor tag takes effect. This is anticipating adding a `bgcolor` option to the web builds, allowing the HTML embed to override the bgcolor. |
||
---|---|---|
.. | ||
assets | ||
macros | ||
src | ||
tests | ||
Cargo.toml |