Movie clip needs to change alpha of another movie clip

In frame 3 of my Flash animation, I make a graph animate
using a mask. At the end of that animation I want a button in frame
3 whose alpha is set to 0 to become visible so it can be clicked.
So, within the movie clip of the graph, on the last frame I
have:
mc_temp.alpha = 1;
stop();
But I get an error stating "Access of an undefined property
mc_temp"
The button (set as a movie clip) is named "mc_temp". I don't
understand why I can't call it directly from the timeline of a
movie clip.

because its not on the movieclip's timeline. if your graph
movieclip is on the same timeline as mc_temp, try:
MovieClip(this.parent).mc_temp

Similar Messages

  • Function to change alpha of a movie clip

    Hi all, I am having this bit of code not working for me. I want to have a function 'thisAplha'to analyze a mc's alpha stage, and depending on it either appear or disappear it. Basically I am trying to disappear/appear on screen the inv0 mc when you click it.
    Actionscripit:
    stop(); var mbx = _root.page.MsgBox; var mouseXspace = this._xmouse+20; var mouseYspace = this._ymouse+20; var css = new TextField.StyleSheet(); cssurl = "includes/default.css"; css.load(cssurl); css.onLoad = function(success) {      if (success) {           for (i=0; i<=6; i++) {                this.eval("txt"+i).html = true;                this.eval("txt"+i).multiline = true;                this.eval("txt"+i).wordWrap = true;                this.eval("txt"+i).styleSheet = css;                eval("txt"+i).htmlText = eval("_root.page.data.label"+i);           }      } }; inv0.onRelease = function() {      thisAlpha(inv0);      //inv0._alpha = 100;      mbx.lockCenter(false);      mbx.lockWidth("300");      mbx.setAutoSize();      mbx._x = mouseXspace;      mbx._y = mouseYspace;      mbx.setMsgBoxStyle(_root.page.lessonTwo);      mbx.popup(_root.page.data.text1); }; inv1.onRelease = function() {      inv1._alpha = 100;      mbx.lockCenter(false);      mbx.lockWidth("300");      mbx.setAutoSize();      mbx._x = mouseXspace;      mbx._y = mouseYspace;      mbx.setMsgBoxStyle(_root.page.lessonTwo);      mbx.popup(_root.page.data.text2); }; inv2.onRelease = function() {      inv2._alpha = 100;      mbx.lockCenter(false);      mbx.lockWidth("300");      mbx.setAutoSize();      mbx._x = mouseXspace;      mbx._y = mouseYspace;      mbx.setMsgBoxStyle(_root.page.lessonTwo);      mbx.popup(_root.page.data.text3); }; function thisAlpha(yeah:MovieClip) {      if (this[yeah]._alpha <= 50) {           this[yeah]._alpha = 100;           trace;      }      if (this[yeah]._alpha >= 51) {           this[yeah]._alpha = 0;      } else {           this[yeah]._alpha = 40;      } } 
    Thank you all.
    Mauricio

    code:
    stop();
    var mbx = _root.page.MsgBox;
    var mouseXspace = this._xmouse+20;
    var mouseYspace = this._ymouse+20;
    var css = new TextField.StyleSheet();
    cssurl = "includes/default.css";
    css.load(cssurl);
    css.onLoad = function(success) {
        if (success) {
            for (i=0; i<=6; i++) {
                this.eval("txt"+i).html = true;
                this.eval("txt"+i).multiline = true;
                this.eval("txt"+i).wordWrap = true;
                this.eval("txt"+i).styleSheet = css;
                eval("txt"+i).htmlText = eval("_root.page.data.label"+i);
    inv0.onRelease = function() {
        thisAlpha(inv0);
        //inv0._alpha = 100;
        mbx.lockCenter(false);
        mbx.lockWidth("300");
        mbx.setAutoSize();
        mbx._x = mouseXspace;
        mbx._y = mouseYspace;
        mbx.setMsgBoxStyle(_root.page.lessonTwo);
        mbx.popup(_root.page.data.text1);
    inv1.onRelease = function() {
        inv1._alpha = 100;
        mbx.lockCenter(false);
        mbx.lockWidth("300");
        mbx.setAutoSize();
        mbx._x = mouseXspace;
        mbx._y = mouseYspace;
        mbx.setMsgBoxStyle(_root.page.lessonTwo);
        mbx.popup(_root.page.data.text2);
    inv2.onRelease = function() {
        inv2._alpha = 100;
        mbx.lockCenter(false);
        mbx.lockWidth("300");
        mbx.setAutoSize();
        mbx._x = mouseXspace;
        mbx._y = mouseYspace;
        mbx.setMsgBoxStyle(_root.page.lessonTwo);
        mbx.popup(_root.page.data.text3);
    function thisAlpha(yeah:MovieClip) {
        if (this[yeah]._alpha <= 50) {
            this[yeah]._alpha = 100;
            trace;
        if (this[yeah]._alpha >= 51) {
            this[yeah]._alpha = 0;
        } else {
            this[yeah]._alpha = 40;

  • Move rejected to trash changes aspect ratio of a clip

    I just switched from iMovie HD to iMovie '11. I imported all old projects that I did not yet work on into the new version. This worked fine and I created my first movie successfully. For the current movie I have a lot of raw material in the format of 16:9 (DV). So I rejected parts of a clip and moved these to the trash in order to free space. But after moving the rejected parts, something happend to the aspect ratio of the remainder of the clip. The remaining clip is now distorted to 4:3 (black bars to the left and right, image distorted in height). All other clips are still in 16:9 and the projects settings tell this, too.
    Does anyone know how to reset the clip in the event viewer to the correct aspect ratio?
    Many thanks,
    Erik

    It sounds like that in the process of deleting the first half of the clip, the Anamorphic flag was stripped off.
    You should be able to fix this in MPEG Streamclip, which is free.
    In iMovie, right-click on the Event clip with the bad aspect ratio. Select Reveal In Finder. Drag this clip into Mpeg Streamclip.
    In mpeg streamclip, FILE/EXPORT TO DV.
    Choose 16:9 as aspect ratio and leave everything else the same.
    Import this clip back into your imovie project. When you are sure all is well, you can delete the other one.

  • HT1498 i watched a movie tonight. then i tried to watch another movie and apple tv said i needed to verify my payment information. 20 minutes later, i'm still trying to figure out how to verify my payment information. so my question to you is ***?

    How do I verify payment information?
    Why would apple need me to verify payment information when I just watched a movie?
    Result of the inefficient process of apple tv
    I have to go to amazon aka the empire, to watch a a movie.
    right now, in this moment of 2014, i miss video stores, after all this ****, I could have gone out and picked up the movie.
    blurg.

    Okay, so istumbler says my connection goes to yellow when I go to the Aple TV location, but my internet speed is greatly increased tonight (20Mbps on speedtest.net near the router and 15.49Mbps at the Apple TV).  Upload is unchanged at a little under 1Mbps).  I did manage to get the Apple Contact location and I am sure they will post a credit for the movie (since their logs will show repeated attepts to download and no joy, although we both know they won't go to the trouble to look at them).  As far as I'm concerned, it was a one-time problem and until it happens again to me, I will remain convinced it was on their end of the connection or in between (although that was unlikely).  I've been administering and managing netowrks for over 20 years and am pretty confident that the connection on my end was working.

  • I bought a new phone need to change locator to another phone

    hi i need to add a new phone to my locator please

    Sorry, have no idea what you are asking. What do you mean by "locator"?
    Cheers,
    GB

  • Move stickie file from one mac to another, move stickie file from one mac to another, How do I move stickie file from one mac to another

    How do you transfer the stickie data file from one mac to another?

    I think this is the file -
    In (hard drive) > Users > yourhomefolder (the one with the house icon) > Library, look for a loose file named StickiesDatabase
    Copying that file to the same location on the new machine (and replacing the file there now) should move the notes. It is probably a good idea that both machines be running the same OS X version.

  • Settings changing when adding to another movie

    Each time I attach a new chapter (mini movie) PROJECT to the already existing main movie PROJECT the settings change. I have tried adding on the front with the new chapter as well as trying to add the main movie to the mini movie. Is there a way to lock all settings on a movie so when it is added to another movie the setting won't change oon either clip. The chapter movie is approximately 1 1/2 minutes long and the main clip is approximately 9 Minutes long. There are several transitions, and scrolls included in both clips.
    Message was edited by: jimfromdenver

    Hi Luis, thanks for the reply. I first made a video approximately 8 minutes long. I used digitized video, still images, sound tracks, titles and numerous transitions between the clips. I then opened a new project and made a movie of one of the last letters sent home by the veteran prior to his death. I also used transitions, movie clips, titles and various images. So far I have three of these last letters completed. I was able to copy and pasted two of the letter clips in front of the main generic movie. However, when I attempted to paste the third clip at the beginning of the main movie and two letters - it causes some of the titles, scrolls to overlap.

  • New project: Every clip -- even the very first clip -- needs to be rendered.  Why?  I have no effects applied.

    I just started a new project.  Every clip -- even the very first with NO effects - has to be rendered.  Why?  I have used this exact same clip in other videos and had no problem.  I tried other simple (no effects) clips and they all do the same thing.  Could it be something in my initial project settings?This is for a funeral and I do NOT have time to wait till Sunday when Adobe Chat Help opens up again.  PLEASE HELP!

    So, perhaps I'm missing something.  Yes, dragging a clip to "new item" corrects the problem for that clip only, but trying to add another other clips to that same sequence results in new clips still needing to be rendered.  Dragging additional clips to "new item" simply opens a new sequence which I don't need.  I need all the corrected clips on the same sequence.
    1) How can I get corrected clips on the same timeline?
    2) How can I keep this from happening on future projects?  I did not change anything from previous projects.  I simply opened a new project & named it.  I'm not sure where things went so wrong.
    I know this sounds tacky, but I have gained about 2 days to complete this project since they have decided to cremate rather than bury.  Still need answers quickly though.  THANK YOU!

  • Change position of another app's window

    I am using python and pyobjc. I need to change position of another app's window.
    Information I have is title of window. Also I can get window number by using Quartz.CGWindowListCopyWindowInfo().

    This is an annoying problem for me too. Recently upgraded from CS2 to CS4. I use styles a lot and like to keep the palletes for them open on the bottom right of the screen. I used to reduce the width of a window of a document back so it sat to left of these palletes and it would stay this way whenever I opened it, but now every time I open a document it defaults to full screen width and so need to move the styles palletes to access the thing at the bottom right of the document window to resize it. This is very annoying. How do you set it so Indesign remembers a document's window width as well as its position? If you can't, why the hell not? Also tried this with application frame, but it has the same behaviour within the frame. Not keen on application frame anyway, still like the option-click on the desktop behind to hide the app quickly.

  • What should I do when I want to change CS3 to another PC?

    Dear Adobe,
    I have installed in CS3 to PC "A" before, and now I need to change CS3 to another PC "B".
    In addition to uninstall CS3, what process or step I have to do?
    Just like to release the license I have registered before and re-register again in new PC "B"?
    ps: I can't find "deactivate" (help>deactivate) in Photoshop, Illustrator or anyother products.
    Thank you.
    JAMES

    Contact support to reset activations, then simply install it on the other machine.
    Mylenium

  • When I copy&paste only effects.Retimed clip durations are changed.

    When I Command+C a clip and Shft+Command+V to another retimed clip,Retimed clip's duration is changed.
    I wanted to paste only effect to Retimed clip.
    In the case of Normal time clip,this phenomena is not happen.
    Is this Bugs?
    Please let me know the solutio...

    See response to your other thread

  • I go to "clip adjustments" and change the length of a photo. It reverts back to original length. I also shorten it by moving the yellow "box" around a specific clip. It still reverts back to original length. Why?

    I go to "clip adjustments" and change the length of a clip. It reverts back to original length. I've also tried to shorten it by moving the yellow "box" around a specific clip to shorten. It still reverts back to original length. Why?

    Welcome to iMovie Discussions.
    See my 2nd reply to 'getzcreative', here.

  • I phone 5 movie clips do not download to my mac. Do I need to change something in settings?

    My iPhone 5 does not download my movie clips to iPhoto on my mac.  Do I need to change something in settings?

    There are 9 different versions of iPhoto and they run on 10 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • How to stop a slideshow and show another movie clip at the end?

    Currently my slideshow is in a loop. At the end of last slideshow, I want to show another movie clip (End_mv) that's on another layer. How do I do that? My current scripts are below:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    //change scale on an image
    var fadeTween:Tween;
    //To slide in on X axis
    var slideXTween:Tween;
    //To slide in on Y axis
    var slideYTween:Tween;
    //To fade IN
    var alphaTween:Tween;
    //To get bigger on its X axis
    var scaleXTween:Tween;
    //To get bigger on its Y axis
    var scaleYTween:Tween;
    //var fadeTween:Tween;
    //description place holder
    var strDescrp:String;
    //source place holder
    var strSource:String;
    //x poistion
    var posX:Number;
    //y position
    var posY:Number;
    //degree rotation
    var degreeRot:Number;
    // delay between slides
    //const TIMER_DELAY:int = 5000;
    var TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:int = 3;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // url to slideshow xml
    var strXMLPath:String = "lstHouse.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    var txtField:TextField = new TextField();
    var formatText:TextFormat = new TextFormat();
    //start of sound section is for sound
    var soundReq:URLRequest = new URLRequest("PaukenBrumfiel_AngelsOnHigh.mp3");
    var sound:Sound = new Sound();
    sound.load(soundReq);
    sound.addEventListener(Event.COMPLETE, onComplete);
    //end of sound section
    function onComplete(event:Event):void
        sound.play();
    function init():void
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, switchSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();   
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
    function onXMLLoadComplete(event:Event):void
        // create new xml with the received data
        xmlSlideshow = new XML(event.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(null);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        currentContainer.addChild(slideLoader.content);
        // clear preloader text
        //mcInfo.lbl_loading.text = "";
        // fade the current container in and start the slide timer
        // when the tween is finished
        //Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:function() { slideTimer.start(); }});       
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        fadeTween = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        //scale = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        slideTimer.start()
        onComplete:function();
    function switchSlide(e:Event):void
        // check, if the timer is running (needed for the
        // very first switch of the slide)
        if(slideTimer.running)
            slideTimer.stop();
        // check if we have any slides left and increment
        // current slide index
        if(intCurrentSlide + 1 < intSlideCount)
            intCurrentSlide++;
        // if not, start slideshow from beginning
        else
            intCurrentSlide = 0;
        // check which container is currently in the front and
        // assign currentContainer to the one that's in the back with
        // the old slide
        if(currentContainer == sprContainer2)
            currentContainer = sprContainer1;
        else
            currentContainer = sprContainer2;
        // hide the old slide
        currentContainer.alpha = 0;
        // bring the old slide to the front
        mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
        strDescrp = xmlSlideshow.image[intCurrentSlide].@desc;
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        //txtField.border = true;
        //txtField.x = 0;
        //txtField.y = 600;
        txtField.width = 855;
        txtField.height = 200;   
        //txtField.background = true;
        //txtField.backgroundColor = 0xEE9A00;
        txtField.alpha = 20;
        txtField.text = strDescrp;
        formatText.align = TextFormatAlign.CENTER;
        //txtField.autoSize = TextFieldAutoSize.LEFT;
        formatText.color = 0x000;
        formatText.size = 30;
        txtField.x = 0;
        txtField.y = 550;
        posX = 0;
        posY = 0;
        degreeRot = 0;
        // create a new loader for the slide
        slideLoader = new Loader();
        // add event listener when slide is loaded
        slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
        // load the next slide
        slideLoader.load(new URLRequest(xmlSlideshow.image[intCurrentSlide].@src));   
        addChild(txtField);
        txtField.setTextFormat(formatText)
    // init slideshow
    init();

    I got this error:
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/swapChildren()
        at University_Advancement_Holiday_Greeting2012_fla::MainTimeline/switchSlide()
        at flash.utils::Timer/_timerDispatch()
        at flash.utils::Timer/tick()
    And here's the code:
    // import tweener
    //import caurina.transitions.Tweener;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import flash.display.MovieClip;
    //change scale on an image
    var fadeTween:Tween;
    //To slide in on X axis
    var slideXTween:Tween;
    //To slide in on Y axis
    var slideYTween:Tween;
    //To fade IN
    var alphaTween:Tween;
    //To get bigger on its X axis
    var scaleXTween:Tween;
    //To get bigger on its Y axis
    var scaleYTween:Tween;
    //var fadeTween:Tween;
    //description place holder
    var strDescrp:String;
    //source place holder
    var strSource:String;
    //x poistion
    var posX:Number;
    //y position
    var posY:Number;
    //degree rotation
    var degreeRot:Number;
    // delay between slides
    //const TIMER_DELAY:int = 5000;
    var TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:int = 3;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // url to slideshow xml
    var strXMLPath:String = "lstHouse.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    var txtField:TextField = new TextField();
    var formatText:TextFormat = new TextFormat();
    //var myEnding:MovieClip = stage.getChildByName('End_mc') as MovieClip;
    //start of sound section is for sound
    var soundReq:URLRequest = new URLRequest("PaukenBrumfiel_AngelsOnHigh.mp3");
    var sound:Sound = new Sound();
    sound.load(soundReq);
    sound.addEventListener(Event.COMPLETE, onComplete);
    //end of sound section
    function onComplete(event:Event):void
        sound.play();
    function init():void
        //reference my movie clip "End_mc" oon the stage and turn its visibility off
        MovieClip(getChildByName('End_mc')).visible = false;
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, switchSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();   
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
    //function onXMLLoadComplete(e:Event):void
    function onXMLLoadComplete(event:Event):void
        // create new xml with the received data
        xmlSlideshow = new XML(event.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(null);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        currentContainer.addChild(slideLoader.content);
        // clear preloader text
        //mcInfo.lbl_loading.text = "";
        // fade the current container in and start the slide timer
        // when the tween is finished
        //Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:function() { slideTimer.start(); }});       
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        fadeTween = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        //scale = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        slideTimer.start()
        onComplete:function();
    function switchSlide(e:Event):void
        // check, if the timer is running (needed for the
        // very first switch of the slide)
        if(slideTimer.running)
            slideTimer.stop();
        // ADDED: Check if using sprContainer2 and at the last slide
        //if ((currentContainer == sprContainer2) && (intCurrentSlide == intSlideCount))
        trace("Current Slide: " + intCurrentSlide);
        trace("SlideCount: " + intSlideCount);
        if ((currentContainer == sprContainer2) && ((intCurrentSlide + 1) == intSlideCount))
            // hide the slideshow (and other related elements, or remove them if desired)
            //mcSlideHolder.visible = false;
            // remove any clips directly inside slideshow (any timers/etc need to be stopped too)
             while (mcSlideHolder.numChildren > 0)
                mcSlideHolder.removeChildAt(0);
            // I do see a var named 'sound' playing so you might want to:
             //sound.stop();
             //sound = null;
            // etc any other slideshow-only elements to hide/remove..
            // play your movie
            MovieClip(getChildByName('End_mc')).visible = true;
            MovieClip(getChildByName('End_mc')).play();       
        // check if we have any slides left and increment
        // current slide index
        if(intCurrentSlide + 1 < intSlideCount)
            intCurrentSlide++;
        // if not, start slideshow from beginning
        else
            intCurrentSlide = 0;
        // check which container is currently in the front and
        // assign currentContainer to the one that's in the back with
        // the old slide
        if(currentContainer == sprContainer2)
            currentContainer = sprContainer1;
        else
            currentContainer = sprContainer2;
        // hide the old slide
        currentContainer.alpha = 0;
        // bring the old slide to the front
        mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
        strDescrp = xmlSlideshow.image[intCurrentSlide].@desc;
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        //txtField.border = true;
        //txtField.x = 0;
        //txtField.y = 600;
        txtField.width = 855;
        txtField.height = 200;   
        //txtField.background = true;
        //txtField.backgroundColor = 0xEE9A00;
        txtField.alpha = 20;
        txtField.text = strDescrp;
        formatText.align = TextFormatAlign.CENTER;
        //txtField.autoSize = TextFieldAutoSize.LEFT;
        formatText.color = 0x000;
        formatText.size = 30;
        txtField.x = 0;
        txtField.y = 550;
        posX = 0;
        posY = 0;
        degreeRot = 0;
        // create a new loader for the slide
        slideLoader = new Loader();
        // add event listener when slide is loaded
        slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
        // add event listener for the progress
        //slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
        // load the next slide
        slideLoader.load(new URLRequest(xmlSlideshow.image[intCurrentSlide].@src));   
        addChild(txtField);
        txtField.setTextFormat(formatText)   
    // init slideshow
    init();

  • Having a loaded movie clip talk to another movie clip

    Here's what I want to do:
    Load a clip into my main movie - "loadedMovie"
    at the end of the timeline in "loadedMovie" i want a
    function, perhaps setColor, which will change the colour of another
    movie clip which sits in the main movie.
    Does this make sense? for a loaded movie clip to change the
    color of an instance of another movie?
    Many thanks,
    Ray

    ponch wrote:
    > Here's what I want to do:
    >
    > Load a clip into my main movie - "loadedMovie"
    >
    > at the end of the timeline in "loadedMovie" i want a
    function, perhaps
    > setColor, which will change the colour of another movie
    clip which sits in the
    > main movie.
    >
    > Does this make sense? for a loaded movie clip to change
    the color of an
    > instance of another movie?
    Sure make sense.
    If the clip you like to target is on main timeline of the
    movie than
    you will use something like :
    on (release) {
    var my_color:Color = new Color(_root.SomeMC);
    my_color.setRGB(0xFF00FF);
    You can also refer to it by level:
    (_level123.SomeMC);
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for

  • Is there a good app for erasing moving objects when taking a picture like the Galaxy does.

    Someone I work with just got the Galaxy and is all about proving it is better than my iPhone.  The camera eraser thing is pretty sweet.  I told her I was sure apple had something like it.  Have downloaded a couple of apps but they are no good..lasso,

  • Kicked from ICHAT, but not AIM

    hen I do not restart my router every day I consistently get kicked off ICHAT every 3 - 15 mins unexpectedly with a message stating something like, HOST cannot connect to server. During this time my internet is working perfectly fine, however when I p

  • Imp full in a populated db.

    Hi all. I have a full export of my production db and I like to import to the development db in order to have the same data. I want to know If I can do the import full directly or I must delete the users or the object in the shcemas that are already c

  • Setting a outline for a application using maxl

    We are using maxl to load data into essbase application/db. We have a predefined otl file. How do I programmatically set the otl file as the outline for my application. I know that I can use shell to copy the otl file to the appropriate app folder. I

  • Where sd integrated with fi&mm

    hell friends i have a doubt where sd integrated with fi and mm thanks to help me ravi