# Swinging Lightbulb

**URL:** https://forum.kirupa.com/t/swinging-lightbulb/4644
**Category:** flash
**Created:** [August 15, 2002, 4:16am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644 "2002-08-15T04:16:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![TheGSB](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TheGSB](https://forum.kirupa.com/u/TheGSB)
#### Post date: [August 15, 2002, 4:16am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/1 "2002-08-15T04:16:50Z")

</div>

Hey Folks,

Ok, I am trying to make a movie clip in which when the user bumps a lightbulb with the mouse cursor, it swings about from a fixed point (the lightbulb is hanging by a string.) The problem is, I have found all of these pendulum tutorials, but none of them speak of fixing the pendulum to a specific point.

So how do I do it? Picture a lightbulb hanging from the ceiling - how do I get the bulb to swing on a 180 degree access?

Many thanks beforehand for all of your help. Later.

---

<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: [August 15, 2002, 2:47pm UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/2 "2002-08-15T14:47:18Z")

</div>

Hey,

I’m certain somebody in this forum knows how to do this. I’m just trying to bump it up the list a little. Please help! Thanks.

---

<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: [August 18, 2002, 1:44am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/3 "2002-08-18T01:44:34Z")

</div>

Did I stump the forum?

---

<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: [August 18, 2002, 2:20am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/4 "2002-08-18T02:20:18Z")

</div>

You stumped me, I tried it and got the “bulb” (i used a standard circle) to swing, but when I attached a line, it definitely didn’t work right. I will try some more, but I can’t guarantee anything because I am a newbie.

---

<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: [August 18, 2002, 2:33am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/5 "2002-08-18T02:33:42Z")

</div>

Lostinbeta how is it possible you consider your self a newbie, you have a response for almost every question posted on this forum? Your definitely not a newbie.  
Your probably along with Pom,Immontoya,Kirupa and David the best scripters on this forum. Don’t consider yourself a newbie, cause your not, unless of course you mean to this specific topic, then maybe but still.

Kyle:)

---

<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: [August 18, 2002, 3:06am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/6 "2002-08-18T03:06:59Z")

</div>

HAHA, believe it or not, I really am a newbie. I am nowhere near the upperclassmen here such as Pom,Immontoya,Kirupa and David.

I have only been coding Since about June 2002. I am just a fast learner in some cases. My main department is Graphic and Web Design. I know web design languages such as HTML, Javascript, DHTML, and I am learning PHP right now. So I tend to help out with the website questions more.

I hope to be \<I\>almost\</I\> as good a coder as Kirupa, Pom, Dan, David, Iammontoya, etc in the future.

---

<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: [August 19, 2002, 2:56am UTC](https://forum.kirupa.com/t/swinging-lightbulb/4644/7 "2002-08-19T02:56:45Z")

</div>

> \*Originally posted by TheGSB \*  
> **The problem is, I have found all of these pendulum tutorials, but none of them speak of fixing the pendulum to a specific point.**  
> It shouldn’t be too difficult to manage if you have the pendulum equation. So what’s your code so far?

pom :asian:
