| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Vcam Control Via Mouse; Based on the Infinite Menu | |
|---|---|
| Tweet Topic Started: Apr 27 2005, 03:37 AM (195 Views) | |
| BonzaiRob | Apr 27 2005, 03:37 AM Post #1 |
|
The Demon Plasterer
|
What I need is a VCam where if the mouse moves a certain amount to one side of the stage the Vcam moves too, but there should be a largish gap in the middle so it stops and you can click on stuff within. Here is the coding I have, which does weird glitches:
It moves a little to the left, and once you do left or down it keeps going. Also, I want to be able to stop it when it gets to a certain distance (if (this._x >=-600){stop moving!} or something). Help? I can't bend my brain around the double negatives and stuff in the code... |
![]() |
|
| Mr. Jiggmin | Apr 27 2005, 04:00 AM Post #2 |
|
made of tulips
|
I don't have flash handy at the moment so this might work or it might not.
|
![]() |
|
| BonzaiRob | Apr 28 2005, 04:29 AM Post #3 |
|
The Demon Plasterer
|
It sort of worked after I cleaned it upo a bit, so I've been modifying it... it works now, but the coding probably needs cleaning up.
|
![]() |
|
| BonzaiRob | May 4 2005, 02:22 AM Post #4 |
|
The Demon Plasterer
|
Nuts, I can't edit my own posts. Change the top onClipEvent from load to enterFrame and it works perfectly. |
![]() |
|
| Andros | May 5 2005, 03:21 PM Post #5 |
|
Check my location.
|
Ohhh.... I wondered why it didn't work when I tried it out! |
![]() |
|
| BonzaiRob | May 6 2005, 04:16 AM Post #6 |
|
The Demon Plasterer
|
Hehe, yeah, I discovered load is when it loads and enterFrame is every frame. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Actionscript · Next Topic » |






12:27 AM Jul 12