Search:
Type: Posts; User: illustratedlife
Search:
Search took 0.04 seconds.
-
I'm still not sure when you would not want the masked size of an object, since the dimensions getters seem to default to returning the visible portion of an object in all other cases.
The...
-
I just discovered a frustrating truth about scrollRects that may be useful for masking.
If you set a scrollRect, that alters what the width, height, getBounds, and getRect members of a...
-
An equally good solution is to vote on the bug. It's easier too. =)
-
I know you can override width. I also do it all the time. The problem is that this only works if you call the getter explicitly.
Consider an object maskedShape where width has been overridden to...
-
That doesn't get you around the problem of overriding every width getter in a parent chain.
One technique I tried before I posted this was to make a class called MaskedSprite, where width, height,...
-
I don't have much experience with prototypes. I thought they'd only be useful for code in the AS3 namespace, as opposed to native code. Also, I didn't know you can write getters as prototypes.
I...
-
I frequently find myself wanting more granular control of the width/height properties.
Consider either of the following cases:
- The DisplayObject is clipped with DisplayObject.mask, but Flash...
-
Greetings all -
I'm considering switching back to Macintosh. My last couple computers have been Windows based, and I've been taking FlashDevelop for granted. Not only does it have great keyboard...
-
Thanks - I'll keep that in mind.
Do you have any good resources for picking up Flex/Cairngorm if you are already skilled at Flash/AS3?
I've stuck with Flash rather than Flex because I like...
-
Hey guys,
I've recently been recruited to a new project. I'm replacing a Flex dev who started to use Cairngorm, but got booted from the team. The other members of the team are from more...
-
Thanks.
I just got an iPhone, and I'm researching that now. I get the feeling if you're a designer or you're building something new, Flash/Javascript is a good way to go. Flex/Cocoa seem to be...
-
Thanks. I'll have to peek at these.
If you're already strong with Flash, is Flex worth messing with?
-
I'm a Flash designer/developer. I build web apps for a living in Flash, with object-oriented AS3. I can build really neat things quickly in Flash and know it well.
I know Flex is really popular...
-
FWIW, i'm using moofx's swiff class to link flash and js tweens. i can run it from file:/// just fine
-
Yeah, I had considered that too. It seemed sloppier than an interface though, because then you need to override everything.
There are definitely workarounds, but it seems like this ought to be...
-
Thanks.
That's what I have. The problem is that I end up doing addChild(_distortion as Distortion1) which is less flexible than ideal.
Maybe I'll add function get displayObject():DisplayObject...
-
I'm working on a series of classes that each distort an input image using a series of parameters. Each class is a Sprite that contains the distorted version of the input image.
I have the...
-
A bit more convoluted than a TextField, but this seems to work:
var fontDescription = new FontDescription('Myriad Pro');
var format = new ElementFormat(fontDescription, 18, 0x003366);
var...
-
How can I transform the actual glyphs of a TextField? If I use scaleX or transform.matrix.scale, the text box shrinks, but the text itself stays the same size.
I'm trying to do something like...
-
Hey all,
I'm designing a marking menu. I'd like to use an over state, so the user knows which item will be executed.
I'm extending SimpleButton, to get access to the button states in Flash. ...
-
You're really not changing the height - you're repositioning the clips. I would try this:
In your child Classes:
import flash.events.Event;
...
override public function set...
-
You don't need to manually set the height - just position the elements properly and the height will match.
If you are trying to make a background that is always the right size, try adding this to...
-
I believe Keith Peters's BigAssCanvas might be worth looking into. . .
-
I didn't consider using a negative number when I reimplemented slice. Good catch.
As far as megaPop, that's something I had written before and used as an external static function. I added it to...
-
I'm trying to build an Array subclass that dispatches an event when it is modified. I have tried two different methods and run into problems:
extending Array:
-direct access (myArray[1] = 5;)...
|
Click Here to Expand Forum to Full Width
|