Flash newbie questions about slow loading site

Hi all. I am new to Flash and web-site building in general and I have been learning while doing. Its fun, but frustrating. I really need some help, hope someone out there with Flash experience can give me some advice.
My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes via cable modem) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot. Hope you guys can help!
Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.
My thoughts:
- do I have to purge my Flash file/library of unused images before creating my swf file?
- Is there a problem with my html code in my index file?
- because it is a portfolio site, I've got about 90 images on it, each image about 300-400K.  Is this too big, or about right?
Please help! Sorry for the long email, just desperate for help. Thanks in advance for any advise!!!! Just in case, here is the html code:
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Acme Company</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
body {
background-color: #000000;
<link href="favicon.ico" rel="icon" />
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','heigh t','600','title','Acme Company','vspace','100','src','development files/company site_AS2_2008 OCT_final','loop','false','quality','high','plugin spage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','#000000','scale','exactfit','movie','develop ment files/company site_AS2_2008 OCT_final' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600" vspace="100" title="Acme Company">
<param name="movie" value="development files/comapny site_AS2_2008 OCT_final.swf" />
<param name="quality" value="high" /><param name="BGCOLOR" value="#000000" /><param name="LOOP" value="false" /><param name="SCALE" value="exactfit" />
<embed src="development files/company site_AS2_2008 OCT_final.swf" width="800" height="600" vspace="100" loop="false" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" scale="exactfit"></embed>

Yeah I'm with Ned on this one. Dynamically loading your images is the way to go. The fact that you are new to Flash, try this tutorial (http://www.entheosweb.com/Flash/loading_external_images.asp). As you move along in learning Flash, look for tutorials on actionscript arrays and loading images dynamically. Arrays allow you to call each images from a folder outside your fla. That way your site moves right along without much loading time.
Hope I was of help,

Similar Messages

  • Question about Finder-Load-Beans flag

    Hi all,
    I've read that the Finder-Load-Beans flag could yield some valuable gains in performance
    1) why is it suggested to do individual gets of methods within the same Transaction
    ? (tx-Required).
    2) this strategy is useful only for small sets of data, isn't it? I imagine I
    would choose Finder-Load-Beans to false (or JDBC) for larger sets of data.
    3) A last question: its default value is true or false ?

    Because if there are different transactions where the get method is called
    then the state/data of the bean would most be reloaded from the database. A
    new transactions causes the ejbLoad method to be invoked in the beginning
    and the ejbStore at the end. That is the usual case but there are other ways
    to modify this behavior.
    "Francesco" <[email protected]> wrote in message
    news:[email protected]
    Hi thorick,
    I have found this in the newsgroup. It's from R.Woolen answering
    a question about Finder-Load-Beans flag.
    "Consider this case:
    Collection c = findAllEmployeesNamed("Rob");
    Iterator it = c.iterator();
    while (it.hasNext()) {
    Employee e = (Employee) it.next(); System.out.println("Favorite color is:"+ e.getFavColor());
    With CMP (and finders-load-beans set to its default true value), thefindAllEmployeesNamed
    finder will load all the employees with the name of rob. The getFavColormethods
    do not hit the db because they are in the same tx, and the beans arealready loaded
    in the cache.
    It's the big CMP performance advantage."
    So I wonder why this performance gain can be achieved when the iterationis inside
    a transaction.
    thorick <[email protected]> wrote:
    1) why is it suggested to do individual gets of methods within thesame Transaction
    ? (tx-Required).I'm not sure about the context of this question (in what document,
    is this
    2) this strategy is useful only for small sets of data, isn't it? Iimagine I
    would choose Finder-Load-Beans to false (or JDBC) for larger sets ofdata.
    If you know that you will be accessing the fields of all the Beans that
    you get back from a
    then you will realize a significant performance gain. If one selects
    100s or more beans
    a finder, but only accesses the fields for a few, then there may be some
    performance cost.
    It could
    depend on how large some of the fields are. I'd guess that the cost
    of 1 hit to the DB per
    bean vs.
    the cost of 1 + maybe 1 more hit to the DB per bean, would usually be
    less. A performance
    test using
    your actual apps beans would be the only way to know for sure.
    3) A last question: its default value is true or false ?The default is 'True'

  • Newbie question about loading servlets on tomcat

    I have what is probably a very basic question about loading simple servlets on to tomcat to test its installation. I have followed instructions from numerous tutorials to the letter but still I can't get it to work.
    I have installed tomcat on win2k in c:\tomcat. I set up the jdk, environment vars (JAVA_HOME, CATALINA_HOME, TOMCAT_HOME) which all point at the correct dirs. I can compile a servlet without errors. I can also place a test jsp and html file into the root directory and they both work fine.
    However, now I am trying a test servlet and no matter what I do it gives me a 404. I have a servlet class file called "HelloServlet.class" which I placed into the %install_dir%\webapps\ROOT\WEB-INF\classes directory. I try to reference it using this url:
    Tomcat is configured to use port 80 and has been restarted after adding the servlet class file. Does anyone have a clue why this is not working for me?
    Many thanks

    You have to add in the web.xml file that it is in the WEB-INF dir, the information about your servlet. An example:

  • Questions about the load processing of OpenSparc T1 Dcache

    I have some questions about OpenSparc T1 Dcache load processing.
    During load processing, subsequent loads to the same address need to search the store buffer for a valid store to that address. If there is a CAM hit, data is sourced from the store buffer, not from the D-cache, and no load request will be sent to the L2.
    What if there is no CAM hit. Would the load request be sent to L2? Or would Dcache be checked for the requested data?
    If the load request would be sent to L2, what next? Would the Dcache be updated?

    Store buffer is checked for Read after Write (RAW) condition on loads. If there is full RAW - i.e. full data exists in the store buffer - then the data is bypassed and no D cache access happens.
    If RAW is partial (e.g. word store followed by a double word load) then load is treated as a miss. Store is allowed to complete in L2 cache and then load instruction is completed.
    For the miss in STB, D cache is accessed. If hit, data is fetched from D$. If miss, data is fetched from L2$ and allocated in D$.

  • Newbie Question about FM 8 and Acrobat Pro 9

    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?

    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Newbie question about saving files

    Hi all,
    A newbie question here, and maybe it is a dumb question, but I can't get my head around this and sofar found no answer in the forums here.
    When I save a file on my macbook, I can only save it to "top" folders.
    What I mean is I try to save a file for instance to documents/worddocs/lyrics just to say something, then I have to save the file first to documents, and the move it to the lyrics folder via finder or move it to :worddocs folder and then move it again to the lyrics folder. Hope you still get my drift here
    Is there a way to just save it to the subfolders without going through all this moving around?
    Thanks in advance for any advice

    When you click File>Save As, you will see the Save As window pop up. At the top, you will see a box entitled Save As, which has a space for your to enter the file name. To the right of this box is an arrow pointing down. Click it. The full file hierarchy will be seen. Then you can save directly to the file you want.
    Hope this helps.

  • 2 newbies question about diskgroups

    Hi gurus,
    I have 2 newbies question:
    Im working in a RAC Database ( on Redhat 5.3 with some disk groups. One of this groups have 6 disks on it with different space (134, 236G, 236G, 185G, 185G and 185G).
    My questions are:
    1) What would be happend when the lower space disk will be full?
    2) At this moment the diskgroups are at 45% so i was thinking to change their spaces to have all with the same space (around 193G each), it would create any problem? i should restart database or can do it with database up?

    if a disk is filled, what would happen? could i resize the disks with same size without stop database and without affecting the data stored within each disc?
    By the word 'disk' I assume you mean LUN . When a LUN in a disk group is filled, ASM will use the remaining LUNs to store the data. You should always use LUNs of uniform size to avoid uneven I/O .
    could i resize the disks with same size without stop database and without affecting the data stored within each disc
    You can get the Unix/Storage team to allocate more LUNs for this Server. Once these LUNs are added , check if the following pre-reqs are met for the LUN which is yet to be added to the disk group
    v$asm_disk.HEADER_STATUS = 'CANDIDATE'
    v$asm_disk.PATH = /dev/rdsk/youLUNname
    v$asm_disk.NAME will be NULL
    Now you can add the LUNs using
    alter diskgroup DATA_DG01 add disk '/dev/rdsk/youLUNname' rebalance power 4 ; wait for rebalance to finish (check status in V$ASM_OPERATION)
    Yes. The above can be done without stopping the DB. It won't affect the stored data either.

  • Safari slow loading sites j

    All of a sudden Safari is very slow loading web pages. The blue bar will start and then it will freeze and stay there. If I hit stop and refresh it zips right across and loads. I have emptied the cache, reset Safari and run Disk Utility. Any suggestions?

    Hi again, researching further, I found a poster who wrote:
    _+If that doesn't work try changing your dns settings. I had a similar issue and after a visit to opendns.com and changing my settings, things are better than before. Plus I changed the settings on my router and which solved the problem for all my computers._+
    though I did the other two things, the .com.apple file thing and the macfixit (well I tried some of those) this is what worked, going to the above mentioned webpage and following the very simple steps. I have no idea what the heck I did actually, but it worked. I also do not know why all of a sudden everything changed and I had to do this trouble shooting. Made me feel like I was back in PC Land.
    aloha, C

  • Two (too much?) newbies questions about KT3 Ultra 2

    Goodmorning all.
    I've bought a KT3 Ultra2 (MS-6380E) motherboard and i've two questions about it.
    First of all I need to buy the optional S-Bracket to use my SPDif sound sistem... where can i buy it in Italy or in Internet?
    In second i've to know the highest processor my MB support becouse i have to upgrade my PC.
    Can U help me?
    Tha a lot and sorry for disturb.

    question 2, not sure about question 1,
    You may need this BIOS update too.

  • A newbie question about external sites authntication

    i am wondering if i can log in a site like yahoo mail across portal without external application or something
    i heard it can be done through web clipping portlet
    i mean to sign me in automaticly into yahoo mail for example when i log into portal
    thanks a lot for your time

    Yes you can do that in favorites. Try creating favorites portlet it will ask for your userid and password.
    After creating the favorites once you click on the link it will take you directly into the yahoomail box.

  • Newbie Questions - Page 6 loads before page 1?

    I'm pretty new to Flash.  I'm trying to help out the company I work for by updating the Flash website that was built in 2008.  Unfortuantly, the person who built it has exactly nothing documented or even labeled, so it's been rough and again, I'm pretty new.  I'm more used to creating new sites than picking through ones that are already up and running.
    The problem I'm having is this:
    The site is entirely in flash.  I was asked to add a page to the existing site that would contain images of our company's certifications.  Through a lot of trial and error, I was able to add this new page, but now the images on that page show up first when the website is loaded.  To explain it another way, the images on the new page (page 6) show up and then "fade out" when the site is first loaded.  The same problem does not occur one the site has been completeld loaded.  For instance, if I load the site and then click a link to the About Us page and then back to the first page, the images from the new page don't show up like they do when the website is first loaded.
    I know that's not much to go on, but has anyone run into this problem before?
    What additional information can I post that would make this issue easier for people to help diagnose?
    Thank you for your input!

    Thank you for the reply!  I'm pretty sure it's something I'm doing wrong, I just don't know what that is. 
    As for my process, I copied an existing button and updated it new information.  Same with creating the page itself - I copied an existing one and then edited it with new content.
    So the original menu had
    Home | Services | Gallery | About Us | Contact Us
    I added a 6th page to the end: Certifications
    My menu action script looks like this (I bolded the stuff that I added):
    #include "mc_tween_2_28_29.as"
    #include "rollOvers.as"
    midBox_mc.Img1_mc.words_mc.titleText = "Company Tagline";
    midBox_mc.Img1_mc.words_mc.subText = "Description of our Company.";
    var btnPos:Number = 1;
    var secNumber:Number = 0;
    otherHome_mc.home_btn.onPress = function() {
                btnPos = 1;
                secNumber = 0;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    nav_mc.home_btn.onPress = function() {
                btnPos = 1;
                secNumber = 0;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    nav_mc.services_btn.onPress = function() {
                btnPos = 2;
                btn2beBlocked = 0;
                secNumber = 1;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    nav_mc.hserv_btn.onPress = function() {
                btn2beBlocked = 0;
                servNumber = 0;
                fatNumber = 0;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub1_btn.onPress = function() {
                btn2beBlocked = 1;
                servNumber = 1;
                fatNumber = 1;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub2_btn.onPress = function() {
                btn2beBlocked = 2;
                servNumber = 2;
                fatNumber = 2;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub3_btn.onPress = function() {
                btn2beBlocked = 3;
                servNumber = 3;
                fatNumber = 3;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub4_btn.onPress = function() {
                btn2beBlocked = 4;
                servNumber = 4;
                fatNumber = 4;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub5_btn.onPress = function() {
                btn2beBlocked = 5;
                servNumber = 5;
                fatNumber = 5;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub6_btn.onPress = function() {
                btn2beBlocked = 6;
                servNumber = 6;
                fatNumber = 6;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.gsub7_btn.onPress = function() {
                btn2beBlocked = 7;
                servNumber = 7;
                fatNumber = 7;
                midBox_mc.Img2_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, servFill);
    sub_mc.asub1_btn.onPress = function() {
                btn2beBlocked = 8;
                aboutNumber = 1;
                fatNumber = 8
                midBox_mc.Img4_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, aboutFill);
    sub_mc.asub2_btn.onPress = function() {
                btn2beBlocked = 9;
                aboutNumber = 2;
                fatNumber = 9;
                midBox_mc.Img4_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, aboutFill);
    sub_mc.asub3_btn.onPress = function() {
                btn2beBlocked = 10;
                aboutNumber = 3;
                fatNumber = 10;
                midBox_mc.Img4_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, aboutFill);
    nav_mc.habout_btn.onPress = function() {
                btn2beBlocked = 0;
                aboutNumber = 0;
                fatNumber = 0;
                midBox_mc.Img4_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, aboutFill);
    function looseWeight () {
                                        case 0:
                                        case 1:
                                        case 2:
                                        case 3:
                                        case 4:
                                        case 5:
                                        case 6:
                                        case 7:
                                        case 8:
                                        case 9:
                                        case 10:
    //gallery btn
    nav_mc.gallery_btn.onPress = function() {
                btn2beBlocked2 = 0;
                secNumber = 2;
                btnPos = 3;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    //gallery sub nav
    nav_mc.hgallery_btn.onPress = function() {
                btn2beBlocked2 = 0;
                galleryNumber = 0;
                midBox_mc.Img3_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, galleryFill);
    nav_mc.about_btn.onPress = function() {
                btnPos = 4;
                btn2beBlocked = 0;
                secNumber = 3;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    nav_mc.contact_btn.onPress = function() {
                btnPos = 5;
                secNumber = 4;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    nav_mc.certs_btn.onPress = function() {
                btnPos = 6;
                secNumber = 5;
                fatNumber = 0;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    bottom_nav.bigS_btn.onPress = function() {
                btnPos = 2;
                btn2beBlocked = 0;
                secNumber = 1;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    bottom_nav.bigG_btn.onPress = function() {
                btnPos = 3;
                btn2beBlocked2 = 0;
                secNumber = 2;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
                midBox_mc.Img3_mc.galleryText = "";
    bottom_nav.bigA_btn.onPress = function() {
                btnPos = 4;
                btn2beBlocked = 0;
                secNumber = 3;
                midBox_mc.white_mc.alphaTo(100, .5, "easeinSine", 0, sectionSwitch);
    midBox_mc.Img2_mc.dl_btn.onPress = function() {
    function moveBtns() {
                otherHome_mc._y = 75;
                nav_mc.home_btn._y = 0;
                nav_mc.picked1_mc._y = -50;
                nav_mc.services_btn._y = 0;
                nav_mc.picked2_mc._y = -50;
                nav_mc.gallery_btn._y = 0;
                nav_mc.picked3_mc._y = -50;
                nav_mc.about_btn._y = 0;
                nav_mc.picked4_mc._y = -50;
                nav_mc.contact_btn._y = 0;
                nav_mc.picked5_mc._y = -50;
                nav_mc.certs_btn._y = 0;
                nav_mc.picked6_mc._y = -50;
                nav_mc.hserv_btn._y = -85;
                nav_mc.hgallery_btn._y = -85;
                nav_mc.habout_btn._y = -85;
                midBox_mc.Img4_mc.play_btn._x = 657.8;
                bottom_nav.bigS_btn.ySlideTo(120, .3, "easeoutSine");
                bottom_nav.bigG_btn.ySlideTo(120, .3, "easeoutSine", .1);
                bottom_nav.bigA_btn.ySlideTo(120, .3, "easeoutSine", .2);
                sub_mc.gsub1_btn.ySlideTo(-28, .3, "easeoutSine", .35);
                sub_mc.gsub2_btn.ySlideTo(-28, .3, "easeoutSine", .3);
                sub_mc.gsub3_btn.ySlideTo(-28, .3, "easeoutSine", .25);
                sub_mc.gsub4_btn.ySlideTo(-28, .3, "easeoutSine", .15);
                sub_mc.gsub5_btn.ySlideTo(-28, .3, "easeoutSine", .1);
                sub_mc.gsub6_btn.ySlideTo(-28, .3, "easeoutSine");
                sub_mc.gsub7_btn.ySlideTo(-28, .3, "easeoutSine", .2);
                sub_mc.asub1_btn.ySlideTo(-28, .3, "easeoutSine", .15);
                sub_mc.asub2_btn.ySlideTo(-28, .3, "easeoutSine", .1);
                sub_mc.asub3_btn.ySlideTo(-28, .3, "easeoutSine");
                switch (btnPos) {
                            case 0 :
                                        nav_mc.home_btn._y = 0;
                                        nav_mc.picked1_mc._y = -50;
                            case 1 :
                                        nav_mc.home_btn._y = -50;
                                        nav_mc.picked1_mc._y = 0;
                                        otherHome_mc._y = -175;
                                        bottom_nav.bigS_btn.ySlideTo(0, .3, "easeinSine");
                                        bottom_nav.bigG_btn.ySlideTo(0, .3, "easeinSine", .1);
                                        bottom_nav.bigA_btn.ySlideTo(0, .3, "easeinSine", .2);
                            case 2 :
                                        nav_mc.services_btn._y = -50;
                                        nav_mc.picked2_mc._y = 0;
                                        sub_mc.gsub1_btn.ySlideTo(0, .3, "easeinSine");
                                        sub_mc.gsub2_btn.ySlideTo(0, .3, "easeinSine", .1);
                                        sub_mc.gsub3_btn.ySlideTo(0, .3, "easeinSine", .2);
                                        sub_mc.gsub7_btn.ySlideTo(0, .3, "easeinSine", .3);
                                        sub_mc.gsub4_btn.ySlideTo(0, .3, "easeinSine", .4);
                                        sub_mc.gsub5_btn.ySlideTo(0, .3, "easeinSine", .5);
                                        sub_mc.gsub6_btn.ySlideTo(0, .3, "easeinSine", .6);
                            case 3 :
                                        nav_mc.gallery_btn._y = -50;
                                        nav_mc.picked3_mc._y = 0;
                            case 4 :
                                        nav_mc.about_btn._y = -50;
                                        nav_mc.picked4_mc._y = 0;
                                        sub_mc.asub1_btn.ySlideTo(0, .3, "easeinSine");
                                        sub_mc.asub2_btn.ySlideTo(0, .3, "easeinSine", .1);
                                        sub_mc.asub3_btn.ySlideTo(0, .3, "easeinSine", .15);
                            case 5 :
                                        nav_mc.contact_btn._y = -50;
                                        nav_mc.picked5_mc._y = 0;
                            case 6 :
                                        nav_mc.certs_btn._y = -50;
                                        nav_mc.picked6_mc._y = 0;
    function btnBlocker() {
                sub_mc.bb1_mc._y = -33;
                sub_mc.bb2_mc._y = -33;
                sub_mc.bb3_mc._y = -33;
                sub_mc.bb4_mc._y = -33;
                sub_mc.bb5_mc._y = -33;
                sub_mc.bb6_mc._y = -33;
                sub_mc.bb7_mc._y = -33;
                sub_mc.bb8_mc._y = -33;
                sub_mc.bb9_mc._y = -33;
                sub_mc.bb10_mc._y = -33;
                nav_mc.hserv_btn._y = -85;
                sub_mc.gsub1_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub2_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub3_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub4_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub5_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub6_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.gsub7_btn.btn_text.colorTo(0x7E95A3, .3, "easeinSine");
                sub_mc.asub1_btn.btn_text.colorTo(0x4F6877, .3, "easeinSine");
                sub_mc.asub2_btn.btn_text.colorTo(0x4F6877, .3, "easeinSine");
                sub_mc.asub3_btn.btn_text.colorTo(0x4F6877, .3, "easeinSine");
                            case 0:
                                        nav_mc.hserv_btn._y = -85;

  • Newbie question about setting up iTunes to sync across multiple computers

    Right now I am using iTunes primarily for listening to streaming radio. However in about 2-3 weeks after I move, I am considering importing all my CDs into iTunes.
    So my question is this. What can I do before I start that will make my life easier for syncing my iTunes across multiple computers.
    I don't expect the computers to connect to each via internet but I do have a 4 GB flash disk and 230 GB firewire drive that could be used. And since one of the computers is MacBook Pro, I could use it in target mode I think.

    Authorization only applies to computers. When you update a device any protected content on the device for which the library is not authorised will be removed. Otherwise no attempt is made to remove content that was added by a now deauthorised library.
    There is a separate scheme permitting up to 10 devices (computers, iPhones, iPad or iPod touches) to be registered for automatic downloads of your purchases with a different mechanism for deregistering devices.
    Once you have a file on your computer you can physically copy it to any other computer in the same way that you would copy any other file like a Word document, put it on a disk, email it if not too large, burn it to DVD, stick it on an external hard drive or move it over a network. You can use Get Info. To tell you where it is now and you can drop it into the library at the other end.
    The user tip shows how to backup the whole library and then update that backup efficiently. Such a backup to a portable drive also provides a possible tool for transporting any content to another computer.

  • Please, help a newbie:  Question about animating expanding containers

    Hi All,
    Short Version of my Question:
    I'm making a media player that needs to have an animation for panels sliding up and down and left and right, and the method I've been using to do this performs far slower than the speed I believe is possible, and required. What is a fast way to make a high performance animation for such an application?
    So far, to do the animation, I've been using JSplitPanes and changing the position of the divider in a loop and calling paintImmediately or paintDirtyRegion like so:
    public void animateDividerLocation( JSplitPane j, int to, int direction) {
    for(int i=j.getDividerLocation(); i>=to; i-=JUMP_SIZE) {
    j.paintImmediately(0, 0, j.getWidth(), j.getHeight());
    The validate and paintImmediately calls have been necessary to see any changes while the loop is going. I.e., if those calls are left out, the components appear to just skip right to where they were supposed to animate to, without having been animated at all.
    The animation requirement is pretty simple. Basically, the application looks like it has 3 panels. One on the right, one on the left, and a toolbar at the bottom. The animation just needs to make the panels expand and contract.
    Currenly, the animation only gets about, say, 4 frames a second on the 800 MHz Transmeta Crusoe processor, 114 MB Ram, Windows 2000 machine I must use (to approximate the performance of the processor I'll be using, which will run embedded Linux), even though I've taken most of the visible components out of the JPanels during the animation. I don't think this has to do with RAM reaching capacity, as the harddrive light does not light up often. Even if this were the case, the animation goes also goes slow (about 13 frames a second) on my 3 GHz P4 Windows XP if I keeps some JButtons, images etc., inside the JPanels. I get about 50 frames/sec on my 3 GHz P4, if I take most of the JButtons out, as I do for the 800 MHz processor. This is sufficient to animate the panels 400 pixels across the screen at 20 pixels per jump, but it isn't fast or smooth enough to animate across 400 pixels moving at 4 pixel jumps. I know 50 frames/sec is generally considered fast, but in this case, there is hardly anything changing on the screen (hardly any dirty pixels per new frame) and so I'd expect there to be some way to make the animation go much faster and smoother, since I've seen games and other application do much more much faster and much smoother.
    I'm hoping someone can suggest a different, faster way to do the animation I require. Perhaps using the JSplitPane trick is not a good idea in terms of performance. Perhaps there are some tricks I can apply to my JSplitPane trick?
    I haven't been using any fancy tricks - no double buffering, volatile images, canvas or other animation speed techniques. I haven't ever used any of those things as I'm fairly new to Swing and the 2D API. Actually I've read somewhere that Swing does double buffering without being told to, if I understood what I read. Is doing double buffering explicitly still required? And, if I do need to use double buffering or canvas or volatile images or anything else, I'm not sure how I would apply those techiniques to my problem, since I'm not animating a static image around the screen, but rather a set of containers (JSplitPanes and JPanels, mostly) and components (mostly JButtons) that often get re-adjusted or expanded as they are being animated. Do I need to get the Graphics object of the top container (would that contain the graphics objects for all the contained components?) and then double buffer, volatile image it, do the animation on a canvas, or something like that? Or what?
    Thanks you SO much for any help!
    Related Issues(?) (Secondary concerns):
    Although there are only three main panels, the actual number of GUI components I'm using, during the time of animation, is about 20 JPanels/JSplitPanes and 10 JButtons. Among the JPanels and the JSplitPanes, only a few JPanels are set to visible. I, for one, don't think this higher number of components is what is slowing me down, as I've tried taking out some components on my 3GHz machine and it didn't seem to affect performance much, if any. Am I wrong? Will minimizing components be among the necessary steps towards better performance?
    Anyhow, the total number of JContainers that the application creates (mostly JPanels) is perhaps less than 100, and the total number of JComponents created (mostly JButtons and ImageIcons) is less than 200. The application somehow manages to use up 50 MBs RAM. Why? Without looking at the code, can anyone offer a FAQ type of answer to this?

    You can comment out the lines that add buttons to the panels to see the behavior with empty panels.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    public class DancingPanels
        static GridBagLayout gridbag = new GridBagLayout();
        static Timer timer;
        static int delay = 40;
        static int weightInc = 50;
        static boolean goLeft = false;
        public static void main(String[] args)
            final GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.fill = gbc.HORIZONTAL;
            final JPanel leftPanel = new JPanel(gridbag);
            gbc.insets = new Insets(0,30,0,30);
            leftPanel.add(new JButton("1"), gbc);
            leftPanel.add(new JButton("2"), gbc);
            final JPanel rightPanel = new JPanel(gridbag);
            gbc.insets = new Insets(30,50,30,50);
            gbc.gridwidth = gbc.REMAINDER;
            rightPanel.add(new JButton("3"), gbc);
            rightPanel.add(new JButton("4"), gbc);
            final JPanel panel = new JPanel(gridbag);
            gbc.fill = gbc.BOTH;
            gbc.insets = new Insets(0,0,0,0);
            gbc.gridwidth = gbc.RELATIVE;
            panel.add(leftPanel, gbc);
            gbc.gridwidth = gbc.REMAINDER;
            panel.add(rightPanel, gbc);
            timer = new Timer(delay, new ActionListener()
                    gbc.fill = gbc.BOTH;
                    gbc.gridwidth = 1;
                public void actionPerformed(ActionEvent e)
                    double[] w = cycleWeights();
                    gbc.weightx = w[0];
                    gridbag.setConstraints(leftPanel, gbc);
                    gbc.weightx = w[1];
                    gridbag.setConstraints(rightPanel, gbc);
            JFrame f = new JFrame("Dancing Panels");
        private static double[] cycleWeights()
            if(weightInc > 100)
                weightInc = 100;
                goLeft = true;
            if(weightInc < 0)
                weightInc = 0;
                goLeft = false;
            double wLeft = weightInc/ 100.0;
            double wRight = (100 - weightInc)/100.0;
            return new double[]{wLeft, wRight};

  • [Solved] A note and question about slow hostname lookups

    I reinstalled Arch recently and the first thing I noticed was slow resolve times on hostname lookups.  This didn't happen on all webpages but did on about 50% of them.  This also happened on downloads from pacman %100 percent of the time.  I have done a good bit of research and most of the points led to nssswich.  One website said to try using this in nsswitch.conf:
    hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] nis
    With this it appears (after about 20 minutes of testing) that firefox lookups are again behaving normal again.  However, pacman is still having slow lookups (about 30 seconds for each package).  Does anyone know what could be the problem here.  I dont' know much about nsswitch or how it could be the problem.  Is there a way to help return pacman to regular lookup times?
    Last edited by Gen2ly (2010-11-05 18:13:34)

    Yeah, no problem.
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname> localhost.localdomain localhost pavilion
    # End of file
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 2010-1-26
    # Servers Verified as up and running 2010-1-26 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example # foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines localhost 007arcadegames.com 00fun.com 00inkjets.com 00pro.com 00web.com
    I use the hosts files to to block advertisements which is the stuff trailing on the end and continuing.  Think there might be a problemt here?

  • Slow loading site

    I built my website with iWeb and it's horribly slow to load using the iPad and I just gave up with the Nook and the iPod Touch.
    None of the files are very big. There are some image files over 100k but the rest are under 100k each.
    Any suggestions as to how to speed the site up?
    Message was edited by: St Cyril

    I don't see anything obvious why it should be so slow. Have you had problems with any site on that server in the past or with other sites on their servers? I'm not familiar with commercial servers, only MobileMe so my insight into them is limited.
    I cleared my browser's cache and went back to your site and it loaded quicker than the first time but not really fast. The variation could be due to traffic at the server's end.
    Your site is not large by any measure so it can't be due to large image files and lots of frames/reflections, shadows, etc. The most number of files any photo page has to load is 43, more when you go to the grid mode with the mini thumbnails.

Maybe you are looking for

  • Installation problem on AIX ( SAP4.7, Oracle-9i)

    Hello Gurus, We are installaing SAP4.7 on AIX with oracle-9i as an database we have completed central instance successfully, while database instance we are facing error I am attaching error log for your referenec error log You entered: /sapcd/oracle9

  • Flat File to DB then back to Flat File

    I need to compare the contents of a flat file with two columns in a db table. Then do an insert into the db if there is a difference between the two and the do a select of the latest data on the db then write it to a file. I need help urgently, thats

  • How do I update my IOS to at least 4.2 so that I can use Netflix?

    How do I update my IOS to at least 4.2 so that I can use Netflix?

  • Where are my music gone?

    Since the last update of the IOS and iTunes, most of my music are gone, why is that? How I retrieve them back? Is it through the iCloud? And I'm not sure the back up wouldn't work either. Luckily, I have an old gene 2 iPod with all of the the music t

  • Using registrar for Muse

    Hello Adobe community, I was just wondering if have to go through registrar to get a domain for my muse site? Or can I get it somewhere else?