# Lighting effect help

**URL:** <https://forum.kirupa.com/t/lighting-effect-help/22171>\
**Category:** flash\
**Created:** [May 31, 2003, 1:12pm UTC](https://forum.kirupa.com/t/lighting-effect-help/22171 "2003-05-31T13:12:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Domitrix](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@Domitrix](https://forum.kirupa.com/u/Domitrix)\
**Post date:** [May 31, 2003, 1:12pm UTC](https://forum.kirupa.com/t/lighting-effect-help/22171/1 "2003-05-31T13:12:30Z")

</div>

I need help creating the lighting effect as shown here  
[http://www.kirupa.com/developer/flash5/lightingmask.htm](http://www.kirupa.com/developer/flash5/lightingmask.htm)

That tutorial only shows how to create that effect on text (created in flash)… but I want to know how to do it on images **that were created in another program** such as Photoshop

I would appreciate it if anyone could tell me how to get this effect in my image… I want the light to move a long one of the tubes…

[http://planet.time.net.my/bukitbintang/lijuen/sig7.JPG](http://planet.time.net.my/bukitbintang/lijuen/sig7.JPG)

---

<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:** [May 31, 2003, 1:38pm UTC](https://forum.kirupa.com/t/lighting-effect-help/22171/2 "2003-05-31T13:38:41Z")

</div>

well what you should do is set up different mask for different tubes (eventually on different layers or depths), and then apply a moving mc on each mask…

ill post something if i have time to 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:** [May 31, 2003, 2:28pm UTC](https://forum.kirupa.com/t/lighting-effect-help/22171/3 "2003-05-31T14:28:00Z")

</div>

\<embed src=http://membres.lycos.fr/mlkdesign/kirupa/lights.swf height=80 width=348 type=application/x-shockwave-flash\>

there ya go here’s the fla [http://membres.lycos.fr/mlkdesign/kirupa/lights.fla](http://membres.lycos.fr/mlkdesign/kirupa/lights.fla)

basically what i did is play with shapes so they would look like the pipes underneath them and turned each into masks that applied on some tweens…

\*\*\*\*s looks like my footer doesnt werk… stoopid server…

---

<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 1, 2003, 9:42am UTC](https://forum.kirupa.com/t/lighting-effect-help/22171/4 "2003-06-01T09:42:25Z")

</div>

oh and btw im not sure you can create the masks precisely outside of flash… A good solution though would be to make a normal image and create a vector image with it in photoshop and export that to flash - which might then help you do the mask (so they fit closely to the borders of the pipe)

---

<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 3, 2003, 10:35am UTC](https://forum.kirupa.com/t/lighting-effect-help/22171/5 "2003-06-03T10:35:02Z")

</div>

THXX!

That helps alot!  
I will experiment more and see if i can do it myself
