DIGG IT!
0
Comments
Published
Tuesday, March 30, 2004
at
5:51 AM
.
PRIM is a collection of new primitives for ActionScript that simplify development in AS1 and AS2. If you want to join the Beta, please complete the application below. &
DIGG IT!
0
Comments
Published
Friday, March 26, 2004
at
7:00 AM
.
MCE is a class with static methods to instantiate MovieClips dynamically and bind them to another AS2 Class. &
DIGG IT!
0
Comments
Published
Wednesday, March 24, 2004
at
7:35 AM
.
I never needed it until yesterday but AsBroadcaster supports arguments via broadcastMessage(). &
DIGG IT!
0
Comments
Published
Monday, March 22, 2004
at
3:25 AM
.
Part of the value provided by Macromedia for Central commercial applications is a listing in the Application Finder. I added a listing when Icon Builder 2004 reached 200 installs. Since then, the installation rate is up over 450% at 82 per day. &
DIGG IT!
0
Comments
Published
Wednesday, March 17, 2004
at
2:22 PM
.
Here is a test icon converted from a PNG of me diving in Bonaire. I have just completed server support for JPEG, GIF, PNG, BMP, ICO on import and JPEG, GIF, PNG, BMP, ICO, SWF, EPS on export. Internet access to the CONVERT tools will ship with version 1.4 of Icon Builder 2004. &
DIGG IT!
0
Comments
Published
at
3:09 AM
.
I wish you health, I wish you well, and happiness galore.
DIGG IT!
0
Comments
Published
Monday, March 15, 2004
at
10:17 AM
.
It took 12 days, 14 hours and 0 minutes to reach the first 200 installations of Icon Builder 2004 version 1.3. &
DIGG IT!
0
Comments
Published
at
6:46 AM
.
In order to add new features, Icon Builder 2004 has moved to Iconary.com. &
DIGG IT!
0
Comments
Published
Friday, March 12, 2004
at
10:59 AM
.
Yesterday the Central/Yahoo Payment Account was activated for PowerSDK Software Corp. and the first copy of Icon Builder 1.3 was purchased for $15.
DIGG IT!
0
Comments
Published
at
8:06 AM
.
From AS2 it is difficult to use a common function using implicit "function get" & "function set" getter/setter syntax. Using a common function enables private variables within the getter/setter and avoids duplicate variables. The only way to accomplish this is within the AS2 class constructor, unless there is a solution I don't know about.
//class file Widget.asNow this is far from perfect as you loose the benefits of strict typing at compile-time but it works. AS2 syntax simply masks the AS1 addProperty method at compile-time. It is unfortunate that you cannot declare a single function for both getter/setter as follows:
class Widget {
//constructor
function Widget(d){
//define function for both getter and setter
var f = function(s){
//reference to the executing function object
var self = arguments.callee
//getter
if(arguments.length <1){
return self.privateProp
//setter
}else{
self.privateProp = s
}
}
//set an inital value via setting the function
f(d)
//add a getter/setter to the instance
addProperty('user',f,f)
}
}
function get user = function set user = function(){}Here is an interesting use of the private getter/setter technique. This getter/setter masks a private array. As you "set" values items are pushed onto the private array and as you "get" the value items are popped off the array and returned. This is an easy way to provide a history as a single property without executing array methods.
f = function(s){
//reference to the executing function object
var self = arguments.callee
//if the array does not exist create it
if(self.a ==undefined) self.a = []
//getter
if(arguments.length <1){
//pop and item off the array
var r = self.a.pop()
trace("Undo : " + r)
//return the value
return r
//setter
}else{
trace("Do : " + s)
//push an item onto the array
self.a.push(s)
}
}
//create the history getter/setter
addProperty('history',f,f)
//delete the reference limiting access through the getter/setter
delete f
history = "Wake Up"
history = "Shower"
history = "Brush Teeth"
history = "Make Bed"
history = "Make Coffee"
history = "Cook Bacon"
// Forgot to get dressed undo 3 steps
// Simply evaluating the variable pops a value off the private array
history
history
history
history = "Get Dressed"
history = "Make Bed"
history = "Make Coffee"
history = "Cook Bacon"
// I shouldn't have gotten up today
history
history
history
history
history
history
history
Way cool eh!
DIGG IT!
0
Comments
Published
at
4:51 AM
.
As many can attest the Macromedia Flash team took the EULA issues very seriously. Special thanks to Lucian Beebe for his hard work on this effort. Lucian took the time to speak with many developers and listened to what we had to say. The team should be commended for listening to customers and taking action on this important issue.
DIGG IT!
0
Comments
Published
Thursday, March 11, 2004
at
11:13 AM
.
One of the problems with getter/setters in Flash is that you must find a location to store the protected property and all to often that area is not that protected. Often this leads to property pollution as there are now 2 variables, the getter/setter and the protected property it gets and sets. Not good.
//define function for both getter and setter
f = function(s){
//reference to the executing function object
var self = arguments.callee
//getter
if(arguments.length <1){
//return the value
return self.privateProp
//setter
}else{
//set the value
self.privateProp = s
}
}
addProperty('publicProp',f,f)
//delete the local reference to make the property truely private and inaccessable
delete f
//set the property
publicProp = 23
//get the property
trace(publicProp)
DIGG IT!
0
Comments
Published
Wednesday, March 10, 2004
at
7:54 AM
.
There are many proven techniques for working with components. I am going to explore several of these techniques outside of the Flash world and attempt to show how they best apply to working with Flash components.
DIGG IT!
0
Comments
Published
Tuesday, March 09, 2004
at
7:54 AM
.
This is the first post in a series of observations on using component in Flash. It is my hope that you will keep an open mind about what I have to say. There are quite a few hardened opinions on this topic and this series is going to differ from what you have heard before. If you have feedback to contribute, please do not hesitate to comment here or post a longer reply on your own blog.
DIGG IT!
0
Comments
Published
Monday, March 08, 2004
at
3:02 AM
.
It took 4 days, 14 hours and 13 minutes to reach the first 100 installations of Icon Builder 2004 version 1.3. Here are some installation statistics:
DIGG IT!
0
Comments
Published
Friday, March 05, 2004
at
9:14 AM
.
Here are the Open icons that match the Save icons I made yesterday. These were built with Icon Builder 2004. The example FLA contains the example below including the icons as strings.
DIGG IT!
0
Comments
Published
at
7:03 AM
.
Thanks Dreamweaver! I went into my DEVNET account and installed the new version of dreamweaver today. I opened my Blogger template fixed the CSS errors, added a new look, and checked browser compatibiliy. Save, republish, done!
DIGG IT!
0
Comments
Published
Thursday, March 04, 2004
at
6:14 AM
.
This set of save icons took 10 minutes to build with Icon Builder 2004. I was tired of the flat brown save disk and wanted a more isometric "3M" colored look and feel. This icon also uses 50% alpha transparency on the shadow allowing the surface below to show through in the Flash Player. Color swapping was easy once the icon outline was finished especially if you zoom in on the icon. I also used the background color changer to highlight the white pixels and the transparency. I also tend to use the preview pod allot, it lets you preview the icon during development, just press the small Polaroid Icon on the toolbar and watch the pod preview appear.
DIGG IT!
0
Comments
Published
Wednesday, March 03, 2004
at
9:51 AM
.
Icon Builder 1.3 is released today correcting the dreaded MAC drawing bug. Icon Builder now works seamlessly cross platform as a good Central app should.
DIGG IT!
0
Comments
Published
Tuesday, March 02, 2004
at
8:25 AM
.
Remember Karateka, in its day (1986) it was my personal favorite. Here is an icon version of the hero in full combat.
DIGG IT!
0
Comments
Published
Monday, March 01, 2004
at
9:36 AM
.
Adding the icons into a Flash(tm) project is easy with Icon Builder due to ActionScript Generation. Here is a sample built with Icon Builder compiled with Macromedia(tm) Flash(tm) MX. Generated ActionScript is compatible with Flash Player 6.0 or higher. All of the icons in this sample are installed with Icon Builder.
DIGG IT!
0
Comments
Published
at
8:04 AM
.
Pixel perfect icons and cursors optimized for use with Macromedia(TM) Flash(TM). Icon Builder is an easy to use icon editor for making graphical assets at a pixel level. 100% of the icons in Icon Builder use the Icon format itself.
DIGG IT!
0
Comments
Published
at
7:54 AM
.
I have updated Icon Explorer to address several bugs.
Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe