A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: problem with path - parent? root? level?

Threaded View

  1. #1

    problem with path - parent? root? level?

    I'm having trouble determining a path. I have a movie clip (playSlideshow) that's supposed to control the starting and stopping of a slideshow. It works perfectly when I test it as a standalone, but when I load it onto Level1 of the main movie, it stops working.

    The movie clip (playSlideshow) contains two frames:

    1st frame:
    on (release) {
    this.nextFrame();
    }
    on (release) {
    _parent.peelProperty.startAutoPlay(3);
    }
    2nd frame:
    on (release) {
    this.prevFrame();
    }
    on (release) {
    _parent.peelProperty.stopAutoPlay();
    }

    The movie clip lives on the same timeline as the instance (peelProperty) that it's supposed to start and stop. Since it works as a standalone, I'm guessing that "_parent" is the problem - what should it be?

    Here it is as a standalone:
    http://1144-90403.peelroom.com/1br.swf

    Here it is on level1 - click "one bedroom" to load it:
    http://1144-90403.peelroom.com/index.html

    Thanks,

    julia
    Last edited by wywalk; 06-13-2006 at 12:38 PM.

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