Actionscript 3 :: AIR Socket Based App Status Reporting?

Jun 30, 2011

How do I go about creating a socket based status reporting system for an AIR app? What I have in mind, is you connect to the app via socket connection with some sort of terminal. It presents you with a list of options, you issue commands back, and it reports back any stats and messages. (This is for an app running on a remote kiosk, connected via 3G.)

View 1 Replies


Similar Posts:


Java :: Flex For Chart Based Reporting Having Oracle Backend

Nov 24, 2010

My only experience with Flex is some limited reading over the web. What i am wondering is if i want to use Flex or some variant of it for generating reports, specifically Charts, coming off a Java/Oracle backend can i accomplish that in an environment where the streaming media (we cannot play videos on our systems at work) is turned off? Also, are there any other restrictions revolving around using Flex for reporting in the form of charts? Currently, we use Jfree Chart API to develop charts but just exploring an alternative.

View 2 Replies

ActionScript 2.0 :: Alpha Value Based On Load Status?

Mar 31, 2006

I am trying to make a buttons alpha value change if my movieclip is loaded. i've tried adding things to the buttons but couldn't get this to work, so I added this to the first frame of my movie but it doesn't work.[code]

View 9 Replies

ActionScript 3.0 :: Remove Object Based On Tween Status?

Mar 12, 2010

When the yellow_btn is clicked the function explosion is executed. This function displays an object called spark on the stage and makes visible a video clip called house_mc which was previously hidden.

I use a tween to fade the house video into view gradually as it plays and that brings me to my dilemma. When I start this tween I want the spark object to disappear from the stage. To do this I assigned a variable name of endit to my tween and am adding an Event Listener to endit to determine when the tween starts, at which point I want to execute the function stopSpark and remove the spark image from the stage. The code doesn't give me an error but the spark continues to display during and after the video has finished.

yellow_btn.addEventListener(MouseEvent.CLICK,explo sion);
function explosion(e:MouseEvent):void
{
addChild(spark)

[Code].....

View 3 Replies

ActionScript 3.0 :: Socket And Server Based Application

Jul 18, 2011

I am wondering if it is better to write basic "chat" client based servers in java because then you can have multi threaded servers where clients can connect and chat or if you can do this in Actionscript- minus the multi threading because from what I know air and or AS3 do not support threading.

View 2 Replies

Actionscript 3 :: Socket.readInt() And C# Socket.Send() Different Values Of Int-variable?

Nov 19, 2011

When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?

View 1 Replies

IDE :: CS5 AutoFormat Bug Reporting

Aug 4, 2011

Is there a defined way to report bugs with the autoformat system to adobe (or do they even care may be a better question)? Also, is there a list anywhere of known bugs in CS5?In the last 24 hours I have come across several, and while some may be hyper specific (e.g. if you comment out a for each in loop and the comment is followed by a for in loop it will put semicolons where they dont belong and cause a syntax error), others are easy to do and hard to figure out (e.g. comments inside of for loops mess things up).

View 1 Replies

Flash :: MaxScrollV Reporting Incorrectly?

Dec 9, 2010

I have an html text field that displays content from an xml file, and a class that determines whether or not to show a scrollbar.The code that determines this is as straightforward as

if (field.maxScrollV>1){
showscrollbars()
}

And 9 times out of ten it is working. Sometimes - it seems when the html contains <li> - maxScrollV is reporting '2' and the scrollbars are showing, even though all text is visible onscreen and it will not actually scroll at all.

View 2 Replies

ActionScript 3.0 :: ProgressEvent Reporting Incorrect Properties?

Jan 7, 2009

I have an app that loads large imagery and swf assets on demand, presenting a movieclip that displays load status based on a ProgressEvent listener. When run locally and off of my own server everything looks as it should and I get accurate bytesLoaded and bytesTotal figures producing the correct load % displayed. However, when published to my client's server, the load status starts at 100% and doesn't ever change. The even stranger thing is that in Firefox it says 100% Loaded but in Safari it says Infinity% Loaded. Are there web server settings or differences I should consider here?

View 2 Replies

ActionScript 3.0 :: LocalToGlobal Reporting Wrong Coordinates?

Oct 15, 2010

Say I have a movieclip called theScreen a 0,0. It is 800 wide, 700 hightheScreen contains a movieclip called theStatusArea at 600,0. It is 200 wide by 700 hightheStausArea contains a movieClip called pieces at 10, 410. It is 180 wide by 180 highpieces contains a number of movieclips (triangle, square, etc.),all of these sub movieclips are more narrow than the pieces container and are all set added to the pieces container at 0,0

var pt:Point = new Point(triangle.x, triangle.y)
pt= triangle.localToGlobal(pt);
trace(pt); // should be 610, 410 at least at the start.

[code]....

View 7 Replies

Flex - OLAP Web Visualization And Reporting Recommendations?

May 4, 2010

I am preparing an offer for a customer. They proide weekly data to different organizations. There is huge amount data suits OLAP that needed to be visualized with charts and pivot tables on web and custom reports will be built by non-it persons (an easy gui). They will enter a date range, location which data columns to be included and generate report and optionally export the data to Excel. They currently prepare reports with MS Excel with Pivot Tables and but they need a better online tool now to show data to their customers. Tables are huge and need of drill-down functionality. My current knowledge Spring, Flex, MySql, Linux. I have some knowledge of PostgreSQL and MSSQL and Windows. What is the easiest way of doing this project. Do you think that SSRP (haven't tried yet) and ASP.NET better suits for this kind of job. Actually I prefer open source solutions. Flex have OLAP Data Grid control which do aggregation on client side. JasperServer seems promising but it seems I need enterprise version (multiple organizations and ad hoc queries). What about Modrian + Flex + PostgreSQL solution?

View 1 Replies

Php :: Reporting True Game Scores In Flash?

Jan 26, 2011

Im making a flash game and just wondering, how can I protect the ingame scores from being hacked ? For the moment im using a random number, which is set on the server and sent to the client, then using a hashing function which will hash 'score+randNumber' (a bit more complex, but the same idea), then i send the resulting score and the hash to the server (obviously logging attempted cheats). This so far works, but it is still easy to hack the score by decompiling the flash and finding out what the hashing formula is. Is there any other way that the scores can be transmitted to the server with little or no possibility of hacking?

View 3 Replies

Actionscript 3 :: Error Reporting From Event Callback?

Aug 17, 2011

I have been experimenting with supplying better debugging information when an error happens in asynchronous code in AS3.

As an example of the poor error reporting be default, take the case where I force a null pointer in a Timer callback (github gist), I get the following stacktrace back on the console:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Function/<anonymous>()[/[path-to-source-file]/TestClass.as:14]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

This tells me very little about how the timer callback actually links to my code.

The question is: How can I get information about what code created the callback?

View 3 Replies

ActionScript 3.0 :: Loader Reporting Incorrect TotalFrames Of Content?

May 9, 2011

detecting the totalFrames of content loaded into a Loader?
 
I made a dummy animation just for testing (150 frames of text just tweening across the screen) to load. I load that in and when it's loaded I'm always told it's only 2 frames long.
 
e.g.:
 
package {
import flash.display.*;
import flash.events.*;
import flash.net.URLRequest;

[Code].....

I just wrote that by hand now as an example so there might be a typo here or there but you get the general idea. I'm using CS5, flash player 10, just testing the movie and every time it traces 2 total frames. how to tell how many frames the loaded content actually has?

View 2 Replies

Flex :: Add Detailed Remote Crash Reporting To Air Application?

Mar 1, 2010

I will be releasing my Air/Flex application soon, but I am pretty sure there are a couple of bugs that may pop up on the various platforms that Air is available for. So I was wondering if there is a way to implement a mechanism, that would send an error report, logging where the error happened, to a remote server each time an app crashes? This way I might catch errors that otherwise would go unnoticed.

View 1 Replies

Flash :: Shape Tween Isn't Reporting Its Size Correctly?

Aug 16, 2011

If I shape tween between two rectangles like so:On frame 5 I have the following:

trace(width);
trace(height);
trace(getRect(this));

[code].....

View 2 Replies

ActionScript 2.0 :: Textfield That Is Reporting Events On Stage Dynamically?

Jan 20, 2009

I need to create a textfield that is reporting events on stage dynamically (hitTests, onPress etc.). Something similar to output window in flash application. I want it to add events line by line, so afterall one can see what has been done.

View 3 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

Javascript :: JavaScript Socket Vs Flash Socket?

Apr 30, 2010

Steve Jobs just posted this article on why Apple rejects Flash... [URL] I agree that javascript and css can be used to replicate some of Flash's animation, though Flash does all sorts of scaling and tweening that is incredibly powerful, and I'm not sure that there's anything comparable in javascript, if there is, I certainly haven't seen it.

However, my question is about the socket. Flash has an incredibly powerful openSocket class that allows you to connect to a server and have the server and the client talk back and forth to one another. As far as I know there is no equivalent class in Javascript. Am I mistaken? Is there some secret mystery Ajax class that replicates the openSocket? If not, then that feature alone makes Flash an invaluable tool.

View 1 Replies

Flash :: Web Based Visual Programming Interface Based On Python For Data Visualization

Nov 4, 2011

I just discovered impure.com and was very impressed by what can be achieved in terms of visualizing data using their workspace. Although the platform is free to use, but not open source yet. This causes a few problems because the API section works with .com sites for eg. for ebay, so I cannot visualize ebay listings for regional sites such as ebay.in because the link to ebay.com is hardcoded.I searched around, but didn't find other projects that offer a similar way to work with site APIs and other data sources with the kind of user interface and detail that impure.com does in a realtime way within a browser window.This brings me to the questions:

-What technologies would be involved in creating a similar kind of project

-What are the open source tools that can help develop a fullscreen UI to render the workspace. Are there any alternatives to flash for this, and how do they compare

The goal would be to use standard python data structures, python scripts to do some processing on these data structures, scripts to gather data from csv, json and API sources such as google yahoo, wikipedia and flickr, and scripts to render graphs, tag clouds, network visualizations etc. Then bring them all together into a visual interface that supports drag drop and simple type checking.How would the python backend integrate with the UI.

View 1 Replies

ActionScript 3.0 :: Tile Based Game - Creating Multiple Sprites Based On Frames

Nov 17, 2009

I'm relatively new to AS3. There's one thing that I don't quite understand about Sprites. I'm making a tile based game, and all the tile graphics for a level are inside one movie clip in each frame. Would I be able to go about creating multiple sprites based on the frames in said movieclip's timeline I would I have to go through and make a separate library graphic for each.

View 2 Replies

Flash :: Event Based Based Video Player?

Jul 15, 2010

I need a flash based video player that is able to trigger events I can listen to via JavaScript. The events I need to listen to are:

The play button is pressed The pause button is pressed The video stops (is finished)

View 1 Replies

Stably Know Status Of Streams?

Mar 20, 2011

I found that application.onUnpublish sometimes won't be called when a stream stops publishing[code]...

View 1 Replies

ActionScript 2.0 :: Displaying URL In Status Bar On IE

Apr 28, 2005

I need to have my url displayed in the bottom of internet explorer. so when I create a link in flash to an external site it displays link on the bottom of IE link any html page links do. Is this possible to do threw actionscript or would i have to shoot it out to a external java script to make it display down there?

View 9 Replies

ActionScript 2.0 :: Status Of A LoadPolicyFile() ?

Jan 13, 2007

I am connecting to a Java game server via an XMLSocket and serving the crossdomain.xml policy file via loadPolicyFile(). The problem is, the thing either works, or it doesn't Is there any way I can get any status information back from loadPolicyFile() ?file didn't load, file is invalid, anything. Is there a way to attach an onLoad handler to this? The documentation claims that this thing will wait for a response before it attempts any connections.

View 1 Replies

ActionScript 2.0 :: Displaying Url In Status Bar On IE?

Apr 28, 2005

I need to have my url displayed in the bottom of internet explorer. so when I create a link in flash to an external site it displays link on the bottom of IE link any html page links do.Is this possible to do threw actionscript or would i have to shoot it out to a external java script to make it display down there?

View 9 Replies

Flex :: Facebook Status Can Be Updated Through Air

Jan 25, 2010

Want to find out if facebook status can be updated through flex or air.

View 1 Replies

Flex :: Show MSN Status In App Form?

Mar 4, 2011

I have a flex business application and need to create some control that will show a small picture symbol of given user's MSN messenger status (online, away etc.)

Alternatively, how to insert an html page inside flex form?

There is a HTML code snippet on MSN site (supposed to be) doing exactly what I want, here it is:

[Code].....

Also I'll need to replace eb892994c712bb83 in this snippet with user's cid code.

View 2 Replies

CS5.5 :: Get My Own Facebook / Twitter Wall Status Using It?

Apr 2, 2012

I'm trying to learn how to get my own facebook & twitter wall status into flash so that I can export it out and install it in my iPhone.After reading the facebook and twitter API documentation, I'm still very confussed on how to use them.

View 1 Replies

ActionScript 3.0 :: Live Messenger Status?

Sep 9, 2010

As you all know you can directly connect to Skype's API from flash to check if a user is Online/Away/Offline etc.

View 1 Replies







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