dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: basic function problem

Threaded View

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Sleeping rough in the kindom of Lurk
    Posts
    139

    basic function problem

    Have a problem with something quite basic that I can't get working. Appreciate any help or direction with it. I have a function:

    Code:
    position1 = function(){
    	this.slideTo(0,0,2,"easeInOutBounce");
    	this.scaleTo(100,3);
    	this.alphaTo(100,3.5);
    }
    that I want to apply to a movieclip "aboutus" using
    Code:
    aboutbutton.onPress = function(){
    postition1.apply(aboutus);
    }
    but it dosen't seem to work. What amazingly dunce thing am I doing?

    I'm using the tween prototypes from http://laco.wz.cz/tween/?page=examples
    Last edited by cosgrove80; 11-08-2004 at 05:35 PM.

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