Hi again panel,
I posted this thread because I'm dissatisfied with Adobe's native documentation for AS 3.0 and I'm hoping that someone can point in the direction of something more like what I'm looking for:
* Specific code examples for each method of the classes.
It's much easier to have this in a reference format that having to search through the limited number of application examples and tutorials in the hope of finding what I'm looking for.
The Actionscript 2.0 Bible (Wiley) was great for this but I still used Flash AS 2.0 help to fill in the gaps.
I've ordered the Actionscript 3.0 Bible but I'm wondering if there'llbe any gaps in that version (probably) and if so, I'll need some kind of reference to fill them in.
P.S. Here's an example of what I find insufficient in LiveDocs:
Quote:
Method Detail
startDrag () method
public function startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Parameters lockCenter:Boolean (default = false) — Specifies whether the draggable sprite is locked to the center of the mouse position (true), or locked to the point where the user first clicked the sprite (false).
bounds:Rectangle (default = null) — Value relative to the coordinates of the Sprite's parent that specify a constraint rectangle for the Sprite.
function mouseDown(event:MouseEvent):void {
circle.startDrag();
}
|
This is a shortened version, I'm sure you've all looked at this before. Where here can you find this?:
ActionScript Code:
import flash.geom.Rectangle; // no reference to this package or where to find it.
var rectangle:Rectangle = new Rectangle(0,0,150,100);
///...
circle.startDrag(false, rectangle);
///...
Call me lazy or stupid, but aren't code examples supposed to demonstrate ALL the aspects of a method not just give a brief summary that sends you rooting through yet more code examples just to find a few parameters?
Just 2 1/2 more lines of code could save so much hassle!