Import library item to stage????

Hi i hv object in library a1
and i m using these code in my as file (this is not document class)
it is working fine in my document class but i need to do this from setup class,
package
    import flash.display.MovieClip
    import a1
    public class setup extends MovieClip{
            var bottle:a1   
        public function setup()
            bottle=new a1()
            addChild(bottle)
            bottle.x=200
            bottle.y=200
            trace("setup")
Setup class is tracing "setup" but it is not making an child object on stage
My Document Class
package
    import setup
    public class main extends MovieClip
        var makesetup:setup
        public function main()
            makesetup=new setup()

Your code is working fine actually. You are adding the bottle to setup - you can because you had it extend MovieClip which it doesn't need to do - but you don't get an error... for you to see the bottle you'd have to then  addChild on setup. The better way is to pass a reference to setup - sending in the display object container to add to...
So, change setup like so:
package
    import flash.display.DisplayObjectContainer;
    public class setup extends MovieClip{
            var bottle:a1;
        public function setup(container:DisplayObjectContainer)
            bottle=new a1();
            container.addChild(bottle);
            bottle.x=200;
            bottle.y=200;
            trace("setup");
And then when you instantiate it from your document class, just pass a 'this' reference:
makesetup=new setup(this);
And you should use semi colons to terminate lines.

Similar Messages

  • Can't get imported library items to appear on stage

    Hello,
    I am new here and I am trying to get my imported library images to appear on the stage. I am using the CS4 version and when I click on the library item and drag it to the stage, there is nothing there. It is just a blank canvas and it's like the image(s) are hidden behind the stage or something. When I do a Publish Preview, I can see the .swf file with all the images, but in the .fla, there is nothing showing but the text files, and then that is even hidden in a newly created file. I am not sure if I accidently turned something on/off that is preventing my images from not showing on the stage or what. I really need to find a solution to this problem because I need to create a Flash file for a project I am working on in one of my classes. Does anyone know what could be causing this? I have done Google searches and Forum searches to no avail unless I'm not using the right keywords in my search. I have downloaded every available update that is out there for Adobe and it didn't fix my issue. Thanks in advance.

    No, this didn't work. When I went and viewed the same files on another computer, the .fla shows everything. I just may have to work on that computer for now until I can figure out why my images aren't showing up on this one. I'll compare the settings on both and and may just have to uninstall and reinstall the software to get it to work. Thanks!

  • In iPhoto preferences Advanced, I originally 'ticked' the "Importing: Copy items to the iPhoto Library" box. I have now installed a Drobo double back-up system and would like to delete these 'items' on my hard drive. Is this possible?

    In iPhoto preferences >Advanced, I originally 'ticked' the "Importing: Copy items to the iPhoto Library" box. I have now installed a Drobo double back-up system and would like to delete these 'items'  on my hard drive. Is this possible?

    Not with iPhoto.
    You can relocate the masters using Aperture if you're using the latest versions of both iPhoto and Aperture. However, if you're planning on using iPhoto going forward having the masters on one disk and the Library on another is not a good idea. Have a read of this
    https://discussions.apple.com/thread/3062728?tstart=0

  • How can I "search" for Library Items?

    I am developing a site in flash and have over 800 Library Items. My problem is, I need to edit a portion of a Library Item and cannot find the Library Item, and NO, I did not delete the Library Item because when I go to preview or test the flash document, the Library Item is there in the movie. Is there any way to search for the Library Item? I am using Flash Professional 8..
    Thank you.

    I'm not sure how you would search for it if you don't know how to identify it.  You should be able to doubleclick on the object on the stage to open it up for editing.  When you do that, the stage area will display the library name of the object at the top of the stage border in a tab.  Things are ordered alphabetically in the library, so if you know the library name of the object you should be able to narrow down where it is.

  • Spry widget menu bar as a library item - problems

    I created a spry vertical menu bar and made it a library item.  The original works great, however when I insert the library item into its own div tag on another page, the submenus will not pop out, either in DW or the browser view. The div tag is the correct size and I made the z index high enough. Here is the code of the page that works properly:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>DM Consulting Dry Dock Training</title>
    <link href="css styles/drydock2.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    background-image: url(images/vertborderblue2.jpg);
    background-repeat: repeat-x;
    -->
    </style>
    </head>
    <body>
    <div id="container">
      <div id="header"><img src="images/header_title_white.png" width="645" height="116" alt="header" /></div>
      <div id="logo"><img src="images/drydock_logo_blktxt.png" width="154" height="119" alt="logo" /></div>
      <div id="mainContent">
        <div id="content">
          <p><span class="bolder1">D</span><span class="bolder1">M Consulting </span><span class="lineheight">provides Dry Dock Training, Dry Dock Conferences,<br />
            Dry Dock Software and Dry Dock Consulting      for:</span></p>
          <ul>
            <li class="lineheight"> Dock Masters</li>
            <li class="lineheight">Docking Officers</li>
            <li class="lineheight">Dry Dock Crews</li>
            <li class="lineheight">Engineers</li>
            <li class="lineheight">Naval Architects </li>
            <li class="lineheight"> Port Engineers</li>
            <li class="lineheight">Program/Project Managers</li>
            <li class="lineheight">Marine Surveyors</li>
            <li class="lineheight">Owners' Representatives</li>
            <li class="lineheight">On-site Representatives</li>
            <li class="lineheight">Consultants</li>
            <li class="lineheight">Others Involved or Interested in
              the <br />
              Dry Docking of Ships and Vessels</li>
          </ul>
          <div id="testimonials">&quot;The course was excellent, straight forward and comprehensive. Instruction was great, expected <br />
            &quot;death-by-power point&quot; but was pleasantly surprised.
            I am better acquainted w/dry dock basics after the
            course and can trust the accuracy of the training
            based on the extensive experience of the instructors. Thank you!
            Very informative, very thorough.&quot;
              - David, Australia<br />
          </div>
          <div id="movie">
            <object width="560" height="340">
              <param name="movie" value="http://www.youtube.com/v/qLGUZEkbAwA?fs=1&hl=en_US&rel=0" />
              <param name="allowFullScreen" value="true" />
              <param name="allowscriptaccess" value="always" />
              <embed src="http://www.youtube.com/v/qLGUZEkbAwA?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
            </object>
          </div>
          <div id="moreTestimonials">&raquo;&raquo;&raquo; click here for more testimonials &laquo;&laquo;&laquo;</div>
          <div id="footer"><!-- #BeginLibraryItem "/Library/copyright.lbi" -->&copy; COPYRIGHT 2010 DM CONSULTING<!-- #EndLibraryItem --></div>
        </div>
        <div id="navbar">
          <!-- #BeginLibraryItem "/Library/nav.lbi" -->
          <ul id="MenuBar1" class="MenuBarVertical">
            <li><a href="#index.html" title="DM Consulting home page">HOME</a></li>
            <li><a href="#" class="MenuBarItemSubmenu">TRAINING</a>
              <ul>
                <li><a href="#outline.html" title="Outline of our Training Course">General Information &amp; Outline</a></li>
                <li><a href="#train_sched.html" title="Locations &amp; dates of our Training Courses">Training Course Schedule</a></li>
                <li><a href="#drawings.html" title="Dry dock course drawings">Course Drawings</a></li>
                <li><a href="#testimonials.html" title="Read what our clients have to say">Testimonials</a></li>
              </ul>
            </li>
            <li><a href="#conference.html" title="Dry Dock Conference information">CONFERENCE</a></li>
            <li><a href="#software.html" title="Shop our software">DOCKMASTER SOFTWARE</a></li>
            <li><a href="#consulting.html" title="Dry Dock Consulting">CONSULTING</a></li>
            <li><a href="#clients.html" title="List of current and past clients">CLIENTS</a></li>
            <li><a href="#about.html" title="Learn about our company">ABOUT</a></li>
            <li><a href="#contact.html" title="Contact us">CONTACT US</a></li>
          </ul>
        <!-- #EndLibraryItem --></div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    Here is the code for the page that DOESN'T work:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Training Course Schedule</title>
    <link href="../css styles/drydock2.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    background-image: url(images/vertborderblue2.jpg);
    background-repeat: repeat-x;
    -->
    </style>
    </head>
    <body>
    <div id="container">
      <div id="header"><img src="../images/header_title_white.png" width="645" height="116" alt="header" /></div>
      <div id="logo"><img src="../images/drydock_logo_blktxt.png" width="154" height="119" alt="logo" /></div>
      <div id="mainContent">
        <div id="content">
          <h2><span class="bolder1">Training Course Schedule</span><span class="bolder1"></span></h2>
          <p><br />
          Class sizes are limited so please register early. Early registration and payment provides the best value.<br />
      <br />
          </p>
    <p class="underline"><strong>4-7 October 2010  •   Honolulu, HI, USA </strong></p>
          <div id="schedulephoto"><img src="../images/conference-rm_train_s.jpg" width="250" height="123" alt="image" /></div>
          <p>The training will be held in Pearl Harbor, Hawaii, USA. <br />
            <a href="Registration_Hawaii.html">Registration form</a><br />
            <br />
          </p>
          <p class="underline"><strong>15-18 November 2010   •   Virginia Beach VA, USA</strong></p>
          <p>The training will be held in Virginia Beach, Virginia, USA. <br />
            <a href="Registration_Virginia.html">Registration form</a><br />
            <br />
          </p>
          <p class="underline"><strong>11-14 May 2011  •   London, United Kingdom</strong></p>
            The training is held in conjunction with the Royal Institution of Naval Architects (RINA). Registration and payment will be made directly to RINA. <br />
            Visit RINA's <a href="http://www.RINA.org.uk" target="_blank">website</a> and go to &quot;Events&quot; or call +44 (0) 20 7201 2401.<br />
      <br />
          </p>
          <p><strong>Your Location</strong></p>
          <p>Training tailored to your organization's needs, including training at your facilities, <br />
            is also available.    </p>
        </div>
        <div id="nav3"><!-- #BeginLibraryItem "/Library/nav.lbi" -->
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="#index.html" title="DM Consulting home page">HOME</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">TRAINING</a>
            <ul>
              <li><a href="#outline.html" title="Outline of our Training Course">General Information &amp; Outline</a></li>
              <li><a href="#train_sched.html" title="Locations &amp; dates of our Training Courses">Training Course Schedule</a></li>
              <li><a href="#drawings.html" title="Dry dock course drawings">Course Drawings</a></li>
              <li><a href="#testimonials.html" title="Read what our clients have to say">Testimonials</a></li>
            </ul>
          </li>
          <li><a href="#conference.html" title="Dry Dock Conference information">CONFERENCE</a></li>
          <li><a href="#software.html" title="Shop our software">DOCKMASTER SOFTWARE</a></li>
          <li><a href="#consulting.html" title="Dry Dock Consulting">CONSULTING</a></li>
          <li><a href="#clients.html" title="List of current and past clients">CLIENTS</a></li>
          <li><a href="#about.html" title="Learn about our company">ABOUT</a></li>
          <li><a href="#contact.html" title="Contact us">CONTACT US</a></li>
        </ul>
        <!-- #EndLibraryItem --></div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    I understand about having the script and  link element that connect my page to the dependent files in the SpryAssets folder in the header and the JavaScript function cal at the bottom on each page. I don't know what else to do - HELP!

    Welcome to the Dreamweaver world!
    Well, having your index.html page at the top/root level is important, as that is the default page by which people will enter your site.
    Having other pages in folders is fine...I do it all the time in order to keep departments or categories of information sorted.
    One characteristic of having pages in folders is that the hierarchy of files in folders (perforce) puts them at different depths in the site.
    This is not inherently a bad thing! Just one to remain aware of. When you look at your site files in the Files Panel, you can see a graphical representation of those different levels.
    But the nature of a library item is that it is identical in all its instances, which is what makes it useful...change it in the library, and it changes site-wide. The down-side of that identity is that when your files are at different depths in the hierarchy, their links back to, say, home (or any other same file) will change depending on the depth. You can see this if you make a link on a page, then drag the page (in the Files Panel) to a different depth...say, into a folder when it started at root level, or vice versa. Check the link, and you will see that it automatically adapted to the new path.
    Library items do not do that; they do not change, so some of your links will be 'wrong' when you refer to pages that have different paths than the ones originally set up in the library item... because of the change in hierarchy.
    All this is, of course, reliant on your creation of the site in the first place, as defining the root folder's location on your computer gives Dreamweaver a starting point for handling (juggling?) all the location-information for your site's files.
    Beth

  • Linked library items via MovieClipLoader?

    So, some of you may have run into this before. I know there
    is a known issue with importing an SWF to a MovieClip using
    LoadMovie - in that, any library items in the SWF that have linkage
    IDs can only be attachMovie'd within the MovieClip itself, and not
    in the main timeline (or any other timeline).
    However, I'm ok with this limitation.
    I have a project where I'm creating an empty movieclip on the
    main timeline, called "clip_1".
    I then use a MovieClipLoader object to load an external SWF
    ("buttons_1.swf") into clip_1.
    This works.
    However, buttons_1.swf has several button clips with linkage
    IDs set. What I want to do is, after buttons_1.swf has successfully
    loaded into clip_1, then do something like
    clip_1.attachMovie("btn_play", "play", 1);
    where "btn_play" is the linkage ID of a button in
    buttons_1.swf.
    This does not work... and it probably should given that
    apparently some people get a similar thing to work with
    loadMovie(). I want to use MovieClipLoader, however, because of the
    built-in error catching and completion features of that class.
    I cannot use the "runtime sharing" workaround for this,
    because I will have a potentially unlimited, unknown "button" SWFs
    that will be used. The main movie will load the appropriate button
    library at runtime, but I can't know in advance what all the
    libraries will be, and after the main movie is published, ideally I
    cannot go in and edit it again (want to have it dynamic as possible
    from the beginning).
    Any help would be appreciated. I know this is a confusing
    issue.

    Oops! Missed some quotes:
    var mc = this.createEmptyMovieClip("test_mc",
    this.getNextHighestDepth());
    var mclListener:Object = new Object();
    mclListener.onLoadInit = function(target_mc:MovieClip) {
    // child movie contains MCs with linkage IDs
    // attach an instance of "testclip"
    var _d = target_mc.getNextHighestDepth();
    target_mc.attachMovie("testclip", "clip"+_d,
    _d,{_x:30,_y:30});
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(mclListener);
    mcl.loadClip("child.swf", mc);

  • Duplicate Library Items?

    Hello.  I am VERY new to Flash, although I'm doing quite well on the project I'm having to learn it for.  So far I have been able to figure out what I need.  I have found a very nice tutorial site, but the gentlemen's videos are 20 minutes long (at least), and they are excellent, however I don't have time to go through all kinds tutorials.  I do do them when I can, but the projects I undertake need to be published with expediency and I just don't have time to go through step by step.  I've always been a "learn by doing" person, anyway.
    My question is: (sorry if it's basic)
    When I open the library, I went through and deleted some of the components that were mistakes. I am using a GIF that was converted to a SWF in one layer, and I noticed that in the library there are duplicate frames of this item.  One group are bitmaps and the others just say "graphic".  They are exact duplicates of each other except that the "graphic" items all have the little edit button on them (the little "bullet-like" circle).    When I imported my SWF, I did have to edit each frame to make it appear and fit on the screen the way I wanted it to.  Are these graphics the edited versions of what I've done?  I don't want to delete them if they're referenced to the original frame.  Obviously, I want to discard any unused library items so I can keep my file size down, but I don't want to delete them if they're supposed to be there (cuz I really don't want to have to do all that editing again if I mess it up). Or are they extras from perhaps I duplicated them accidentally somehow?
    Thanks for the help!
    ~Jessica

    In the upper right corner of the Library window there is a contextual menu button. That will open a menu. In that menu, near the bottom are two options for showing the usage of each item in the Library. This will help you to know what is used in the timeline.
    Those graphics objects are the representation of the bitmaps that were imported. You use the graphic. The graphic uses the bitmap. Don't delete either one. The size of the .fla file has no bearing on the size of the .swf file that you create. The .swf will only contain and use the items from the Library that it actually needs.
    Cleaning up your Library is a good practice, but you don't need to obsess over it.

  • Library item won't update

    I edited a graphic used in my cp file, but when I go to the
    library to update it, the update library items dialog shows the
    file name with a warning icon next to it and no path. When I point
    to the icon, it says "This item is internal". Can someone explain?
    Thanks

    Rick, John
    Thanks for your responses.
    John, no I'm pretty clear on the differences between 'update'
    and 'edit with'...in this case, I had changed the graphic outside
    of Captivate, and wanted to update the image used in the movie.
    However, I haven't been using 'edit with' and may try that as well.
    Could save me a bit of time
    Rick
    I see what you're saying. I try to be consistent about
    importing into the library then inserting from there, but there are
    always exceptions--I may have copied and pasted or even moved the
    graphics. Honestly don't remember but I'll investigate.
    But I do wonder...how does importing from another movie
    affect the library? Are the items from the imported slides added to
    the library automatically?
    Thanks

  • Flash Pro CS5.5 - 10 seconds to select a library item?

    Something very annoying happens in CS5.5. It was already happening in CS5, but with newer version it got even worse.
    When I select a complex library item for the first time, just clicking on it, somehow the library has to render another preview (the item is already visible on stage, so a new rendering happens).
    During this "rendering" time, Flash hangs for up to 20 seconds, depending on how large or complex is the clip.
    Also, when the message "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts." is triggered in the output panel (even 30 times in a row) then the waiting can go up to 30 seconds.
    Probably, the library renders s different preview, maybe to accomodate components, or live-preview items? who knows?
    This makes navigating the library tedious and annoying. If by mistake I click on the wrong item, I have to wait so long before flash works again, and this can happen several times during a work session.
    Is there a way to disable this "feature" in library?
    thanks

    Thanks for the help Sharad but I don't think this is the problem.
    Indeed I have two partitions on my mac air, but the one where OS X Lion is installed (the one with /Applications) is a non-case sensitive one. If I try to install on the case sensitive one, then, the Installation software does not allow me to continue. The /Users/fbnascimento is on the other hand in a case-sensitive device, althought it did not prevented me to install it on OS X 10.6. I have no idea what it might be, but as far as I can tell, it might have something to do with: "Install on Snow Leopard -> Trashing it withouth uninstalling -> Trying to reinstall on Snow Leopard". Maybe there is some uninstalled component I'm not aware of...
    I've tried to download a new Flash CS 5.5 from adobe, the same error. If I copy a Flash App from another machine it does not run either.

  • Cant see the import picture on the stage

    I import a picture on the stage
    I only see a blank box on the stage ( but I can see the
    picture in the library)
    how can I resolve this problem? please help me
    the
    picture

    kanatan
    You can import to the stage, or to the library. Usually I
    import to the library. If you are going to import directly to the
    stage, you must click your mouse in the layer that the image should
    go into.
    Hope this helps

  • Adding Flash Library items to a Flex App

    Ok, this should be simple but like all things critical to my
    flash projects they end up being hacks or major work-arounds.
    Essentially, I need to add a Flash Library item (set to export as a
    default class in Flash 9 Preview) - to my Flex application. I won't
    go into why but just consider the need for Flash interface for
    graphics creation a requirement for now. Seeing as this was no big
    deal (attachMovieClip in as2) before how would i go about this in
    as3/Flex? Please provide example - not just theory, if you can as
    I've almost read every theory/method out there but no up to date
    examples and nothing my designer brain can grasp.
    Here's what im doing so far.
    - Created a flash movie with a graphic movieclip set to
    export on first frame / class name as default of name of movieclip
    - this object doesn not live on stage but in the library (unless
    the workflow needs to change but i'd rather it not as there will be
    other objects to load in as well)
    - Using the Image class to load in swf. All is good so far.
    - So how do actualy add a child of this swf (one of the
    classes compiled in this swf) to a member of my Application?
    Heres what i was thinking i could do -
    var myLibObject:Image = new Image();
    myLibObject.source = "packages/MyLibrary.swf";
    myCanvas.addChild(myLibObject.Circle); // Circle is a
    library item/class in the flash library / Obviously this doesn't
    work but not sure how classes within the flash document class are
    referenced

    This seems to work - Let's say you have a 50 or more items in
    your library.swf and you want to load them all one at a time. Would
    this mean that you would be loading the swf file 50 or more times
    or does it load the entire swf the first time and then subsequent
    calls to this swf are in flash memory?

  • How to make DW see Templates and Library items

    I imported a site from another computer. Now it cannot see templates as templates or library items as library items. I am downloading the files from the server. The templates folder is there, but they are not showing up in the assets panel. They are also not updating when I save them.
    How do I make DW see the templates and library items? It is a large site and I really don't want to have to recreate everything.

    I just had this problem and this is how I solved it:
    1. Create a brand new template (can be empty) and save it
    2. See where dreamweaver puts it in the files panel(more than likely will create a new template folder)
    3. Completely move all templates from your previous template folder to the new one DW just created.
    4. Voila - now check you templates under assets.
    Caution:
    1. First only copy one template to the new folder and check assets to test this theory before deleting the ones in the previous folder (if it works do be sure to delete the others)
    2. To tell if a template actually works, select it then hit delete, if it simply warns you this can't be undone the template is NO GOOD. If it gives you  a  list of links you will destroy THAT'S THE ONE YOU WANT TO KEEP.  The templates in the new folder should give you a list of links, any templates any where else will just give you a regular delete/warning message.
    Hope this solution works for you, I'm just trying to help.
    Michelle

  • Unable to import an item to keychain

    I am trying to import a certificate in the X509Anchor in my keychain. Under both users i get the error:
    "An error has occurred. Unable to import an item.
    100013"
    I did a disk permissions repair, and a keychain firstaid and neither helped. I am able to import a certificate to other keychains

    This is probably happening because you don't have Write access to the System/Library/Keychains folder - by default the permissions are 755 (Root has read/write, Wheel has Read and Everyone has Read).. to alter the X509Anchor you actually have to allow yourself write access to this folder (this is not recommended, and if you do this make sure you put the permissions back as you found them)

  • Do I have to be on the internet to import library from one computer to another ?

    Do I have to be on the internet to import library from one PC to another ?

    What library? Do you mean you iTunes Library? If so, then no, you don't have to be on the Internet. You only have to copy the library to an external disk, then restore it on the other computer.
    Back up your iTunes library by copying to an external hard drive
    Also, see:
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.

  • Relative referencing using library items

    Hi,
    I use a menu which is a library item. When the library item
    is imported into the html pages, DW changes the relative references
    to web pages. Specifically, a link to a page in the main directory
    is changed from "../link.htm" to "/link.htm" as the library items
    are located in a subdirectory to the main folder.
    However, for the links to work, the code needs to be
    "link.htm" for the link to work - the "/" confuses the browsers.
    Is there any way of changing the settings in DW to not insert
    the "/"?
    Lotte

    IF it is a plain html A HREF link in the library item, IF
    it's the correct
    path IN the .lbi file, dw will manage the path and it will
    work anywhere in
    the site.
    Open the .lbi library item file.
    do a link check, File-->Check Page-->Check Links.
    fix any broken links so they work IN the .lbi file.
    A second possible-
    "../link.htm" to
    "/link.htm"
    /link.htm is a site root relative path.
    IF /link.htm doesn't work- what should it be?
    Does this site have it's own domain name, or is it hosted in
    a subfolder of
    another domain?
    example urls with the broken links please if things aren't
    clear.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • Time machine issue, trying to recover a file

    OK, Haven't needed to use time machine but now is the case and am having trouble ;-( ! My computer is backing upto the external drive with no issues.( Just did it a minute ago) I can see the backups correctly dated on the external drive. BUT.... When

  • Can't get sound output to built in speakers

    Hi, I can't get to my built in speakers. They don't show up in the system preferences; it just says "no output devices found." Sometimes with multiple restarts, it will come back; sometimes not. I should say I'm periodically plugging in my Griffin iM

  • Nokia N95 and Phone Autolock

    Just a simple question, when I set the "Phone Autolock Period" to anything different from "0" my phone locks after this period, but the Phone request the device unlock code when it is started, is there any option to keep requesting the code at start

  • ORA - 01847

    Hi, Can anyone help me with this error? ORA - 01847: day of month must be between 1 and last day of month SELECT CLIENT_ID, SUM(UPDATE_QTY) SUMA FROM inventory_transaction ITL WHERE CODE = 'Adjustment' AND ITL.DSTAMP BETWEEN TO_DATE($P{from_date} ||

  • Setting value in a cookie using ABAP code

    Hai All, Using ABAP code is it possible to set some value in a cookie. Regards, H.K.Hayath Basha.