dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scripting of button problem

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    22

    Flashkit help me

    Would some kind, considerate and intelligent character help me with this.

    http://www.flashstar.de/tutlist/index.php3?id=131

    Could you take a look at this scaling effect tiny fla and tell me how to change the functions of the buttons to load a swf into a target movie clip instance instead of the basic get url.

    Thanks to anyone who can help
    [Edited by Manson on 05-14-2002 at 04:20 PM]

  2. #2
    Junior Member
    Join Date
    Nov 2000
    Posts
    22
    Pretty please?

  3. #3
    Senior Member dlowe93's Avatar
    Join Date
    Aug 2001
    Location
    Stumptown
    Posts
    621

    Re: Flashkit help me

    Originally posted by Manson
    Would some kind, considerate and intelligent character help me with this.

    http://www.flashstar.de/tutlist/index.php3?id=131

    Could you take a look at this scaling effect tiny fla and tell me how to change the functions of the buttons to load a swf into a target movie clip instance instead of the basic get url.

    Thanks to anyone who can help
    [Edited by Manson on 05-14-2002 at 04:20 PM]
    apparently all of the kind, considerate, intelligent members are out today, so i'll answer instead.

    you will need to change two things:

    on the button change this:

    Code:
    on (release) {
    	    getURL (url);
    }
    to this :
    Code:
    on (release) {
    	    _root.theTargetClip.loadMovie(url);
        //where theTargetClip is the clip you want to load in to;
       //change this to a variable if desired;
    }
    then change the url variable of each onClipEven(load) of each _parent movie clip to the location of the .swf that you want to load, and that should do it.


    hope this helps.

    d.

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Posts
    22

    Re: Re: Flashkit help me

    David, belated thanks for solving my problem. I returned home from a week away to find someone pissing on my fence. I also had the answer to my problem. You have restored my faith in humanity at least for a day or two.

    Thanks again

    [QUOTE]Originally posted by dlowe93
    [B]
    Originally posted by Manson
    Would some kind, considerate and intelligent character help me with this.

    http://www.flashstar.de/tutlist/index.php3?id=131

    Could you take a look at this scaling effect tiny fla and tell me how to change the functions of the buttons to load a swf into a target movie clip instance instead of the basic get url.

    Thanks to anyone who can help

    ----------------------



    hope this helps.

    d.

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