A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how to use items in room as2

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Unhappy how to use items in room as2

    hi i am newbie action scrpt 2.0 and do escape room game i can able to take items to my inventory but i want use example , if i use hammer on a vase , vase will crash (motion tween) player will find key. yea important is player can continue to play game after this animation i didnt understand how to do that with codes:

    (detail info here maybe if you look understand me http://www.powerabuse.co.uk/tutorials/pnc_2.html)

    onClipEvent (load) {
    this.tabEnabled = false;
    this._visible = false;
    orig_x = this._x;
    orig_y = this._y;
    }
    on (press) {
    this.startDrag();
    }
    on (release) {
    this.stopDrag();
    this._x = orig_x;
    this._y = orig_y;
    if (eval(this._droptarget) == _level0.balloon.balloon) {
    _level0.balloon.gotoAndStop(61);
    _level0.balloon.balloon.gotoAndPlay(2);
    _global.b_pop = 1;
    this._visible = false;
    where can i do a motion tween for burst bubble and player continue play game after this animation


    _level0.balloon.gotoAndStop(61);
    _level0.balloon.balloon.gotoAndPlay(2); = whats that :s

  2. #2
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    http://www.youtube.com/watch?v=5wFl9...eature=related
    he is drag flashlight and drop the battery how can i do it

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