Flex :: Insert Data Into A SQL Server?
Apr 5, 2010
I want to insert data into a SQL Server, but I keep getting this error RPC Fault faultString="SOAP Response cannot be decoded. Raw response:faultCode="DecodingError" faultDetail="null"]
I can get data all day, but why can't I input any?
<mx:WebService id="ws" wsdl="http://localhost:/AService01.asmx?wsdl"
fault="onFault(event)">
<mx:operation
name="GetEmployees"
[Code]...
View 1 Replies
Similar Posts:
May 24, 2011
I need to insert a Box containing some text that appears between the grid header and main content and spans all the grid columns. I've been searching and experimenting (addChildAt()) but no luck so far. Is this possible to achieve?If not, is it possible to dynamically render the text in the header itself, below and spanning the column header text?
View 1 Replies
Apr 13, 2010
How do I insert XML data into an ArrayCollection in AS3?
View 2 Replies
Sep 28, 2008
var variable:URLVariables = new URLVariables();
var myRequest:URLRequest = new URLRequest();
myRequest.data = variable;
[code]....
View 9 Replies
Mar 16, 2006
I am trying to insert data into a DB, but it won't enter. Here is what I have for the AS:
on(release) {
if(new_player_name ne '')
{[code]....
View 2 Replies
Jul 28, 2011
Is it possible to insert and retrieve images from sql server using actionscript. Also is it possible to create a flash scrolling gallery based on images stored in a database and everytime an image is added it is displayed in the gallery.
View 1 Replies
May 18, 2010
I am trying to retrieve a stock quote from Yahoo! finance using Flex. I currently have it set so that it will pull the quote like I want, but it opens it in a new file. However, I want to store the CSV data in a variable so that I can use it in my program.
How do I do this?
Here is the code that I am using right now:
navigateToURL(new URLRequest("http://download.finance.yahoo.com/d/quotes.csv?s=aapl&f=l1"),"_self");
View 3 Replies
Mar 28, 2011
I am a Flex newbie and I'm developing a Flex application that needs to talk to an AMF server in order to authenticate the user.Where should I store the server URL? I don't want to hardcode it in the source code, but the URL should be fixed at compile time, because when I compile the app it should be tied to a specific server.
View 3 Replies
Apr 3, 2011
I have a Flex-based client app which "talks" to the back-end through BlazeDS. In one of my use cases there will be a so called "Photo Wall" view, which will present a number of the most recent photos, submitted from people and for locations the user is following (Facebook-like).
The thing is, the data in this photo wall has to be filtered by "All", meaning no filter, "Friends", meaning friends that the user is following, and "Locations", meaning locations the user is following. If I get data from the server only once (when the ALL filter is selected by default), I will store it locally, and the next time a user clicks on a filter, this local collection will be filtered locally. The problem is that I can't predict how many of all recent photos are coming from friends, and how many from locations, thus I may end up with a page that shows only one photo, where a minimum of 5 photos should always be present. I clearly don't want to deal with partial fetching and stuff like that.
The other way is making two separate requests to the server initially, one to get a collection of recent photos from friends, and one for locations. Thus I will make sure I have the bare minimum of photos for the filtered pages. When data arrives, the client will merge those two collections, sort by date, and voila there is the "ALL" collection (of course, repeating photos will have to be pruned while merging)Third, making this same thing down at the server level, by making two separate queries and then merging them.
View 1 Replies
Mar 1, 2007
First of all I am using Flash MX 2004 and have Office 2003.
I am trying to use my flash form to insert data into a ms access database but it is not going too well.
I have 4 input fields on the flash form and a submit button, ActionScript on the Submit button is as follows.[code]...
View 2 Replies
Jul 15, 2009
I have an SWF that calls an XML file to display some images.
When the SWF, XML and image files are all in the same directory the SWF runs fine, displaying all the images.
What I want to do is display the SWF within a HTML page that I have created in dreamweaver.
I've inserted all the files into the same directory within the site and when I test the page the SWF loads but it doesnt carry out any of the actions prescribed in the XML file.
Could anyone point me to a tutorial or tell me where I should put the XML & image files in my site structure and if I need to alter the AS that calls the xml (Currently - xml.load("icons.xml");)
View 2 Replies
Mar 16, 2009
I am completely new to Flash and actionscript.I have a small project which requires me to submit details into a MS Access Database. I have created an asp scrip to do the same but it doesnt seem to be working. I am posting the code.
my fla code
********
import flash.events.Event;
[code]........
View 2 Replies
Jun 3, 2010
I am currently working on an ad that will be displayed and to have the ability to update my action script for the ad after I have submitted it. Therefore I was thinking it would be easy if I could somehow pull a remote bit of code off my separate server that the ad could execute. I believe this is possible but had a lot of trouble locating it within the forum's search abilities.
View 4 Replies
Oct 28, 2009
I've read some books on creating stateless websites, I've read some about stateful client applications, but a lot of complexity comes along when you have to combine both. We have a Flex application that needs to persist data to a database via .NET services. Things to keep in mind are:
- Concurrency (optimistic/pessimistic)
- Performance: Flex needs to load in lots of data so lazy-loading is often necessary.
- Do you use Dto's to transfer data between server and client?
I'll tell you the history of our product. We've used SubSonic from the beginning as a o/r mapper. SubSonic objects are converted to dto's written by us and these dto's are transferred to the client. Clientside the dto's are converted to the domain model. If clientside a domain model object needs to be saved, it is converted back to a dto and send to the server. Server side the dto is converted to a subsonic object and saved to the database.
Now, some time ago, we needed the domain model on the .NET server side... so now we have like three models on the server side, the subsonic model, the dto model and the domain model. The dto model is more simple and resembles the database more, the domain model has much more logic. It gets complex... We now have to synchronize the AS3 domain model code with the C# domain model code. If we could do it again (of get time to refactor) I think we wouldn't use the dto's anymore, but transfer the domain model between client and server. Dto's are simple objects so easy to transfer. Domain model objects can be very complex.
View 2 Replies
Dec 3, 2010
I am developing a chat application using flex, which can use different service providers users like gmail,yahoomail,ami etc. Almost similar like meebo.com.
I am using jabber server. My question is what kind of information jabber returns.I am getting userid,password,status,status message but I am not getting address or phone number of the user or picture of the user..
Please let me know,how can I take these values and what should I pass to jabber server to revcieve full information from jabber for different service provider's users.
View 1 Replies
May 27, 2009
I want to post data to a URL on my server from a Flex app. I am using the following
UrlParam = UrlParam + '&name='+ name.text + '&business=' + buisness.text; navigateToURL(new URLRequest(UrlParams),'_self');
The problem I am having however is that if I enter a business with an ampersand ("A&b.com") then the name does not send. Does Flex have anything out of the box to do the encoding from & to %26?
View 2 Replies
Oct 16, 2006
writing a PHP script that will decide to create a new row in mysql or just update an exsisting account and pass the information back to my swf file.. I am sure alot of people would need this when creating a form that updates or creates account information...
View 1 Replies
Dec 21, 2009
I have a quiz game that i have finish. in this game have a finish button. if the finish button clicked the score from the quiz want to insert into mysql database.
View 1 Replies
Jul 13, 2004
I'm trying to insert some data into my DB from two Combo Boxes in Flash. I'm not quite sure how to go about it. I have no idea how to give the combo box a 'var' value like we do for a regular textfield. I have other pages where I have regular text fields that work fine as I can specify the 'var' value in the properties but not for combo boxes. I'm new to actionscript so please bear with me.
Action Script for my button:
Code:
on (press) {
loadVariablesNum
("http://localhost/Test/acadForm.asp",0, "post");
[code]....
View 1 Replies
Jul 8, 2010
I'm trying to post data up to a server and have it bounced back to me as a file download, prompting the native browser file download box. I know the server part works just fine becasue I can post from a demo web form, but when I run the following Flex 3 code, I can't even get the request to fire.
var fileRef:FileReference = new FileReference();
private function saveXmlAsFile(event:MouseEvent):void
{
[code]......
View 3 Replies
Aug 4, 2010
I want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not. for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista)
View 2 Replies
Nov 6, 2010
I want to upload data (not a local file) with Flex (4.1), and show what the progress is of the bytes sent. Now I use a URLLoader, but I know that URLLoader was designed to download data, I can connect a listener to ProgressEvent.PROGRESS but that has no effect. I also know there is a FileReference object which supports uploading. The problem here is, I do not want to browse for a file and upload it. I have a byte array which I want to send to the server, but the data property of FileReference is read-only. How can I send the byte array (which is actually a PNG encoded image) to the server and be able to track the progress of the bytes sent to server?
View 1 Replies
Dec 10, 2010
How can I save some text information in local hard-disk with out the server support. I know shared object, but i dont use this. I need to save all these function in anther external file as text.
Is there any way to do that in AS3.0.
I don't prefer Flex, am working in Action Script 3.0 & Flash IDE
EDIT:
My swf is saved in a local machine. So no server interaction or browser interaction. the swf is running a local folder and read txt files from local folder, and save once press the save button.
View 3 Replies
Oct 27, 2009
i want to make a simple chat with flex as3 and red5 media server
my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message)
i just don't know how to to send and receive and how to receive from the server
View 2 Replies
Dec 12, 2009
send xml data to the server using HttpService request thr POST in Flex?
View 1 Replies
May 17, 2010
im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose??
View 1 Replies
Dec 20, 2010
I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.
View 1 Replies
Mar 1, 2011
I have a flex UI which communicates with server using spring blazeds. I have a very typical requirement of Live data streaming on a panel in UI. Requirement is like this, We have an object say, Person and server keeps pushing its data on blazeds message destination where UI panel consumer has subscribed and hence user can see this live data in a panel. User can open multiple panels in same browser to view data for different Persons at the same time (e.g id=1,2,3 respectively). There can be multiple UI users who may be viewing the same data for person id=1 at a given time, lets say.
Basically I want to separate data between UI panels. UI panel opened for person id=1 must not display data of that for person id=2. I am doing this using headers-selectors, but apparently I found out that the differentiation to select and display what data happens on UI which is causing performance issues. I learned that using subtopics may improve performance. But, before proceeding for it, I want to know, will UI browser end up in receiving data irrespective of subtopic assigned to data and then consumer will decide to accept it or not?
View 1 Replies
Mar 2, 2011
When I connect data services using blazeds I get following error message.
[Code]...
Why am not able to connect? But when specify remoteObject in the declaration tags and call the methods it works fine.
View 1 Replies
Apr 21, 2011
I have a streaming server (for pushing data not video) setup with GraniteDS and it works great. I have to include multiple swf files in a web page. Each of these swf files has a data table which includes streaming data(this is a specific requirement - so I really cant combine all data tables into 1 huge data table/swf file). All the swf files however, connect to the same gravity channel/streaming endpoint.
How many connections are there from the web page to the streaming server? Does each swf file start a new streaming connection? Or do all them share the same connection since they are just connecting to a single channel?
View 1 Replies