|
Nov 02
|
sin, cos, tan….. Mathematical calculation can really be the pain in the xxx !!! :S.
Something tells me I need to really brush up my trigonometry knowledge. Need to get some math readings…..
sin, cos, tan….. Mathematical calculation can really be the pain in the xxx !!! :S. Something tells me I need to really brush up my trigonometry knowledge. Need to get some math readings…..
In AS3 we use addchild to relate the objects in AVM to the rendering display. When we create a mc or shape in actionscript, the virtual object only exist in AVM. Only after we “addchild” them to the root stage, or the existing “displayable” object, they can be rendered on stage. 1. Create mc/shape/sprite.
http://www.adobe.com/openscreenproject/ Adobe finally did some major reaction towards M$ Silver/Mmoonlight. It was like swearing “I want flash/AIR to be EVERYWHERE!” Open-source is like every geek’s backyard garden. With the removing of restriction on swf and flv/f4v, flash running on linux will be much smoother. And this will certainly encourage the Flash/Flex/AIR developers to work more energetically on their work/career. Great news it is. But we still need to see how the community react to this.
Installed wp 2.5 earlier, and then wanted to do some tweak with my desktop(currently ubuntu 8.04 alpha 4). Installed Mac fonts, themes and icons Well, now it’s looks much like Mac OS. As for the pack, you may search for “Mac4linux” in google. Another update – wine-doors 0.1.2 released (actually released in Jan). Last time when I tried the 0.1.1 version, the downloading process was not clearly stated. Therefore after I chose “Flash 8″ to install, it took me more than half an hour before finally decided to kill the process without knowing whether it’s really “in progress”. This time, the most significant improvement is that there is a installation percentage indicator for each application. That helps a lot! I have successfully made Flash Professional 8 working on my rig just now. wula!
Flash程序员的八层境界 第一层,无代码境界.此为初级,学会了点儿Graphic,motion,mask,guide动画后就开始制作MV的人属此境界.不会用任何代码,把动作面板看作禁地. ****************************************************** Copied from 江瑶Blog. I like this blog very much btw. Very informative, frequently updated. Anyway, I am at level 1 @ the year of 2002-2003. Just a little kid in this area. At year 2004~2006 I kinda upgraded to level 2, and did several flash clips for friends and hall events. In March 2007 I found my current job in Learning Edvantage, and did 1.5k lines of AS code on my first project (total naive coding). That is when I reached the 3rd level. Spending 3 month in this company, I jumped to level 5. And studied how to write components, though soon found out that it’s not really practical on my work-ground. Slacking for another 2 month and studying php-mySQL and mainly ASP.NET+MSSQL. Now most of the time doing crappy work, at the same time exploring level 7. 学无止境。
_global.queryload = function(clip, intervalname) { clip.bytes_loaded = Math.round(clip.getBytesLoaded()); clip.bytes_total = Math.round(clip.getBytesTotal()); trace(clip.bytes_loaded + " / " + clip.bytes_total); if ( clip.bytes_loaded == clip.bytes_total ) { trace("done"); trace(_root[intervalname]); clearInterval(_root[intervalname]); }
}
// To check internally, call it this way:
// preloader = setInterval(queryload, 500, this, "preloader"); // To check externally, call it this way:
// container.loadMovie("catnap.jpg");
// preloader = setInterval(queryload, 500, container, "preloader");
************************************************************* A smart way to do the preloading in flash, quite useful.
Today found out something strange at work. In flash 8 (prof.), if we set a dynamic text box with embedded font, it’s better not to set the “letter spacing” property of the text box. It turned out the proper font could not be displayed. I am not sure if it’s the flash 8 or AS2 problem. Please enlight me if you know the solution |
Categories
|
Recent Comments