A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: loading a movie clip using buttons, (really simple for experts)

  1. #1
    Timr03
    Join Date
    Aug 2002
    Location
    Vancouver
    Posts
    8
    hey everyone, i need someone to show me how u can load a movie clip when your mouse cursor goes over a button....



    http://www.zekestudios.com/flash/main.html
    go to this page and go over the music button... that is close to what i am trying to do...

    if u can help me do that then pls answer back,

    Thanks!!

  2. #2
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    in the library right-click on the movieclip you want to attach and select linkage. give it a linkage name.
    here is the code for the button:

    on(rollOver){
    attachMovie("linkage_name","any_name",1);
    }

    to remove it put this on the button:

    on(rollOut){
    unloadMovie(any_name);
    }

  3. #3
    Timr03
    Join Date
    Aug 2002
    Location
    Vancouver
    Posts
    8
    thanks for helping me , but when i click on linkage this window pops up and there are three check boxes that i can select....
    which one do i select?
    export for action script
    export for runtime sharing'
    import for runtime sharing...

    thanks....
    hope to hear from u...

  4. #4
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    check the export for actionscript. I'm sorry bout that
    and make sure the export for first frame is also checjed

  5. #5
    Timr03
    Join Date
    Aug 2002
    Location
    Vancouver
    Posts
    8
    great! i got it!

    thank you very much!!!

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