dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: licencjonowany

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    337

    removeChild and sounds problem

    Hello,

    I have code like this :




    private function removeBall() {

    var _name:DisplayObject = _container.getChildByName(obj._ballMC.name);
  2. Replies
    1
    Views
    2,026

    setChildIndex

    Hi, if someone can help....


    private function init_ship(){
    _shipMC = new ship_mc()
    container.addChild(_shipMC)

    trace(container.getChildIndex(_shipMC))...
  3. Replies
    5
    Views
    409

    ok thx, and last thing ...

    ok thx, and last thing

    _envir.init(mcArray[i].name,10 - i * 50,-100,0);

    and i want to put 3 different mc to this function

    TypeError: Error #1034: Type Coercion failed: cannot convert...
  4. Replies
    5
    Views
    409

    hi, i do it but it doesnt work _newMC.name =...

    hi, i do it but it doesnt work

    _newMC.name = "ball"+i

    trace(_newMC.name)/// ball1,ball2,ball3

    but

    _envir.init(myArray[i]) /// only first index is known as [object ball]
  5. Replies
    5
    Views
    409

    addChild in for loop

    Hi, can someone tell me how to do it:



    private function init_mc(_container){
    _envir = new Enviroiment()
    for (var i=0;i<3;i++){
    var _newMC:MovieClip = new ball
    ...
Results 1 to 5 of 5




Click Here to Expand Forum to Full Width

HTML5 Development Center