A Flash Developer Resource Site

Search:

Type: Posts; User: senshi sentou

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Hey, thanks for your response! +1 for the array...

    Hey, thanks for your response! +1 for the array approach then. =) That example of yours looks good, but perhaps an associative array would be even cleaner?


    var zombieData = {room1:[true, true,...
  2. Leaving the 'scene' and coming back without everything being reset (eg. rooms).

    Hey everyone,

    I've been wondering something and for the first time in a long while I had no idea how to find info on this, hence this post.

    I'm currently making a very simple 2D side-scrolling...
  3. Thanks for thinking so highly of my...

    Thanks for thinking so highly of my coding-skills, but I'm really not that advanced with AS3 yet; I'm just getting back into things. =P

    I managed to find the problem, turns out I linked my...
  4. Hey YBAB, Thanks for your reply. =) Turns out...

    Hey YBAB,

    Thanks for your reply. =) Turns out it was neither of those problems though. The problem goes away the second I remove an extra MovieClip I added to some of the frames (non-tweened). The...
  5. Argument count mismatch on gotoAndStop("label")?

    Hey everyone,

    I'm facing a pretty weird problem here. For some reason I'm getting an argument count mismatch error on something pretty basic. It's worked before, but ever since I edited some...
  6. Hey VitaLee, Thanks for your reply! I didn't...

    Hey VitaLee,

    Thanks for your reply! I didn't get it working on the fly, but I'm sure I'll figure it out. =)

    -Patrick

    EDIT: Figured out the problem. Appearantly the TextField wasn't...
  7. Accessing stage elements from within nested MC.

    Hey everyone,

    After quite some time I finally decided to pick up Flash again, this time taking the OOP route. I'm a bit rusty though, so I'm stuck on something pretty basic.

    Here's my Layout of...
  8. Ah, but that's a different problem then. You see,...

    Ah, but that's a different problem then. You see, your if-statements' conditions are only checked the second you press the button. What you need to do is constantly check the frame.


    var...
  9. Yup, you're absolutely right xD Thanks again =)

    Yup, you're absolutely right xD Thanks again =)
  10. That's what I was thinking too, but I can't think...

    That's what I was thinking too, but I can't think of a why. o.o;

    The traces give back
    [object URLLoader] and object respectively.

    Also, I forgot to mention the error actually fires before...
  11. Well, it's hard to solve if you don't tell us...

    Well, it's hard to solve if you don't tell us what's wrong ;) How about something like this?:


    puppetry_btn.addEventListener(MouseEvent.CLICK, onPuppetryClick);

    function...
  12. [RESOLVED] TypeError 1034. Possibly a URLRequest/ URLLoader problem.

    Peek-a-boo, me again. I'm having some trouble with loading in a txt-file and I can't figure out why, as it works in a new .fla file as well. Here's the code in a nutshell:


    ...
  13. I found the error: I was addressing the stage...

    I found the error: I was addressing the stage instead of the MainTimeline, like I should have. Here's the correct code:



    function cleanup():void{
    while(this.numChildren >0){...
  14. Hi, thanks for your fast reply. It now throws me...

    Hi, thanks for your fast reply. It now throws me an error though:



    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Game_fla::MainTimeline/cleanup()...
  15. You're welcome, glad I could help. As for...

    You're welcome, glad I could help. As for determining the direction, my first thought would be to compare the mouseX and mouseY values to variables called oldX and oldY, in which oldX and oldY are...
  16. Hey =) A) Sort of, yes. B) I have just the...

    Hey =)

    A) Sort of, yes.
    B) I have just the thing for you! ;)

    http://gotoandlearn.com/ has a great tutorial on exactly this subject, called 'The Throw Slider'.
    Direct play-in-browser link:...
  17. [RESOLVED] Clearing the stage (in preparation for the next level)

    Hey everyone,

    Me again. I got the level I was working on to work correctly, but now a new problem has risen.
    I'm trying to clear the stage of all objects on there, so that I can show the next...
  18. Thank you so much for your time and patience; I...

    Thank you so much for your time and patience; I owe you one! It worked like a charm! =)

    -Patrick
  19. Thanks for all your input, it's much appreciated!...

    Thanks for all your input, it's much appreciated!
    Performance is definitely something I need to keep in mind. (*boring background story at end of post).
    I love the idea of only using 4 or 5...
  20. Hey, thanks again, but I think you misunderstood...

    Hey, thanks again, but I think you misunderstood me (or I was just unclear).
    Creating new Branches for every single of them seems like too much of a hassle, so I was looking for a way to generate...
  21. Hey Attackrabbit, Thanks for your quick reply!...

    Hey Attackrabbit,

    Thanks for your quick reply! =) I'm not really following you all the way though =/



    I've never really worked with classes like this before, so I'd love a bit more in-depth...
  22. Dynamically adding and removing multiple instances of same MCs after certain time.

    Hey everyone,

    After a little break in AS3 I'm back... and facing a problem. For a school project I'm trying to make a side scroller game in which the player automatically moves right and has to...
  23. [AS3] Socket Policy Files - I give up [RESOLVED]

    I give up everyone. After hours of searching, spread over more than 2 weeks, I give in. I'm trying to make an MMORG in Flash using the OpenSpace Engine (please don't tell me how hard it is etc.)....
  24. Userstats is the classname which contains the...

    Userstats is the classname which contains the getuserstats function. I'll try and do it the way you suggested to me =) I made this with a friend, so it was to be expected it could be done easier....
  25. Thanks. The output gives me this: ...

    Thanks. The output gives me this:


    ti_username.text >> Q
    e[i].username >> q
    SHA1.encrypt(ti_password.text) >> 22ea1c649c82946aa6e479e1ffd321e4a318b1b0
    e[i].password >>...
Results 1 to 25 of 75
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center