C# :: Asp.net - Pass Image From A Flex Application To A Asp Net C# Web Service?
Apr 18, 2011
I want to store images from the flex application to a asp net web service and at a later point will be sending these images back to flex application . Can you please give a example web method in c# or suggest a website to read about how to do this.
View 1 Replies
Similar Posts:
Apr 22, 2011
I am creating a flex collection in which as model I have an array collection of slides.Each of the slide has a set of objects like array of images , array of captions etc . I want to pass these slides to the web service coded using asp.net and C# , from where it will be saved to a sql server db. Is there a way to send the image Array directly to the web service or I have to send each of the image separately by making as many calls to the web service as the number of images in the array .
In general what would be the most efficient way to send these array of slides and the associated objects to the web service so that they could be stored in the database ?
View 3 Replies
Sep 6, 2010
I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files.
Below is the SOAP envelop required by the service.
[Code]...
View 1 Replies
Feb 16, 2010
I'm developing a Adobe AIR application using Flash Builder 4. This app needs to access a remote PHP service which is being hosted on a remote web server. I am having troubles figuring out how to add a PHP data service which uses a remote service. I can add the PHP data service in Flash Builder as a service hosted on localhost, but given that this will not be feasible when the application is deployed, will not work. How to connect a Flash Builder (Flex) project to a remote PHP data service?
View 2 Replies
Jun 9, 2010
I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use?
I could put the RemoteService/RemoteObject in the modules, but (in my opinion- and I could be wrong) the best design seems to be using the remote calls in the main app and passing the data along to the modules.
View 1 Replies
Jan 28, 2011
Is it possible to develop flex/Air application as a service. The application doesn't require any GUI it should run as service in embedded Linux/Linux/Windows.
View 1 Replies
Nov 1, 2010
I am able to port much of my application from Flex 35 to Flex 4.0
Next is to show my current system Operating system name (XP Pro, Vista, Linux..etc) along with the service pack level of my system on which my application is running.
I am able to show uo OS name "Windows XP" using "Capabalities.os" in Flex4.0. but not "Professional" or "Pro" exactly. But I could not find an API for showing up the service pack level.
I have to display the content in a label. I tried with Capabilities.cpuArchitecture and System.vmversion, but it shows up some other system data.
I want to show up Service pack version.
View 1 Replies
Jun 10, 2009
how to pass a var from flex application to a swf file that is on my server?
[code]....
how to GET the VAR THat is passed into the swf file some get method from FLEX?
View 1 Replies
Mar 4, 2010
I have a TextArea that I don't ever want to be scrolled. When scrolling within the application that holds this TextArea, however, the scrolling stops as soon as the mouse ends up over the TextArea.
Is there any way to pass the scroll event to the application, or tell the TextArea to not claim the event?
View 1 Replies
Mar 31, 2010
i have two flex applications and i want to pass the data from one application to another.Is there any way to do the same.
View 2 Replies
Jan 14, 2011
I have a full screen flex application and I want the user to be able to scroll using browser scrollbars. I don't need mousewheel in the flex application and flex appears to block mousewheel events within itself. So mousewheel events do nothing.
View 2 Replies
Feb 2, 2011
I am experiencing a strange problem when I want to bind a service to a button or something else:
[Code]...
I can add the services to the Data Services panel but I have two strange things:
1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?
2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)
View 1 Replies
Jul 4, 2010
I have a Facebook application that has a picture gallery. It's build in Flex 4. I want to allow users to link to a specific image. How can that be done?
The only way I see this being done is adding a GET var like &my_picture=asd.jpg in the Facebook page URL, but I don't know how to read that from the iFrame.
View 2 Replies
May 11, 2011
I want to specify a string value in the HTML containing my Flash created using Flex 3. This value is a URL that is used by the Flex code and I want another dev to be able to update it. How do I do this? I'm using Flex Builder 3.
View 2 Replies
Jul 20, 2010
i've the following snip of code in AS3:
var myWebService = new WebService();
myWebService.addEventListener("load", loadDone);
myWebService.loadWSDL("wsdl_address");
var myOperation:Operation;
function loadDone(evt:LoadEvent)
[Code]....
View 1 Replies
Nov 10, 2009
My application is going to have multiple images..
<mx:Image id="img1" source="@Embed(source='assets/mrute1.jpg')"
mouseDown="mouseMoveHandler(event);"/>
<mx:Image id="img2" source="@Embed(source='assets/mrute2.jpg')"
mouseDown="mouseMoveHandler(event);"/>
<mx:Image id="img3" source="@Embed(source='assets/mrute3.jpg')"
mouseDown="mouseMoveHandler(event);"/>
Then on the function I want to be able to know the id of the image that was currently being clicked. How do i do that?
mouseMoveHandler(event, ??)
View 2 Replies
Nov 1, 2011
Need to:1) Create bytearray from BitmapData in Flex2) Pass this bytearray (or maybe converted to string with b64) to php script3) Convert this bytearray again to image in PHP and show it.
View 1 Replies
Jan 17, 2011
I've a flash facebook application, i can take the session info from flash client and send the session information to server.
I need to check if the user connected to the server via facebook application or not. That's why i need to get the user's session from facebook page directly by my server.
How can i do it? I use C# for all database and communication system. Flash interface does only application responsibilities.
View 1 Replies
Feb 22, 2010
I am using python and webapp framework in app engine for backend and flex 4 for front end.I would like to pass a string form backend to front end, so i write the following code in the main.py:
[Code]...
View 3 Replies
Jan 19, 2012
I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.
[Code]...
View 1 Replies
Jan 26, 2010
EDIT: I just needed to add: import mx.controls.Image. I have an MXML file, and when I can add image tags to the XML and it works.But, I can't figure out how to create an image and add it to the canvas programatically with AS.
var card:Image = new Image(); //ERRORS ON THIS LINE: call to possibly undefined method Image.
card.width = cardHeight;
card.height = cardWidth;
card.x = xCoord;
card.y = yCoord;
View 1 Replies
Oct 1, 2010
I created flex application that loads a image. I compiled this app and ran in the computer where it was created. it works. when i try in a different system, the image does not load. I think it's chekcing for the image path.how to include image as part of the application
View 2 Replies
Jun 23, 2009
My embedded images show up in the Flex Builder Design Preview, but are not displayed when the application is run. The images have relative paths (/assets/images/...), and the application is run on the server (wamp). I've appended the path to the compiled location [URL] and tried to display a image in the browser, and the image exists, too. I've compiled it via FlashDevelop, Flex Builder, and Ant. I've deleted and remade the bin/bin-debug/release/bin-release files to no avail.
View 1 Replies
Jul 11, 2011
i have a mobile application that i am creating in Adobe Flex (Flash Builder 4), and i am trying to create a zoom function. The one i have works, but the point is to be able to more easily read words that are in the image (the images are .jpg files). The images are 2550x3300 originally, but as soon as you zoom, the image quality reduces drastically, and nothing is readable.
[Code]...
View 2 Replies
Aug 30, 2011
I am calling asp.net image handeler from flex application, now how can i display that image in to flex side, i also want height/width of image.
View 3 Replies
Aug 26, 2009
I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image
var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;
I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages
var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);
I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?
View 3 Replies
Mar 29, 2011
I have code in a flex component that I want to listen for an event, the source of the event is a custom class that's being run by another class that's being run by another class etc etc. I was under the impression that an event would pass throughout the whole application, so I was hoping if I dispatched the custom event in the class like so..
private function finishEvent():void {
var evt:EventDispatcher = new EventDispatcher;
var finished:Event = new Event("finishedInterpret");[code]...
the event gets fired basically when the executeBatch is finished, and the finishEvent is being called, but I'm the listener isn't getting anything. I tried setting it to db.addEventListener, but that had now effect.
View 1 Replies
Jan 18, 2012
I have an AIR application that is downloaded from a webpage. In order to download the application, one must be logged in. I would like the first time the user opens the application, to be able to acces the userId that was logged in.
Is there any way do pass that information?
View 2 Replies
Oct 22, 2006
I'm working on some dialogs and need to center the dialog. But not over the chart that it's created from, instead I need it centered over the whole application. To do this what should I pass in to centerPoup()?
View 2 Replies
Apr 7, 2011
How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
[code].....
I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"
put the file in different places
C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml
I added the load line of the project
protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}
if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.
View 1 Replies