
Welcome Guest
|
#1
|
|||
|
|||
|
How to stop a clip from trailing the mouse
Hello,
I have a real cool flame effect that I want to make stationary. I cannot figure out how to make the clip work correctly but simply not follow the mouse around. Any ideas? here is the script _quality = "low"; // __ try adjusting these values for different effects.. __\\ // __ NOTE: some changed values may not have effect, // ... other values may need to be adjusted for effect to be seen__\\ /:Smoke_amount = 12; /:Fire_amount = 8; // ____ Y off-set ________\\ /:Smoke_Y_offset = -12; /:Fire_Y_offset = 3; // __ X fluctuation amplitude _____\\ /:Smoke_X_amp = 12; /:Fire_X_amp = 5; // __ Speed of rise ....... // __ 0 = Stationary // __ Negative value = descend /:Smoke_riseSpd = .18; /:Fire_riseSpd = 5; // __ rate of dissipation _______\\ /:Smoke_fade_rate = 1; /:Fire_fade_rate = 18; // __ point in which fire restarts at Ymouse coord__\\ /:Fire_resart = 32; // __ Rate of growth .. // __ (0 = No Growth) (Negative Value = Shrink) /:Smoke_grth_rate = 3; /:Fire_grth_Xrate = -4; /:Fire_grth_Yrate = -4; // __ rotation rates & amplitudes _______\\ /:Smoke_rotationRate = 2.3; /:Fire_rotationAmp = 4; // __ Max fire angle when mouse moves X __\\ /:FireAngle_max = 60; // ____ Min & Max sizes ___\\ /:Smoke_size_min = 26; /:Smoke_size_max = 112; /:Fire_size_min = 5; /:Fire_size_max = 100; stop(); |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the best way to do this? | rolento | Newbies |
29 | 12-09-2005 10:12 PM |
| Trying to follow mouse with a movie clip | diabolic | Flash MX 2004 |
3 | 09-21-2005 08:16 PM |
| How to hide and show mouse while a movie clip is moving | crrclark | Flash MX ActionScript |
1 | 11-05-2003 09:24 AM |
| Imported clip won't stop looping | DreamThrall | Flash MX ActionScript |
2 | 09-06-2003 01:51 PM |
| Stop Main Movie to play movie clip before continuing??? | BTP | General Flash | 2 | 07-23-2002 08:27 AM |




