Flex :: Use Existing Tools To Facilitate Process Of Changing Data On Server Using DataGrid?

Aug 18, 2009

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.

View 4 Replies


Similar Posts:


Process Flex/Flash SPEEX Audio Data On The Server Side?

May 4, 2011

I'm implementing a very simple audio-only RTMP server.I have my client code like this:

// get the default mic
var mic:Microphone= Microphone.getMicrophone();
// best quality (picks up all sounds, no transmission interruptions)[code].....

Then on the server, I keep receiving audio packets with size of either 43 bytes or 11 bytes (no other sizes found yet).My questions are:

Why do I get size of either 43 bytes or 11 bytes (from SPEEX encoding?)?

Is the 43 bytes = 1 head byte + 42 data bytes?

What is the size of 11 bytes?

How should I process or convert the SPEEX to raw data, so that my server side app can use this audio data? My current implementation:

I pick up all 43-byte packets (drop all 11-byte packets);

Skip the first 1 byte;

Decode the left 42 bytes using Speex library.

How should I convert the raw data back to SPEEX audio data?

View 1 Replies

Flex :: Changing Dataprovider Of A Datagrid On Change Event Of Another Datagrid?

Oct 15, 2011

I have two datagrids:

- Division
- Members

Both have single columns. Selecting one item from Divsions datagrid should display members of that Division in the Members datagrid. But following code has some problem and Members of a particular division do not show up when respective Divsion is clicked.

Following are some snippets of the related code. Hope someone can spot an error in it.

[Code]..

View 2 Replies

Java :: Data Modeling Tools And Techniques For Flex Web App?

Jun 21, 2009

I'm developing a Flex front end client for a Java server application and I have a set of model classes that represent objects in my business logic and should have the same properties and exhibit the same behaviour throughout all layers. These objects
-Have form validation logic for user input
-Are displayed in various forms (lists, detail views ...) throughout the UI
-Are retrieved from and sent to the server using XML or AMF
-Are validated again on the server
-Are stored in a RDBM with tables and fields corresponding to the classes and fields

This is a very common application structure, I guess. I'm already using:
ORM for the Java backend (Eclipse persistence package)
Automatic mapping from XML to Action Script, using XML schema and the classes in mx.rpc.xml, as described here.
Now, what I'd really like to do is define the objects once (I already have them in XSD) and have tools set up class stubs for the whole chain. What can I use?

I've already heard of (but not evaluated):
XMLBeans to generate Java classes from XML Schema
Granite DS to generate AS classes from Java classes

View 1 Replies

ActionScript 3.0 :: Changing Data In A DataGrid Field?

Dec 3, 2009

I'm trying to change data in a dataGrid field. I'm using XML as the dataProvider. I need to be able to click on a button outside of the dataGrid and cause the data to update as a result of the button push.

View 2 Replies

Java :: Flex - BlazeDS And Class In WAR File - Implement Server Side Process?

Oct 26, 2009

I have a java class which has been deployed as WAR web application in a BlazeDS/Spring server sitting on JBOSS. Apart from the Flex application which will access the WAR file, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging.

What is the best way to implement this server side process? - Should it just be a class with a main() method in the WAR file which gets called from the command line? Can this be done - not sure you can run a class in a WAR file from command line? - Should it just be a class with a main() method in a JAR file which gets called from the command line? Not sure what the standard practise here is. The key is that the process needs to be started on the BlazeDS server to push data out (not on the Flex client).

View 2 Replies

Professional :: Changing The Thickness, Style And Colour For Each Of The Tools ?

Mar 14, 2012

Whenever i try to draw anthing (oval, box, pencil, brush) it just comes out as a thin green line. Ive tried the obvious by changing the thickness, style and colour for each of the tools but nothing seems to work.

View 3 Replies

Flex :: How To Clear Existing List Data Values

Feb 17, 2010

I would like to know how to delete(clear) the existing list data values before binding new values. I'm using the list for binding data dynamically using http services. When I make a new call to the service, I want the exiting items to be flushed and bind the newly retrieved data to the same list. How can I achieve this?

View 2 Replies

Flex :: Prevent Tab From Changing To Other Cell In Datagrid?

Jun 27, 2010

I have a flex editable datagrid mx:DataGrid and when I press TAB key, it changes to another cell when I am editing a cell.

I don't want it to change to another cell when I press TAB. How can I stop this behavior?

View 1 Replies

Flex :: Value In Datagrid Itemrenderers Set Data Method Doesn't Return The Correct Data?

Jan 10, 2012

I've got a Gridcolumn in a Datagrid (Spark). The Column's dataprovider is a Number value that gets updated via Binding.Now, without an item renderer the cell displays the correct values.If I set an item renderer, I can't access the values in this renderer.My renderer looks like this, so nothing really do here (for now) but to trace the value, but the value is always NaN.

<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%" >[code].......

without the renderer, the column displays the correct values, so apparently the DefaultGridItemRenderer works fine.As requested, here is my Datagrid;

<s:DataGrid id="dataGrid" dataProvider="{_listItems}">
<s:columns>
<s:ArrayList>[code]..........

_listItems is an ArrayList with instances of a model class, which has (amongst others) a property called change of type Number.

View 1 Replies

Flex :: Data Passed From DataGridColumn.itemToLabel To DataGrid.itemRenderer.set(data)?

Dec 4, 2009

I have a DataGrid whose dataProvider is an Array of int Arrays (each with different lengths). Since each row has variable size (and I want to display all the data), I decided to extend DataGridColumn and overwrite the itemToLabel function to be able to display the data. The problem is that I also need to display the data differently depending on the int value.

I believe the only solution is to write an itemRenderer, but the only input the itemRenderer.set(data) function receives is the entire int Array. I believe I need either the exact string returned by itemToLabel or the column index of the cell the itemRenderer is for (to basically do the same parsing I implemented in itemToLabel).

View 1 Replies

Flex :: Design - Changing DataGrid Highlight Color

Dec 29, 2009

How can i change the color, when the user mouse over an item on datagrid or tilelist. Basically once the user mouse overs and once the user selects a file. How to change the default color to something else. The default is blue and i dont like it :)

View 3 Replies

Flex - Add Row To Flex DataGrid Without Changing DataProvider

Sep 30, 2010

I am creating the standard "Click to add row" control but I really don't want to dirty the dataProvider with a "placeholder" since it is bound to the model and could end up in the database. Is there a way to add a row that isn't represented in the dataProvider? I started down the road of adding an item directly to listItems but then that needed an item in rowInfo and then that need a reference in rowMap.

View 3 Replies

Media Server :: FMSEdge.exe Runaway Process On 3.5.2 / Win2003 Server?

Jan 14, 2010

Default install of Flash Media Server 3.5.2 r654 on Windows 2003 Server Sp2. 16 GB of RAM. Just testing with the out of box Flash application, and simple 'hello world' rtmp streaming video app, we see several times a day at seemingly random intervals FMSEdge.exe will jump to 100% and peg the CPU and stay there. Until it is killed, the Flash applications are unresponsive until it is killed. As one would expect, this is a showstopper for any serious use -- Keep in mind this is an OOB install. There was a previous thread mentioning a similar issue (ie FMSEdge pegs cpu) coinciding with the virus scan, however no one responded to solve that issue.

View 12 Replies

ActionScript 2.0 :: Preloader - Changing Animation During Loading Process

Apr 11, 2004

I just want to ask something about the preloader when it load. For example I made an animation for my preloader and when my page is loaded for, 20%, I want the animation to change and the same thing happen when it's loaded 40%, 60% until 100%.

View 1 Replies

Media Server :: Tools To Remux MP4 To F4V?

Aug 25, 2009

I have a friend who wishes to use F4V and Flash Media Server for his content but has over 500 files already encoded using H.264/AAC in an mp4 container. Does Adobe or anyone else offer tools to remux the MP4 files into F4V files so they do not have to re-encode from the original sources? If not, this would seem like a smart way to get better adoption of the F4V format.

View 4 Replies

Flash5 :: Changing Scripting In Existing Fla?

Nov 15, 2010

I have a sample fla file, but I can't find where to edit the scripting in it. Basically there are 2 buttons, each one going to a different URL. I can't figure out where to change the URLs they go to. I've looked literally everywhere in flash.

View 1 Replies

Professional :: Changing Scripting In Existing Fla?

Nov 15, 2010

I have a sample fla file, but I can't find where to edit the scripting in it. Basically there are 2 buttons, each one going to a different URL. I can't figure out where to change the URLs they go to. I've looked literally everywhere in flash.

View 1 Replies

ActionScript 2.0 :: Changing The Existing Gradient?

Jan 28, 2007

I have a movie clip called volumecontrolbackground_mc that has a gradient in it. on rollover I want it to change the color of the gradients and on roll out go back to the default values. Any pointers on how I would accomplish this? I have seen the methods where you create a new movie clip and fill it with a gradient but none where you modify a existing gradient.

View 1 Replies

Flex :: Datagrid - Display A Multi-line Column Header Using The Flex Spark Data Grid?

Apr 13, 2011

How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?

View 5 Replies

IDE :: Changing Pre Existing MovieClip's Instance Behaviors

Mar 20, 2009

I've created a graphic and have multiple instances of the graphic on the stage. I've recently decided to change the graphic to a movieClip. However, changing the original clip's type to movieClip doesn't apply the change to all instances that I've already placed on the stage; they're still all graphics.

The only way I've been able to fix it is by manually selecting each one and changing their instance behavior from 'graphic' to 'movieclip'. Is there a faster way to do this, be it a command or an actionscript code? Anything that doesn't require me manually changing each instance would be a huge time saver.

View 1 Replies

Flex :: Datagrid - Flex ByteArray Data Field

Mar 25, 2010

The data provider (ArrayCollection) for my data grid consists of objects with ByteArray (int) fields. How do I make the data field display as int without transforming my data provider?

View 1 Replies

Flex :: DataGrid Not Displaying Data

Mar 31, 2010

I have a custom dataGrid that acts more like a 2D list (if that makes sense at all). I am dynamically creating the columns and recreating the dataProvider to suit my needs. While debugging I can see that I am creating the columns and setting them to the dataGrid and creating and setting the dataProvider, but for some reason I am able to see the dataGrid and the columns but not the data.

[Bindable]
private var mockData:ArrayCollection = new ArrayCollection([
{value: "425341*"},
{value: "425341*"},

[Code]....

View 2 Replies

Flex :: How To Link Data To A Datagrid

Jun 9, 2010

I'm following flex tutorials but i'm not doing exactly as they do, so :hat i want I have an input text, with a button 'search'.I want when this button is clicked that the data returned by the function search are displayed in the datagridWhat i have :

The text input :
<s:TextInput includeIn="DetailServeurs" x="58" y="361" width="209" id="txt_search" text="Default text" focusIn="txt_search_focusInHandler(event)"/>

[code]........

View 1 Replies

Changing A Mask Size In An Existing Flash File?

Nov 19, 2009

Whilst I did some flash YEARS ago, I am now needing to get back into it. And whilst I have a course booked, I need to do something now. I have downloaded a flash file with a mask from an image website. I want to double the size of the file, but the masking now only highlights part of the image.

View 6 Replies

Professional :: Changing Color Without Modifying Existing Items

Jul 28, 2011

I'm reletively new to flash, and am trying to modify a template and am running into a problem and I don't seem to know why Flash is acting so strange. I am going into a movie clip to edit the color of an item, and when I do so with a tint, it overrides any additional effects such as light, and text. The color appears almost as if it were just slapped on top of everything. When I edit the color in advanced mode, it is really a hit-or-miss to get the correct color, and will only modify when changing the offset RGB.

And also when doing this, the text gradually changes color, for example: there are 4 items in total that I want to edit the color of. Each item is a different colored box with text on the front (for a main Navigation of the website). --- The first item, the text will stay white. Gradually through the second and third items it starts to change, and by the fourth / last item, the text is completely blue. Is it possible for a portion of text to be connected somehow to an object within the animation in a movieclip? If so, is it possible to go inside and edit this? -the shape, animation, and text? Is there an easier way to change the color of an item inside a movie clip? I can supply additional information if needed.. files etc.

View 1 Replies

Flex - Refresh Datagrid With Hierarchical Data?

Dec 3, 2009

how can I refresh the displayed data in a Datagrid when the underlying ArrayCollection changes?

<nmoschitz:dataProvider>
<mx:HierarchicalData source="{arrCol_groupedData}"
childrenField="accounts"/>
</nmoschitz:dataProvider>

Calling a simple refresh (like with a simple arraycollection as a dataprovider, or with a refresh on the Grouping Collection) does not work. Also re-assigning the arrayCollection to the Hierarchical Data and then assigning this one again to the Datagrid does not work (even with calling invalidateProperties() or validateNow()).

View 2 Replies

Flex :: DataGrid Edits Label Instead Of Data

Jan 20, 2010

I have an editable DataGrid in Flex, with data full of numbers. The columns have no special itemRenderer, but a labelFunction, which returns the number as-is if positive, but puts it in parentheses if it is negative, like so

27.3 => "27.3"
-27.3 => "(27.3)"

Now, these cells are editable. When I try to edit a cell with a positive number, nothing is wrong. But if I try to edit a negative number, it starts editing (27.3) instead of editing -27.3. Because of this, when the edit is done, the labelFunction is evaluated with the new value in parentheses(i.e.,labelFunction is called with "(30.5)"), and converting it to a Number results in NaN. So, I want to know if I can make the DataGrid edit the data in the dataProvider instead of the label that it shows.

View 1 Replies

Flex :: Maintain Selection In A DataGrid When The Data Changes?

Apr 6, 2010

I have a DataGrid and I set the DataProvider to my data. When my data changes the DataGrid loses the selected row and the scroll bar jumps back to the top. How do I maintain the selection and scroll position?

View 2 Replies

Flex :: Update Automatically Data From Datagrid?

Jun 11, 2010

I have datagrid binded with data acquired from web service which, as you may suspectretrieves data from some db. Datagrid has some editable columns and I want to update db through appropriate web service call without adding button "Update" as a last column in datagrid.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved