Controlling color of movie clip "rectangle" externally

I have a project that demands control of the fill color of a
rectangle shaped mc externally. So the user would have the control
to change the fill color of a movie clip by editing something
externally, not having to edit the flash file. Is this
possible?

yes. you could use an xml or text file to furnish colors to
flash.

Similar Messages

  • Wie kann man mit dem neuen I-Movie Clips auf externe Festplatte speichern um Computer zu entlasten. Gruss

    Wie kann man mit dem neuen I-Movie Clips auf externe Festplatte speichern um Computer zu entlasten.
    Gruss
    Remy

    Ich habe das gleiche problem....ich hoffe auf eine schnelle loesung...

  • Hide movie clip of external swf

    Hi there.
    I have my main.swf and in the second frame i load an external swf called first.swf with this method:
    [AS]var loader:MovieClipLoader = new MovieClipLoader();
    this.createEmptyMovieClip("myGalleryContainerproducts",5);
    myGalleryContainerproducts._lockroot=true;
    loader.loadClip("first.swf",myGalleryContainerproducts);
    myGalleryContainerproducts._y =86;
    myGalleryContainerproducts._x =50;
    [/AS]
    In first.swf i have two movie clips with instance names ena and dyo
    I want in main.swf in the third frame to hide these movie clips of first.swf  (only the movie clips not the whole .swf) or to move them (change x and y values) so they practically hide.
    Any solutions?
    Thank you in advance

    You will need to wait until the file is loaded to be able to interact with it, so if that might be an issue timing-wise then look into using the addListener method of the MovieClipLoader class.  If the movie is loaded you should be able to access the movieclips within it using the movieclip name you assigned (mygalleryContainerproducts) to target them.

  • Controlling a loaded movie clip

    I'm trying to load a clip (flash with video) and then as soon
    as the movie is loaded I want the movie to stop... right now the
    movie plays immediatelly... I tried putting _root.stop(); but that
    didn't work...
    This is my code:
    this.createEmptyMovieClip("clip_mc",
    this.getNextHighestDepth());
    var clip_mcl:MovieClipLoader = new MovieClipLoader();
    clip_mcl.loadClip("knockoutbag13.swf", clip_mc);
    This is what I tried:
    clip_mc.onLoad = function()
    clip_mc.stop();
    and this:
    clip_mc.stop();
    None worked...
    Please help

    Ok try this.
    You should be able to control the clip now after this code.

  • Importing Movie Clips from External Hard Drive

    Apologies if this has been answered elsewhere...
    I use my Sony SD card camcorder to save in AVCHD. I can import clips through iMovie to an external HD for editing etc. No problems. I want to know if rather than importing through iMovie, I can copy my AVCHD file directly to my external HD (using Finder) & then import the file from my external HD for processing later?
    I tend to end up with numerous clips on my card, might be covering differnt events, differnt days etc. I don't always have time to import into iMovie on the day I shoot. For , the ability to just dump files to my HD quickly to free up SD card space would be really useful, but I am not sure it is possible
    Any feedback welcome
    D

    Yes.
    The best way is to use the iMovie import screen. At the bottom left you will see a button that says "Create Camera Archive". Press that button and you will copy the AVCHD to the location you specify.
    Try IMPORT/FROM CAMERA ARCHIVE and verify that your clips show up. Then it is safe to erase your card.
    Another way. Go into Disk Utility, Select your card. Choose Create Disk Image.
    Another way. Go into Finder. Create a folder. Drag the entire contents of your card, including folders, and especially empty folders to this new folder. If you do it right, that is the same as an Archive.

  • Remove control bar from MOV clip

    I dropped a MOV file into the web page and it created a
    control bar at the bottom. This is nice for most uses, but I don't
    want it. Any idea how to remove the bar? I tried re-sizing the
    graphic, but that just resizes it from the middle, so the result is
    that I would have to cut off a portion from the top equal to the
    size of the control bar at the bottom :-(

    set controller parameter to "false"
    http://www.mediacollege.com/video/format/quicktime/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "enthios" <[email protected]> wrote in message
    news:g7q1e6$21d$[email protected]..
    > I dropped a MOV file into the web page and it created a
    control bar at the
    > bottom. This is nice for most uses, but I don't want it.
    Any idea how to
    > remove the bar? I tried re-sizing the graphic, but that
    just resizes it
    from
    > the middle, so the result is that I would have to cut
    off a portion from
    the
    > top equal to the size of the control bar at the bottom
    >
    >

  • Controlling a movie clip timeline

    I am using a loaded movie clip in my movie. This script is on
    a button:
    loadMovie("largeWorks_mc.swf",_root.largeWorksE_mc);
    Why can''t I control this loaded movie clip from a button in
    another movie clip:
    large1_btn.onPress = function (){
    _root.largeWorks_mc.gotoAndStop(5);

    quote:
    Originally posted by:
    Opera Rat
    Yes, I'm loading largeWorks_mc into the target movie clip
    _root.largeEmpty_mc.
    Let me see if I can explain this better. If you look at the
    old version (the one that loads the entire flash file at once), you
    can see the different areas of the movie I am talking about. You
    can see it at anthonysmithjr.com
    There is nothing there for me.
    and then view the gallery. I've just added about 50 new pics
    and don't want to keep the gallery the way it is now - loading
    everything at once. So each section of the gallery will load when
    you go to it - large works and small works.
    The thumbnails are a movie clip within the root movie. Then
    the large version of the pics are another movie clip in the root
    movie. So when your looking at the large work section your seeing
    the main movie (the purple background and buttons) and 2 movie
    clips (thumbnails and largeWorks). I no longer want large works
    movie clip to load when the movie is opened because it takes too
    long. So in a version that I have not put up yet I have the code:
    gotoAndStop(6)
    loadMovie("largeWorks_mc.swf",_root.largeWorksE_mc);
    Ok.. this code will work just fine, but instead of having
    both LoadMovie() and gotoAndStop() on the same frame, it might be
    easier to simply have
    gotoAndStop() on your buttons, THEN, on the frame that it
    goes to and stops, have the loadMovie()
    when you click on the large works tab. This loads the movie
    clip of the large version of the pics and it also take you to frame
    6 or the root timeline (where the large works thumbnail clip is
    located).
    So if you were to do what i suggested, on frame six you would
    also have your LoadMovie() command.
    When I click on a thumbnail in the movie clip
    largeThumbnails_mc in the root movie it should tell the movie clip
    that loaded next to it to go to the frame that contains that the
    large version of that thumbnail.
    yes you would use something like this to target it...
    this. HOLDER . WHAT WAS LOADED . gotoAndStop()
    im using that instead of your instance names because im still
    abit fuzzy on what is loaded and when.
    So I do want to control the only timeline in largeWorks_mc
    (just 50 frames of pics) from the other movie clip in the root
    movie. See the site and see if this is any clearer.
    I really appreciate your help. I'm gutting my bathroom at the
    same time I'm trying to get this thing to work and it's driving me
    insane.
    No problems.
    ________________________________________________

  • Detecting Rotation Amount to Control Movie Clips

    I created a movie clip consisting of a bar and a knob.  When you click and drag the knob, the bar rotates through 360 degrees.  I want to be able to detect the degree of rotation and use that metric to control other movie clips.  The code to make the drag/rotate object work is...
    handle.knob.onPress = function(){
    handle.onMouseMove = function(){
      var angle = Math.atan2(this._parent._ymouse-this._y,this._parent._xmouse-this._x);
      this._rotation = angle*180/Math.PI;
      this.knob._rotation = -this._rotation;
      trace(angle);
      trace(angle*180/Math.PI);
    handle.onMouseUp = function(){
    if (this.onMouseMove) delete this.onMouseMove;
    I can trace the angle in radians and degrees but I don't know how to extract either value as a variable that can be used in a function to control a separate movie clip.

    assign a variable to have the value of the _rotation or angle in your onMouseMove function.   and use that variable's value wherever you like.

  • Help with assignment- buttons that control movie clips

    I am pretty new to flash and my professor gave us an assignment with little help or tutorials.
    He wants us to create a SWF that features a house and it's front yard and two buttons.
    One button that says Sunrise, and one that says Sunset.
    When I push the sunrise button, the sun needs to rise above the house and stay there.  When I push the Sunset button, it needs to set- and then a ufo needs to land on the lawn.
    So i think I have a pretty good grasp on the assignment, but the actionscript is throwing me off.  How can I make buttons that will control the sun movie clip to rise- stay above the house, and then set?  The ufo is a whole new matter.   The sunset button should make the sun lower and then a ufo land on the lawn.
    Please help explain/link me to the proper tutorials.   One thing that i'm worried about is that the sun will rise- and then stay above the house even if i click the sunset button.
    Your help is greatly appreciated.

    Well i can think of a few ways to do this.
    Depending on what you have been taught so far you should be able to do this if you know how to make a button, a movie clip, and the basic script for the timeline. ie. play,stop, gotoandplay etc.
    I understand you have been set a task and you want the answer straight away. But i doubt he would have given you anything you couldn't handle. Also I learnt more from trial and error and searching the net than from most of my teachers at coll and uni, It's frustrating i know, but the buzz you get when you finally crack it is amazing. Stick in there!
    That being said i remember the panic I suffered and like to help so here's a thought:
    You could just have the 2 buttons play a basic movie clip. The sky could rotate one way to make the sun rise and add a "stop" in the actions to make it stay there, and to the left to sunset with both images together but not being shown all the time by using a mask. You could even add in the ufo to the clip but this would only work if you added an extra part to the movie so that when the ufo has landed it flys out again and then begins to rotate the sun and moon again. ( buttons would be dissabled during the play modes to avoid chaos) This is just a quick thought. I'm sure there are several ways of doing this depending on how fancy it needs to be.
    If your teacher really has given you no notes on buttons,movieclips and actionscript i would sujest Adobe TV. Nice videos that explain step by step. OR try downloading a tutorial file with buttons and movie clips and look at the coding they use in the file. Thats how i have learnt most of it since finishing Uni.
    Good Luck
    Cobie

  • Movie clip stops playing for no reason

    I am making a banner that has multiple movie clips sharing the same area, creating different rainbow effects when different areas (invisible buttons) are moused over.
    First of all I couldn't figure out if there was a way to have one invisible button over the whole area that changed to a different colored effect with each mouse over (first mouse over the black and whites would change to reds, second would change it to blues, third would change it to browns, etc.). Since I couldn't figure this out I settled on creating three buttons covering a third of the banner each, so when the mouse passes over one button it changes to reds, over another button it changes to blues, over the third it changes to browns.
    The effects are movie clips where each frame has another stripe changing color so it goes in a wave effect from one to the next, and then goes back to white and black in the same manner.  The first frame of each movie clip I had to turn into a nested movie clip so I could turn the alpha to 0, since I was going to have these color effect movie clips on top of one another in the main timeline on different layers, and so you could see the effect even if that color layer wasn't on top. I used the same nested movie clip with zero alpha for the first frame of each color effect clip (reds movie clip, blues movie clip, etc), so I dont' know if that's an issue.
    Anyway, it seemed to work fine for a while, but after working on it for a while longer (and not getting any further since I removed most of the changes I made), now when I test the movie the mouse over does not seem to work correctly. It works fine, seemingly, for the first time I mouse over each button, but in order to have it work again I have to mouse over the button twice, and then it will pause randomly during a part of the clip and I have to move my mouse back over for the movie clip to continue.
    I can't tell if this is because of the overlapping movie clips, or because my buttons are messed up, or if my actionscript is messed up, or if the timeline has to be longer, or what. Currently the timeline is 55 frames, the same as each movie clip.
    I put a movieclip_instance.stop(); command in the first frame of the main timeline, is there a better way to do this? Should I put the stop command in the movie clip itself?
    Here is a section of my AS in the main timeline, this is my first time programming ever, in any language, and trying to learn from the internet is more difficult than I thought it would be.
    redmovie.stop();
    red_btn.addEventListener(MouseEvent.ROLL_OVER, playRed);
    function playRed(event:MouseEvent):void
              redmovie.play();

    I am not sure of what the problem is, so I don't know if this will help or not.  One thing I might suggest is that you use gotoAndPlay(1) instead of play().  That way, if your movieclip is in the middle of playing it won't continue but will start from the beginning.
    You could use one button to have the different movieclips play in sequence if you prefer that.  You would just need to have some form of counter that keeps track of which is the next to play. Somethin like...
    var mcCounter:uint = 0; // start at 0 since an array is being used to identify which movieclip to play
    var mcs:Array = new Array(redmovie, bluemovie, brownmovie);
    only_btn.addEventListener(MouseEvent.ROLL_OVER, playMC);
    function playMC(event:MouseEvent):void
             mcs[mcCounter].play();                  // tell the current mc to play
             mcCounter += 1;                            // increment for the next mc
             if(mcCounter == 3) mcCounter = 0;  // reset the counter if it exceeds the array

  • Button inside a movie clip

    Ok, i'm new at action script so i have a problem
    I have a sound inside a movie clip (sound_MC) in the main
    timeline, and i have another movie clip with a button inside, and I
    need that button to control that sound movie clip
    on (release) {
    gotoAndStop("off_radio"); // this goes to another frame in
    the movieclip with the button (works fine)
    on (release) {
    _root.gotoAndPlay("stop_loop"); // this goes to another
    frame of the sound MC (doesn't work)
    // i have this in the stop button
    on (release) {
    gotoAndStop("on_radio");
    on (release) {
    _root.gotoAndPlay("start_loop");
    // and this for the play button
    whats the code for that ?
    what should i do?

    i solve the problem !! :-D
    but now i hold like to now how i make a fade out sound
    command when i enter a frame and a fade in when i enter in another
    frame
    here are the examples:
    http://tubo_centeno.web.simplesnet.pt/problem/problem.html
    http://tubo_centeno.web.simplesnet.pt/problem/problem.fla
    can anyone help me?

  • Attaching an embedded movie clip to an empty one

    HI,
    I am new to Flash and would like some help about the
    following. A have an embeded movie clip in my library that i want
    to attach to an empty movie clip I am creating with ActionScript. I
    want to fix the size of the empty movie clip, that I will use as a
    container to for my embedded movie clip. It turns out that when I
    fix the size of the empty movie clip container and I use
    attachMovie to load the embedded movie clip to it, the image
    doesn't show, I can hear the sound but not the image.
    So the question is , if I have a movie clip container of a
    different size than the movie clipse I want to load into it, what
    do I need to do to make sure the movie clip will fit into the empty
    container.
    thanks
    -malena

    Thanks for the answer, but what I would like to do is to have
    a FIXED size empty clip on the stage and be able to load new clips
    into that empty clip and have the loaded clips resize to fit into
    the empty clip.
    For example the FLVPlayback component does that
    automatically. I can't use the FLVPlayback component because I want
    to be able to control which frame number I want to displaly on the
    screen, and it looks like I can only have that type of frame level
    control wiht a Movie clip component but not with the FLVPlayback
    component.
    -malena

  • Pause Playback for Nested Movie Clips

    Anybody know a script solution for how to target pause of a
    myriad of different movie clips from a button script on the root
    timeline?
    I'm using this script which works fine for pausing the root
    timeline, but if I've passed off control to a movie clip, you would
    have to press this button again to make the movie clip stop.
    Here is the button script:
    on (release) {
    if (global_sound.getVolume() == 100) {
    global_sound.setVolume(0);
    stop();
    Help appreciated. Thanks!

    kglad,
    I mean I've issued a stop(); in the root timeline and now the
    movie clip is going to play until it is done. Once it is finished,
    I issue a resume back to the root timeline with a _root statement
    and the playback continues in the root timeline. Essentially the
    movie clips need to complete their playback and then they can
    return back to allowing the root timeline to continue.

  • Controll the ROOT timeline from externally loaded movie clip?

    does anyone know how to controll the root timeline from an
    externally loaded movie clip?
    I have loaded a movie clip, which has buttons on it that I
    would like to controll the main original website timeline with.
    something like this.parent.parent?
    thanks a lot
    harky

    feedmeapples <[email protected]> wrote:
    > does anyone know how to controll the root timeline from
    an externally
    > loaded movie clip?
    >
    > I have loaded a movie clip, which has buttons on it that
    I would like
    > to controll the main original website timeline with.
    >
    > something like this.parent.parent?
    _root.doStuff;
    Freundliche Grüße,
    Franz Marksteiner

  • Controlling frame rates of loaded movie clips

    Is it possible to control the playback rate of movie clips
    that are loaded with a Loader() call?

    …that which we call a rose by any other name would
    smell as sweet.
    With AS3 it seems that we shouldn't get as hung up on names
    as we have been in the past. From my brief experiments, I don't
    think it is that the loader is dynamically creating a movie, but
    that the timeline of the external clip is an instance of MovieClip.
    And it is "time-line" placed by definition. When I trace the
    this.name from my external movie it traces "root1" by itself, but
    when loaded into something else it gets that "instance" name.
    You can name your loader and just access its content property
    (cast as a MovieClip).

Maybe you are looking for