A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Making mc loader URL?

  1. #1
    Senior Member
    Join Date
    Dec 2004
    Posts
    459

    Thumbs up Making mc loader URL?

    Hello people,

    I have 4 small invisible buttons on one timeline. Each of these small buttons loads an external jpg into a movie clip container.

    I want each one of these external jpgs that load into the same mc container to go to a new web page. I am trying to do this with a invisible button that goes over where the external jpgs show up. What is the best way of doing this?

    I can put up the action script if you like.
    Thanks for your help.

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Please post your script.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Senior Member
    Join Date
    Dec 2004
    Posts
    459
    Here is the AS2 from the smaller buttons. I want the larger invisible button that is on top of the external jpg to do a getURL.

    Actionscript Code:
    on (rollOver) {
        this.small1.small1A.glowMC.gotoAndPlay("playglow");
        this.small1.small1A.yellowbox.gotoAndPlay("startyellow");
        this.small1.gotoAndPlay("startdown");
    }
    on (rollOut) {
        this.small1.small1A.glowMC.gotoAndPlay("endglow");
        this.small1.small1A.yellowbox.gotoAndPlay("endyellow");
        this.small1.gotoAndPlay("startup");
        this.small1.smallA.yellowbox.gotoAndPlay("boxsmall");


    }
    on (press) {
        this.small1.small1A.yellowbox.gotoAndStop("pushyellow");
       


    }

    on (release) {
        this.small1.small1A.yellowbox.gotoAndPlay("pushyellow");
        var mcHolder:MovieClip = createEmptyMovieClip("mcHolder", getNextHighestDepth());
        var mcLoader:MovieClipLoader = new MovieClipLoader();
        mcLoader.addListener(this);

        (mcLoader.loadClip("externalpic.jpg", mcHolder));


    }







    //mrbillwebsite.jpg

  4. #4
    Senior Member
    Join Date
    Dec 2004
    Posts
    459
    Can anyone help?

Tags for this Thread

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