# Way to show stage if image covers it?

**URL:** <https://forum.kirupa.com/t/way-to-show-stage-if-image-covers-it/204932>\
**Category:** flash\
**Created:** [October 24, 2006, 6:57pm UTC](https://forum.kirupa.com/t/way-to-show-stage-if-image-covers-it/204932 "2006-10-24T18:57:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratherblue](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ratherblue/32/2052_2.png) [@ratherblue](https://forum.kirupa.com/u/ratherblue)\
**Post date:** [October 24, 2006, 6:57pm UTC](https://forum.kirupa.com/t/way-to-show-stage-if-image-covers-it/204932/1 "2006-10-24T18:57:19Z")

</div>

Quick question: Is there a way to show the outline of the stage after an image has covered it?

I made a simple example for forum purposes…

Lets say I want to make this pumpkin guy bigger:  
[http://www.seventhstorm.net/pumpkin1.jpg](http://www.seventhstorm.net/pumpkin1.jpg)

Now on the last frame, his head is too big and I can’t tell where the stage is!  
[http://www.seventhstorm.net/pumpkin2.jpg](http://www.seventhstorm.net/pumpkin2.jpg) (\*\*\*The blue outline is something that _I_ drew)

Is there a way to make the outline of the stage show, like I have on the second image?

---

<div class="post-metadata">

**Author:** ![hetlicht](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hetlicht](https://forum.kirupa.com/u/hetlicht)\
**Post date:** [October 24, 2006, 7:10pm UTC](https://forum.kirupa.com/t/way-to-show-stage-if-image-covers-it/204932/2 "2006-10-24T19:10:32Z")

</div>

could you maybe create an outline of the stage manually and use this code to control the alpha?

MovieClip.prototype.fadeTo = function(value, speed) {  
this.onEnterFrame = function() {  
this.aV = Math.floor(value-this.\_alpha);  
this.aV ? this.\_alpha += this.aV/speed : (this.\_alpha=value, delete this.onEnterFrame);  
};  
};  
//example useage  
dim.fadeTo(100, 10);

dim being replaced by whatever the name of your movieClip is.

---

<div class="post-metadata">

**Author:** ![ratherblue](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ratherblue/32/2052_2.png) [@ratherblue](https://forum.kirupa.com/u/ratherblue)\
**Post date:** [October 24, 2006, 7:55pm UTC](https://forum.kirupa.com/t/way-to-show-stage-if-image-covers-it/204932/3 "2006-10-24T19:55:32Z")

</div>

Hrmm, I suppose that might work. I dug around and I didn’t see an option to highlight the frame ☹ They should really add that…
