A Flash Developer Resource Site

Search:

Type: Posts; User: Steven FN

Page 1 of 12 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    1,776

    It looks to be an HTML site, and not flash based....

    It looks to be an HTML site, and not flash based. Not sure if its purchased from a template site. I would just email the owner to inquire.
  2. Replies
    6
    Views
    3,200

    Not sure exactly, just recreated using your code...

    Not sure exactly, just recreated using your code and it worked out fine. Maybe something else is misfiring in your source code. Post a part of your source FLA for more help. Also, can you be more...
  3. Replies
    1
    Views
    1,767

    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()...
  4. 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.
  5. 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.
  6. Replies
    5
    Views
    1,631

    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...
  7. Replies
    1
    Views
    722

    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...
  8. Replies
    2
    Views
    5,143

    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...
  9. Replies
    3
    Views
    3,469

    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...
  10. Replies
    1
    Views
    995

    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.
  11. Flash8 Have you tried clearInterval(); before replay?

    Have you tried clearInterval(); before replay?
  12. Replies
    6
    Views
    1,210

    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.
  13. You would use toLowerCase(); var...

    You would use toLowerCase();



    var str:String = " JOSÉ BARÇA";
    trace(str.toLowerCase()); // josé barça
  14. 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/
  15. Replies
    6
    Views
    1,210

    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
    }
  16. 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...
  17. 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...
  18. 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...
  19. Replies
    1
    Views
    945

    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".
  20. Replies
    4
    Views
    1,962

    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);
  21. 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...
  22. Replies
    1
    Views
    759

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

    Hi, can you post your code that is not working?
  23. Replies
    2
    Views
    1,217

    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...
  24. 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...
  25. 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.
Results 1 to 25 of 277
Page 1 of 12 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center