A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Simple Action script Problem...

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Location
    PA
    Posts
    2

    Simple Action script Problem...

    I have two movie clips and both are in different frames of Scene 1, I wanted to link an enter button on the mc to frame 3 in the scene which will play movie clip two. Now I got that to work with the AS:

    on (release) {
    tellTarget ("_root"){
    gotoAndStop (3);
    }
    }

    However, it seems that the first movie clip is playing behind the second...

    Here is a sample so you understand where my problem it, drag your mouse on the second clip where the enter button was on the first clip.

    http://www.depictionmedia.com/gallery/photogallery.html
    Salvatore Jenkins Jr.
    KSunderground.50g.com
    jnjassociates.esmartbiz.com
    JenX

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Your AS is Flash 4 syntax. Change to

    on(release)
    {
    _root.gotoAndStop(3);
    }
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Apr 2005
    Location
    PA
    Posts
    2

    !

    thank you!
    Salvatore Jenkins Jr.
    KSunderground.50g.com
    jnjassociates.esmartbiz.com
    JenX

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