A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Scene 1 mouse roll over to Scene 2

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    4

    Scene 1 mouse roll over to Scene 2

    To all professional scriptures out there, I really need your help..

    My first post here in this great and wonderful forum, newbie at scripts..No problem making a movie or scenes..Scripts got me confused, I try for 3 days, my brain hurts just trying to get this to work.
    Both are movie clips.

    Here's my problem:
    I have scene1 and scene2. scene1 continues and jumps into scene2 and continues on looping back to scene1 and jumps into scene2 again and continues on..

    Here's I wanted to do..Scene1 as a introduction until a mouse passes over scene1 (roll over) to scene2.

    on roll out, back to scene1 continues until mouse passes over to scene2..

    Here's what I've done so far..
    scene1:
    Code:
    on (rollOver) {
        
        nextSceneAndPlay();
    }
    on (rollOut) {
       
        nextSceneAndPlay();
    }
    Scene2:
    Code:
    on (rollOver) {
        playSound("music",true);
    }
    on (rollOut) {
        stopAllSounds();
        
        _root.gotoAndPlay("Scene_1");
    }
    I hope you can help me..
    I can posted here or email..

    Thanks In Advance..

  2. #2
    Carpe Diem - Moderator wolfgross's Avatar
    Join Date
    Apr 2001
    Location
    SWiSHzone
    Posts
    1,700
    ...can you upload the swi here?

    wolf

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    I'm having problems uploading file..I upload swi in rar 5mb.. Just to let you know, It's 150H-400W SwishMax3..

    Code:
    my_project.rar
    Thank-you In Advance..
    Last edited by flash2010; 03-31-2010 at 01:50 AM.

  4. #4
    Carpe Diem - Moderator wolfgross's Avatar
    Join Date
    Apr 2001
    Location
    SWiSHzone
    Posts
    1,700
    ...why is it soooo big? - sorry I can not open .rar extensions - can you zip it up?

    wolf

  5. #5
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    .zip format..I hope this helps..
    Code:
    my_project.zip
    Thank-you
    Last edited by flash2010; 03-31-2010 at 01:50 AM.

  6. #6
    N' then I might just
    Jump back on
    An' ride
    Like a cowboy
    Into the dawn
    ........To Montana.
    david petley's Avatar
    Join Date
    Jun 2000
    Location
    not in Montana ™
    Posts
    10,192
    it might help if you indicated what version and build of the software you are using as well.

    Do you have a stop placed at the end of both scenes?

    Attached is a very simple example made in Max1 that sounds like your description of what you want to happen.

    davidp
    Attached Files Attached Files
    No longer a Flashkit mod, not even by stealth

    Insanity is just a point of view. After all, the world looks pretty normal through your own underpants.

  7. #7
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    Problem [SOLVED]

    Thank-you both for replying to my thread..

    Took some time to figure this out. Didn't know scripts are case sensitive..

    Dave..script you posted, didn't work as well as you suggested.If you went back post #3 you understand what version of SwishMax I'm using..

    And finally, your search button is your best friend..Always read and learn as you go, helps your project go alittle faster.

    Best of luck on your project..

    Thank-you guys for helping me with my project..

    Flash2010

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