A Flash Developer Resource Site

Search:

Type: Posts; User: khonsu77

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    532

    attachmovie problem

    game.clip.char.onRelease = function (){
    game.clip.char.attachMovie("menu1", "menu1", 10)
    }

    the button in the "menu1" clip does not work. The whole "game.clip.char" acts like a button. If I...
  2. Replies
    0
    Views
    1,131

    moviec clip over button

    I would like to why a button is still clickable even if it is under a movieclip. How can this be prevented?

    Thank you for your help!
  3. Replies
    0
    Views
    550

    function for moving objects

    I would like to make a function where object are moved from one point to another. I have the start and end tile(isometric) of eache object and have a function move(llll) which is caled like so:

    ...
  4. Replies
    1
    Views
    320

    function for moving objects

    I would like to make a function where object are moved from one point to another. I have the start and end tile(isometric) of eache object and have a function move(llll) which is caled like so:

    ...
  5. Replies
    1
    Views
    320

    moving array of objects (AS1)

    I have an array of objects whic have start and end positions defined like this.


    for(var i=0; i<arrusr.length; i++){


    _root["cccc" + arrusr[i]] = game.clip["char" + arrusr[i]]...
  6. Replies
    1
    Views
    651

    onSync question!

    How do I know when al the users have recived the information from the shared object when it is changed?
    Thank you!
  7. Replies
    4
    Views
    1,768

    button.swapDepth ??

    I want to swap depths with buttons and am using:

    Button.prototype.swapDepths = MovieClip.prototype.swapDepths;


    but it doesnt seem to work on button1.swapDepth(2000).
    What am I doing wrong?...
  8. Replies
    1
    Views
    541

    dynamic variables

    prblem with variable (mx 2004)
    If I trace my variable in the maner --> trace(cccc2.xtile) it works.
    But if i trace it --> trace(["cccc"+2].xtile) i get undefined.
    trace(this["cccc"+2].xtile) also...
  9. Replies
    2
    Views
    297

    does not seem to work. Any more toughts? Thank...

    does not seem to work. Any more toughts?
    Thank you!
  10. Replies
    2
    Views
    297

    prblem with variable (mx 2004)

    If I trace my variable in the maner --> trace(cccc2.xtile) it works.
    But if i trace it --> trace(["cccc"+2].xtile) i get undefined.
    trace(this["cccc"+2].xtile) also undefined



    for(var i=0;...
  11. Replies
    2
    Views
    313

    code

    for(var i=0; i<arrusr.length; i++){


    this["cccc" + arrusr[i]] = game.clip["char" + arrusr[i]]
    trace(this["cccc" + arrusr[i]])
    this["cccc" + arrusr[i]].xtile = p.data["x"+arrusr[i]]...
  12. Replies
    2
    Views
    313

    Variable problem (Flash MX 04)

    If I trace my variable in the maner --> trace(cccc2.xtile) it works.
    But if i trace it --> trace(["cccc"+2].xtile) i get undefined.
    trace(this["cccc"+2].xtile) also undefined
    What am I doing...
  13. Replies
    1
    Views
    597

    Problem with function (Flash Mx2004)

    Here is the problem

    My function:


    addchar = function(t){


    game.clip.attachMovie("char", "char" + t, 1000000);
    this["cccc" + t] = game.clip["char" + t]
  14. Replies
    6
    Views
    421

    worked

    thanks

    like your signature :)
  15. Replies
    6
    Views
    421

    problem

    I tried something like that but it ony works with the first item a1 = 1. If a1 = 2, a2 traces 1,2,3,4. What could be wrong?




    a1= [1];
    a2= [1,2,3,4];
  16. Replies
    6
    Views
    421

    what if I dont know exact index when my array is...

    what if I dont know exact index when my array is created dynamicaly and is changing?
  17. Replies
    6
    Views
    421

    removing items frm array

    I would like to remove item "2" from array[2,4,5]

    how can i do that?

    Thank you for your help!
  18. Thread: array problem

    by khonsu77
    Replies
    1
    Views
    412

    figured it out userarray=[11,22,33,44] ...

    figured it out



    userarray=[11,22,33,44]

    for(var i:Number=0; i<userarray.length; i++){
    trace( userarray[i] );
    }
  19. Thread: array problem

    by khonsu77
    Replies
    1
    Views
    412

    array problem

    I have an array1 [11,21,31,41]

    when i call

    for (var i in array) {
    trace ( i )
    }

    i get
    3
  20. Replies
    5
    Views
    2,195

    Subtract arrays

    Is it possible to subtract array1 [1, 2, 3] from array2[1,2,3,4,5,6] and get array3[4,5,6]

    Thanks for the help!
  21. Thread: Array

    by khonsu77
    Replies
    3
    Views
    420

    calling object

    Can you please tel me how to call a variable for example xx1?
  22. Thread: Array

    by khonsu77
    Replies
    3
    Views
    420

    Array

    p.onSync = function(list) {

    xx1 = p.data.x1
    xx2 = p.data.x2
    xx3 = p.data.x3
    xx4 = p.data.x4
    yy1 = p.data.y1
    yy2 = p.data.y2
    yy3 = p.data.y3
    yy4 = p.data.y4
  23. Replies
    1
    Views
    1,048

    Sharedobject array

    p.onSync = function(list) {

    xx1 = p.data.x1
    xx2 = p.data.x2
    xx3 = p.data.x3
    xx4 = p.data.x4
    yy1 = p.data.y1
    yy2 = p.data.y2
    yy3 = p.data.y3
    yy4 = p.data.y4
  24. Replies
    1
    Views
    643

    isometric mouse and scroll

    I ma having problems with the scroll function in isometrica game where a character is controled by a mouse. I found some good examples on iso-scrolling using movement keys but i am having some...
  25. Thread: please help

    by khonsu77
    Replies
    0
    Views
    529

    please help

    My problem is still the same. my tanks are yumping around if i make the X and Y commponent as shared object. If my tank stands still then there is no problem and the other tank, the one I do not...
Results 1 to 25 of 26
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center