How to make a Flash movie with a transparent background

This page from Adobe says to add the "wmode" parameter and set its value to "transparent": http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1420

This works flawlessly in IE. The background displays correctly in Firefox and Safari, however, as soon as you use the scroll bar of the browser, then hover over the Flash control, you must click once to activate the control. You can see this behavior if you try to click the play button in the Adobe example.

Does anyone know about this?

+3
source share
5 answers

Do you know that you can set the background color when embedding?

/ . param, :

bgcolor - [ RGB] #RRGGBB. . , , Flash. HTML-.

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&sliceId=1

+1

; wmode . , (flash ) Firefox ( 2.0). ALT , , wmode .

, html- - ( , , ) wmode = transparent - .

+2

(wmode =) - , . .

flash ? , scollbar, .

, FF IE.

0

Adobe "" Firefox 3.0.1 , . Firefox 3.0.1 Safari 3.1.2 , .

0

, @grapefrukt. wmode , , , .

. ActionScript .

var parameters:Object = LoaderInfo(this.root.loaderInfo).parameters;
opaqueBackground = parameters["background-color"];

EDIT: @grapefrukt bgcolor ( ActionScript )

0

Source: https://habr.com/ru/post/1696389/


All Articles