[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.htmlHOME | 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.aspxHOME | 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 |