Search…

X3 Photo Gallery Support Forums

Search…
 
mitov
Topic Author
Posts: 15
Joined: 20 Oct 2011, 08:19

multiple background png problem

20 Oct 2011, 09:29

Hi,

I am trying to overlay two backgrounds on the theme using the control panel. Basically, as background 1 i have a repeating pattern. As background two, i have a semi transparent png file which is on repeat-x. However, this does not display properly, as the background of the PNG is simply white, not transparent. The file i have uploaded is correct.. it has a transparent background.

My question, how can i make the background colour of background_2 transparent, not white.

Regards,

M.
 
mitov
Topic Author
Posts: 15
Joined: 20 Oct 2011, 08:19

Re: multiple background png problem

20 Oct 2011, 09:53

I think the problem arrises when i set the background to repeat...

....

EDIT:

Yes, the problem only arrises when i set the background to repeat. When its on no-repeat, its fine. How can i resolve this problem?

Regards,

M.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: multiple background png problem

20 Oct 2011, 21:48

mitov wrote:Yes, the problem only arrises when i set the background to repeat. When its on no-repeat, its fine. How can i resolve this problem?
Unfortunately, this might not be solvable. Why? Because for repeating backgrounds, we must use a special native "draw" function in actionscript, which first copies the PNG file and then creates a repeated canvas for it. Unfortunately, it disregards transparency ...