A Flash Developer Resource Site

Search:

Type: Posts; User: Profusion

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,062

    Two easy steps to go about it: 1. Once...

    Two easy steps to go about it:

    1. Once the "Next" button is clicked, remove the event listeners allowing the user
    to draw or, better yet, use a Boolean variable that can turn false...
  2. Replies
    8
    Views
    1,763

    Sorry for not seeing this! No problem :)

    Sorry for not seeing this!

    No problem :)
  3. Replies
    8
    Views
    1,763

    Yes, I see what you mean. I suppose you could try...

    Yes, I see what you mean. I suppose you could try stopping each keyframe on the main timeline that contains a movieclip (MC A) whose timeline you want to play. But to have it resume and move on to...
  4. Replies
    8
    Views
    2,151

    Okay, now that you mention it, I realize that I...

    Okay, now that you mention it, I realize that I should only run a depth-first algo that finds the 36-node-long path if I run another one that creates it in the first place! Thanks for pointing that...
  5. Replies
    8
    Views
    1,763

    Haha, hope this works for you now. Good luck! ...

    Haha, hope this works for you now. Good luck!

    ~ Profusion :)
  6. Replies
    8
    Views
    1,763

    Oh wow, sorry about that... you put exactly what...

    Oh wow, sorry about that... you put exactly what I told you to put but I failed to realize that that code doesn't even make sense! *facepalm* In fact, you barely need ANY code.

    Here's an actual...
  7. Replies
    8
    Views
    1,763

    Well, if I understand correctly, you're trying to...

    Well, if I understand correctly, you're trying to have each of the root timeline's frames contain one (or more?) MCs which in turn have their own timelines? If that is what's got you stumped, I...
  8. Replies
    4
    Views
    1,181

    Try doing something like this: 1. Have the...

    Try doing something like this:

    1. Have the Main.as and PlayButton.as files in the same folder (for the sake of the example).

    2. Make Main.as look something like this:


    package
    {
    ...
  9. Replies
    8
    Views
    2,151

    Ah, thanks for that, Flax!! I now understand that...

    Ah, thanks for that, Flax!! I now understand that algorithm but what's got me (a tiny bit) puzzled now is its implementation/use seeing as I would have to adapt it for this game (pieces are numbered,...
  10. Replies
    8
    Views
    2,151

    @poltuda: Thanks for answering but my problem is...

    @poltuda: Thanks for answering but my problem is that I already have an array and I want to find all the paths possible.

    @ 5tons: Whoops, I meant 6x6 (that's what I'm using) Sorry for...
  11. Replies
    8
    Views
    2,151

    Okay, maybe that's a bit too complicated so let...

    Okay, maybe that's a bit too complicated so let me rephrase the question:

    How do you obtain all of the possible chains/paths in a 2d array?
    For example, how do you turn...


    [1 2]
    [3 4]
    ...
  12. Replies
    8
    Views
    2,151

    [RESOLVED] Help finding longest possible chain

    Hey FlashKit, I am once again in need of your help and experience :S

    Here's the thing:

    I have a 6x6 (EDIT: said 3x3 but meant 6x6) array containing randomly generated numbers ranging from 1 to...
  13. Replies
    5
    Views
    1,052

    To what object is the fin function attached to?...

    To what object is the fin function attached to? If it's not listening for the parent of rivaleses, then it's normal that you get Error #2025, because you're not specifying the parent of rivaleses.
    ...
  14. Replies
    1
    Views
    2,020

    The best way to go is to have 2+ classes...

    The best way to go is to have 2+ classes (optional as you can have more depending on what other elements you want in the game: enemies, misc. objects, etc.). Here they are:


    Main: the document...
  15. Replies
    2
    Views
    1,867

    Thanks for answering so quickly Red, I appreciate...

    Thanks for answering so quickly Red, I appreciate it! You're right, that was the problem; I just fixed it and it's working the way I wanted it to. I can't believe I didn't think about that. I'm...
  16. Replies
    2
    Views
    1,867

    Weird KEY_DOWN event behavior...

    Hey guys, I'm working on a small, independent game and everything programming-related has been going well so far. However, I have an issue when I want a movieclip to react to a keypress. Initially, I...
Results 1 to 16 of 16




Click Here to Expand Forum to Full Width

HTML5 Development Center