My first finished 100% actionscripted flash app.
August 18th, 2005
I am excited to show off My first finished 100% actionscripted flash app. though crude, I will massage it but I wanted to put it up. Oh it using the lates flash 8 actionscript not out to the general public. I modified it from: http://www.osflash.org/doku.php?id=flashcoders:undocumented:flash-7-export-to-flash-8
here is the code
//————–origninal from: http://www.osflash.org/doku.php?id=flashcoders:undocumented:flash-7-export-to-flash-8
// if anyone knows how I can make this reverse the blur I would appreciate it.function blurChange():Void {
if (nTimes >= 20) {
trace(nTimes);
dropShadow.blurY = nTimes-=2;
txtField.filters = [dropShadow];
txtField.htmlText = “The Horror”;
}
else if (nTimes = 20) {
dropShadow.blurY = nTimes+=2;
txtField.filters = [dropShadow];
txtField.htmlText = “The Horror”;
//clearInterval (nInterval);
}}
var nTimes:Number = 100;
var nInterval:Number = setInterval(blurChange, 100);// create textfield
this.createTextField(”txtField”, this.getNextHighestDepth(), 50, 100, 500, 800);
txtField.html = true;txtField.textColor = 0×000000;
// set new antialias mode
txtField.antiAliasType = flash.text.TextRenderer.AntiAliasType.ADVANCED;
// create shadow filter
var dropShadow = new flash.filters.DropShadowFilter();
dropShadow.blurX = 1;
dropShadow.blurY = nTimes; //var from problem
dropShadow.distance = 3;
dropShadow.angle = 35;
dropShadow.quality = 4;
dropShadow.alpha = 75;
// apply shadow filter
txtField.filters = [dropShadow];
Last 5 posts in actionscript
- HOWTO Create a Facebook App using FlexBuilder - June 24th, 2009
- Roman Numeral/Arabic Convertion AIR App - Johnny V Now Available - December 25th, 2008
- How to convert Roman Numerals and Arabic numbers in ActionScript 3 - December 17th, 2008
- Using Flash Player 10 to produce Dynamic Musical Notes - May 20th, 2008
- Flash Player 10 Dynamic Sound Generation - May 20th, 2008
Last 5 posts in flash 8
- The funniest commerial - September 26th, 2005
- The Horror Update (required flash 8 beta) - August 22nd, 2005
Entry Filed under: actionscript, flash 8
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
Trackback this post | Subscribe to the comments via RSS Feed