A Flash Developer Resource Site

Search:

Type: Posts; User: Sharsnik

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    275

    KeyboardEvent issue (hopefully non-noob)

    So after attaching my keyboard event to the stage the behavior is still very odd. Number keys and notwhat work just fine, but character (a ~ z) only work when I hold shift. As in, the event simply...
  2. Replies
    0
    Views
    558

    Fixing that annoying pixel snap bug?

    If you take a look at the game I'm making -
    http://temp-name.com/flash/main.html
    you'll notice that when 1) the damage display comes up and 2) the trees in the background vs the background ground...
  3. Replies
    10
    Views
    893

    Well, the work around works. Though I still dun...

    Well, the work around works. Though I still dun get why you can't just inherit objects defined on the stage.

    Symbols on the stage are simply instances of their particular Class, plus some...
  4. You should be able to use timer.Stop() to pause...

    You should be able to use timer.Stop() to pause the Timer as well.
  5. Replies
    10
    Views
    893

    Okay.. a bit hacky.. but this seems to work. ...

    Okay.. a bit hacky.. but this seems to work.

    Instead of overwriting the methods themselves, we overwrite the base class' members.

    Class Test has one MovieClip, Member, defined on the stage....
  6. Replies
    10
    Views
    893

    Aaight, it's clear that you have no idea what I'm...

    Aaight, it's clear that you have no idea what I'm asking, and I'm not sure how to explain it better. So let me try changing the question a bit.

    I created a symbol on the stage. This symbol uses...
  7. Replies
    10
    Views
    893

    Right, but the key here is that I want to be able...

    Right, but the key here is that I want to be able to define the class in the .fla file itself.

    Obviously using dynamically created objects with scripts would work, but that would defeat the...
  8. Replies
    10
    Views
    893

    Member is the name of the red square symbol...

    Member is the name of the red square symbol created INSIDE of the Test symbol.

    I need to be able to create buttons and notwhat inside a symbol, and then extend that symbol which specialized...
  9. Replies
    10
    Views
    893

    [Solved] Inheritance of library symbols

    Is it possible to inherit the objects of a library symbol?

    Say I have a symbol named Test, with a red rectangle inside of it (defined in the main .fla file) named Member.



    package
    {...
  10. Replies
    4
    Views
    417

    Hmm... that is definitely worth looking into....

    Hmm... that is definitely worth looking into. Though, I track memory as well, and it doesn't seem to sink up with the lag spikes that much..

    I'm using a class that Philippe Ajoux made. You just...
  11. Replies
    4
    Views
    417

    Yeah, it's a bit of a memory hog.. but that's the...

    Yeah, it's a bit of a memory hog.. but that's the trade-off for the lag :/

    The the not update function should max out at about 300ms. Which is not gonna work. The memory issue is acceptable.
  12. Replies
    4
    Views
    417

    Occasional lag in flash pipeline

    I'm currently working on a flash game. While I've managed to keep my code relatively lag-free, I've noticed that the flash render lags a good spot every once in awhile.
    ...
  13. Thread: Loading files

    by Sharsnik
    Replies
    6
    Views
    524

    Yeah... a bit depressing though :p I'll...

    Yeah... a bit depressing though :p

    I'll continue to load from the zip file 'til I use up the 10mb I guess
  14. Thread: Loading files

    by Sharsnik
    Replies
    6
    Views
    524

    I was talking about loading into the library,...

    I was talking about loading into the library, yeah.

    I agree that it's a bad method, but the way the sites I'm planning on working with work is that you get a 20mb flash file and a 10mb zip file....
  15. Thread: Loading files

    by Sharsnik
    Replies
    6
    Views
    524

    Sorry, I used the wrong word. I don't want to...

    Sorry, I used the wrong word. I don't want to load the data from an outside source, I want to load embedded data from the flash file itself.

    URLRequest seem to only work with external links.
  16. Thread: Loading files

    by Sharsnik
    Replies
    6
    Views
    524

    Loading files

    I'm been thinking a bit about how I wanna go about doing various file loading into my flash program. Using a zip file seems to be a good way to go for various XML files and/or definition data....
  17. Replies
    1
    Views
    564

    Creating masks from bitmapData

    I'm trying to modify the alpha layer of a bitmapData by taking a source iamge and masking out areas that don't have the correct channel. ATM I'm using copyChannel to achieve the effect, but I'd liek...
  18. Interesting... any ideas on how to debug such a...

    Interesting... any ideas on how to debug such a problem?

    From the profiler, it's all on the pipeline side... so I'm not sure how to eve go about debugging...
  19. Huge slowdown of graphics pipeline in firefox

    When I run my flash app in the default player it runs at 60 fps (the code is ~2ms a frame), but when I run it in firefox, the rendering phase is incredibly slow (~50ms).

    This is a relatively new...
  20. Replies
    5
    Views
    344

    Right, that's what I'm doing. But using...

    Right, that's what I'm doing.

    But using non-constants is iffy at best, and I'd like to set up a simple virtual key system. This means that instead of "65" I need to use "Key.Left", which in turn...
  21. Replies
    5
    Views
    344

    Yeah... I just want some static variables to...

    Yeah... I just want some static variables to define the key numbers of various keys >.>

    Keyboard.A and such only works in AIR.

    It seems retarded to have to write a random function to convert...
  22. Replies
    5
    Views
    344

    Incredibly stupid question

    What's the easiest way to convert 'A' to 65?

    No ord() in 3.0, and the string methods are a total hassle.
  23. Replies
    2
    Views
    415

    Yeah, well, the over all calculations were less...

    Yeah, well, the over all calculations were less of an issue than the binary heap look up times, so I was focusing on that (That and they're floats, so :/). I'll prolly change it all to do the node...
  24. Replies
    2
    Views
    415

    Would someone explain this to me...

    So, I've been working on an A* implimentation, but it was running really super slow. After a week or so of messing with streamlined data structures (I ended up making a rather sexy binary heap...
  25. Replies
    6
    Views
    709

    Interesting... though, I dun think I'll bother...

    Interesting... though, I dun think I'll bother getting into that this time around. My testing shows that vectors don't actually get much of a preformance boost in my code (I'm prolly not access the...
Results 1 to 25 of 62
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center