Search Results - Flash Kit Community Forums
A Flash Developer Resource Site

Search:

Type: Posts; User: Steven FN

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,174

    I would use Frames instead of Scenes to start...

    I would use Frames instead of Scenes to start off. Then use Math.random() to gotoAndStop() on the random frame. And to eliminate options, use an Array to hold the different puzzle/frames and splice()...
  2. It really depends on what kind of data you are...

    It really depends on what kind of data you are dealing with and how you have it setup. More information would help find a viable solution. Pretty sure, this is in the wrong category.
  3. Why not just removeListener() to the button...

    Why not just removeListener() to the button clicked? An alternative is button.mouseEnabled = false - if you re-use the same buttons then just, change to true on reset.
  4. Replies
    5
    Views
    884

    I would think of it like, _level2 as being the...

    I would think of it like, _level2 as being the MovieClip or location of whatever is between the square brackets. So, when you used "_level2.this[stuff]" it was using 2 locations, _level2 and this...
  5. Replies
    1
    Views
    444

    I use the following and it seems to work well,...

    I use the following and it seems to work well, but there might be a better solution.

    if(String(obj) == "[object Bitmap]")

    Trace out the object type using trace(obj) and then replace Bitmap with...
  6. Replies
    2
    Views
    1,000

    Flash8 Try below, Math.random gets number between 0 and...

    Try below, Math.random gets number between 0 and 1, so if you use it like Math.random()*3, it will return 0,1,2. In the first example, it gets numbers 0-1580, then we subtract 30 to make the minimum...
  7. Replies
    3
    Views
    1,558

    Since you are starting out, i would either use...

    Since you are starting out, i would either use XML or just use Arrays if you don't need the questions and images to be external. You can have all your questions in an Array and just import all your...
  8. Replies
    1
    Views
    581

    Hi, i just tried to exporting to image...

    Hi, i just tried to exporting to image (JPG,GIF,BMP,PNG) and they all worked. The guide layer was not included. Maybe you can send me the FLA so i can take a look? My email is megastee@hotmail.com.
  9. Flash8 Have you tried clearInterval(); before replay?

    Have you tried clearInterval(); before replay?
  10. Replies
    6
    Views
    742

    Flash8 Ok, can you upload a source file or stripped down...

    Ok, can you upload a source file or stripped down source? I'm sure the code should work and might be another issue altogether.
  11. You would use toLowerCase(); var...

    You would use toLowerCase();



    var str:String = " JOSÉ BARÇA";
    trace(str.toLowerCase()); // josé barça
  12. Here is a good link for the basics, good luck. ...

    Here is a good link for the basics, good luck.

    http://www.republicofcode.com/tutorials/
  13. Replies
    6
    Views
    742

    Flash8 Ok not sure where you learned about IF and ELSE...

    Ok not sure where you learned about IF and ELSE statements but for basic use:



    if(a == b){
    // a = b, equals, true
    }else{
    // a != b, does not equal, false
    }
  14. Flash5 Hi, i would recommend visiting the link below for...

    Hi, i would recommend visiting the link below for great tutorials. I am a self taught Flasher, so i wouldn't know where to start with recommending books, but they may help you understand the...
  15. Flash8 Instance names are how you refer to objects via...

    Instance names are how you refer to objects via code. In the properties window, there is a field where you can enter an instance name for almost any object from MovieClip to TextField. So in the...
  16. Flash8 You can try using _root.exp for the text field...

    You can try using _root.exp for the text field variable, or set the text field in the main timeline.

    For AS2 its "_root", for AS3 its "MovieClip(root)".

    The alternative and better method would...
  17. Replies
    1
    Views
    707

    Ok, i traced your template to...

    Ok, i traced your template to http://www.templatemo.com/preview/templatemo_355_work_center and it seems like you just need to copy "piecemaker.css" into the same directory as "piecemaker.swf".
  18. Replies
    4
    Views
    1,575

    Flash8 Your code looks like it should work. My only...

    Your code looks like it should work. My only guess is that the variable "exp" is not being set to the value of 0. Trace out the variables to make sure they are correct - trace(exp);
  19. I would suggest using a reusable function for the...

    I would suggest using a reusable function for the bulk of it. Depending on how your quiz is setup.
    I've made XML quizzes in the past, that use only a few functions to process the XML and functions...
  20. Replies
    1
    Views
    591

    Hi, can you post your code that is not working?

    Hi, can you post your code that is not working?
  21. Replies
    2
    Views
    880

    Hi, its hard to give any help with such little...

    Hi, its hard to give any help with such little info. Can you post your current code for setting textfield to scoret, or anything more relevant? Code of the score increment?

    Anyone can assume how...
  22. Ok took a look at it. It seems that you have...

    Ok took a look at it. It seems that you have actionscript on a MovieClip instance of "randomjpeg" with an instance name of "location" and you have about the same code on frame 51 of the randomjpeg...
  23. Can you upload your source FLA? The code works...

    Can you upload your source FLA? The code works fine in CS6, so i'm guessing the problem is somewhere else.
  24. Replies
    2
    Views
    748

    Just by looking at the xml, i would guess it has...

    Just by looking at the xml, i would guess it has something to do with an incorrect file path.



    <file>..MP3s/Air Horn.mp3</file> // should either be ../MP3s or /../MP3s


    Either way you can...
  25. Replies
    2
    Views
    722

    Hi, just off the top of my head, I would guess...

    Hi, just off the top of my head, I would guess the remote uses the left and right arrows to go next and back, or some variation. The remotes are mainly used for Powerpoint presentations.

    So that...
Results 1 to 25 of 275
Page 1 of 11 1 2 3 4




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com