[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

passing veriables to flash

Asked by Bigi_Slick in Adobe Flash, ActionScript

Tags: actionScript, Flash, xml

Hi, I got a flash template that takes xml file and show some data
the xml is generated automatically and I need to pass the flash 2 querystrings to pass to the XML.

I have used:
so.addVariable('catId', '5');
and
so.addVariable('desid', '19');

but in the flash file, when I do _root.desid or _root.catId I get "undefined"
1:
2:
3:
var CXML:CustomXML = new CustomXML();
CXML.init(_root.XMLPath,"getXML.ashx?catId=" + _root.catId + "&desid=" + _root.desid,XMLOnLoad,false);//init function has 4 parameters: path, default path, onLoad function, proxy
[+][-]11/09/09 03:10 AM, ID: 25774855Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 01:16 PM, ID: 25789956Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/11/09 12:39 AM, ID: 25793208Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625