A Flash Developer Resource Site

Search:

Type: Posts; User: Clownfish5

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,462

    "Borrowing" sounds....

    Hi!

    How do you feel about reusing wavs from other games and programs. Is it considered kinda ok? Some sounds, like explosions etc, are much better in commercial games than what you can make...
  2. [F8] Problem targetting mc's in layers of an mc...

    This is weird, cuz I don't think I had problems with it before. It's probably very basic, so I post it here.

    I have an mc, InfoBox (instance name theInfoBox), made up of a couple of layers with...
  3. Replies
    9
    Views
    1,503

    Wonderful! Clean and simple! It worked! In the...

    Wonderful! Clean and simple! It worked!
    In the frames of InfoBox, I put a Next_button_mc, in which I have put a Next_button_btn, and in that instance I put:


    on (press) {
    _parent.nextFrame;...
  4. Replies
    9
    Views
    1,503

    Thanx, TOdurus! That's two separate interesting...

    Thanx, TOdurus! That's two separate interesting solutions!

    The first one, I guess I could modify and take the content of the assignment function and put it in an onEnterFrame in the InfoBox, frame...
  5. Replies
    9
    Views
    1,503

    Wow, I didn't know you could declare functions in...

    Wow, I didn't know you could declare functions in a for loop! That would probably do what I want, but isn't it a bit memory-consuming to declare 100 functions that all do the same thing? Know what I...
  6. Replies
    9
    Views
    1,503

    Please, people! Basically, I want to have a...

    Please, people!
    Basically, I want to have a next-button in each frame of a movieclip, and that button shall show the next frame of the parent movieclip.

    It should be easy, and if it is, please...
  7. Replies
    9
    Views
    1,503

    Hm, sorry if I was vague... but I wanted to tell...

    Hm, sorry if I was vague... but I wanted to tell the whole story, or my view on it, with the limited knowledge I have.

    I see now, after your comment, that it is indeed possible to put code in a...
  8. Replies
    9
    Views
    1,503

    [F8] Coding a button...

    Ok, here's a nooby question. I'm not used to working with buttons...

    I have a mc InfoBox, in which I have placed text and buttons for ok, next, prev etc. They will take you to the next...
  9. Replies
    38
    Views
    13,778

    Great artwork! You're very broad in your skills!...

    Great artwork! You're very broad in your skills!
    I like the semi glossy effect when you turn the pages! One idea for the book engine (although it's not new, and easier said than done!): Different...
  10. Ok, thanx for explaining! I guess I'll just make...

    Ok, thanx for explaining! I guess I'll just make a custom hittest function that takes care of both separate walls then!
  11. So, does that mean that it's impossible to have...

    So, does that mean that it's impossible to have an mc x that contains 2 mc's that are on different sides (depthwise) of another mc on the same timeline as x?

    The pointer/"hero" can't pass the...
  12. [F8] depth problem: getting behind the wall...

    My baddies is on a depth of about 100. I had a "wall" placed on the stage, which then gets a depth of -16000 something. Now, I want the "wall" to have one part at the very bottom and one at the top,...
  13. I DID define the contents of the array in the...

    I DID define the contents of the array in the constructor, but I declared it outside with :Array=new Array()... perhaps that's the problem then! I'll try and change it - thanx!
  14. [F8] Annoying problem with arrays in different class instances!!

    Can't believe this! The fact that arrays are always sent by reference was bad enough, and now this! An array that belongs to a class seems to be shared by all instances, if not told otherwise!

    I...
  15. Replies
    2
    Views
    410

    allright, thanx!

    allright, thanx!
  16. Replies
    2
    Views
    410

    the _ and __ in variable names...

    There must be some convention code that I don't understand...
    Why the "_" in variable names? For example in "_x" while not in "text" of text boxes. And even less understandable, the "__"?

    What...
  17. Replies
    8
    Views
    1,514

    Great, that worked, and for _rotation too! Thanx!

    Great, that worked, and for _rotation too! Thanx!
  18. Replies
    8
    Views
    1,514

    Hmm, it seems that I'm not done yet. Another...

    Hmm, it seems that I'm not done yet. Another related problem:
    When I change the _alpha of an mc that contains dynamic text, the text will not change it's _alpha! I want the text to fade out!!
  19. Replies
    8
    Views
    1,514

    yea, I guess... but it's a pity, cuz it would...

    yea, I guess... but it's a pity, cuz it would have looked nice to attach a "letter class mc" specifying {_x:100, _y:100, char:"A"}. So, anyway, with the less good looking way, defining the text...
  20. Replies
    8
    Views
    1,514

    Thanx! You're right! The problem turned out to be...

    Thanx! You're right! The problem turned out to be that when I write the code
    this.char_box.text=char;
    inside the class "letter", it doesn't know that the instance of that class will have a text box...
  21. Replies
    8
    Views
    1,514

    [F8] Changing textboxes in movie clips

    I'm having this problem and I guess I must be doing something wrong!
    If a movie clip contains a dynamic textbox with the instance name text_box, how can I change the text? Not with...
  22. Replies
    3
    Views
    1,166

    Good to hear you say that! So, well, since I'm...

    Good to hear you say that! So, well, since I'm alone in this project, I'll keep it simple and will keep my precious globals!
  23. Replies
    14
    Views
    3,004

    That sounds great - that all objects belongs to a...

    That sounds great - that all objects belongs to a given depth! But, since default stage graphics have negative depths, does that mean that if you want it to be ABOVE a code attached mc, you'll need...
  24. arraight, but then, for the Actions layer, you DO...

    arraight, but then, for the Actions layer, you DO have a keyframe on frame 2, to get that two rows of code in...

    Regarding the code in functions, I just started this topic:...
  25. Replies
    3
    Views
    1,166

    [F8] [disc] Proper scope of variables

    In other program languages I used to code in, it was considered a good habit to use as few global variables as possible, and instead pass everything to functions as parameters.

    In AS, however,...
Results 1 to 25 of 107
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center