A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Set Movie Clip for:Stop

  1. #1

    Set Movie Clip for:Stop

    Sorry i have to ask so many questions but please excuse my ignorance. I feel like a Pre-Rookie!!!

    - My first question is if i want my movie to stop at I have to set it to stop (for example at my home page) on the (2nd) Frame because when I wanted to stop it on the first frame I got a message that the (stop) function would probably be ignored! Is this correct!

    - My second question is if I have say 5navigation buttons on my home page that goes to various pages of my site. Will i have to create an individual movie file for each button.

    example buttons: HOme, contact, service, about, portfolio. will I need to make 5 different movie files for these different buttons of my site?

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    That is how I do it to keep the initial loading time to a minimum. Make your menu, Put an empty movie clip where you want them main content, and have the buttons load that movie with the individual swf files.

  3. #3
    Some dude, says hi Ultra Pulse's Avatar
    Join Date
    Jun 2005
    Posts
    262
    1st: correct, the stop command on the first frame will most likely be ignored

    2nd: NO you have to make 5 individual frames, that you should name by going into edit>list of key frame then select one and name it then unclick it,
    Use this command for the button
    Code:
    on (release){
    gotoAndStop ("home")
    }

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Quote Originally Posted by Ultra Pulse
    2nd: NO you have to make 5 individual frames, that you should name by going into edit>list of key frame then select one and name it then unclick it,
    Use this command for the button
    Code:
    on (release){
    gotoAndStop ("home")
    }
    You can but if you want to anything complex using loaded movies is a much better way to go.

    1. Intial page loads faster
    2. Easier to update single areas
    3. bound to be a few more good reason just can't think of them now..

  5. #5
    Ok i got this to work using the code:

    Code:
    on (release){
    gotoAndStop ("home")
    }

    But blanius I wasn't clear on the instructions you gave...

    You can but if you want to anything complex using loaded movies is a much better way to go
    Could explain this once more! Or give instructions on how to do this!

    thanks guys for all your help!

  6. #6
    Some dude, says hi Ultra Pulse's Avatar
    Join Date
    Jun 2005
    Posts
    262
    Well what he means is if you wanna do something more complex, and use the less amount of space, you have to load individual SWF files.

    I never used that code so I wouldn't know about it.

  7. #7
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    here is a demo of what blanius is talking about. it is several swfs that form a web page.
    Any programming language is at its best before it is implemented and used.

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