The eternal question, and one which has plagued Flash Forum goers for millenia, or at least e-millenia. Well, I have finally stumbled upon a solution for anyone with this dilemma, and based on the words of Conquerer Denvish VII Himself:
At 2/3/06 03:56 PM, Denvish wrote: I really do recommend that people only write tuts that are
a) totally unique...
or
b) cover an oft-asked-in -the-Flash-forum question.
have decided that this falls quite neatly into both catergories. So, without further ado, here is the script! Post this on the last accessible frame of your movie or game.
that last sentance rhymed :)
var pn_date:Date = new Date();
var pn_timefactor:Number = pn_date.getHours() + (pn_date.getMinutes() > 30);
var pn_posfactor:Number = Math.round(_root._xmouse/200) + Math.round(_root._ymouse/150);
var pn_movfactor:Number = _root._getBytesTotal() + _root.currentFrame;
var pn_typefactor:Number = ((pn_movfactor + pn_posfactor) * pn_timefactor) % 4;
if (pn_typefactor == 0){
trace("You should use Motion Tweening")
}else if (pn_typefactor == 1){
trace("You should use Frame by Frame")
}else{
trace("You should use a combination of Frame by Frame and Motion Tweening")
}
This will tell you in quite plain English what the best style to use ofr the remainder of your movie is. The answer is unique to your particular situation and document! The script is so complex that and mind less powerful than my own will explode before comprehending it, and even the greatest Flash minds will mistake it for a basic or even, dare I say, bullshit bit of code which solves nothing. Listen not to them, my friends. They will lead us to destroy our one chance of enlightenment!
So, in conclusion, the code = good.
>:|
