Asp.net :: Asp Communication With Flex?

Oct 26, 2010

i was developed one .net application. It contains flash animation in one of the asp pages. And i need to write action script code for playing and pausing that swf file. I am using flex builder3. However how can i execute the asp application from flex builder? How can i load asp page into mxml file?

View 1 Replies


Similar Posts:


Flex :: Communication Between Two Apps?

Aug 11, 2009

I have 2 flex apps on the same page. I want them to be able to call each other's public functions. I am thinking of using either externalInterface calls or FaBridge to do so.

View 2 Replies

Communication Between Two Flex Applications?

Aug 6, 2010

I have two web applications written in Flex I would like to integrate. I would like one Flex app (let's call it application A) to invoke second Flex app (let's call it application B). Application A has access only to swf file of application B (not source code). When application A invokes application B, it should be able to pass some data to application B. After application B is invoked it should be able to pass some data back to application A. These two applications will be hosted on the same server, but will use different server code.

The easiest way of implementing this (or one of the ways to be more precise) would be to have UI element on app A (button, link, menu item, etc) that would invoke app B. But in that case, two Flex applications couldn't communicate directly (since only one is active at a time), and they would have to communicate through server code, which is something I would like to avoid.

In short application A should invoke application B, pass some data to it. Application B should do it's work, display some content, and have a mean of passing some data back to application A. I'm aware of LocalConnection, and I've seen similar question, but in that case I would have to have both application in the same browser window. This would be acceptable to some extend, but only if app B is contained in app A (not if they are both on the same HTML page). Would LocalConnection work in that case?

Do you have any recommendations on how to implement this kind of communication?

View 2 Replies

Flex :: Communication Between Module And Application?

Jul 21, 2011

Ok, modules in Flex are popular but I have no idea why documentation and examples on the different uses of Flex modules can be so scarce.Anyway, for this question, I will take the classic Employee/Department example. I have a main.mxml that contains an mx:TabNavigator. Each tab is loaded by an s:ModuleLoader.Tables: Employees {empID,empName,deptID}, Deparments {deptID,deptName}The Tab Navigator contains only one tab (for our example) called Employee. I have an Employee.mxml module. In that module, I have a datagrid that is populated with Employee details. I use the getEmployees($deptID) function. This function, as you may guess, returns me an array of Employees who work in a particular department.

Outside the TabNavigator, I have a departmentDropDownList that is populated with departments.deptName.My objective is to load the Employee module when I select a particular department from the DropDownList. I have a changeHandler for the DropDownList that can give me the deptID.

protected function departmentDropDownList_changeHandler(event:IndexChangeEvent):void
{
MyDeptID=departmentDropDownList.selectedItem.deptID;

[code].....

View 3 Replies

Actionscript 3 :: Communication Between Flex And Java?

Nov 9, 2011

Is there any way a Adobe Flash Builder could call methods from a java class? Without any servers? just like a API where i could call use methods from java clasees?

View 2 Replies

Flex :: Adobe Air And REST Communication?

Mar 2, 2012

Can someone recommend me a good example of Adobe air and REST API communication and authentication?

View 1 Replies

ActionScript 3.0 :: Flex Socket Communication With C# Produces

Jul 15, 2010

I use C# to read a string (BinaryReader.ReadString()) from the socket stream. But the problem is that flex doesn't writes the string in suitable format, so C# will be able to read that. C# reads a 7 bit encoded integer which indicates the length of the string, and just then reads the string. But flex doesn't writes a string in this format (I use socket.WriteUTF(), and even socket.WriteUTFBytes() didn't work), so C# can't read the string. Here's a little information of how C# reads/writes a string from a socket stream:
[URL]

View 1 Replies

Flex :: Events - Game Communication Between Entities

Nov 16, 2010

I'm currently developing a Flex game which is a kind of table and cards game. Thinking about developing other games using entities from this one, I chose for creating my entities decoupled from the game and even from other game entities. As a result, I'm currently using events for communication between my game entities.

Game entities, in my case, refers for example a player hand component which can receive a card, or send a card to another unknown component by a custom requesting and dealing events. For instance, the same can happens to a deck of cards holder component. This approach appeared to be a good designer in the beginning, but after some time, my game controller class has a lot of event handler functions which started looking bad for me.

My current idea is to create a game event manager coupled with my game controller for handling events and cleaning the controllers code. Finally, I'm not sure about my design decision exposed above, so I would like to know about you folks which communication design would be indicated for this kind of a game.

View 1 Replies

Php :: Real-Time Communication Between Flex Application?

Nov 19, 2010

I have a Flex/AIR application communicating with a PHP server application. Recently my client requested real-time-like connectivity between the applications to replace what we currently have; refresh buttons which have to be clicked to refresh data.So effectively the server needs to push data to the client when something changes. I can write the code that detects when something changes, but I'm not sure about the push side of things.

View 4 Replies

Flash :: Communication Between 2 Flex Apps On The Same Webpage?

Dec 21, 2010

What's the best way to communicate between 2 Flex/Flash apps on the same webpage? I need a 3rd party Flash app to call a function on my Flex 4 app (they are ready to customize their 3rd party app how I specify). I use ExternalInterface.call("javascript_function", arguments) extensively. I know there's a bridge to go from Javascript to Actionscript as well. So I guess I could go from their flash app -> javascript function -> flex bridge -> my flex app. Do I have to go through javascript? Is there a better way?

View 1 Replies

Actionscript 3 :: Communication Between Flex And Java Socket?

May 19, 2011

I have a Flex AIR app, and i am trying to get data from a Java Server. Can some one tell me if this approach will work?

Start a ServerSocket in Java and wait for a connection. Use Flex to connect to the same port. Write some data to the socket from Java Server. Read the data at the Flex end and process it.

I think i am able to get this working, but the data that i read back at Flex end seems to be empty.

My server code is :

socket = new ServerSocket(port);
client = socket.accept();
InetAddress address = client.getInetAddress();

[Code].....

My current problem is socket.bytesAvailable becoming 0 and therefore obj is coming up as "". So how to read data sent from the server using a Socket in Flex?

View 1 Replies

Actionscript 3 :: Communication Between 2 Flex Playbook Applications?

Aug 4, 2011

The overall aim of my project is to communicate between two Playbook flex applications. I found this article and tried it out:

[URL]

Application 1 (Called 'App1')

var folder:File = File.applicationStorageDirectory.resolvePath("shared/misc");
folder.createDirectory();
employeeDB = File.applicationStorageDirectory.resolvePath('shared/misc/employee.db');

[Code].....

View 1 Replies

Flex :: Components And Main.mxml Communication?

Mar 7, 2012

I'm building a Flex 4 Application in AIR.I've made a main.mxml and a login.mxml component. It all works but i can't communicate between my two mxmls (MAIN and COMPONENT)The login works but then it has to send a event tot the main that i can change the state in the main.Here is my cropped code.

login.mxml
//resulthandler if login is succesfull
loginUserResult.addEventListener(ResultEvent.RESULT, loginUserResultHandler);

[code].....

View 3 Replies

Actionscript 3 :: Communication Between Two Flex Mobile Applications Over A Network

Jan 8, 2012

I have two mobile devices on a local network, A and B. I would ideally like A to be able call functions on B, returning a response to A.

I am aware of LocalConnection, but unfortunately this isn't supported on mobile. What is the best way to achieve this? Do I have to setup B as a server using BlaseDS?

View 1 Replies

Flex :: Removing Flash Meta-policy Communication Warning?

Jun 6, 2009

I am communicating to an external server via a URLLoader and receiving the following warning: Warning: Domain domain name does not specify a meta-policy.Applying default meta-policy 'master-only'.This configuration is deprecated.

The provided link redirected me to another page, which didn't really explain how to remove this warning. It looks like it might involve modifying the crossdomain.xml file on the server, but I'm not sure exactly how. how to remove this warning?

View 1 Replies

Flex :: Server Client Communication - Display Emergency Alert Message

Oct 1, 2010

I have 12 display monitors installed in different floors in a building. These monitors display announcements that will be update once in a day. I'm retrieving these announcements from db and storing in an array and displaying it all day long. In addition to this, I have a requirement to display emergency alert messages on the monitors. My Server is a windows 2000 server. I'm using asp for creating the JSON object.

For the emergency alert I am thinking of doing this:
Create a page in asp that lets user to enter emergency msg and save to db.
Create a page in asp that will check if there an emergency msg in db and show it in a asp page in json.
Create a timer that pings this json page every 1 second. If it's available then show it.
Is there any other sophisticated method available to poll the server or to send messages from server to client?

View 1 Replies

Flex :: Actionscript 3 - Flex Socket And Erlang Socket Communication

Jun 29, 2011

I'm creating a client-server game. My client is a flex based game, and my server is erlang server. At the beginning, when I test directly my flex client in flash player, I can establish a connection easily to my erlang server through socket connection. And both can exchange data with no problem. The problem rise when I deploy my flex app at Apache http server, and running it using a browser by calling [URL] my flex socket sends message requesting for a crossdomain policy to my erlang server. So I create an xml message that represent a crossdomain policy, and send it back to my flex app as a response for that request.

Yet still I can't establish any permanent socket connection between my flex client and my erlang server. I know this because I add listener on my flex socket that will modify its internal state to CONNECTED, if a connection between client-server has established.

View 2 Replies

Communication Between Swf?

Dec 3, 2009

I have a communication problem between to SWF. Here is my code, SwfA is the caller :Shared interface between the 2 Swf :public interface ItfA {  // some code} In the second Swf, SwfB, the document class :
 
public class MainB extends MovieClip {  private var a:Itfa;  public function start(_a:ItfA) {    a = _a;    // etc  }} 
 
In the first Swf, SwfA:
 
public A implements ItfA {  var mLoader:Loader;  [...]   public function startLoad()  {    mLoader = new Loader();    var mRequest:URLRequest = new URLRequest("B.swf");    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,  onCompleteHandler);    mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onprogressHandler);    mLoader.load(mRequest);  }  public function

[code]....

When I test in the fash environment (ctrl + enter), there is no problem, but in my browser it failes and says that A is not an ItfA (TypeError: Error #1034)

View 1 Replies

ActionScript 3.0 :: Swf To Swf Communication?

Aug 21, 2008

I have two swf files. And i want to send data from one swf to another. So how can i do that?

I have 4 tabs in one swf file and when i click tabs then it should send data respectively to second swf file.

View 8 Replies

ActionScript 3.0 :: Communication Between 2 Swf?

May 15, 2011

I am using localconnection to communicate between 2 standalone swf. It works. I want to communicate between standalone swf and from browser/ from exe. Currently i cannot achieve this. How can achieve this?

View 7 Replies

Flash - Communication Between As2 And As3

Mar 16, 2010

I have this code under a button in 'as2.swf'

[code]...

and this swf is being loaded into as3 container called 'main.swf', but when i press it nothing happens and the file does not unload itself.

View 1 Replies

ActionScript 2.0 :: Communication Between Pop Ups?

Jan 27, 2009

Im develp. a site with a remote control, and television pop ups, can i use the remote to communicate with the tv? I think i may have a proper (yet typically teedious) method but in these situations,

[URL]

View 3 Replies

ActionScript 3.0 :: Communication Between An SWF And C#?

Nov 10, 2010

I'm using Visual C# 2010, and I want to add an SWF-file to a C#-form. Then, I want the C# code and AS3 code to communicate.

View 3 Replies

ActionScript 3.0 :: 2 Way Communication With Php?

Jun 3, 2011

I have read a few things on 2 way communication for as3 to php but most of the examples are a bunch of var's being sent. an example of AS3 sending 1 var out to php and php receiving it. how to go from PHP to as3 just not the other way!

View 4 Replies

IDE :: Portlet And Swf Communication

Oct 6, 2009

i am creating portlet project and one of my portlets has embedded swf file in it.so i foud out how to send datas from portlet to swf,now i need to know how to do it in backward direction i.e. to send data from swf to portlet

View 1 Replies

IDE :: Swf Communication Within Same Html

Oct 7, 2009

I am having one html including table in it.In one cell of table i have 1.swf & in another cell in table have 2.swf.Is there any way to have communication between these two swfs? Like in 1.swf - have one play button with on clicking will play animation from secong swf.

View 1 Replies

ActionScript 3.0 :: Enlighment Between Communication Between SWF

Jun 9, 2010

i want to ask someone to give me some enlighment between communication between SWF..,let say i have one main swf (parentSWF) which load another swf (let's call it loadedSWF)what i want to do is calling parentSWF calling function which is remain in the loadedSWF..,please do mind i am talking about desktop application and not browserapplication..,

View 2 Replies

Data Integration :: Swf And Xml Communication

Aug 27, 2007

I want a swf to load var into an xml file so that when the swf re-opens it can look in the xml file to see where it last stopped playing.

View 2 Replies

Professional :: Flash And ASP.net Communication

Mar 7, 2011

I recently made a mp3 player in Flash. I have an aspx page that has the mp3 player in it as well as a .net button which is disabled on page load. The .net page tells the audio player waht file to play and the player plays. What is supposed to happen next is when the audio player reaches the end of the file the button on the aspx page is supposed to become enabled. I am not sure how to do this [have Flash tell the aspx page that it is done playing].

View 2 Replies

Php :: Php-Flash Communication Over Sockets?

Nov 5, 2009

I am not any kind of network programming pro, but it happened that I have faced necessity to develop socket-server on php (no way for using Java) for flash multiplayer browser-game (standard features like locations, team battles, etc).

The main problem is that TCP is point-to-point protocol and it completely occupies given port.Of course it is possible to create some kind of queue, which will manage connections to the socket, but this solution doesn't seems to be the fittest one.

It seems to me that using interval of "fair" ports (from 2000 to 2200, for example) is more fitting solution, because one request may take a lot of time to execute and players won't be happy to wait in queue.

But how can I implement this "port inteval" strategy?The solutions that I see are:

launcing php-script per every port (he-he, 2 hundreds of launched scripts!);somehow forking the initial process to new processes (2 hundreds of processed? Not nice too), one for every port;additional while-loop, which listens all the ports (looks very bad);using threading or something like that (the problem is that php is single-threaded, as far as I know; pcntl?).But somehow I don't like any of them, or at least don't know how to implement them in the best possible way.

What is the best existing strategy to handle multiple requests from multiple users per time unit without delays, and how to implement this strategy in php? We have our own Debian-server, so it is possible to use any required php extensions.

For example, if we are trying to develop chat application, we need some sort of fixed (I mean persistent) connections for each user. For example, we have 80 users in chat, and then one of them posted a message, which server tries to handle and send to all other connected users, also putting an entry to the history file or something like that.

In this situation polling server for new messages every 10 seconds from each of 80 users is craziness, so the need in persistent connection gets obvious.But I don't know what is the best way to implement something like this, considering that not all requests are handled instanlty.

View 2 Replies







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