[Flashcoders] load 500 by 500 from db in flash
Im using FLASHSQL to load data in flash from php db Theres is too much data to load, how can I do to load 500 by 500 result ? Thank you myFlashSQL.Execute(SELECT * FROM NP_socs_nancy WHERE soc_09 = \+categ_var+\ ORDER BY soc_01); Laurent And the listener : var myListener1:Object = new Object(); myListener1.dataLoaded = function(success:Boolean, xmldata:XML) { if (success) { trace(xmldata); if (comStatus == loading) { display.removeAllColumns(); display.columnNames = [Spécialité, Nom, Ville]; display.getColumnAt(0).width = 120; display.getColumnAt(1).width = 100; display.getColumnAt(2).width = 115; var dat:Array = new Array(); _root.finder_txt.text = il y a +xmldata.firstChild.childNodes[3].childNodes.length+ réponses; for (var i:Number = 0; ixmldata.firstChild.childNodes[3].childNodes.length; i++) { dat.push({Spécialité:unescape(xmldata.firstChild.childNodes[3].childNodes[i] .childNodes[14].childNodes), Nom:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[4].ch ildNodes),Ville:unescape(xmldata.firstChild.childNodes[3].childNodes[i].chil dNodes[8].childNodes),Tel:unescape(xmldata.firstChild.childNodes[3].childNod es[i].childNodes[9].childNodes),Fax:unescape(xmldata.firstChild.childNodes[3 ].childNodes[i].childNodes[10].childNodes),CP:unescape(xmldata.firstChild.ch ildNodes[3].childNodes[i].childNodes[7].childNodes), Rue:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[6].ch ildNodes),eMail:unescape(xmldata.firstChild.childNodes[3].childNodes[i].chil dNodes[11].childNodes), lat:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[16].c hildNodes),lon:unescape(xmldata.firstChild.childNodes[3].childNodes[i].child Nodes[17].childNodes),lic:unescape(xmldata.firstChild.childNodes[3].childNod es[i].childNodes[19].childNodes)}); } display.dataProvider = dat; } else if (comStatus == sending) { msg = Data Sent Successfully. You can now reload!; } } }; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] percent Loading
To know the percent loades of a movie I done thisand its working If I load a movie like this : loadMovie(number.swf, CIBLE); How can I do to Know the percent loaded ? loadBar._xscale = Math.round((getBytesLoaded() / getBytesTotal()) * 100); percent = Math.round((getBytesLoaded() / getBytesTotal()) * 100) + %; seconds = Math.round(getTimer() / 1000) + secs; estTime = Math.round(((getBytesTotal() - getBytesLoaded()) / 1024) /((getBytesLoaded() / 1024) / (getTimer() / 1000))) + secs restant; downLoadInfo = Math.round(getBytesLoaded() / 1024) + k sur + Math.round(getBytesTotal() / 1024) + k à + Math.round((getBytesLoaded() / 1024) / (getTimer() / 1000)) + k / sec; if(getBytesLoaded() == getBytesTotal()) { gotoAndPlay(5); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Special Tab
Hi http://www.cuisinec.com/monsite/images/index_fr.html I got 2 level : level0 or root where I got dynamic textfields level1 where a movie is loaded There is two textfield at level 1, when I press the tab key, level 0 textfield are selected and I cant back to level 1 Have you got an idea to avoid this ? Thank you very much Laurent ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Tab Problem with DB ?
Hi http://www.cuisinec.com/monsite/images/index_fr.html I got 2 level : level0 or root where I got dynamic textfields level1 where a movie is loaded There is two textfield at level 1, when I press the tab key, level 0 textfield are selected and I cant back to level 1 Have you got an idea to avoid this ? Thank you very much Laurent ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Tab problem
Good morning How can I do to discard tab action for a full level ? Tabenaled ? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Buttons
Good morning, There is two buttons on the same level wich launch a function : btn2.onRelease=btn1.onRelease =function () { play (); }; I put a button at the level40 and it doesnt work, do you ssee why ? _level40.btn2.onRelease=btn1.onRelease =function () { play (); }; Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders]
Hello, I create dynamic textfield with functions and I try to field them without success, Have you got an idea ? Thank you var dt:Number = 0; var dtd; for (var dt:Number = 0; dt = 70; i++) { dtd = var+dt; trace (dtd); trace (dt); _root.createTextField (dtd, dt, 50+dt, 50+dt, 200, 100); dtd.text=dr; dtd.border = true; dtd.background = true; dt += 1; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders