Copy link to clipboard
Copied
If possible:
Thank you
Copy link to clipboard
Copied
1. You could use a mask that is the size of the bordered area and use it for the background image.
2. After you import an image into the library you can select it as a fill in your color panel. Just choose the bitmap option in the fill selection drop down of the color panel - normally it defaults to "Solid color" as shown, but there is a bitmap option at the bottom of that drop down
Copy link to clipboard
Copied
Ned,
More details to hopefully describe better the issue.
This is an empty .swf floor plan pulled out from SQL server.
Then a floor matching query in ASP file creates all flooring samples per each room and put them in a XML file.
And .as3 included file inserts each room with the flooring samples.
It can be seen how room 1 is bigger than the sample, room 2 extends outside floor plan and room 3 can be seen in the wall(s) gaps.
Of course this example uses a single color sample for simplicity.
I would love to clip any sample within each room ONLY.
And tile them if the room is bigger than the sample.
Thank you for your time
TK
for each (var Product:XML in myXML.product)
{
if(Product.@fileID!="")
{
var imageLdr:Loader = new Loader();
imageLdr.load(new URLRequest("820.jpg"));
for each (btn in Product.room)
{
myButton = getChildByName("btn_" + btn.@number);
if (myButton != null)
{
myButton.addChild(imageLdr);
}
}
imageLdr.unload();
}
else
{
trace("Not found");
}
}
<?xml version="1.0" encoding="ISO-8859-1" ?>
</product>
</product>
</product>
</product>
</product>
</floor>
Find more inspiration, events, and resources on the new Adobe Community
Explore Now