A Flash Developer Resource Site

Search:

Type: Posts; User: PJjerry

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,206

    Thanks guys... will give them a try :D

    Thanks guys... will give them a try :D
  2. Replies
    3
    Views
    1,206

    Triggering events on two overlapped objects

    Say I have two rectangular sprites B(bigger) and S(smaller) overlapped, with S (the smaller one) on top.

    They are both listening to the MouseEvent.MOUSE_MOVE event.

    But when mouse-overing...
  3. Replies
    6
    Views
    978

    ya, in the same level events can't be shared...

    ya, in the same level events can't be shared among instances. :(
  4. Replies
    6
    Views
    978

    *bump* anyone? Or at least how can I debug to...

    *bump* anyone?

    Or at least how can I debug to confirm that the inactive objects are indeed listening to the custom event dispatched from the active object?
  5. Replies
    6
    Views
    978

    I didn't use the array as suggested but did setup...

    I didn't use the array as suggested but did setup a custom event for listening, however it didn't work as expected.

    The code should be good, just not sure what goes wrong. Any hints?

    Currently...
  6. Replies
    6
    Views
    978

    thanks neznein9. I will work on the way you...

    thanks neznein9. I will work on the way you suggested and see what happens :D
  7. Replies
    6
    Views
    978

    collision detection help

    The scene is a movable tree with lots of fruits on it. When moving one of the fruit and if it touches any of the others the collided fruit will fall down to the ground.

    Actually all I need is the...
  8. Replies
    2
    Views
    1,433

    thanks...will check them out.

    thanks...will check them out.
  9. Replies
    2
    Views
    1,433

    Flex's Canvas Class

    In Flash CS3, does there exist a similar class to Flex's Canvas Class, which supports default behaviors like infinite boundary, panning and zooming?

    I really don't wanna implement it myself...
  10. Replies
    6
    Views
    6,369

    There is a bunch of classes extended from Loader....

    There is a bunch of classes extended from Loader. Check them out.
  11. Replies
    2
    Views
    511

    geeks! This works!! I am using the default...

    geeks! This works!!

    I am using the default flash.display.SimpleButton class as the shape.
  12. Replies
    2
    Views
    511

    [RESOLVED] Triggering a button

    When creating a Sprite, adding two children - a SimpleButton & a TextField served as the label,
    When mouseovering this sprite if the mouse pointer is on the top of the TextField instance area,
    the...
  13. Seems that the only way to get it work is...

    Seems that the only way to get it work is changing the component source.
  14. [RESOLVED] Changing the palette position of ColorPicker

    Is it possible? 'cuz the palette always shows up at random position, and I wanna lock it to a certain place.

    I am using Flash CS3.
  15. Thread: Encapsulation

    by PJjerry
    Replies
    1
    Views
    407

    Ya your code works great....!! In my case...

    Ya your code works great....!!

    In my case Trunk and Branch are drawn in Flash (MovieClips), and that might be the problem? but shouldn't be.

    I will double check and see why mine isn't working....
  16. Thread: Encapsulation

    by PJjerry
    Replies
    1
    Views
    407

    Encapsulation

    My intension is to deploy the Tree Class as a .swc, but the "tree components"(Branch & Trunk) should be encapsulated so only the Tree class is exposed to the user. Since AS3 doesn't have a private or...
  17. Replies
    3
    Views
    4,533

    interesting. will give it a try~

    interesting. will give it a try~
  18. Replies
    3
    Views
    4,533

    [RESOLVED] convert float rgb values to Hex

    Say if I have the all R,G,B individual values in float how do I convert them to the Hex color value?

    Is there any built-in flash class doing the work?

    r:Number = 0.18495837
    g:Number =...
  19. Replies
    6
    Views
    488

    thanks will take a look at it :D

    thanks will take a look at it :D
  20. Replies
    6
    Views
    488

    maybe the setFocus will work? make one of the...

    maybe the setFocus will work? make one of the buttons in B focused then the mouse will automatically be placed there?
  21. Replies
    6
    Views
    488

    [RESOLVED] moving the mouse cursor

    How can I move the mouse's position?

    say there is a sprite A with a button child, when clicking on this button another sprite B containing a bunch of buttons will show up. B is in the same...
  22. Replies
    4
    Views
    8,774

    I am totally dumb. Instead of var...

    I am totally dumb.

    Instead of


    var vector:Point = new Point(-ep_x, -ep_y);


    it should be
  23. Replies
    4
    Views
    8,774

    thanks for the quick replay but I am trying to...

    thanks for the quick replay but I am trying to make drawing an arrow easier by giving the start and end points and bomb! the arrow generates :D
    since we need tons of arrows and they are all pointing...
  24. Replies
    4
    Views
    8,774

    [RESOLVED] draw an arrow

    I tried to use pure actionscript 3 code to draw a very simple arrow, but got some weird result... maybe something here may help me out.

    So please take a look at this picture:...
  25. Wow thanks for the thorough reply, that really...

    Wow thanks for the thorough reply, that really helps :D
    Time to do some homework~
Results 1 to 25 of 54
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center