limweb / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

Embedded swf background image scaling problem with CSSSkin #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

background-size:100% withought CSSSkin takes the swf, and sizes it to fill 
the shape, but with the CSSSkin, it reverts to the height and width of the 
asset, and does not scale.

.sunUp
{
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
    background-image: Embed(source='assets/backgrounddaytime.swf', 
symbol='daytimebackground');
    background-size: "100%";
}        

.sunUpBug
{
    borderSkin: ClassReference("com.degrafa.skins.CSSSkin");    
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
    background-image: Embed(source='assets/backgrounddaytime.swf', 
symbol='daytimebackground');
    background-size: "100%";
}        

Works, except the background repeats, instead of covering the whole       

What is the expected output? 
The first hbox without the CSSSkin shows the expected scaling

What do you see instead?
a non scales swf

What version of the product are you using? On what operating system?
Beta 3.1

Original issue reported on code.google.com by hunter...@gmail.com on 29 Jun 2009 at 9:32

Attachments: