A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: load movie on level1 play instance on level2 from _root

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    1

    load movie on level1 play instance on level2 from _root

    Hi,
    I have a 'main' swf time line and a 'control' swf which is loaded onto level2 when the main movie starts.

    On frames 10 to 20 of the main timeline are for eg.

    loadMovieNum("01_purpose.swf",1);
    stop();

    ...which loads the content swfs on level 1 of the root timeline.

    This is controlled by buttons on my control swf. (ie goto and stop ,10)
    This all works fine.

    I want to be able to highlight my buttons on the 'control' swf so that I can see where I am in the timeline of the presentation.
    I have an instance of 'colour' in my control swf and I want to action this from the root timeline so that a next and previous button on the control will also highlight the correct button. 'colour is just a movie clip the moves a block of colour from one label to another eg 'one', ';two' etc.

    Am I close with this syntax in my main (root) timeline?

    loadMovieNum("01_purpose.swf",1);
    _level2.colour.gotoAndStop(one);
    stop();

    Would appreciate any help!!

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    frame labels require quotes - "label"

    _level2.colour.gotoAndStop("one");

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