coin pickup
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: coin pickup

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    2

    coin pickup

    trying to make coins rise/fade as i pick them up, but isnt working. im aware that its an enterframe listener and not a circumstancial function call like it will be later

    stop();
    import flash.display.*;
    plusfive.addEventListener(Event.ENTER_FRAME, riseFade);


    function riseFade(event:Event):void
    {
    plusfive.alpha -= 0.01;
    plusfive.y -= 1;
    }

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    El Paso
    Posts
    2,429
    that looks fine. What's the problem?

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    2
    not sure, object plusfive isnt affected

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com