Ultrashock Forums > Blogs > Whirled Views
Entries for June 2008
Member Blogs
 
Join me for a different perspective on Flash/Actionscript programming: a perspective saturated with hyperbole and couched in precocious vernacular.
With diligent perseverance and a little luck, this blog could become the center of a radical new view of the web.
'Course I'd settle for entertaining and/or insightful.

Welcome to my Whirled View!

Passing disparate arguments to getters and setters

Old Posted 2008-06-11 at 21:00 by jaseinatl
Part 2 --Intro to getters/setters
-------------------------------------------------

Okay, so lately I have been toying with getters and setters to create some interesting situations.

For example. I want to define a function that an object can use to change its' own properties in some way:
Code:
class raceCar extends MovieClip {
public var car:movieClip;
private var _speed:Number;
private var _raceAction:Function;
public var destSpeed:Number;
...
Registered User
Posted in Uncategorized
Comments 0 jaseinatl is offline

Finally, I understand the utility of getter/setters

Old Posted 2008-06-11 at 20:24 by jaseinatl
Part 1 of ____ : Intro to the Joy of Getter/Setters.
-----------------------------------------------------

Sure, I have written a ton of classes in Actionscript 2.0. But I never really thought about how useful the getter/setter methods are.

I thought that Actionscript used the getter function and a setter function only out of allegiance to some OOP methodology, not because there is a real use for them.

That's mostly because I thought that your getters...
Registered User
Posted in Uncategorized
Comments 0 jaseinatl is offline

Ultrashock, a breathe of fresh air or sustenance?

Old Posted 2008-06-11 at 11:56 by jaseinatl
It suddenly occurred to me that if taken out of context, the vast majority of my posts regarding Ultrashock (the interface) would appear to be negative even though my intent would be just the opposite.

That's when I realized that intrinsic in my complaints about Ultrashock is an implied respect that goes without saying. That is to say that I take for granted that there is nothing like Ultrashock anywhere and life without Ultrashock would be...well...(shudder...
Registered User
Posted in Uncategorized
Comments 0 jaseinatl is offline