A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Basic question.

  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    31

    Basic question.

    I've got a flash button and a movie(somemovie.swf) placed in a table on my page. Now I want to have an Onmouseover action when I move over the button. I only to to see this action in the movie. Is this possible? And how do I set it up?

    For instance, the movie played automaticly scene 1. On mouseover my button I want the movie to play scene 2.

    Thank in advance.

    Lody
    Lody is a Registered Trademark of Useless and Worthless INC

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Assuming the button is in the same movie, add a frame label to frame 1 of scene 2. Name it something simple, like, scn2fr1. Then on the button:

    on(rollOver){
    _root.gotoAndPlay("scn2fr1");
    }

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    31
    They are not in the same movie. I have a button.swf and a movie.swf. I affraid that otherwise my movie will become to big and loading times will be immence.
    Lody is a Registered Trademark of Useless and Worthless INC

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    If it's two different movies on the same page, you need to use something called localConnection();. I'm afraid I don't know enough about it to help.

    Altho, a few buttons isn't going to make a movie that much bigger.

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