dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Basic Flash Question

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2005
    Posts
    3

    Basic Flash Question

    I am sure this is going to be so simple and I am going to kick my self, but thanks in advance for your help.

    MASTER SWF ---> Buttons --> Trigger 4 galleries

    How do I get back to the master swf? I want to have a home button in the gallery page.

    Should I create a main swf in the master swf or can they be the same thing?

    Thanks.

    It's a page with 4 galleries
    //I did a search and I couldn't figure it out, thanks again.


    // Code
    Pardon the bad commenting

    /*
    Movie Clip Loader
    */
    var MCL:MovieClipLoader = new MovieClipLoader();
    var listener:Object = new Object();
    MCL.addListener(listener);
    //loading trigger shared lib ||
    MCL.loadClip("trigger.swf", 5);



    //Then for the buttons on frame 10
    stop();
    Button01.onRelease = function () {
    gotoAndStop(15);

    }
    Button02.onRelease = function () {
    gotoAndStop(25);

    }
    Button03.onRelease = function () {
    gotoAndStop(35);

    }
    Button04.onRelease = function () {
    gotoAndStop(45);

    }
    //_level0.MCL.loadClip("gallery_01.swf, 5");


    Then on the stop load frames the different swfs are loaded

    stop();
    MCL.loadClip("gallery_01.swf", 5);


    How do I get it back to the frame 10 in the Master.swf or a Main.swf file?

    TIA.

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    60
    just label frame 10 on the main swf something like main10, then go

    on(release){
    gotoAndPlay("main10")
    }

    Hope it works for ya.

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