Hi,
In continuation to my earlier post on having threaded comments, I have some updates and changes as well.
One of the functionalities in my current flex application requires me to maintain a comments section. Here, the users can post the comments and the replies to existing comments. All I want is like the usual thread style commenti...
In my flex app I store the widths and visiblility of columns in an xml file. When the app loads it reads from the xml file and sets he columns values as applicable:
for(i = 0; i < columnsOrder.length; i++){
newOrder[i] = myDG.columns[Number(columnsOrder[i]) - 1];
newOrder[i].visible = (Number(columnsVisiblity[i]) == 1);
newO...
I'm working on an application and I am building a "Keyboard" component for it. There are 30 keys on the keyboard and it doesnt seem to make practical sense to create an event handler for each button. When the button is clicked, its label should be sent out to a function which adds it to a textinput field.
Should I just create a "click...
How can I access the member variable of an object by using a variable in the name.
Example:
Entries Object has properties 1, 2, 3, 4, 5.
Normally I would access them by
var i : int = Entries.1;
var i : int = Entries.2;
However, if I have a loop
for (var j : int = 1; j < 6; j++){
trace(Entries[j]);
}
does not work.
Entries.(j)...
I'm looking to build a container that can contain a stack of synchronized time-series data visualizations. This can include line charts, event schedules, and any other similar items. I want the end mxml code to look something like:
<timeCanvas>
<lineChart data=foo>
<lineChart data=bar>
<userAvailabilityChart data=baz>
</timeCa...
I want my custom button to look like the button sample below.
More specifically, I want the width of the button to be determined by the width of the largest word in the label (i.e. width of "Elongated" in my example). The label must wrap, not truncate.
And I want only one pixel between the top edge of the icon and my button's top edge.
...
Is there a way to get the measured-width of a button label in flex based on its style properties at runtime?
...
When I use mxmlc to compile my mxml file, I get swf file. Now, I want to change the config to make mxmlc compiler generate html file instead, as we can do in Eclipse or Flex Builder. Any solution? Thanks!
...
Adobe Flex Builder WSDL classes autogenerator generates wierd files.
For example:
http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl
After importing it generates these files:
ArrayOfForecast.as
ArrayOfWeatherDescription.as
ArrayOfWeatherDescription0.as
BaseWeather.as
BaseWeatherSchema.as
Forecast.as
ForecastReturn.as
ForecastReturn0.as...
Any clues how this can be achieved? It needs to work on all resolutions .. is there any parent/stage object available to find out the resolution of the system?
...
It is very simple to retrieve data from a database and display it inside a DataGrid. However, what are the current practices to push the changes in the DataGrid back to the database? One can achieve this by inserting a lot of meta information, however, it is very tedious and not reusable.
...
I have 1 class (that is extending a UIcomponent) that is representing a component. In that component I create different instances of another class that is also a UIComponent but this class doesn't show up in de first class. I see that it is running and that it has the correct hights but I got the feeling that it doesn't show up with this...
E.g.
I have following datagrid
<mx:DataGrid x="331" y="16" height="132" width="419" id="me_claimed" dataProvider="{users.myclaims}"
useRollOver="false">
<mx:columns>
<mx:DataGridColumn headerText="Claimer" dataField="opponent"/>
<mx:DataGridColumn headerText="Rank" dataField="rank"/>
<mx:DataGridColumn headerText="Dismiss ...
Hi all I have an array like this
public var dataAL:Array=[
{Kiv:"cash", jan:26,janTarget:28,feb:27,febTarget:26,mar:30,marTarget:32,apr:31,aprTarget:32,may:28,mayTarget:29,jun:46,junTarget:32,jul:37,julTarget:39,aug:40,augTarget:42,sep:41,sepTarget:42,oct:48,octTarget:49,nov:40,novTarget:41,dec:38,decTarget:40},
...
Hi,
I'm using a combo box control and the dataprovider is set as an XML.
After the dataprovider is set, I want to edit the text of the first option and also I need to insert an item in the second position.
How can I do this? Using an ItemRenderer?
Please give your suggestions.
...
Hello and thanks in advance for any help you can provide.
My AIR application queries a webservice to see what components to build. A sample of the XML returned is:
<item>
<type>EventList</type>
<url><![CDATA[http://dashboard/cgi-bin/dataService.pl?type=ManagedEvents]]></url>
<index>4</index>
<title>Index 4 eventlist</titl...
I have a Flex application embedded in a Flash application, which was working fine and currently works fine if not embedded. As of last Friday, when embedded the Alerts do not show (no error, just nothing), DateField Calendar dropdowns do not show (null value reference of DateField), and dynamically showing the busy cursor errors (null v...
There another person asking the same question here:
http://stackoverflow.com/questions/987130/how-do-i-call-a-remoteobject-method-from-actionscript
but what I need is to add more than one method to the RemoteObject.
Using the other question's example but adding one more method, how would this look in actionscript?
<mx:RemoteObject id...
Is it possible to display a multiline string in a Flex DataGridColumn?
i.e. Display:
Text line one.
Text line two.
I've tried putting "\n","\r"," " when storing the string but nothing seems to work.
Currently only "Text line one." is displayed and the rest is hidden in the cell. I would prefer not to use "wordWrap=true" ...
Hi All I've to create a flash image gallery as same as like at the given link:
http://movies.yahoo.com/summer-movies/shorts/1810030254
Can someone suggest me any tutorial for or link for solving the given purpose.
Thanks in advance
...