A Flash Developer Resource Site

Search:

Type: Posts; User: Joosh

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Oh man, I feel like such a tool, can't believe I...

    Oh man, I feel like such a tool, can't believe I missed that.

    Thanks a bunch, all is good now.
  2. Multiple createEmptyMovieClips created through for loop issue.

    Hi everyone. I'm trying to use a for loop to create movie clips that are populated with words to drag around and place somewhere. When I create the movie clips, only the last one shows up. Here is...
  3. Javascript problem: writing text to a specific td/div

    Hey all, I know there's probably a way to do this, I just can't seem to figure it out. So hopefully this is a simple question for someone to answer.

    I am trying to make my own event calendar in...
  4. Replies
    3
    Views
    788

    What should I use to build chat app?

    I've been researching this a bit, and it seems that its possible to do this with Flash, or PHP, or a bunch of other languages, but there are some issues and stuff with each. This is what I'm...
  5. Replies
    1
    Views
    464

    1. Make sure all of your textboxes are dynamic...

    1. Make sure all of your textboxes are dynamic textboxes with instance names.

    2. Make sure that the values for Small Weapon and Large Weapon are stored in variables:



    SWeapon = 50;
    LWeapon...
  6. Replies
    2
    Views
    402

    Okay, as for #1, I think I can help you out. If...

    Okay, as for #1, I think I can help you out. If your input boxes are named sequentially, try something like this:




    //The Below code would be on a button event or only executed when you are...
  7. Replies
    3
    Views
    438

    Are you using a loop to generate the buttons from...

    Are you using a loop to generate the buttons from the array? If so, you could do something like this:



    buttonArray = new Array();
    buttonArray = [button1,button2,button3,button4,button5];
    ...
  8. Replies
    2
    Views
    631

    If you're using Actionscript 2, try something...

    If you're using Actionscript 2, try something like this on the main timeline:



    keyListener = new Object();

    Key.addListener(keyListener);

    keyListener.onKeyDown = function(){...
  9. Replies
    1
    Views
    393

    Math.round works like this: ...

    Math.round works like this:


    Math.round(number, or equation, or variable);

    so

    Math.round(12.3456) would result in 12;

    Math.round(5/2) would result in 3;
  10. Replies
    2
    Views
    492

    try using getURL(); I don't know how that'll...

    try using getURL();

    I don't know how that'll work for the word file, because I don't use it very often, but give it a whirl.
  11. My suggestion would be to create seperate swfs of...

    My suggestion would be to create seperate swfs of all your movie files, create a new "holder" movie with a movie clip in it that will hold the movies. Load the movies into your holder movie using...
  12. Thread: Scripting loops

    by Joosh
    Replies
    6
    Views
    447

    try this: this["init.zone"+i+".volt"] =...

    try this:



    this["init.zone"+i+".volt"] = someValue;




    I don't know if it'll work exactly like that, but play around with it, I've used it for similar things before.
  13. Replies
    2
    Views
    484

    What you could do is make an MC with all of the...

    What you could do is make an MC with all of the different steps of the pyramid being built. Then divide 100 by the amount of frames you have and that'll be the percent at which to increment the...
  14. Replies
    4
    Views
    572

    Okay, first of all, you'll have to rename your...

    Okay, first of all, you'll have to rename your movie clip. In actionscript ( a dot-syntax code), it takes anything after a . as either part of a path or a property/method. So what flash thinks...
  15. Thread: count clicks

    by Joosh
    Replies
    4
    Views
    515

    to add scorebox to it, in your plusOne()...

    to add scorebox to it, in your plusOne() function, add the following code:


    scorebox.text = score;


    after that, I would suggest looking into flash - php - db relations, or possibly look into...
  16. Thread: count clicks

    by Joosh
    Replies
    4
    Views
    515

    I think you're pretty close, if you're using AS...

    I think you're pretty close, if you're using AS 2.0 try this


    score = 5;
    circle.onPress = function(){
    PlusOne();
    }

    function PlusOne(){
    scorebox.score +=1;
  17. Replies
    2
    Views
    434

    That works perfectly thank you very much

    That works perfectly thank you very much
  18. Replies
    2
    Views
    434

    External Jpeg problem

    I know I've done this kind of thing before, I just can't find my old project files and for the life of me I can't remember how to do this.

    What I want to do is dynamically load x number of...
  19. Replies
    1
    Views
    734

    Dynamic Photo Gallery Problem

    I'm trying to create a very dynamic photo gallery that places thumbnail images dynamically on the stage, and when you click on those, it loads a larger image into a holder movie clip. Right now I...
  20. You could affect the Y value of the movie clip...

    You could affect the Y value of the movie clip you want to change.

    So (I don't know what version of flash you're using):
    Flash 5: Put this code on the buttons you're using to affect the movie...
  21. Replies
    1
    Views
    413

    I didn't have the time to go through this code...

    I didn't have the time to go through this code and make up an example for you, but I can (hopefully) point you in the right direction. Check out this site and hopefully it'll help.
    ...
  22. Thank you very much..that seems to be working...

    Thank you very much..that seems to be working fairly well for me.
  23. Didn't quite work

    You have the idea right that I want to check all the cards to see if any of them match each other, but the code that you supplied returned all as matches. I very much appreciate you trying though.
  24. thanks

    thanks for the effort but that script won't do quite what I'm looking for.

    that will check ONLY the value of card1 against the other cards, and will return true for when i=1. I'll try to...
  25. Replies
    1
    Views
    331

    gotoAndStop("Scene Name",Frame Number); ...

    gotoAndStop("Scene Name",Frame Number);

    gotoAndPlay("Scene Name",Frame Number);

    One of those two should work...depending on whether you want the scene to play or just stop at the first...
Results 1 to 25 of 31
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center