Java :: Is There A Universal Language
Dec 8, 2011
We're designing an app that will run on Windows, OSX, iOS, and Androids. It would be really nice to at least have most of the code in a single language rather than having to use Objective C for the Apple versions, C# or C++ for Windows, and Java for Android.We were looking at Flex (with all of its problems) as a way to avoid having to use a different language for each version, but Adobe has thrown in the towel and in the long run that's not going to do the job. Java used to promise to be universal, but it looks like Apple no longer supports it as a part of the distributed OS, and as far as I can tell Microsoft never supported it. We don't want our users to have to download and install something just so they can use our app.Is there a solution? Or are we stuck with building the app in multiple languages?
View 9 Replies
Similar Posts:
May 21, 2010
I haven't programmed in a while, and have kind of lost interest, but I want to get back, and I've enjoyed C# the most, a lot more than objective-c and visual basic. So I want to make some games that me and my friends will be able to play next school year. So basically something you can play on the web.
What programming languages deploy to the web?If c# is possible, and a mac with safari/firefox would be able to use it (I can't install plugins, and I don't want to get in trouble for making myself admin again)Flash, Java, etc. If java does, I'd like that most since it's most like c#. Then what libraries/engines would I use? I want to do 2d. And then what IDE would I use?
View 6 Replies
Sep 17, 2011
If you wanted to distribute a program to as many OS as much as possible what's the best language to use? I'm considering user's convenience here. For example, they don't need to download java run time, flash or .net framework if they don't have it. Also once they download it, they don't need to compile it themselves.
I'm also considering developer's convenience, in that on one compile, the program compiles different version of OS for you and you don't need to install different os to compile it. Here are the features of the program I'm thinking: Stores text and image to database Uses keywords Can browse information in the webserver via xml Can share(upload and download) information from the web server via xml Can compile and edit related articles via keywords It's something like a blog with advance features and can exist on and offline
View 5 Replies
Aug 24, 2010
How can I create a flash video using Java.. (Java and JavaScript have nothing to do with each other, in my world Java Script is a useless technology). Does Flash Professional have a Java API and if so how do I get the JavaDocs and an example to see the complexity of that API. Does the Adobe Media Encoder have a Java API that I can use.. if so, JavaDocs and an example?
Picture having two million directories, each directory has 30 photos and a sound clip. From this I want to produce two million flash movies each movie has 30 photos and the sound clip. Each movie has panning of the photos (Ken Burns, Civil War on PBS). What does Adobe have that I can call from within my Java code or Perl perhaps. I need to do this every two weeks, at least. Using a standard user interface is not going to work, even if I hired half of the planet.. I have been on the phone with Adobe for two days and have gotten nowhere.. surly Adobe has something which allows me to automate the creation of Flash movies. right?
View 1 Replies
Jan 19, 2011
What would be the best language to use to write a script similar to chat roulette but interact with a MySQL database of users.
View 3 Replies
Oct 25, 2010
use a universal clickTag in AS3? I usually use this,
Code:
function clickThrough(e:Event):void{
trace("click through");
var destination:String = root.loaderInfo.parameters.clickTag;[code]....
but I have a site telling me they use 'clickTAG'.Is there any easy way to programmatically check and use either?
View 6 Replies
Nov 11, 2010
I have classes that need to communicate with each other, but are instantiated at different times.Therefore I feel I need to create a universal Event Handler that my classes can add event listeners to,and can receive dispatched events from.
View 9 Replies
Oct 9, 2009
Not the OS Local time to work a couto be specific I wouold like to get hold of GMT and count from there, thus avoiding the issue where users might have the wrong date and time settings.any pointers or sites that will provide this data feed.from there I will use the UTCDate class to do the rest of the work.
var nowate = new Date();
trace(now.getUTCMonth());
trace(UTCMonthLabels[now.getUTCMonth()]);
[code]....
View 1 Replies
Dec 27, 2010
I need some advice integrating our content management system with FMS. We are currently using Oracle's Universal Content Management 10g and FMS 3.5.
I am able to get the test video to stream by creating a VOD streaming application in Flash (drag/drop FLVPlayback component and setting the content path to rtmp://serveraddress/vod/TestVideo). However, when I try to incorporate it into UCM the video doesn't load. I have tried checking the .swf skin, .swf video, AC_RunActiveContent .js file, and even the .html file (I have edited the .html file to reflect the new path for the uploaded .swf and .js files) and I still get nothing. I suspect that the .swf video file that creates the connection to the FMS server has something encoded into it that can't be called correctly once it's uploaded to UCM. If this was a traditional website where I could simply drag and drop the files generated by flash into the site's hierarchy, there would be no problem.
View 3 Replies
Aug 19, 2009
I've got an animation that plays, and then at the end of the timeline plays a movieclip. This movieclip displays a piece of text, which is extracted from an XML file, the piece of text is selected at random currently out of a list.
Then when the clip is pressed (button), it goes back to the previous timeline, and then plays through again, including the movieclip, and now a new piece of text is picked at random and displayed.I now want to make the pieces of text display sequentially, but am having some trouble.
put in a counter, and the text that is displayed from the array corresponds with the number on the counter, unfortunately, this gets wiped every time it plays, because the counter gets remade. Is there any way to create a variable outside of the timeline maybe, in a actionscript file maybe, so that I can just add to this. I have been running a trace, and can't seem to get it to not wipe.
View 3 Replies
Oct 10, 2011
Is there a way in flash to make the letters come from around the globe just like on the Universal intro? [url]...
View 1 Replies
Jan 19, 2008
what im interested in doing is, i want to create an all flash site but i want it so that whatever the screen size the user is viewing it on, that certain components on the scree stay in certain places. for exampke i want to 'bleed' the flash on the screen but whatever screen res the user has his monitor set to, that it adjusts to his size, so the name and buttons etc arent moved when the person resizes......
View 2 Replies
Aug 23, 2010
I've got an application (video player) that has many different interactive pieces spread throughout a handful of different classes throughout the display tree hierarchy (all children/grandchildren/great-grandchildren/etc of the same View class). I'm trying to add a universal tooltip to use throughout [URL].
Basically, the primary problems I want to solve are:
-Ideally called from or channels through a single place (for ease of updating etc).Must show above all other display objects (for instance, a tooltip that shows for a player controls button shouldn't be obscured by a menu display object that might be above it).
-Add the object once in a container/holder that's added above all the other View objects.Dispatch a custom event for every ROLL_OVER and ROLL_OUT event that needs to show/hide the tool tip.In my main (logic) class, listen for the event, and then call the method in the view class that shows/hides the tooltip.
View 2 Replies
Oct 12, 2010
Flash newbie here, using CS5 on a Mac. I've created several Flash animation files, all about 25 seconds long. The animations are fairly simple, about 6 layers each, but all contain a lot of movement. I need to turn the animations into videos that can be played on computers that don't have any Adobe programs, i.e. Quicktime. This is where my issue comes in. The published .swf files work wonderfully, but when I export the files to Quicktime video (.mov) the motion seems to leave a "trail" of images behind it. The static remnants go away after a few seconds but are replaced by new remnants of the current movement. I've played around with the quality and size of the videos, but nothing seems to have helped. I've tried used Xilisoft video converter to convert the .swf files into .avi or .mp4, but the files couldn't be uploaded. Does anyone have any recommendations as to what steps I could take to export my .fla or .swf files into high-quality video files?
View 3 Replies
Apr 7, 2011
As in subj. Is it possible to make a video player which will run on FP9 and when FP10 is detected use some of its features as Stage video API or pixel bender shaders?.I've tried to access FP10 classes via getDefinitionByName but it doesn't work
View 2 Replies
Jan 5, 2011
I am trying to create a "universal" swf that can be embedded in an html page and take input from an xml file. Yet the name of the xml file will not be coded into the swf which would allow xml files of various names to be used.
Code:
<script type="text/javascript">
loadSwfToDiv("date/ipconfig_questions.swf", "ipconfig.xml", 800, 700)
</script>
View 1 Replies
Jun 25, 2010
I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section
public function savePhoto(uName:String, ba:ByteArray, descr:String):void{
var obj:Object = {};
obj.arr = ba;
[code]....
View 3 Replies
Jul 16, 2010
I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.
View 1 Replies
Oct 27, 2010
I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.
[Code]...
View 1 Replies
Sep 15, 2011
Meaning specifically, what steps do you go through when creating a new application using these tools?
View 1 Replies
Aug 9, 2011
I have a client-server multigame suite for PC ("kind of" cross-platform using cygwin), which is developed in Java(game menus and database management), C++ (server side), and adobe Flash (game graphics & interaction).
I have never tried to develop for android, so i have no experience.I am thinking of migrating this suite to google TV. So i would like someone with android experience to give a clue on the following :
1) Is it going to be easy to migrate the Java application to an Android application?
2) What kind of Flash support does Android have? Can it load directly swf applications? Does it have to load swf's through browser?
3) Can i find any kind of performance indexes for google TV hardware?
View 1 Replies
Nov 13, 2011
I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?
View 2 Replies
Mar 24, 2010
I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);
[Code]...
View 2 Replies
Jun 3, 2011
If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.
In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.
View 2 Replies
Aug 4, 2011
I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.
View 1 Replies
Aug 13, 2010
i am working on a flex+java combined project.My IDE and computer configuration is as follows:
[Code]...
When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.
View 2 Replies
Dec 7, 2010
Right away i just try to explain my problem: Using BlazeDS i got the following Javaclasses:
[Code]...
Then i got a Flex service class calling BlazeDS and executing the getCategories java method. Since Flash dosn't seem to understand typed arrays, the result from that method which i get back in flex is a simple array of untyped objects (the mapping dosn't seem to work here, even tought the class category exists in flex and has the same properties).
thats the first thing. but however, i'm converting the untyped objects manually into objects of the category.as class. the second thing is that categories have child-categories within the java object, which are also ArrayLists of the type category.java. the problem about that: my result event object only contains the first level of categories, looking into them the children are allways null. i dunno why they are empty, since they ARE part of the java object category.
and the third thing (the strangest by fast), you maybe noticed i named the properties of the category.java class strange, like idCat and nameTest instead of simply id and name. why that? because the property names of my flex result objects dont seem to change when i change the java objects properties names (result object properties are named "id" and "name" but the java class object properties are named "idCAT" and "nameTEST"). that it REALLY strange, since if i set the properties, like you see at nameTEST = "TESTNAME" it IS recogniced by flex, only the proertyNAMES dont seem to be recognized at all.
[Code]...
View 4 Replies
Apr 11, 2012
I am newer with flex technology.I am creating a chart using ant file & .mxml in eclipse my 'ant' file executes properly but it gives following error when i opens a .swf file which is created auomatically:
Flex Error #1002: Flash Player 9.0.115 and above is required to support signed RSLs. Problem occurred when trying to load the RSL
[Code]...
View 1 Replies
Mar 18, 2010
we are using BlazeDS as a proxy between Flex and Java. The approach is the same as in
[Code]...
View 3 Replies
Mar 23, 2010
I'm coding a web app in flex blazeds and Java. I installed the Eclipse plugins for using WTP mixed project. I'm using flex's server that uses an emulate of tomcat when i ran my flex service the web app got the datas, everythings is ok. the problem is when i copy the project with all files generated by flex in my tomcat or the blazeds's tomcat, it doesn't work, this is becasue i want to implement my app on a server the error is:[code]
i don't know why tomcat doesn't find the class of flex.messaging.endpoints.AMFEndpoint that is used for my-amf 'URL...'. all works well in the emulated server that flex has.
View 4 Replies