Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
[DNA] #1
Flex XML
I am trying this a long time now.
I want to make variable settings for a fileupload.
Via a XML file i want to define the label texts for the buttons.
But how can i do this?
I have searched and tried a long time. All the tutorials i have read are about
arraylists and load xml in a datagrid etc.
But how can i do it just simpel and read out 1 line of XML and set this to a
label?
[DNA] Guest
-
Flex 2 Project in Flex 3 Swf File Size Increase?
I have imported my Flex 2 Projects into Flex 3, when I compile my code the resulting swf file is 100-200K larger. Why is that? I thought Flex 3 made... -
Support document for Migration of application fro flex 2o flex 3
Support document for Migration of application fro flex 2 o flex 3 -
Not Flex JSP tag lib def in flex-bootstrap.jar (Flex 2Beta 2)
Hi, The taglib.tld file that was in the Flex 1.5 flex-bootstrap.jar isn't present in the Flex2 Beta2 version of that jar. The interfaces are there... -
Is the newest version of flex framework enough good fordeveloping flex rpc services?
Hallo guys, I've already installed the newest version of flex framework (flex2 beta2 version). I already used beta1 version for developing Rpc... -
Cannot find Flex server when running app in Flex Builder1.5
:confused; After installing Flex and FlexBuilder 1.5 and setting up the "Sites" as described in the tutorials when running a flex ap in Flex... -
Greg Lafrance #2
Re: Flex XML
Perhaps a more complete, but still very simple example of how you are trying to actually access and apply the data would make this easier to resolve.
Greg Lafrance Guest
-
ddgasdgr #3
Re: Flex XML
In actionscript use the URLRequest() and URLLoader() classes to load data from
an external file and then parse the xml within actionscript. Sorry I haven't
got time to write a more complex example of how to accomplish this.
ddgasdgr Guest
-
[DNA] #4
Re: Flex XML
After a long time, i have now a working code.
however. The XML url via flashvars isnt working.
Even if i set the flashvars before the httpservice is sent.
MXML:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
creationComplete="initApp();dataFinder.send();">
<mx:Script source="FlexFileUpload_cb.as"/>
<mx:HTTPService
id="dataFinder"
url="{xmlFile}"
resultFormat="e4x"
/>
AS:
public var xmlFile:String = "";
public function initApp():void{
xmlFile = Application.application.parameters.xmlFile;
}
[DNA] Guest
-
Greg Lafrance #5
Re: Flex XML
Have you used trace() to verify the flashvar url is coming in okay?
Greg Lafrance Guest



Reply With Quote

