A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: load function help

  1. #1
    Member
    Join Date
    Jun 2009
    Posts
    44

    load function help

    hello all,
    i need your help again.
    i need to put the:
    onClipEvent (load){
    function inside a movieclip (on the frame) but it wont let me. is there anyway i can do this.
    thanks in advance

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    try this on frame#1 of your movieclip -
    PHP Code:
    this.onEnterFrame = function(){ 
    test();
    this.onEnterFrame null;
    };

    function 
    test(){
    trace("test");
    }; 

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