Load MC from library

Hi all
I have a Movieclip with a base name called 'movie_main' and class  name as 'Main_mc'
I am trying to load the movie from the library into a  contanier that also loads in a tooltip. The container is called  'holder'
this is the script I am working with
var movie_main:Main_mc = Main_mc();
holder.addChild(movie_main);
problem is when it loads in other parts  of my menu are missed placed.
Question:
is this the correct script I  should use?? Is there issues with loading in more than 1 movieclip into one  contanier??
aaarrrggggghhhhh!!!!!!!
help please

maybe this will help, this is my script for loading in tooltip
                var tooltip:ToolTip = new ToolTip();
                tooltip.field.text = titles;
                tooltip.field2.text = texts;
                tooltip.x = -350;  // where to have the tooltip on x axis in the holder
                tooltip.y = 0;    // where to have the tooltip on y axis in the holder
                holder.addChild(tooltip);
                // Same proceedure as before
                holder.buttonMode = true;
                holder.addEventListener( MouseEvent.CLICK, onMenuItemClick );
                // Add it to the menu
                circleMenu.addChild(holder);
and this is what I am trying to also add also to the same container
var movie_main:Movie_mc = new Movie_mc();M
holder.addChild(movie_main);
is there a way to combine all in one??

Similar Messages

  • IPod Nano - iPOD auto updates - can't load music from library to music file

    Every time I plug my nano in it automatically updates. How do I stop this?
    Also I cannot load songs from my iTunes library to my personal music file. There is a padlock that appears to the right of the bar that indicates space useage at the bottom of the page. I am not sure if that has anything to do with not being able to load songs from my library to my personal music file. PLEASE HELP I AM DESPERATE!!
    Parrott

    Grey text when you look at the content and lock symbol at the bottom of the screen simply shows that your iPod is set to automatically update. If you want to access your iPod directly, drag songs to it, play it through your iTunes, connect it to a second computer etc. you just need to change the update method to "Manually manage songs and videos" in the iPod Summary tab and click Apply. The text will change from grey to dark and the padlock will disappear: Managing content manually on iPod
    One thing to be aware of with manually updating is that the iPod also has to be manually ejected before the "Do Not Disconnect" message will go away. Safely disconnect iPod

  • Why is my symbol loaded dynamically from library not working?

    Hope someone could help,
    The code in "Example1" work fine if the video symbol is located on the stage. But what I'm trying to do is load the video symbol from the library dynamically and that doesn't work as illustrated in "Example2".
    My question is why does Example1 work and Example2 not work?
    Example1:
    var youtube = $("<iframe/>");
    sym.$("video").append(youtube);
    youtube.attr('type', 'text/html');
    youtube.attr('width', '560');
    youtube.attr('height', '315');
    youtube.attr('src', 'https://www.youtube.com/embed/A3PDXmYoF5U');
    youtube.attr('frameborder','0');
    youtube.attr('allowfullscreen', '0');
    Example2:
    sym.myVideo;
    sym.myVideo = sym.createChildSymbol("video", "Stage");
    var youtube = $("<iframe/>");
    sym.$("myVideo").append(youtube);
    youtube.attr('type', 'text/html');
    youtube.attr('width', '560');
    youtube.attr('height', '315');
    youtube.attr('src', 'https://www.youtube.com/embed/A3PDXmYoF5U');
    youtube.attr('frameborder','0');
    youtube.attr('allowfullscreen', '0');
    Thanks in advanced,
    -Angel

    Have you tried a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • Using one instance of a Movie Clip to load Graphics from library

    Hi all,
    another question... How would i go about loading a variable into a movie clip and have it pull different graphics from my library at different spots in the main timeline???
    thanks!
    Patrick

    Hi NED! thank you for all your help so far!!!
    I was wondering about the flexability of loading movies into a movie clip.
    Currently, thanks to your help i am well able to load one movie into a movie "loader" clip, but thought maybe there is a way to load additional movie clips into that same "loader" clip, as i am starting to accumulate several different graphics that i need to have be inside movie clips so that i can make them change colors on the same frame when needed.
    i shot from the hip and tried this code, but didnt have any luck:
    mc_LCD_loader.attachMovie("hilight", "g", 1), ("header", "X", 1);
    mc_LCD_loader.g._x = 0;
    mc_LCD_loader.g._y = 1000;
    mc_LCD_loader."X"._x = 0;
    mc_LCD_loader."X"._y = 1000;
    - - - where "hilight" is the identifier name of a given movie clip and "header" is the identifier of a given movie clip in the same library...
    "hilight" loads fine
    i dont fully understand what "g" means to the identifier...
    i am just unsure of how or if it is even possible to load another MC into the same MC Loader...
    is it possible? if so could you give me a hint?
    thank you!
    - patrick

  • Load FLV from library into FLVPlayback?

    Is this possible?  I've figured out dynamically loading an external FLV, but I'd like to be able to do it from my library. Really appreciate any help.

    no.
    but you can import an flv to a movieclip timeline and you can instantiate the movieclip using the "new" constructor.

  • Load movie from library

    is it possible to load a mc from the library on to the stage with specific coordinates, without uning a mc to load it in to? Simply something like this:
    load the menuMc on the stage at x = 200 and y = 300;
    i called the identifier menuMcAs

    ok i tried about everything i know..(which isnt a lot)
    i think the correct way to write it is this:
    var emptyMc:MovieClip = this.createEmptyMovieClip("emptyMc", this.getNextHighestDepth());
    emptyMc.attachMovie("menuMcAs", "menuMc", this.getNextHighestDepth(), {_x:400, _y:100});
    menuMc (instance name of the menu mc in the library)
    menuMcAs (linkage id of the menuMc in the library)
    emptyMc (nothing. i should be created with this code...?)
    and i put this line at the very top of my code, which is in a .as file.
    i cant see the menu!!! its not working.
    any ideas?
    btw: i did NOT create an empty movie clip on stage...
    EDIT
    I tried this too:
    var emptyMc:MovieClip = this.createEmptyMovieClip("emptyMc", this.getNextHighestDepth());
    this.attachMovie("menuMcAs", "menuMc", this.getNextHighestDepth(), {_x:400, _y:100});
    still nothing..
    EDIT 2
    after reading the help files, i have a feeling i'm only creating a mc, but that i'm not placing it on stage...??

  • Issue loading MC from library in MC Holder

    I searched previous posts last week about this and learned that I can load a movie clip from the library in a blank mc holder similar to how I load an exernal swf. But so far that code is not working for me. I also need a way to close/make invisible the clip on user clicking an X.
    I have a page with about 6 key words over which I will place invisible buttons. First button instance is named compworkBtn. I have a blank mc on the stage, name of mcLoadertop. My mc I want to play is in the library and named compworkMC. I read that I need to set the properties to export and I have done this (picture attached for compworkMC).
    Here is my action script to load the compworkMC:
    //load popups in movie clip loaders top and bottom//
    compworkBtn.onRelease=function(){
    mcLoadertop.attachMovie("compworkMC");
    So first I need to get the thing to load.
    Then I want the user to click on the X or close button and it goes away. I thought the easiest thing for this work be to program the Close button itself to drive the MC to a frame that had no content. It will still be there, of course, but not be visible. Then the user would click on the next key word and the next MC will load. Not sure that is a good solution though, because they will both still be there. So, I'd like a suggestion for another solution to unload the first mc and load the second one. I have done a similar thing with external swfs, but I will need a close button instance for each of the unloads, right?
    Any help is appreciated here!

    If you look at the attachMovie() method in the help files they will explain most of what you need to deal with.  The attachMovie method takes a minimum of three arguments..
    attachMovie(id:String, name:String, depth:Number)
    To remove a movie added using attachMovie you can use the removeMovieClip() method.  That is also explained in the help documents.
    As far as assigning functionality to that X button, you can do that after you have attached the movie via using its instance name... something along the lines of... (this is not a verbatum example, just the concept):
    instanceName.btn.onRelease = function(){
         removeMovieClip();

  • Unable to d/load game from library to iPod

    I have a 5th Gen/Video iPod.
    I managed to download Mini Golf and it's sitting in my library. I've followed the help section and made sure that the game is synced in my games menu but nothing's happening. I can't drag and drop the game to the iPod like you can do with songs. In my Devices List (left hand side of screen) I've got "music", "movies", "tv shows" and "podcasts" but there's no mention of "games".
    Any ideas?

    QTKirk,
    THANK YOU!!!!
    I was able to d-load this and got everything going again.
    I wanna say Thank you for the almost instant reply and
    assistance.
    Trust this guy, he knows of which he speaks.
    RadAZCads

  • Down load music from library to sd card for my phone

    I'd like to download music from my library to a micro SD card , so i can have music on my phone. (samsung Convoy).
    I have the adapter so the card plugs into my Mac mini.
    I've also made up a playlist labeled phone music.
    I just can't figure out how to get it to the SD card.

    drag the tracks from an iTunes window to your desktop, and from there to the icon of the SD card on your desktop.

  • Loading from library conflicts with loading external swf

    I'm very new to ActionScript, so this might be incredibly basic. However, I've Googled and read myself into a coma and I'm not finding a solution.
    I have a movie with 6 navigation buttons.  Four of them load external .swf slideshows, and they work fine - as each file loads, the previous one clears the stage, etc.  The other button that I currently have set up is loading, from the library, an image.  The problem I'm having is that the slideshows replace each other on the stage - they're not stacking, they're replacing - but when the user selects the button that loads the image, the image overlays the last-selected slideshow.  If the user selects the image first, the image is visible when two of the external files transition.  Because of that 6th button, which is not yet even started, it's not desirable to me to simply set up the single image as another external file; if it's at all possible, I need to be able to pull from a library file when I build that last button.
    What I'd like to do - because there is no logical order that the buttons should be selected in - is figure out how to tell every button to remove the image file on click.  I've tried using this in the four buttons that link to the slideshows, to deal with the image (that's the one called quoteImage):
         if(myLoader != null && contains(quoteImage)){
            myLoader.removeChild(quoteImage);
    which has the advantage of not giving me any errors, but doesn't actually fix my problem.  I've tried many, many other things, and I'm just really stumped on what exactly I need to do to make this work the way I want it to.  Based on the fact that the books and online resources I've been using don't really cover this specific example, I suspect it might be an incredibly idiot thing to do, but I'd really like it to work this way if that's possible.
    The code as it stands, with the global variables and the first two buttons (the next three are identical to the second button and the sixth button doesn't exist) looks like this:
    var myLoader:Loader=new Loader(); 
    var quoteImage:Bitmap;
    stop();
    // Loads quoteImage from library
    btnQuotes.addEventListener(MouseEvent.CLICK, showquote);
    function showquote(event:MouseEvent):void {
    var myBitmapDataObject:myBitmapData = new myBitmapData(500, 350);
    var quoteImage:Bitmap = new Bitmap(myBitmapDataObject);
    quoteImage.x=150;
    quoteImage.y=180;
    addChild(quoteImage);
    // Loads industrial.swf from external file
    btnIndustrial.addEventListener(MouseEvent.CLICK, showindustrialcontent);
    function showindustrialcontent(event:MouseEvent):void {
    var myURL:URLRequest=new URLRequest("industrial.swf");
    myLoader.x=150;
    myLoader.y=180;
    myLoader.load(myURL);
    addChild(myLoader);
    Help is very much appreciated.

    I see now how to import and display a library class object
    using:
    var MovieClipClass:Class =
    Class(loader.contentLoaderInfo.applicationDomain.getDefinition("myLibraryAsset"))
    var movieClip:Sprite = new MovieClipClass();
    addChild(movieClip)
    But this seems to only work for SWF's published for AS3 Flash
    Player 9.
    I need to do the same for SWF's published with AS2 Flash
    Player 7.
    Any ideas?

  • Can anyone tell me how to load my music library from my PC down to my IPad??

    Some how when I updated the OS on my IPad I lost all my music in the IPOD section.  I would like to find out how to load my music library from my PC to my IPad?  Thanks.

    If you use iTunes See Here
    Syncing with iTunes
    From Here
    http://www.apple.com/support/ipad/syncing/
    Ipad User Guide
    http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf

  • How to load the object library at run time from within the script.

    What i am trying to do from my library is that I wanted to load the object library file (.properties) file at run time through the script. I know that open script has a deprecated method "ft.loadObjectLibrary". Is there any other method other than the deprecated one?. Also is there a way that I can unload the library?
    Thanks,
    Sri

    Object.border.fill.color.value = "255,255,255";
    if you want to use rawValue of textfields to insert in there you will have to do
    Object.border.fill.color.value = R.rawValue + "," + G.rawValue + "," + B.rawValue

  • I just purchased a new iMac. My iTunes account is missing a ton of music and I cant figure out how to access it. When I try to load music from my ipod to match my imac it only asks if i'd like to sink my ipod with my account. How do I access my library?

    I just purchased a new iMac. My iTunes account is missing a ton of music and only contains "purchased" music. When I try to load music from my ipod to match my imac it only asks if i'd like to sinc my ipod with my account. How do I access my entire library? Thanks

    Unless you subscribe to Match, you will have to transfer your non-iTunes stuff from your old computer:
    http://support.apple.com/kb/HT4527
    If you want to copy non-iTunes music off of your iPod (eg, if your old computer doesn't exist), you'll need to use a third party program.  I don't know of any free ones anymore, but if you google, you can find several in the $19 range.

  • HT202157 Does anyone else have a problem with the latest Apple TV update?  My Apple TV no longer can load movies from my iTunes library, including ones I've already watched or were watching.  Can I roll back this update, and if so, how?

    After updating my Apple TV, it will no longer load movies from my iTunes library.  Music works, but no movies.  I've turned this puppy every which way but loose, but no joy.  Is there a way to roll back an update?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How do I get my music from Media center to my iphone. Itunes won't import the MC music library, and MC won't recognize and synch to the iphone so I can't load playlists from MC to my iphone. Itunes help doesn't work.

    How do I get my music from Media Center to my iphone 4s. Itunes 10.5 won't import the MC music library, and MC won't recognize and synch to the iphone plugged into the USB port so I can't load playlists from MC to my iphone. Itunes help doesn't work.

    Hello and welcome to the support community
    As you know, your iPhone 5 is not compatible with our iBook G4. To get your music in iTunes from your iBook to your iPhone you would need to migrate the music files to a newer intel based Mac. A Mac which has Mac OS X 10.6 or higher installed. Then sync your iPhone 5.

Maybe you are looking for