Quantcast
Channel: Adobe Community: Message List - Flash Catalyst
Viewing all articles
Browse latest Browse all 180

Re: off stage object's

$
0
0

The question is how you want your content to be displayed? If you want to hide the offscreen elements, you can do that by editting the html output. By default it will use 100% as values for the width and height. Here is a simple sample with an offscreen yellow ball.

Screen Shot 2012-11-19 at 8.31.14 AM.png

Note the ball is shown, when it should not be and the entire page is white. The background color of the html is set to #ccc.

 

Now by editing the width and height values in the html file to match the stage's defined values, I get this:

Screen Shot 2012-11-19 at 8.30.08 AM.png

As you can see, no yellow ball and the html is showing it's bg color. There are 3 references to the width and height in the file so make sure you adjust all 3.

 

Hope this helps,

 

 

Chris


Viewing all articles
Browse latest Browse all 180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>