Recent News

disabling the yellow tab Borders in Flash

Posted by sortofme on June 29th, 2009

Flash has these bright yellow borders around buttons and other MovieClips, when the user uses his tab keys. I haven’t found a way to change the look of these borders yet, so in the meantime, to have them disabled, I use following short code snippet:


Button.prototype.tabEnabled=false;
for(var obj in _root){
   _root[obj].tabEnabled = false;
   _root[obj]._focusrect=false;
}

mashertest

Posted by sortofme on June 23rd, 2009

ActionScript 3: Using URLLoader to send and load server variables « Tushar Wadekar

Posted by sortofme on June 22nd, 2009

ActionScript 3: Using URLLoader to send and load server variables « Tushar Wadekar

here is the most accurate description on how to send vars to a server script from flash, without opening anew browser window

aborting a loading

Posted by sortofme on June 12th, 2009

In AS3 only, you can now abort a loading operation, before it has completed.
Senocular has written a post about it here.

in summary:

var loader:Loader = new Loader(); var request:URLRequest = new URLRequest(“image.jpg”); loader.load(request); addChild(loader); // abort loading if not done in 3 seconds var abortID:uint = setTimeout(abortLoader, 3000); // abort the abort when loaded loader.contentLoaderInfo.addEventListener(Event.COMPLETE, abortAbort); function abortLoader(){     try {         loader.close();     }catch(error:Error) {} } function abortAbort(event:Event){     clearTimeout(abortID); }

Nasty Yellow Highlight on Buttons When “Tabbing” « Gena’s Blurb

Posted by sortofme on June 8th, 2009

Nasty Yellow Highlight on Buttons When “Tabbing”When you’re in a flash movie and you hit the “tab” button to go from button to button flash likes to put a bright bold yellow highlight around the button that is awfully ugly and annoying. This is how you get rid of that awful yellow highlight that flash produces by default.

movieClipName.tabEnabled = false;

Note: this code will also make the button not “tabbable”. Now when you hit the tab button on the keyboard it will ignore that button all together. You can still utilize it with ‘getfoucus’.

if you have nested moveclips then use this code too:
parentMovieClipName.tabChildren = false;

No more nasty default yellow highlights around anything that is tabbable in your flash movies.

Nasty Yellow Highlight on Buttons When “Tabbing” « Gena’s Blurb

Tweensy, a new slick AS3 animation package goes public`

Posted by sortofme on May 27th, 2009

Tweensy, developed by the notorious “Lost in Actionscript” blog owner Shane McCartney. I am personally a fan of Greensock’s Tweenlite package, and there aren’t any AS3 projects I haven’t used it, but I must say Tweeny is the first one that actually woke my attention. It seems slick, fast, (very fast), and best of all are the effect packages it can be extended with. I also tried out the abilities to tween along complicated motion guides, and must say, I was really waiting for that one!
I will keep a few of my experiments with it posted here, but hey, flash community, there is movement!!

http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/

HAPPY 2009, may this year be flash-properous

Posted by sortofme on January 4th, 2009

There we are, 2009 came around quicker than thought. The end of 2008 turned out quite turbulent, let’s see what 2009 brings for surprises, but my feeling tells me it will be an event rich year. It has just started, so let’s not waste any time, the end of the decade will be around the corner faster than we expect it again.

One of my ambitions I want to accomplish before Februar starts, is a revamp of this Blog. It is in the meantime getting quite a bit of attention, and it is slowly growing from a personal codeDump to a online actionscript and flash related Code reference for a wider community of  online users. 

This is great news, but this also means I have a bit more responsability in making it clearer, more usable, and qualitatively better, to get more interaction from the community, and encourage more discussions and exchange of Knowledge.

Big words for a small Blog.

greetings,

Simon

slim flex tool for creating icons online

Posted by sortofme on January 4th, 2009

http://converticon.com/

small slim flex application where yo can upload your image and convert it into an .ico file.

 

very useful flash / Air / as3 trace and debug tool

Posted by sortofme on November 19th, 2008


A new tool I love using, first it is in AIR, secondly immensely useful, is from Arthropod this little AIR application that let's you trace debug messages even from an embedded swf.

I never was a fan of Adobe's debug flash player, as it sometimes did cause weird behavior, especially after upgrading to FF3. So this little Air app gives you a wide range of functions to organise your debug traces well, including coloring, clearing, even snapshots of current Application, as I said even for in HTML embedded swfs or Air apps.
give it a go:

simply add the class to your source, import and use it:

Actionscript:
  1. import com.carlcalderon.arthropod.Debug;
  2.  
  3. //later:
  4. Debug.log(this+" my debug message" )

there are many other ways to trace, read the documentation for more info

flashvar parameters

Posted by sortofme on October 28th, 2008

I often cam across the issue, especially when working with XML data, that I want to pass on many of the paths used for loading XML or other tyoes of media from the embedding source, rather than hard coding it into my swf. That is fine, but I always run into the problem, that during development, the paths actually used on the server are wwuite unhandy for my IDE development.

Thats why I document here how I usually handle this, by checking whether the file is being served from local, or whther it is on a server:

Actionscript:
  1. if(stage.loaderInfo.url.indexOf("file:") != -1){
  2.     trace("Local");
  3.     _XMLPath ="album1.xml"
  4. }else {
  5.     _XMLPath = root.loaderInfo.parameters.imageXMLPath;
  6.     trace("Server");
  7. }

Recent Comments | Recent Posts


designed and coded by: noesi
bottom