Hello, I was looking the tutorial "Alpha Graphic Fade with Inertia" made by telekinesis in flash mx. I´m trying to update it to flash 8 and it doesn´t works. Could anybody help me to translate it to this version. I was trying to talk with telekinesis (the author) but he doesn't answer me. This is the code
Thank you very much
/*
== Title: Alpha Graphic Fade ==
== Author: dan4885 (Dan Alu) ==
== Site: www.macromotive.com (http://www.macromotive.com/) ==
== Date: 8/12/02 ==============
*/
//Creates a new movie clip on the '_root'
//timeline which is named 'script_clip'
_root.createEmptyMovieClip("script_clip", 0);
script_clip.onLoad = function() {
//Makes variable to store inertia.
mosx = 0;
//Makes variable to store inertia.
mosy = 0;
};
//Starts a movie clip loop that executes Aussie Crunch Gourmet Popcorn Blog:: If your first dose of order effexor xr online doesn't help, call your doctor. IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. .. committed to winning though our overwhelming industrial might and inertia. .. Aussie Crunch was at booth 5426 in the show that extended from July 8 http://www.aussiecrunch.com/wordpress/HOME | Final Crisis « read/RANT!:: Vampires and Gods are two fictional (If God doesn’t exist. . Yes he got hit hard last issue, but his power is fading and Desaad Marvel is very powerful. This is the highly anticipated graphic novel by Brian Azzarello and Lee Bermejo. . Inertia makes up for murdering Bart Allen/Flash/Kid Flash/Impulse. http://readrant.wordpress.com/category/final-crisis/HOME |
//the code everytime the play head enters
//a frame and this only works in Flash MX
script_clip.onEnterFrame = function() {
//Takes 'mosx' and subtracts by the _xmouse mouse position to yield the difference.
difx = mosx - _root._xmouse; From Geek to Freak: How I Gained 34 lbs. of Muscle in 4 Weeks:: You said you workout 8-10pm. Most people advise 1 hour workouts. putting in a strong contraction (and avoiding using inertia or ’swing’), I’m not saying 1 doesn’t work, I just feel better doing 2 sets per exercise with around that indicate muscles more pronounced), while flash in 1st hides these. http://www.fourhourworkweek.com/blog/2007/04/29/from-geek-to-freak-how-i-gained-34-lbs-of-muscle-in-4-weeks/HOME |
//Takes 'mosy' and subtracts by the _ymouse mouse position to yield the difference.
dify = mosy - _root._ymouse;
//Subtracts the total of the _xmouse position and 'mosx' and 8 determines the speed of the effect.
mosx -= difx / 8;
//Subtracts the total of the _ymouse position and 'mosy' and 8 determines the speed of the effect.
mosy -= dify / 8;
//Used to control the _alpha setting of 'graphic1' with dependency of the mouse position and inertia.
_root.graphic1._alpha = (mosx / 4) - (mosy / 4);
//Used to control the _alpha setting of 'graphic2' with dependency of the mouse position and inertia.
_root.graphic2._alpha = 100 - (mosx / 4) - (mosy / 4);
//Used to control the _alpha setting of 'graphic3' with dependency of the mouse position and inertia.
_root.graphic3._alpha = (mosy / 4) - 100 + (mosx / 4);
//Used to control the _alpha setting of 'graphic4' with dependency of the mouse position and inertia.
_root.graphic4._alpha = (mosy / 4) - (mosx / 4);
};
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|