A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Stopping a Function "init" ?

Threaded View

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    4

    Stopping a Function "init" ?

    Hello!

    Im working on a personal animation using lots of different action scripts and effects I have found on the net. I want the animation all to be based within 1 scene.

    On my main "time line" Frame (20) I have a script for snow to fall,

    init = function () {
    //This is where the rest of the script is.
    }
    init();

    The main "time line" then stops on frame (50) with a "stop();" where their is also a movie clip that contains the next part of the animation.

    It's within this movie clip that I want to be able to tell the original

    init = function () {

    To stop!

    I have been trying things like this but I really dont know what else to do other than making another scene. ):

    onEnterFrame;
    _root.init = function (stop) {
    }

    or

    onEnterFrame;
    _root.init;
    stop;

    And a whole load of others! I'm totaly off the mark on this and could really do with some help.

    Cheers Guys and Girls!

    JOe
    Last edited by joe_design9; 04-07-2006 at 07:10 AM.

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