Referencing _root.Button  from a movie loaded inside another movie

I have the following situation
MainMove.swf is doing a loadmovie of SecondMovie.swf
The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
on (release) {
    _root.intro_btn.enabled = flase;
    loadMovieNum("SecondMovie.swf", 2);
How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
Using AS2 is this current project
Thanks

You might be able to use the same line of code setting the enabled value to true.  If you have not locked the root of the loaded swf, the _root should till be pointing at the main movie.
_root.intro_btn.enabled = true;

Similar Messages

  • Targeting a movie clip inside a movie clip inside another movie clip with a twist

    Thanks to ned. Im able to link to a movieclip inside a movieclip.
    Unfortunately one of the movieclips now are a scrollbar and scroll.  Now the actionscript isnt working?
    Has anyone wany ideas? Please
    cal.onPress = function() {
    gotoAndPlay(2);
    message1.contentMain.message.total = unit1;
    Thanks

    I wish i could say it wasnt named message 1 but it is.  The code works without a scroll bar.
    As soon as i put the target in a scrollbar it doesnt work?
    This is my code for the scrollbar if thats the problem? maybe
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number = scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
      var currPos:Number = this._y;
      startDrag(this, false, left, top, right, bottom);
      this.onMouseMove = function() {
       dy = Math.abs(initPosition-this._y);
       contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
      stopDrag();
      delete this.onMouseMove;
    btnUp.onPress = function() {
      this.onEnterFrame = function() {
       if (contentMain._y+speed<maskedView._y) {
        if (scrollFace._y<=top) {
         scrollFace._y = top;
        } else {
         scrollFace._y -= speed/moveVal;
        contentMain._y += speed;
       } else {
        scrollFace._y = top;
        contentMain._y = maskedView._y;
        delete this.onEnterFrame;
    btnUp.onDragOut = function() {
      delete this.onEnterFrame;
    btnUp.onRelease = function() {
      delete this.onEnterFrame;
    btnDown.onPress = function() {
      this.onEnterFrame = function() {
       if (contentMain._y-speed>finalContentPos) {
        if (scrollFace._y>=bottom) {
         scrollFace._y = bottom;
        } else {
         scrollFace._y += speed/moveVal;
        contentMain._y -= speed;
       } else {
        scrollFace._y = bottom;
        contentMain._y = finalContentPos;
        delete this.onEnterFrame;
    btnDown.onRelease = function() {
      delete this.onEnterFrame;
    btnDown.onDragOut = function() {
      delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
      scrollFace._visible = false;
      btnUp.enabled = false;
      btnDown.enabled = false;
    } else {
      scrollFace._visible = true;
      btnUp.enabled = true;
      btnDown.enabled = true;
    scrolling();

  • Movie clip inside a movie clip

    Hi everybody,
    I'm creating a slideshow with Flash, like the  ones done with Powerpoint. I would like to create a movie clip inside  another movie clip, that is, say I have a clip called button1, and when I  click it, frame number 2 in this clip is displayed, and then more  information appears. Inside this frame 2, there are other clips, for  example an X button to close and return to frame number 1 in the clip  button1, as the image shows:
    What I have done is convert the button1 text into a movie  clip, and assign an action to it:
    on (press){
        gotoAndStop(2);
    When frame 2 is displayed, I would like to  click to the X-button to get back to frame number1, so what I've done  is, again, convert it into a movie clip and assign the following action:
    on (press){
        _root.gotoAndStop(1);
    But this doesn't work. I've been trying as  well changing other things, but no way... At first I thought it had  something to do with the _root or _parent, but now it looks as when  using gotoAndStop in the "parent" button (button1), no actions work for  the "child" buttons.
    I've loaded the fla and the swf files here, just in case  someone would like to check.
    Thank you very much in advance for your help.  I've been checking other posts, but apparently I couldn't find the  appropriate info.

    "_root" is only used to reference the very first level of your flash file. Right now you are telling flash to go to the second frame in your root timeline but you want to go to the second frame in your button1 timeline.
    Change the code that is on the X-button to
    on(press){
         gotoAndStop(1);
    Remove the "_root" and it should work.
    If it still doesn't work, make sure the button has an instance name of "button1" and use this code.
    on(press){
         _root.button1.gotoAndStop(1);
    This is using "_root.button1" as the 'address' of your movieclip and it wont matter where the code is.

  • Button no longer works when inside a Movie Clip?

    Again I turn to the almighty Adobe forums for help...
    So basically, I've had this problem for over a day now, and I've posted on Experts-Exchange.com... to no avail really.
    So here we go:
    I have a button in a Flash project I've made. It's used to jump to another place on the root timeline, labelled "Why". It used to work perfectly.
    I have now placed the button inside a movie clip (it has to be in an animated sequence), but now it no longer works. It appears to work fine, the rollover state works and all. But when clicked it does nothing.
    The code I use to work the buttons goes on the main timeline, the code for this button is:
    mc_anim_backdrops_menu.btn_subsection1.onRelease = function() {
    gotoAndStop("Why");
    _global.swfloaded = "";
    Why does it no longer work? and what can I do to fix it?
    The question is posted here over at Experts Exchange - http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Act ionScript/Q_24888850.html
    what we've tried there is tracing the problem. The code seems to be pointing to the right place, but none of the actual function works.. as you'll be able to see if you open up the attached file (and change it's extension from .txt to .fla to get it working)
    So would someone be able to open it up, have a look and tell me what's wrong? Because I'm stumped. And frustrated.

    My guess is that you have a scope problem. By putting the button inside a movieclip you have made the buttons scope the same as that clip.
    So if you add a trace inside the release event handler, what do you get?
    trace("My current scope is: "+this);
    I'm guessing it is "_level0.mc_anim_backdrops_menu," right?
    So since you are using the global function of gotoAndPlay() it is looking for that label in the current timeline and not finding it.
    You should probably use the MovieClip method and specifiy which timeline it should look in.
    _root.gotoAndPlay("Why");
    _level0.gotoAndPlay("Why")
    _parent.gotoAndPlay("Why");
    both would probably work. I would never use the first two, other than to make sure that there wasn't something else going on...

  • Accessing parent document div tags from child document loaded inside parent document

    I am loading an ASP document (Child)inside another ASP document (Parent) using Include statements.
    The parent document has certain div tags which have some properties to be accessed from inside the code in child document using javascript.
    Please advise on how to access the parent document varioables and div tags from inside the child document which has been loaded from within the parent document.

    <script src="/SpryAssets/SpryHTMLPanel.js" language="javascript" type="text/javascript"></script>
    <script src="/SpryAssets/SpryTabbedPanels.js" language="javascript" type="text/javascript"></script>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <link href="/SpryAssets/SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
    Spry.Widget.HTMLPanel.evalScripts = true;
    </script>
    </head>
    <body>
    <div class="TabbedPanels" id="TabbedPanels2">
    <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0" >Tab 1</li>
    <li class="TabbedPanelsTab" tabindex="0" onclick="tab2.loadContent('test1/load.asp');return false;">Tab 2</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent" id="tab1">test content 1</div>
    <div class="TabbedPanelsContent" id="tab2">test content 2</div>
    </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels2");
    var tab1 = new Spry.Widget.HTMLPanel("tab1");
    var tab2 = new Spry.Widget.HTMLPanel("tab2");
    </script>

  • Reaching a movie on the stage from inside another movie clip

    I'm trying to reach a body of text which i turned into a movie clip which is on the main stage, and have it scroll up/down whenever it rolls over the designated hot spots. Here's what i have.
    stage.addEventListener(MouseEvent.MOUSE_MOVE,down1,false,0,true);
    function down1(e:MouseEvent):void {
         if (mouseX>=0 && mouseX<=42 && mouseY>111.1 && mouseY<146.1) {
              stage.addEventListener(Event.ENTER_FRAME,scrolldown1);
         } else {
              stage.removeEventListener(Event.ENTER_FRAME, scrolldown1);
    function scrolldown1(e:Event):void {
         if(MovieClip(this.root).resume_txt.y > 219) {
              MovieClip(this.root).resume_txt.y += 5;
         } else {
              this.removeEventListener(Event.ENTER_FRAME, scrolldown1);

    Can you explain the purpose bhind these lines...
         if(MovieClip(this.root).resume_txt.y > 219) {
              MovieClip(this.root).resume_txt.y += 5;
    It seems as though if it is >219, it will move until the mouse moves out of the region.  Is there any specific aspect of it that you can pinpoint as not woking?.

  • Scoping Question when one movie loads a second movie

    I have a movie that is just a preloader for the main movie.
    This preloader movie has the loader and progress bar components so
    that I can show the process of the main movie loading. When I load
    a sound file in frame 1 of the main movie to be used later in the
    movie and run the main movie (with out being called from the
    preloader movie) the sound will play when it is called (told to
    play). However if I call the main movie from the preloader movie,
    the sound will not play. To make the sound play I have to load the
    sound in the preloader movie.
    I am sure that this is a scoping problem and I am not correctly
    coding for the location of the sound.
    The code for loading the sound is :
    if(_global.Behaviors == null)_global.Behaviors = {};
    if(_global.Behaviors.Sound == null)_global.Behaviors.Sound =
    if(typeof this.createEmptyMovieClip == 'undefined'){
    this._parent.createEmptyMovieClip('BS_sndErrorMsg',new
    Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
    _global.Behaviors.Sound.sndErrorMsg = new
    Sound(this._parent.BS_sndErrorMsg);
    } else {
    this.createEmptyMovieClip('_sndErrorMsg_',new
    Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
    _global.Behaviors.Sound.sndErrorMsg = new
    Sound(this.BS_sndErrorMsg);
    _global.Behaviors.Sound.sndErrorMsg.attachSound("ErrorMsgSound");
    if (false) {
    _global.Behaviors.Sound.sndErrorMsg.start(0,1);
    The code to play the sound is:
    _global.Behaviors.Sound.sndErrorMsg.start(0,1);
    I would like to keep the preloader movie as small as possible
    and don’t want to load any sound files in it.
    How do I load the sound files in the main movie and play them
    when needed (using actionscripts) from the main movie when the main
    movie is loaded from the preloader movie?
    Thank you,
    Steve

    Putting the following code on frame one in the movie being
    loaded by the preloader corrected the problem.
    this._lockroot=true;
    The following is what Flash 8 help file says about
    _lockroot
    _lockroot (MovieClip._lockroot property)
    public _lockroot : Boolean
    A Boolean value that specifies what _root refers to when a
    SWF file is loaded into a movie clip. The _lockroot property is
    undefined by default. You can set this property within the SWF file
    that is being loaded or in the handler that is loading the movie
    clip.
    For example, suppose you have a document called Games.fla
    that lets a user choose a game to play, and loads the game (for
    example, Chess.swf) into the game_mc movie clip. Make sure that,
    after being loaded into Games.swf, any use of _root in Chess.swf
    refers to _root in Chess.swf (not _root in Games.swf). If you have
    access to Chess.fla and publish it to Flash Player 7 or later, you
    can add this statement to Chess.fla on the main Timeline:
    this._lockroot = true;
    If you don't have access to Chess.fla (for example, if you
    are loading Chess.swf from someone else's site into chess_mc), you
    can set the Chess.swf _lockroot property when you load it. Place
    the following ActionScript on the main Timeline of Games.fla:
    chess_mc._lockroot = true;
    In this case, Chess.swf can be published for any version of
    Flash Player, as long as Games.swf is published for Flash Player 7
    or later.
    When calling loadMovie(), set the MovieClip._lockroot
    property to true in the loader movie, as the following code shows.
    If you don't set _lockroot to true in the loader movie, any
    references to _root in the loaded movie point to the _root of the
    loader instead of the _root of the loaded movie:
    myMovieClip._lockroot = true;
    Availability: ActionScript 1.0; Flash Player 7

  • Loading two movies & loading entire current movie

    well, having a bit of problems with figuring out my preloader
    :/. Iv been able to figure out how to load a single external movie
    with a dynamic preloader graphic that tracks percent and stuff, but
    i have not been able to figure out how to load multiple external
    files but useing the same graphic to track the percentage of the
    loading for the two as if they where 1. Also have not been able to
    figure out how to make a preloader for the current movie. LIke have
    the preloader at the beginning of the movie and have it stop, and
    run the preloader for the load of the rest of the movie file, then
    continues to play the intro of the same file after loading has been
    compleated. my code for what i'm able to do is below, any help
    woudl be helpfull :). Thank you guys and girls^^

    Here's the code for the controls:
    /* to pause */
    on (press) {
        stop();
        pauseinv._visible = false;
        playinv._visible = true;
        pause_btn._visible = false;
        play_btn._visible = true;
    /* to play */
    on (press) {
        play();
        playinv._visible = false;
        pauseinv._visible = true;
        pause_btn._visible = true;
        play_btn._visible = false;
    The controls are placed in the main movie itself and have them till the lastframe so that it remains there for the rest of the movie.
    I'm only loading the second movie at level 1 at the last frame of the main movie like this:
    loadMovieNum("video_contd.swf", 1);
    Thanks,
    Prakash

  • A movie in side another movie clip

    I have a movie clip(A) thats inside another movieclip(B). Im
    trying to use movieclipA's _x and _y but it gets all messed up.
    Does someone know how to fix this.

    What do you mean, get's all messed up? If clip B is on the
    current timeline
    then you can get to clip A's properties by going:
    trace(clipB.clipA._x);
    trace(clipB.clipA._y);
    or even:
    var ca = clipB.clipA;
    trace(ca._x);
    trace(ca._y);
    Dave -
    Head Developer
    www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Flash CS4 Link to a Movie Clip from inside another Movie Clip

    I am working on a Flash CS4 project which has 5 buttons with 5 corresponding movie clips all on the main timeline. Everything in functional so far.
    My problem is this: I want to be able to mouse click on a particular word in the text inside movie clip 4 ("mc4") and have it link to movie clip 3 ("mc3") (on the main timeline).
    I've tried many things, and I can't get it working.
    I have tried to highlight the word then link it to "mc3" in the properties panel where it says link (I successfully linked to an email address and to an outside website in other parts of the project)....
    I tried to link it in the properties panel to "mc3", I tried & "parent.mc3", "root.mc3";
    Linking it this ways seems to be the simplest, logical thing to do, but I don't know what kind of prefix it needs.
    Then, I tried making the word (inside mc4) an invisible button (button6) then linking it to the mc3, with it's actionscript in the main timeline with the other button functions.
    I tried duplicating mc3 and duplicating invisible button 3 and moving it's hotspot to over the word.
    I tried putting a copy of mc3 and the button inside mc4, with the actionscript also inside mc4.
    I tried duplicating mc3 and calling it mc6, and putting that inside mc4, with the actions back on the main timeline, and tried again with the actions inside mc4.
    I tried with mc6 and invisible button 6 on the main timeline, but that doesn't seem possible.
    I tried using this code from Adobe Actionscript 3.0:
    button6.addEventListener(MouseEvent.CLICK, startMovie);
    function startMovie(e:MouseEvent):void
            this.play(&quot;mc6&quot;); [and I also tried with &quot;mc3&quot;]
    Nothing works!! Please, I would appreciate any suggestions!!
    Thanks,
    Suzanne

    If I limit my attention to the second sentence of your posting, then I suggest the following (borrowing from the rest of your posting)...
    If that invisible button6 is inside MC3 (on MC3's main timeline), atop the word you are trying to link to the movieclip, and you just want to make mc4 play by clicking that invisible button6, then assign the following code to the button6 inside MC3...
    button6.addEventListener(MouseEvent.CLICK, startMovie);
    function startMovie(e:MouseEvent):void
            MovieClip(this.parent).MC4.play();
    If I missed, then I missed following your explanation.

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • How can I save .mov file as another .mov file after trim from Pre9?

    I would have thought this would be simple.  Just like I can crop a still image in Photoshop and save it with a new name (or the same name), I expected to be able to trim or split an .mov file in Premiere Elements 9 and save the resulting file(s) under a new name (or the same name) while preserving the same format.
    But SIX hours later, NO.
    Instead, after I split or trim the .mov file, it seems to be held hostage inside a project that won't let it go.  I even tried "exporting" it but the choices are different than the properties of the source file (a BAD thing), and the resulting two files from the export are unreadable on my computer (USELESS).
    The .mov file was shot with a Canon EOS Rebel T3i.  Windows with Vista.  Adobe Premiere Elements 9.  I also have Photoshop CS5 Extended and Lightroom 3.4.x, if either of those would help.
    I'm sure that I'm mistaken,  There MUST be a secret menu option to SAVE-the-trimmed-CLIP-as-a-SOURCE-file.
    How could there not be something this basic?

    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Quoting Steve:
    "I'll say it once more: It's impossible to cut a piece of video and then resave your file.....[because] IT'S [against] THE NATURE OF EDITING VIDEO WITH EVERY VIDEO EDITING SOFTWARE IN THE WORLD."
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    I'm very pleased to say that I've found out how to do exactly what I wanted to do, despite Steve's strongly stated opinion that it is "impossible."
    I can:
    ..... trim or split a video
    ..... and save it under the same name or a different name(s)
    ..... WITHOUT converting it to something else before or after trimming
    ..... WITHOUT changing it from its original format
    ..... WITHOUT exporting (compressing) it
    ..... WITHOUT "rendering" it different in any way except my desired length change (and resulting smaller file size)
    This is desireable to me in order to:
    ..... save many gigs of space on my terabyte drives
    ..... while retaining source file footage that may be useful in future projects
    ..... IN ITS ORIGINAL (source) FORMAT !!!!!
    YAY!!!
    I got thinking about the software that came with my camera.  I didn't install it because it included things like a program to handle RAW images (and I prefer to use Adobe Lightroom 3) and a program that I thought might be similar to Bridge (and I really like Adobe Bridge).
    But I decided to install it and see if there was anything there that would allow me to work with the videos and sure enough, there it was - the ability to trim my videos of the junk while keeping the rest in original perfect format, just as it was shot. From a user's point of view, it is a precise video version of cropping a still image in Photoshop.  EXACTLY what I wanted to do!!!
    Here is a collage of the properties box of the "before" version (the original original), collaged together with the  properties box of the "after" version (the trimmed original).  The properties boxes are the properties as reported by Adobe Premiere Elements 9.
    In the above-shown collage of the screenshots that I've made for you, you can see that nothing has changed in terms of the properties.  The only changes are the length (because I cut it), the file size (because it is MUCH smaller now), and the name (because I wanted to preserve the original file in order to make a screenshot of its properties for you). I WANT TO REPEAT - the new CUT file is identical to the original, except the unwanted portion has been cropped away. It was NOT compressed, it was NOT rendered, it was NOT exported.  It is a true source file utilizing original footage in its original format.
    (This forum limits images to 450 pix wide so to see that all the relevant format properties are the same in both properties boxes, you may have to increase the size through your browser by holding down the [Ctrl] and hitting the "=" key (the one with the "+" above the "=" sign).)
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Here are the steps I took to make the screenshot above:
    1 - Opened the original file in Canon ZoomBrowser EX 6.7 (which came with the camera).
    2 - Trimmed ("cut") the file by placing a start point and stop point around the desirable footage.
    3 - Saved under a different file name.  (NOTE:  This was a true save, NOT an export, NOT a "render" of some sort.)
    4 - Switched to Adobe Premiere Elements 9 and started a new "project."
    5 - Used "Get Media" to pull the original version and the cut version of the video into the project.  NOTE:  I pulled the cut version in first, so if there had been a format mismatch (as compared with the DSLR-1080p30 @29.97 setting I normally use when creating a new project), Premiere would have said so.  But there was NOT a format mismatch.  And it runs perfectly, just as it did before, including audio.
    6 - Right clicked each video and took a screenshot of the properties of each to show you.
    And this means I can use the trimmed footage for any purpose down the road, yet I didn't have to save the entire file which included unwanted footage.  And I've saved a considerable amount of space on one of my terabyte drives.
    SUMMARY:
    Easy as pie:
    I trimmed the excess off a video WITHOUT "converting," "exporting," "compressing," "rendering" or changing the format away from the original in any way.
    No loss of any type of data whether audio or visual or "other."  (Except, of course, the unwanted footage.)

  • Attach a movieclip from the main timeline inside another movieclip.

    I need help with the game I am working currently. On the main timeline Actions frame I have a loader class called myLoader. I attached that to a movieclip called currentSWF. I have a movieclip called SpinningCard in the library which I dynamically attached to the stage. Inside the SpinningCard movieclip there is another movieclip Card. In the Card movieclip I have 10 frames and on each frame I want to attach a different instance of the movieclip currentSWF. How can I do achieve that?
    here's what I have till now...
    On the main timeline Actions frame...
    var loader:Loader=new Loader();
    loader.load(new URLRequest("CardGraphics.swf"))
    var currentSWF:MovieClip;
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
       function swfLoaded(e:Event):void {
       currentSWF = MovieClip(loader.contentLoaderInfo.content);
       addChild(currentSWF);
    Inside the Card movieclip on the first frame I have this code...
    var a1:MovieClip = MovieClip(parent.parent.getChildByName('currentSWF'));
    CardFrame1.addChild(a1);
    //CardFrame1 is an empty movieclip which is there on the frame 1 of Card Moveiclip.
    I am getting error : Parameter must be non-null. How can I solve. Can anyone please help me.

    Hi Nabren
    I'm also looking to load a library based movie-clip into a stage based movie-clip, so that I can inturn swap it with other movie clips to act as different pages (page2_mc etc) which will be used in different sections of the application to give chapters as such.
    I've had a go at the above but can't get a result, though it did not throw an error. I also had a trace() on each side and both of those triggered.
    The stage based mc I called pageMC and the content mc I called content the same as your example
    trace('loader - cx');
    var loader:Loader=new Loader();
    var pageMC:MovieClip;
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
    function swfLoaded(e:Event):void {
    pageMC = MovieClip(loader.contentLoaderInfo.content);
    pageMC.name = "pageMC";
    addChild(pageMC);
    trace("Menu 4");
    I'd appreciate some assistance. I would like to use internal MC's as I want to put the application to iOS and Android and believe by using movieclips I should be able to have some code with them whereas importing swf's I can't.
    Thanks

  • Target a movie clip inside a movie clip

    When I go to the symbol editing mode on the first movie clip, I drag the instance of my 2nd movie clip to the stage. I then am duplicating my work, (it is over lapping) not sure what I am doing wrong here? and I am finding that my child movie clip is taking on the parent movie clip properties. How do I stop this from happening? I thought they are to remain independent? Any help is greatly appreciated. TY.

    Will the child timeline be independent of the parent timeline. My pend_mc is the child and has taken on the hand_mc properties. Also why is there brackets around some and not the others? Thank you so much for your time.

  • Playing .flv in a movie opened through another movie

    I recently constructed a site and made a .flv movie player
    not a component. when I test the movie it works fine. When I open
    the .html that plays the main flash movie and open the link for the
    movie that has the player inside of it playing a .flv: the .flv
    does not play can anyone help?

    Ok so it looks like you're referring to the method of placing a screenshot of the flv on the stage in front of the flv so that users don't notice that the flv loads more slowly than the other bitmaps on the stage, right?
    yes
    Looks like I'll have to do this (since embedding the flv in the main swf, which avoids the slow-to-show problem, is not recommended).
    that's also correct (and it will make your entire swf load slower).
    Thanks Kglad.
    you're welcome.

Maybe you are looking for

  • Check flag for double invoices in AR masterdata

    Hello all, Can you please tell me if there is any flag in AR masterdata transaction FD01 similar with the one in AP masterdata transaction FK01 - "check flag for double inv.".? Thank you, Daniel

  • Re-using Segments Created via API or Re-creating Every Time?

    Hi All, Wanted to get your thoughts on this... We have been able to create Segments via the API, however, which way to go: OPTION 1: Re-use Segment if there are no additions or deletions (changes) to the list? or OPTION 2: Re-create the Segment every

  • Scroll error with mouse wheel [SOLVED]

    thought this only happened in firefox, but it happens in opera and konqueror i did a fresh install of arch and it is updated. installed xorg and kde. i have used the firefox package from arch as well as installing from mozilla.com itself, same issue

  • SetMapLegend

    Hi I am trying to use the setMapLegend method in MapViewer to create a map legend. But there is only headlines for each symbol not the symbol itself that is written. I post the code below. What could be wrong so the symbols are not written? String im

  • Remove attachments from sent mail - how to?!

    Hi all. Sometimes I'd like to keep sent mails but remove the attachment(s) embedded in there. How can I do this? Thanks in advance.