# Win.Shadow

**URL:** <https://forum.kirupa.com/t/win-shadow/23637>\
**Category:** Uncategorized\
**Created:** [June 20, 2003, 12:07pm UTC](https://forum.kirupa.com/t/win-shadow/23637 "2003-06-20T12:07:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wayne/32/16501_2.png) [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Post date:** [June 20, 2003, 12:07pm UTC](https://forum.kirupa.com/t/win-shadow/23637/1 "2003-06-20T12:07:43Z")

</div>

How to creat a simple window with a shadow in flash mx, Im not sure about where to post this but, I posted it here becouse its for drawing…

Please see the Attch. image

Thanx :tb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 12:23pm UTC](https://forum.kirupa.com/t/win-shadow/23637/2 "2003-06-20T12:23:55Z")

</div>

If you have PhotoShop, it can be done using the Blur filters and then importing the image into Flash. If you don’t have PhotoShop (or any program alike), you might wanna try doing that by playing around with the color mixer. From Gray-70% alpha to Gray0% alpha should do it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 12:26pm UTC](https://forum.kirupa.com/t/win-shadow/23637/3 "2003-06-20T12:26:36Z")

</div>

well if I do it in Photoshop then It is not easy to edit in flash mx right ?  
And I tried the Colormixer but it was very bad done. :sigh:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 12:37pm UTC](https://forum.kirupa.com/t/win-shadow/23637/4 "2003-06-20T12:37:42Z")

</div>

No, if you import an image you can’t edit it anymore in Flash itself. You can though when you’ve got Fireworks MX, but that’s not actually in Flash, but it’s useful. The image opens in Fireworks MX then and there’s an update button, so the changes you made are automatically added to the image in the Flash library. But if you don’t, you’ll just have to change it in PS.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 12:55pm UTC](https://forum.kirupa.com/t/win-shadow/23637/5 "2003-06-20T12:55:36Z")

</div>

just do a blurred gray box (that would act like the shadow) and put a white box (or with a gradient i couldnt see well) in flash over that pic… that should do the job, and shouldnt be too ugly when you resize it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 1:31pm UTC](https://forum.kirupa.com/t/win-shadow/23637/6 "2003-06-20T13:31:19Z")

</div>

can you do an exaple for me please. Im trying but its very ugly:sigh:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 3:39pm UTC](https://forum.kirupa.com/t/win-shadow/23637/7 "2003-06-20T15:39:28Z")

</div>

alright here it goes… ok the drag thingy doesnt werk right i didnt have time to think it enough but it should do the job:  
\*\*look at this link: \*\*[http://membres.lycos.fr/mlkdesign/kirupa/shadbox.swf](http://membres.lycos.fr/mlkdesign/kirupa/shadbox.swf)

here’s the fla: [http://membres.lycos.fr/mlkdesign/kirupa/shadbox.fla](http://membres.lycos.fr/mlkdesign/kirupa/shadbox.fla)  
and the shadow pic:[http://membres.lycos.fr/mlkdesign/kirupa/shadow.jpg](http://membres.lycos.fr/mlkdesign/kirupa/shadow.jpg)

It works OK when the ratio aint big (ie width/height , otherwise it looks fuzzy…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 6:55pm UTC](https://forum.kirupa.com/t/win-shadow/23637/8 "2003-06-20T18:55:16Z")

</div>

Thank you very much !

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 8:38pm UTC](https://forum.kirupa.com/t/win-shadow/23637/9 "2003-06-20T20:38:27Z")

</div>

Create a rectangle in Flash (for rounded corners you can select the rectangle tool and in the tools panel it shows an icon at the bottom with a rounded corner)… remove the outlines and select the rectangle shape… go to Modify/Shape/Soften Fill Edges, mess with the settings to achieve what you want.

Well thats at least a method to do it in Flash if you don’t have Photoshop 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 1:35pm UTC](https://forum.kirupa.com/t/win-shadow/23637/10 "2003-06-22T13:35:33Z")

</div>

Thanx Lost. But I do not get a shadow like the attack image. if flash can do it like the image I have, then please add a .fla like mlk.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 6:48pm UTC](https://forum.kirupa.com/t/win-shadow/23637/11 "2003-06-22T18:48:34Z")

</div>

Im too lazy to add any AS, so take it or leave it 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 6:58pm UTC](https://forum.kirupa.com/t/win-shadow/23637/12 "2003-06-22T18:58:31Z")

</div>

that was much easy lost. thank you very much.

but I still dont understand how to do this. :\*(

* * *

Edit\<\<\<\<\<\< Now I know how \>\>\>\>\>\>\>\>Edit

Thank you :A+:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 7:01pm UTC](https://forum.kirupa.com/t/win-shadow/23637/13 "2003-06-22T19:01:55Z")

</div>

lost why do you need to add Action script ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 7:08pm UTC](https://forum.kirupa.com/t/win-shadow/23637/14 "2003-06-22T19:08:35Z")

</div>

You create it by using the rectangle tool in Flash.

Select your color for your fill and set your outline to none (or delete it after you create your rectangle shape in Flash), after you create your rectangle shape click on the fill (rectangle of color) on the stage to select it and go to Modify/Shape/Soften Fill Edges

Mess with the settings there. I believe I used 50px distance, 50 steps, and set it to outset or something like that.

Hit Ok and it will add the softened edges to your fill.

As for the AS, I was joking because mlk made his resizeable and such and I just didn’t feel like doing that.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 9:30am UTC](https://forum.kirupa.com/t/win-shadow/23637/15 "2003-06-23T09:30:48Z")

</div>

okay

thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 2:18pm UTC](https://forum.kirupa.com/t/win-shadow/23637/16 "2003-06-27T14:18:04Z")

</div>

lost. how to customize the color of the shadow ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 4:18pm UTC](https://forum.kirupa.com/t/win-shadow/23637/17 "2003-06-27T16:18:17Z")

</div>

hey lost i had never seen that- that’s one hell of a lot easier…

blast, all you gotta do is change the fill color =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 28, 2003, 7:02pm UTC](https://forum.kirupa.com/t/win-shadow/23637/18 "2003-06-28T19:02:21Z")

</div>

mlk. I whant a white rectangel and a black shadow ?

what I get is a every thing white + the rectangle. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 28, 2003, 11:26pm UTC](https://forum.kirupa.com/t/win-shadow/23637/19 "2003-06-28T23:26:16Z")

</div>

If you want a black shadow use a black rectangle for the “Soften Fill Edges” :-\

Then on the layer above it, create your white rectangle.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 29, 2003, 9:59am UTC](https://forum.kirupa.com/t/win-shadow/23637/20 "2003-06-29T09:59:51Z")

</div>

oh man I was very tierd that day. Thanx Lost.
