Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
dackota #1
Combobox and fscommand
Hello,
I'm on a CD-ROM and I have a combobox managed by xml, so far nothing bad.
My problem is that I have to open a pdf / excel / word with FScommand to avoid
opening the browser.
My question is how to operate the FScommand my xml variable compared to
combobox?
I want to remplace
getURL for fscommand but don't work...
sorry for my english...
Thx
import mx.controls.ComboBox;
// Je vais chercher mon fichier XML
Base = new XML();
Base.ignoreWhite=true;
Base.onLoad = traitement;
Base.load ("rti2.xml");
stop();
// je traite les donn?es
function traitement(success) {
if (success) {
// je donne l'emplacement de chaque donn?e dans mon fichier
emplacement = Base.firstChild.childNodes;
// je boucle les donn?es
for(i=0;i<emplacement.length; i++) {
// dans une combobox, pour chaque item, deux valeurs : label et data
combobox.addItem({data:emplacement[i].attributes.idart,label:emplacement[i].attr
ibutes.titre});
// lorsqu'on s?lectionne une valeur dans la combo, faire ce qui est ?crit dans
cbListener
combobox.addEventListener("change",cbListener);
// ajouter l'id de l'article s?lectionn? et aller vers lui
var cbListener:Object = new Object();
cbListener.change = function(evt_obj:Object) {
var currentlySelected:Object = evt_obj.target.selectedItem;
getURL(currentlySelected.data); };
}
} else { trace("pas de r?sultats"); } }
dackota Guest
-
fscommand
Hy! In many examples I`ve downloaded I often saw that the first code is fscommand ("allowscale", "false"); fscommand ("showmenu", "false");... -
ComboBox bound to a ComboBox: doesn't work until .changeevent
Hi, i have two ComboBoxes getting DataProvider from an XMl doc. The XML nodes look like this: <activity label="aerobics"> <level label="low... -
fscommand HELP... for MSN banner
Hello all, I'm new to flash. ISSUE I made a banner for MSN and I'm having a problem with fscommand. I created a button then added the... -
an fscommand problem
i have an .exe file that i want to launch from a swf page, when i use the on (press) fscommand ( "exec " , " name of the file.exe ") nothing... -
Mac OS X FSCommand ??? none of the browsers
Okay I have tried finding some solutions. I know of the problem currently exhisting with macs and this. I have tried mozilla 1.6 Netscape 7.1, IE...



Reply With Quote

