Xml :: Display Flex Xml With Dash
Dec 25, 2010In Flex, how do I display "midi-channel" to s:Label? I tried songTitle.text = mainXML.child("movement-title").text(); it worked but unsure how to display for midi-channel part.
[Code]....
In Flex, how do I display "midi-channel" to s:Label? I tried songTitle.text = mainXML.child("movement-title").text(); it worked but unsure how to display for midi-channel part.
[Code]....
Is there any chance to display the 1/3 as 1 em Dash 3 in Dynamic text box.
View 2 RepliesThe e4x implementation in as3 doesn't seem to be able to handle node names that have dashes in them. The musicbrainz api returns xml with a node named artist-list and i can't seem to get it to let me access the node.[code]...
View 2 RepliesI would like to be able to replace a section of a string with a dash. The section being replaced will be variable.
var str:String = "permanentContainer-temporaryContainer-"
var test:String = "temp";
var pattern:RegExp = /-[(+test+)]+-/i;
trace( str.replace(pattern,"-"));
I would like the result to trace:
permanentContainer--oraryContainer-
In actionscript, is there any way to format the input text so that a dash or space is inserted after a set number of characters? So instead of xxxxxxxxxx
you get xxx-xxx-xxxx
How do I identify all the display objects in the display list in ActionScript, bellow the one that I have clicked? All the other objects are shadowed by the first one. What if other objects have visible parameter as hidden?
View 1 RepliesHow can i call a CGI script in flex 3? Also how can i retrieve the result of exection of that cgi script?
For example, lets say my CGI script(hello.cgi) just display "hello world". How can i call this script from flex 3 and then retrieve the result, i.e. hello world , so that it can be displayed on my flex application.
How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?
View 5 RepliesI have a components and classes project library. Within the library, flex builder only seems to display content/code assist options for top level classes (e.g. arguments, Array) but not other classes such as VBox. Also, within the non top level classes, class properties are not provided by content assist.
View 2 RepliesThis is the edit to my question. There is quite a bit of code here, but the problem area is below the second set of three line comments. I stuck the rest in just in case I'm completely wrong about where the problem is. With the "if" statement I can display fine in a run, but not in debug. If I get rid of the conditional it runs fine in debug, but not in a regular run. These errors only occur on the first run of the quiz. In either mode it runs fine fi I take a second quiz.
// ** this function is called from another component that passes in the array of qnums
// ** and then function clears data from previous quizzes. Component starts in the
// ** "loadingState **//
[code].....
I need to create LineChart that display datetime points, for example:
public var stockDataAC:ArrayCollection = new ArrayCollection( [
{date: "2005,7,27,22,15,30", close: 41.71},
{date: "2005,7,27,22,16,30", close: 42.21},
[code].....
Is it possible to create a display object in AS and take a screenshot of it as ByteArray or whatever without adding it to stage?
View 1 RepliesI'm trying to make a Flex Tree Component display the children of a sprite in a hierarchical way. Moreover, dragging the items on the FlexTree would resort and reparent the items. I have special Elements set as Folders. This would allow other elements to be added there as a children by dragging an element on the tree and dropping it there. I have a failed attempt which works, but breaks when I try to add folders. Basically, it fails at reparenting the items by dragging and resorting folders and that Does anyone know of a component or something which can do this, has anyone have created any of this or could anyone give me a clue?
View 1 RepliesI have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff.Flex continues to display about 6 rows, the top one filled, the rest blank.I've set the rowCount="1", with no luck.
View 3 Replies<rows>
−
<row rowno="1">
−
<row-value>
<colno>1</colno>
<value>1</value>
[Code]...
I have one mxml file that process xml, and display the graphics on panel.I need to display first mxml in another mxml file, in some area(HBox, VBox, Panel, dont care). How i can do this?
View 1 RepliesIn an AIR application I have the following code:
theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
theDialog.addEventListener(FlexEvent.CREATION_COMPLETE, cpuIntensiveCalc);
At the end of cpuIntensiveCalc the dialog is removed. The dialog informs the user that "something is going on, please stand by."
The problem is that cpuIntensiveCalc starts before the dialog draws. So the user experience is that the application freezes for 10 seconds with no indicator, then the modal dialog flashes quickly (less than a second) on screen.
The Adobe docs say this about creation_complete
Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.
So this feels like the correct event. In the name of completeness, I also tried
theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
cpuIntensiveCalc();
I am having problems accessing sub-children of my displayObject. Here is my code:private [code]but it's not working.
View 1 RepliesIn my application, I am using a BarChart to display data. However, the text in the category axis can be too long to display on the chart, so flex adjusts the font size automatically to the point that the data is either unreadable, or the text is partially visible.The length of the text varies every time new data comes in, so I can't set the gutterLeft attribute to a static value at runtime.Two things that come to my mind are:Change the gutter dynamically according to new data/Have a scroll bar on the categoryaxis so that if any text won't fit in the space, the user can scroll to see it.[code]
View 1 RepliesIs there a component anyone knows of that will take XML and display it has a color coded string so you can read it easily? My app runs mostly from the dynamic XML that is loads. It would be great for debugging if I could click a button in the app to show me the XML it loaded in a readable format.
View 1 RepliesIs there a way to put borders around the (MXML) elements of a Flex application? I'm picturing something similar to what Firebug does for HTML with the Inspect button (url...)
View 4 RepliesI am using the mxmlc to compile the examples from google to get started in using Google Maps API in Flex 4.But after compiling the swf file the map does not load.
I've registered for an API key Downloaded and included the Maps SDK in the xml config file used at compile time C:sdkflex4frameworksflex-config.xml
[Code]...
how can I display my flash video, behind the tags on top of the page ?
[URL]
I'm using SWFObject wrapper (cross-browser) [URL]
<div style="background-color: rgb(255, 255, 255); width: 100%;">
<object height="445" width="660" type="application/x-shockwave-flash" data="/drupal/videoPlayer/bin-debug/videoPlayer.swf?file=http://www.sanstitre.ch/drupal/sites
[Code]....
I have a FileReferenceList from which I'd like to display images in a DataGrid; currently I'm getting the following error: Only one download, upload, load or save operation can be active at a time on each FileReference.Here is my DataGrid:
<s:Panel>
<mx:DataGrid id="imageGrid" width="100%" height="100%" dataProvider="{imageFiles}">
<mx:columns>
[code].....
I'm testing alivePDF 0.1.5 and till now everything's been fine. I'm super interested in the new function writeFlashHTMLText() cause it makes my life so much easier! xD I'm now trying to display the generated pdf in a browser tab/window instead of just saving the file (using the filereference class' save function). I saw that there was a PDF.save() function that allowed that specifying the argument Download.INLINE. However I don't want to use the save function of the pdf class cause I don't want to use a script.
View 1 RepliesI have XML files formatted with XSL. They look great on IE.
Now how do I do the same with Flex (not AIR)? I would like to use something like TextArea and not data grid.
i am new to flex,i want to disply mxml code as a text on mxml page(i dont want to evalute mxml tag it should be display as text only).something like shown in below link [URL]
View 2 RepliesThere are any way to display dynamically loaded SVG in FLEX?
View 2 RepliesI have XML pages with some defined structure , now using flex I want to display the content of these pages. The purpose of using Flex is to give better look. If I can use something else which will provide a good UI to display then also its fine.
View 2 RepliesI am working on an air-application but written in as3. How can I still display an fileSystemList-Component(flex) written in actionscript?
View 1 Replies