A Flash Developer Resource Site

Search:

Type: Posts; User: illustratedlife

Page 1 of 12 1 2 3 4

Search: Search took 0.06 seconds.

  1. I'm still not sure when you would not want the...

    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...
  2. I just discovered a frustrating truth about...

    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...
  3. An equally good solution is to vote on the bug. ...

    An equally good solution is to vote on the bug. It's easier too. =)
  4. I know you can override width. I also do it all...

    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...
  5. That doesn't get you around the problem of...

    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,...
  6. I don't have much experience with prototypes. I...

    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...
  7. Overriding the width getter on a DisplayObject

    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...
  8. Replies
    0
    Views
    784

    Mac AS3 editor

    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...
  9. Replies
    3
    Views
    778

    Thanks - I'll keep that in mind. Do you have...

    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...
  10. Replies
    3
    Views
    778

    Cairngorm for a Flash CS4 guy

    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...
  11. Replies
    6
    Views
    892

    Thanks. I just got an iPhone, and I'm...

    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...
  12. Replies
    6
    Views
    892

    Thanks. I'll have to peek at these. If you're...

    Thanks. I'll have to peek at these.

    If you're already strong with Flash, is Flex worth messing with?
  13. Replies
    6
    Views
    892

    Learning Flex as a Flash guy

    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...
  14. Replies
    11
    Views
    1,448

    FWIW, i'm using moofx's swiff class to link flash...

    FWIW, i'm using moofx's swiff class to link flash and js tweens. i can run it from file:/// just fine
  15. Yeah, I had considered that too. It seemed...

    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...
  16. Thanks. That's what I have. The problem is...

    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...
  17. Designing an interface for a display object

    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...
  18. A bit more convoluted than a TextField, but this...

    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...
  19. Applying horizontal scale to squish a TextField

    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...
  20. Programatically switching to the over state

    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. ...
  21. You're really not changing the height - you're...

    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...
  22. You don't need to manually set the height - just...

    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...
  23. I believe Keith Peters's BigAssCanvas might be...

    I believe Keith Peters's BigAssCanvas might be worth looking into. . .
  24. I didn't consider using a negative number when I...

    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...
  25. Building an array that dispatches Event.CHANGE

    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;)...
Results 1 to 25 of 276
Page 1 of 12 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center