ActiveDen

Tiled Background (AS3) - full screen toggle button

  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Romania
  • Referred between 10 and 49 users
fifty_tons says

nice background, although 5 bucks is a bit expensive for only one background.

4 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
mccoy says
Purchased

Thanks for the great background. How do I keep the .swf centered as I scale the html? It currently hugs the left-hand side.

4 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

Hi…

The bit that hugs the left hand side is actually just a static graphic which was meant for the small preview box above. It’s not coded to centralise in the background file, but is really easy to center content.

All you need to do is just create a movie clip from your content, and set the instance name to (eg) ‘myContent’. Then in your ‘drawbgd’ function, add the following at line 36…

myContent.x = stage.stageWidth/2; myContent.y = stage.stageHeight/2;

Thanks for the purchase, and please rate if you like it. Any further questions, don’t hesitate to ask or contact me through http://activeden.net/user/pointguard

4 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
shughes says
Purchased

Great file. I’m looking to remove the gradient(which I did) and add a second tiled background over the top of the first one. This second background is meant to be full stage width and 442 pixels high. Can’t seem to get a second rectangle drawn with a second bitmap tile. Any help? Thanks much.

4 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

Create a holder mc and add the new tile background to that, then just use myHolder.width = stage.stageWidth; myHolder.height = 442;

should work, but not got time to chec that right now…will post back later if it doesn’t work…

thanks for the purchase… :)

4 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

thanks again for the purchases and rates of this file everyone :)

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
absolud says
Purchased

Nice add on for my project. I’d converted your script to a class and it works just fine. I am wondering if i need to cache it as a bitmap for animated content wich will be loaded ontop of it? havent tested it yet.

Tnx

3 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

Thanks absolud

3 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Canada
horvath says
Purchased

Hi, Thanks very much.What a great background,Love it!!!

3 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

Hi horvath,

thanks very much for the purchase and feedback, glad you like it! :) good luck with the project you are using it for…

Jeff

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
wizeguy57 says
Purchased

Great BG. I’m a bit new at all of this and don’t know how to place my content within the Main. FLA file so that it is centered and transparent. Do I make it a movie clip? And how do I center it within the BG.

Please help, I have a client on my a** and need to figure this out.

Nick

3 years ago
Author
JeffOakley JeffOakley replied

Hi Nick
Thanks for the purchase.

To place your content in the main.fla…

Create a holder movie clip for your content. Name it ‘holder’ and give it the instance name ‘holder’. If your loading external movies into the clip, make sure you use holder as the name of the target clip you load into.

Then, just put

holder.x = (stage.stageWidth – holder.width) / 2;
holder.y = (stage.stageHeight – holder.height) / 2;


in the drawBgd function in the main code…

Thanks Jeff

3 years ago
Purchased
Default-user wizeguy57 replied

Jeff, could you please give me a call or send me an email.

I can’t seem to get it right.

Nick

nick@weissmanstudio.com 818-219-0111

3 years ago
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
JeffOakley says
Author

Hi Nick Please check your email for a modified file for you…

Thanks Jeff

3 years ago

by
by
by
by
by