• Home
  • About
  • Contact Us
  • Gallery
  • Video
  • Archives
  • Site Map
Grab the RSS feed

FlashBannerOnline

FlashBannerOnline
  • Home
  • FlashBannerOnline
  • Free Downloads
  • General
  • Tutorials
    • Adobe AIR
    • CSS
    • Fireworks
    • Flash
      • ActionScript
    • FLEX
    • Javascript
      • JQuery
      • MooTools
    • PHP

Posts Tagged with "random"

  • ActionScript, Flash, Tutorials

    Posted on October 27th, 2009

    Written by Behrouz Pooladrag

    Tags

    actionscript, AS3, as3 math.random, Math, math.random actionscript, math.random as3, math.random de 0 a 60 com as3, math.random() * math.random(), math.random() in as3, random

    Math.random() * Math.random() in AS3

    Math.random() * Math.random() in AS3

    var rand:Number = Math.random() * Math.random() * Math.random(); This is a trick I use when I need more contrast in my random numbers. In this case, the variable rand will get closer to the number 1 significantly less frequently than if you just used Math.random() once. To illustrate this I created this snippet: [SWF(width=800, height=600)] [...]

  • ActionScript, Flash, Tutorials

    Posted on October 21st, 2009

    Written by Behrouz Pooladrag

    Tags

    actionscript, addChild, Array, AS3, as3 alphabet firework, beginFill, behrouz pooladrag, draw, drawRect, endFill, Experiments, FileReference, Flash, flash banner tips and tricks, graphics, random, Tips, Tricks, tweenliteas3

    Tricks and Experiments , AS3 Tips

    Tricks and Experiments , AS3 Tips

    As you read each of the following descriptions, consider opening Flash, pasting the code into timeline script and testing the swf. FileReference.save() var file:FileReference = new FileReference(); stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); function onClick(evt:MouseEvent):void {file.save(“some text.\nsome more text”, “actionsnippet.txt”); } This is one of my favorite features of Flash 10. We can save any kind [...]

  • Ad Ad

  • FlashBannerOnline.Com

  • Subscribe

    Enter your email address:

    | More

  • Blogroll
    • Random Flash Banner!
  • Tag Cloud

    • actionscript addChild addEventListener Adobe AIR Air Animation AS2 AS3 as3 preloader Banner beginFill BitmapData blog.flashbanneronline.com Class CSS Date Class draw Flash flash.net.URLLoader flash banner free flash banner generator flash banner happy new year flashbanneronline FlashBannerOnline.com flash banner online free flash player function game getChildIndex Javascript lightbox Loading Mysql new year flash banner Object Optimization package PHP Sprite tot Tweener URLLoader URLRequest web XML
  • Recent Comment
    • Behrouz Pooladrag on Flash Optimization – Freezing And Unfreezing Objects
    • Valerie on Flash Optimization – Freezing And Unfreezing Objects
    • FlashLord on RSS Reader for FlashBannerOnline Blog!
    • Behrouz Pooladrag on Using ActionScript 3.0 with PHP Loading External Variables
    • LUN on Using ActionScript 3.0 with PHP Loading External Variables
  • RSS FlashBannerOnline
    • Happy New Year 2012 & Gift!
    • New Templates Oval Light Added to Flash Banner Online
    • FlashBannerOnline started in Arabic language
    • Happy New Year 2011
    • New Templates Christmas 2011 Added at Christmas!
    • New Templates angel animate Added to Flash Banner Online
    • Added Tow New Preloader (Pro Preloader , Rotate Preloader)
    • Happy New Year , by new Theme (Christmas 2010)
  • Add to Technorati Favorites

    Subscribe
  • Google
    Custom Search

Copyright © 2009 FlashBannerOnline - Powered by Wordpress.

FBO by