POLALA.COM
welcome to my space
X
Search:  
Welcome to:polala.com
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
 HOME   XML crashes Flash 8

XML crashes Flash 8

Published by: admin 2010-03-18
  • [browsershots-factories] Shotfactory Firefox crash on Mac OS X v10.4.8::
    Aug 2, 2007 [browsershots-factories] Shotfactory Firefox crash on Mac OS X v10.4.8 Using closest match 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 done . in System Preferences * Adobe Flash v9,0,47,0 player installed from After which I then tried shotfactory v03 to see if the RPC-XML errors
    http://lists.browsershots.org/pipermail/browsershots-factories/2007-August/000569.html
    HOME
    Dear Kirupa,

    The subject is pretty much the jits of the problem. I'm very new to xml and just trying to modify a tutorial i found here.

    http://www.kirupa.com/developer/mx2004/thumbnails3.htm

    As i work on it Flash 8 would crash. It would happen anywhere from 2-5min intervals after loading the files. I started a new file from scratch and it crashes. I worked on the file on another comp and it crashes. I've tried changing the publish settings to flash player 7,8 or actionscript 1.0,2.0, still crash. I saved the document as a MX2004 fla, still crash (and ran really slow).

    So my best guess is that the actionscript has something to do with the crashing (since it crashed on other computer's flash).

    Am I missing something here?
    Do I have to use Flash MX 2004 for this to work?

    Thx for reading!


  • aahh I will fix that and work with it again, it just crashed on me not a minute ago so i'm really trying to figure this out. When it crashes, it starts to load slow, and flash just closes and i get a window that says Flash has unexpectedly quit, would you like to submit a report. Something like that.

    thx!


  • Thx for replying! =D

    Here's the actionscript in my .fla, its basically from the tutorial source file w/ a few modifications. I made the load xml command an onrelease from buttons (because I plan on having a bunch of buttons and each one will link to a diff xml with a diff set of thumbnails and photos), I also tried to make the orientation of the thumbnails to be vertical. I also added 2 nodes to the xml (more text nodes). Other than that I dont think I did any other modifications.
    내 마음대로 살아가기 :: [플래시] Flash 8 에서 새로워지는 점들::
    Swfmill allows you to generate Flash 8 SWFs directly from XML by adding Objects with filters enabled inside an object with filters enabled crash the IE
    http://box.cashdata.com/entry/플래시-Flash-8-에서-새로워지는-점들
    HOME

    Code:
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    image = ;
    companyname = ;
    type = ;
    description = ;
    thumbnails = ;
    total = xmlNode.childNodes.length;
    for (i=0; i image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
    compname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
    type[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
    description[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
    thumbnails[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
    thumbnails_fn(i);
    }
    firstImage();
    } else {
    CodeProject: Transparent Flash Control in plain C++. Free source ::
    Jul 17, 2006 XML:NAMESPACE PREFIX = ShockwaveFlashObjects .. General, Re: Crashes with Flash 10 · Member 4510120, 8:56 22 Oct '08
    http://www.codeproject.com/KB/COM/flashcontrol.aspx
    HOME
    Digital Web Magazine - Captions for Video with Flash CS3::
    Jun 4, 2007 When you use it, play with it, and crash it day in and day out, you become a bit jaded. In response, I whipped up a Flash 8 tutorial on how to add Link the XML document to the captioning component in Flash,
    http://www.digital-web.com/articles/captions_flash_video/
    HOME
    content = "file not loaded!";
    }
    }
    client1.onRelease = function() {
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("images.xml");
    };
    client2.onRelease = function() {
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("images.xml");
    };

    ///////////////////////////PRELOADER////////////////////////////
    p = 0;
    this.onEnterFrame = function() {
    filesize = picture.getBytesTotal();
    loaded = picture.getBytesLoaded();
    preloader._visible = true;
    if (loaded != filesize) {
    preloader.preload_bar._xscale = 100*loaded/filesize;
    } else {
    preloader._visible = false;
    if (picture._alpha<100) {
    picture._alpha += 10;
    }
    }
    };
    //////////////////////////////PICTURE//////////////////////////////
    function nextImage() {
    if (p<(total-1)) {
    p++;
    if (loaded == filesize) {
    picture._alpha = 0;
    picture.loadMovie(image[p], 1);
    compname.text = compname[p];
    type.text = type[p];
    desc.text = description[p];
    }
    }
    }
    function prevImage() {
    if (p>0) {
    p--;
    picture._alpha = 0;
    picture.loadMovie(image[p], 1);
    compname.text = compname[p];
    type.text = type[p];
    desc.text = description[p];
    }
    }
    function firstImage() {
    if (loaded == filesize) {
    picture._alpha = 0;
    picture.loadMovie(image[0], 1);
    compname.text = compname[0];
    type.text = type[0];
    desc.text = description[0];
    }
    }
    function thumbNailScroller() {
    // thumbnail code!
    this.createEmptyMovieClip("tscroller", 1000);
    scroll_speed = 10;
    tscroller.onEnterFrame = function() {
    if ((_root._xmouse>=thumbnail_mc._y) && (_root._xmouse<=thumbnail_mc._x+thumbnail_mc._width)) {
    if ((_root._ymouse>=(hit_right._y-40)) && (thumbnail_mc.hitTest(hit_right))) {
    thumbnail_mc._y -= scroll_speed;
    } else if ((_root._ymouse<=40) && (thumbnail_mc.hitTest(hit_left))) {
    thumbnail_mc._y += scroll_speed;
    }
    } else {
    delete tscroller.onEnterFrame;
    }
    };
    }
    function thumbnails_fn(k) {
    thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
    target_mc._y = hit_left._y+(eval("thumbnail_mc.t"+k)._height+5)*k;
    target_mc.pictureValue = k;
    target_mc.onRelease = function() {
    p = this.pictureValue-1;
    nextImage();
    };
    target_mc.onRollOver = function() {
    this._alpha = 50;
    thumbNailScroller();
    };
    target_mc.onRollOut = function() {
    this._alpha = 100;
    };
    };
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
    }


    The xml file itself is pretty basic, Idk if that's what is causing the problem.

    Thanks for reading =)


  • I have a crash bug in my source file that emerged about a month ago and still persists through the last 50 iterations (I save my project files with a 2-digit number at the end). I have never been able to diagnose it and, as long as I don't click the "insert a target path" button in the actionscript palette, it doesn't occur.

    I can't diagnose your crash, but I will say that if you can't figure it out, there will always be another way for you to achieve your goal. Scrap it and try again a different way :). Good luck.


  • I'm guessing its gotta be something to do with the modifications you've made, but without seeing the code/fla we cant tell whats goin wrong.

    lewi-p


  • When you say "crash", what exactly is the error you get? That will help.

    Just through a cursory glance of your code, I find one problem. You declare a variable companyname= but in your for loop it's typed compname That might be causing problems.





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market
  • who killed the electric car
  • cat 252 b skid steer
  • how do i get my 4 month old to sleep through the night and take naps longer than 45 minutes any advice
  • today 039 s joker joke challenge
  • job in the medical field
  • what to do for 2 week old constipation
  • teething and red cheeks
  • enough memory to play sims2
  • my little girl is 9 months old and i am going bald
  • health inspector as a career
  • what does fob stand for in key fob the keychain things used to get into secure doors etc
  • is this a career for me
  • will a motherboard that supports ddr2 667mhz ram support ddr2 800mhz
  • car designer salaries

  • why is father 039 s day the loneliest day of the year in america for young black children
  • when is a man not a man
  • help what kind of jobs would go under facial 10 pts
  • requirements for external hard drive
  • big question about names kind of riddle
  • do u wake ur baby up for feeds
  • what is paramore 039 s best song
  • can anyone solve these quiz questions
  • is this normal or am i just stressing over nothing
  • i have a car what do i do
  • please help me suicide problem
  • did you stop using enfamil after the bad news
  • i am considering becoming a pharmacy technician does anyone have good advice for me
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about XML crashes Flash 8 , Please add it free.
     Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 polala.com        Site made:CFZ