how can LoadMovie become to button

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default how can LoadMovie become to button

    //You can copy all to flash script editing

    //by this way very simple to do loadMovie
    _root.createEmptyMovieClip("test", 1);
    loadMovie("1.jpg", test);

    //on here i want mark button but can't, no error on windows, not any action
    test.onRelease = function() {
    trace("onRelease called");
    };
    //who can help me ? thank you very much

    HKSunny Guest

  2. Similar Questions and Discussions

    1. FP8 loadmovie bug
      Browser Plugin Flash Player 8 on Win IE doesn't seem to work correctly anymore. Instead of loading into a targeted movieclip, it replaces the entire...
    2. loadMovie()
      Hi, I've written the following code, but the .swf file doesn't load: _root.createEmptyMovieClip("navi_mc", 1); navi_mc._x = 50; navi_mc._y =...
    3. what about GIF in mc.loadMovie() ???
      Why doesn't Macromedia support GIF with movieclip.loadMovie()? I very much would like that.
    4. using loadmovie()
      I've created a button symbol and used the loadmovie() function to load an image into the symbol. When I try loading a a photo that was edited (.jpg)...
    5. loadMovie with Var
      hi i have an empty movie called "_root.targetMC" . i duplicate this mc, call it _root.targetMC1" and load a movie called "arial.swf" into it....
  3. #2

    Default Re: how can LoadMovie become to button

    hi,

    to make this script to work you have first to make sure you loaded your
    external file.

    you are trying to assign button behaviors on a movie clip which is not
    loaded yet, that's why is not working.

    thanks
    stelios

    "HKSunny" <webforumsuser@macromedia.com> wrote in message
    news:c2178s$1t0$1@forums.macromedia.com...
    > //You can copy all to flash script editing
    >
    > //by this way very simple to do loadMovie
    > _root.createEmptyMovieClip("test", 1);
    > loadMovie("1.jpg", test);
    >
    > //on here i want mark button but can't, no error on windows, not any
    action
    > test.onRelease = function() {
    > trace("onRelease called");
    > };
    > //who can help me ? thank you very much
    >

    Stelios Jijikakis Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139