A Flash Developer Resource Site

Search:

Type: Posts; User: gordonart

Page 1 of 11 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    1,988

    Rotate drawing canvas

    Many program nowadays can rotate teh drawing canvas.
    How about Flash?
    /Mattias
  2. Replies
    3
    Views
    1,216

    Flash8 One idea ( maybe a little complex but..) would be...

    One idea ( maybe a little complex but..) would be to have 6 different frames that you go to before a new frame. There you can specify which rand-frame there are.
    If yoy want to avoid frame 4 among...
  3. Replies
    3
    Views
    1,216

    Flash8 I tested this but had problems with some other...

    I tested this but had problems with some other codes that I used on every page.
    I found a way move to another fram with this code:
    function randNum(nMin, nMax) {
    return Math.round(Math.random() *...
  4. Replies
    3
    Views
    1,216

    Flash8 random - remove used

    I have this random-code that make the player jump do 6 different frames in the movie.

    unction randNum(nMin, nMax) {
    return Math.round(Math.random() * (nMax - nMin)) + nMin;
    }
    /////...
  5. Replies
    1
    Views
    701

    Flash8 solved. Had "autokern" checked in the properties.

    solved. Had "autokern" checked in the properties.
  6. Replies
    1
    Views
    701

    Flash8 input does not work

    I have coded this:

    stop();
    ordet = "write here";
    ////
    knapp.onRelease = function(){
    if(ordet == "yes" ){
    trace("yes!");
    }else{
    trace("no!");
  7. Replies
    1
    Views
    857

    Flash8 function - several mc:s

    I have a function with several functions like this:
    letafel(spel.b1);
    letafel(spel.b2);
    letafel(spel.b3);
    letafel(spel.b4);
    letafel(spel.b5);

    Can I make this code more simple by some kind of...
  8. Replies
    2
    Views
    755

    Flash8 Thanks a lot!

    Thanks a lot!
  9. Replies
    2
    Views
    755

    Flash8 onEnterFrame once a second

    I use this:
    this.onEnterFrame = function(){
    if((kropp==2)&&(huvud==4)&&(bg.BGtyp==1)){
    bg.nextFrame();
    trace("good");
    }
    to know when different variabels are right. But I don´t want the...
  10. Replies
    11
    Views
    2,188

    Flash8 Thanks!!!!

    Thanks!!!!
  11. Replies
    0
    Views
    875

    Flash8 Array random one problem

    I have this movie that where you go to a random-frame.
    If you answer right that frame is removed from the Array.
    If you answer wrong the frame stayes in the Array.

    It works well but there seems...
  12. Replies
    11
    Views
    2,188

    Flash8 There seems to be a little problem. On the...

    There seems to be a little problem.

    On the first load I always comes to frame 2. That´s ok but when pressing the right choice on frame 2 that frame come back later. That is not the case with the...
  13. Replies
    1
    Views
    1,394

    Flash8 global function

    I have a function in a mc and I want to use it in another mc.
    But I does not seem to call it.
    I guess I can make the function global in some way, or?
  14. Replies
    11
    Views
    2,188

    Flash8 Now it seems to work the way I wanted. I just...

    Now it seems to work the way I wanted.
    I just have some questions so I learn more. Se comments in the code.


    the code "!isCorrect" means that the isCorrect is false?


    ////this code...
  15. Replies
    11
    Views
    2,188

    Flash8 Wonderful, Now it seems to work, or rather now I...

    Wonderful, Now it seems to work, or rather now I understand how to do it right.
    You have helped me before dawsonk, thanks again.
    Get back if I get into trouble again.
    /Mattias
  16. Replies
    11
    Views
    2,188

    Flash8 Could the codes on on quiz with right answer be...

    Could the codes on on quiz with right answer be like this then:

    t1.onRelease = function(){
    var isCorrect = true;
    _parent._parent.gotoAndPlay(1);
    }
  17. Replies
    11
    Views
    2,188

    Flash8 Thanks, I got me to remove an Array but I more...

    Thanks,
    I got me to remove an Array but I more wanted this:

    I can go to 4 random frames ( it works now).
    On each frame there is a "question".
    If you answer right this frame is "deleted" from...
  18. Replies
    11
    Views
    2,188

    Flash8 I found out that had to use Arrays of course. ...

    I found out that had to use Arrays of course.

    var Nummer = new Array(1,2,3,4);
    randomNum = random(Nummer.length);
    //////
    texter.gotoAndStop(randomNum);
    trace("numbers left:" + Nummer);

    I...
  19. Replies
    11
    Views
    2,188

    Flash8 Random remove frames

    I have this Random-code where you go to different frames in a mc.

    function MyRandom(minVal, maxVal){
    return minVal + Math.floor(Math.random()*(maxVal +1 - minVal));
    }
    //////...
  20. Thread: updating var

    by gordonart
    Replies
    3
    Views
    1,044

    Flash8 I have a button(a). When you click on that button...

    I have a button(a). When you click on that button a mc(b) will goto different "holds". So with the a-button you can select different frames ( with names ). One one of the names are the right one....
  21. Thread: updating var

    by gordonart
    Replies
    3
    Views
    1,044

    Flash8 updating var

    I have this code in an mc.


    //////
    function musikstil(a,b){
    a.onRollOver = function(){
    a.gotoAndStop("over");
    }
    a.onRollOut = function(){
    a.gotoAndStop(1);
  22. Replies
    0
    Views
    398

    Flash8 good html Render in Flash 8

    I need to have a good htmlRender to load into Flash 8. I did buy one Htmlrender from Flashtuning for AS2 but it has problems with reading a new html-codes correct.

    Does anyone have any experience...
  23. Replies
    2
    Views
    833

    Flash8 Thanks, now it works and I have learned this.

    Thanks, now it works and I have learned this.
  24. Replies
    2
    Views
    833

    Flash8 text bold & rotation

    I am trying to make this imported text bold but it does not work:
    I also want to rotate the text but when I do the text could not be seen.

    Here the code I am working on:


    /////
    var...
  25. Replies
    2
    Views
    542

    Flash8 I could not make it work. I put it after and the...

    I could not make it work. I put it after and the way you did above put it did not work.
Results 1 to 25 of 268
Page 1 of 11 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center