dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: swak

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    744

    There's an option to disable smilies in the...

    There's an option to disable smilies in the advanced editor for flashkit.
    From this link:...
  2. Replies
    1
    Views
    622

    2 things, either explain better or give basic...

    2 things, either explain better or give basic code of what you want.
  3. Replies
    19
    Views
    1,374

    Hmm. Started around 2000? I'll just pop in as...

    Hmm. Started around 2000? I'll just pop in as being fairly senior.
  4. Replies
    6
    Views
    1,531

    That is a possibility. I just didn't think it was...

    That is a possibility. I just didn't think it was likely considering it shows up differently in app vs in screenshot.
  5. Replies
    6
    Views
    1,531

    Not what you're asking for but that code can be...

    Not what you're asking for but that code can be condensed with the switch statement: http://www.republicofcode.com/tutorials/flash/as3switch/. I can't think of any real answer for what you're asking....
  6. One option you could look at is making your own...

    One option you could look at is making your own function to deconstruct/construct objects to/from a bytearray. You'd have to construct it to be able to handle each data type specifically. Using...
  7. Cookies are the only native actionscript way to...

    Cookies are the only native actionscript way to save data. Otherwise you need to set up a way to have the website save data. The only exception to this is Adobe Air. Otherwise you need a script like...
  8. Replies
    2
    Views
    562

    Here are 2 different pieces of code. 1st is the...

    Here are 2 different pieces of code. 1st is the timer code. It's best to use the Timer class for this type of thing. It'll track time properly. 2nd is the formatting code. I added it just for...
  9. AS 2 Code follows a logical sequence. In this case it...

    Code follows a logical sequence. In this case it runs from top to bottom.
    if(_x > 1390 &&_x < 1440){
    if(!Key.isDown(Key.UP)){
    _parent.gotoAndPlay("start");
    }
    }
    This is a simple way. The problem...
  10. Replies
    4
    Views
    1,753

    Have you seen this series of videos:...

    Have you seen this series of videos: https://www.youtube.com/watch?v=N_gLSBBKHPM&list=PLCHMGNv_yp6jFCg6vRaFNy2nD5AsrWSIR Also, if you upload your fla I can take a look at it.
  11. Replies
    4
    Views
    1,753

    It depends on how complex you want it to be. One...

    It depends on how complex you want it to be. One of the simpler ways would be to use a direction and when a hit happens to reverse it. This requires you to check hit in the direction you're moving....
  12. Replies
    2
    Views
    741

    AS 2 Very simple answer for this one. SharedObject...

    Very simple answer for this one. SharedObject instead of sharedobject.
  13. AS 2 I forgot int would be short for integer. as2...

    I forgot int would be short for integer. as2 doesn't have that so you can either just delete it or replace it with Number. It won't matter too much.

    Ugh, I just found out that it's a bad idea to...
  14. AS 2 https://we.tl/t-HebVi9mfzY It's still wonky but I...

    https://we.tl/t-HebVi9mfzY It's still wonky but I think this does more. In my opinion it's probably better to keep multiple frames contained in movieclips. This is actually the most I've done with...
  15. AS 2 Fair enough. BTW, on this forum you can...

    Fair enough. BTW, on this forum you can encapsulate code by using the tag: [ CODE]put code here[/ CODE] with no extra spaces.

    Kind of a side note. How I would handle the text example would be to...
  16. AS 2 Just create a variable at the start and then: ...

    Just create a variable at the start and then:

    var lastFrame=0;
    onEnterFrame = function() {
    if(Key.isDown(Key.ENTER)){
    switch(lastFrame){
    case 1:
    ...
  17. AS 2 Depending on what you're trying to accomplish,...

    Depending on what you're trying to accomplish, you're making things rather complicated. Would you like to set up a chat session to talk this through? It would allow for me to talk you through this....
  18. AS 2 https://www.dreamincode.net/forums/topic/57643-as-...

    https://www.dreamincode.net/forums/topic/57643-as-20-basics-1-variables/ is a basic tutorial on variables for actionscript 2.0. In practice for you, you should create a variable and have it equal...
  19. Thread: I have a question

    by swak
    Replies
    2
    Views
    777

    Depending on skill you can probably make any game...

    Depending on skill you can probably make any game with flash. You just have to be aware of any limitations that any properly sandboxed app that you'll see online. The application version will have...
  20. AS 2 In my experience, unless you have a simple...

    In my experience, unless you have a simple project it's better to keep your code organized. With flash it's way to easy to scatter the code everywhere. In this case I suggest you add another layer...
  21. AS 2 No problem. I like to help but I prefer directing...

    No problem. I like to help but I prefer directing a person to understand instead of just laying out the answer. This is actually kind of how I learned how to code. I basically grabbed code that...
  22. AS 2 By itself the code won't work. It needs to be...

    By itself the code won't work. It needs to be placed properly. When you put code on a frame in the timeline then it'll only run once. You'll want to put in in an enter frame event. Either way that...
  23. AS 2 You can do this 2 different ways. If you place...

    You can do this 2 different ways. If you place the code on the movieclip then you use either _root.gotoAndPlay(2) or _parent.gotoAndPlay(2). If you place the code on frame 1 then you need to give the...
  24. Replies
    11
    Views
    2,337

    Path deals with anything that can contain code....

    Path deals with anything that can contain code. If you put code in anything but a layer then you will have to deal with it. Say you create an object and put code on it. Then you want to have that...
  25. Replies
    11
    Views
    2,337

    There are 2 ways to handle this with as3. 1 is to...

    There are 2 ways to handle this with as3. 1 is to use relative paths from the object. You'll have to use parent and so forth. You could also create a global variable root and assign the stage as that.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center