cool
nice bg’s… question though… in the help file, where exactly do I put that code so that the bg tiles? thanks!
- Has been a member for 4-5 years
- Author was Featured
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
- Bought between 10 and 49 items
- United States
- Referred between 50 and 99 users
Place it in the first frame because we want to fill the bg first …and add fillBG(); to run the function.
hmm… I think I’m doin something wrong… this is the file I’m using:
http://activeden.net/item/design-studio-template-01-xml/4442
I’m trying to add the tiled bg to the area enveloping the content and when I place the fillBG() code in the first frame, it tiles within the stage area only. I’m sure I’m just overlooking something very basic here…
- Has been a member for 4-5 years
- Author was Featured
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
- Bought between 10 and 49 items
- United States
- Referred between 50 and 99 users
try placing it in the movie clip of the object instead of the frame. You may need to convert it to a movie clip first.
It can get tricky with other users templates… especially DS’s 
I was perplexed at how to make it fill with my background. Your code didn’t work until I add this line after it.
var bg:String = “name of your tile”; fillBG(bg);
Other than that, works great!
I’m working with full screen and I can’t get it to extend in the width. The height is fine. Any suggestions?
- Has been a member for 4-5 years
- Author was Featured
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
- Bought between 10 and 49 items
- United States
- Referred between 50 and 99 users
bridgepin: Yes.. Sorry about that. Thanks for including that. I cant believe I didnt include that. .. for the full screen issue your having, I probably would need to see how you have it set up. Did you include any special code? You can email me via my den: http://activeden.net/user/fisch79 ... thanks.
Hi fisch,
Sorry about the delay, the world got in the way. At any rate, here’s the workaround for the full screen I used.
import flash.display.BitmapData;
cover._x = Stage.width / 2; cover._y = Stage.height / 2;
var tile:BitmapData = BitmapData.loadBitmap(“tile0”
;
function fillBG() { this.beginBitmapFill(tile); this.moveTo(0,0); this.lineTo(Stage.width,0); this.lineTo(Stage.width,Stage.height); this.lineTo(0,Stage.height); this.lineTo(0,0); this.endFill(); }
fillBG();
var stageL
bject = new Object();
stageL.onResize = function() {
fillBG();
cover._x = Stage.width / 2;
cover._y = Stage.height / 2;
}
Thanks again, I love your backgrounds!!

28 Purchases
10 Comments