C# :: Porting Silverlight App To Flex?
Mar 30, 2011
Perhaps a dumb question, but if you write a relative simple 2D game in .NET (e.g. for Silverlight) C# and you want to port it to Flex - just because you know C# and don't want to bother with other language, are there any means to facilitate this porting process?
Let's suppose that we are using FRAME BASED development (as Flash is, opposed to TimeLine in Silverlight) using the CompositionTarget.Rendering event.
I pose this question because I would like to try to create a fully functional app in .NET and then port it to Flex.
View 2 Replies
Similar Posts:
Apr 10, 2011
As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.
What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?
View 2 Replies
Mar 30, 2011
In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.
View 1 Replies
Feb 7, 2011
i need a webpage (host on my website) that can play the following mp4 file either via silverlight 4 or flash[URL]..i tried various solution like flowplayer and silverlight but none of them work with the URL above. I can play the file fine using Windows media player or VLC.
For silverlight, i always get AG_E_NETWORK_ERROR exception within MediaFailed event. For flash, via flowplayer, IE page is just blank
Can someone tell me what am i missing? i am very frustrated as I have finished encoding, upload, cataloging my videos and now I am stuck at the last step.
View 1 Replies
Sep 5, 2011
I found Vectorlight which is quite good, but are there any tutorials or books about doing cool effects with silverlight. I'm after for resources focused more for a designing and presentation. Mostly the books about Silverlight is focused on doing boring business applications like making grids and forms.
View 1 Replies
Mar 5, 2011
I have to prepare a comparison between the following technologies to present it to my Project Manager, but I fell that I'm lost I want to compare between them in the following areas:the support of online video streaming the budget of using each one Learning Time will be needed to learn the technology Which one is the standard and will target a lot of users The support if I found any problem Bugs and security issues connection to DB, SOA and web services supporting of multi player
View 7 Replies
Dec 26, 2011
I am currently working on a windows phone project where i have test the compatibility and I do not know flash and Silverlight is supported or not on windows phone 7.3.
View 1 Replies
Feb 14, 2011
Is there a website where you can go to find developers?
View 1 Replies
Aug 3, 2011
I am looking for a 3D object viewer for my website.
Requirements:
Files: .stl,.wrl, *.3ds *.vrml, *.obj, *.ply, *.skp
display: models in color and non color
Unit of Measure: Meters, Centimeter, Millimeters, Inch
Volume: 3D object viewer has to calculate the orginal size of the model
Rotation&zoom: user can rotate/zoom with mouse and rotate/zoom by clicking buttons
Browser: IE& Firefox
View 1 Replies
Sep 14, 2010
In creating a RIA, what are the advantages and disadvantages of each approach?
View 1 Replies
Nov 2, 2010
I'm trying to make a guitar practice website, and a critical functionality is to loop over very short mp3 files (a few seconds long), with absolutely zero gap in between. For example, it could a 4-measures-long chord progression, and I want to allow the user to loop over it seamlessly.
I tried using the HTML5 <audio> tag with the loop attribute. Google Chrome gives a small gap between the loops, but big enough to be totally unacceptable for my purpose. I haven't tested the other browsers, but I believe it won't work.A possible workaround is to use ffmpeg to stream repetitions the same audio as an mp3. However, this costs a lot of bandwidth.
For myself I use Audacity to loop without gaps, but unfortunately Audacity doesn't have a web version.So, do you have any ideas how I may loop over an mp3 in a browser with zero gap? I prefer non-Flash solutions, but if nothing else works I'll use Flash.
View 4 Replies
Sep 28, 2010
My company want to develop an online multitouch scrumboard for our scrumteams. We are still in doubt between flex and silverlight as platform for the application. (don't want to fire a hole new flex vs. silverlight discussion again) Installation rate & platform independence are not critical to us, because it's just for teammembers and only windows 7 enables multitouch events in flash or silverlight.We would like some pros/cons specifically for this project (multitouch, rich user interface, integration with backends).[code]
View 2 Replies
May 27, 2010
I am a student of computer science and am interested in learning development of RIAs. So which among silverlight and flex is more suitable for me and y?
View 4 Replies
May 19, 2010
Is there a set of open standards technologies that I can use to achieve the same way of development as in Flex and Sivlerlight? I am talking about componentization, separation of concerns, rich graphics, states and effects . Please point out some tutorials and other resources if possible.
P.S. I KNOW that this is technically possible, so please do not respond by sending google search results or general JQuery tutorials. I've seen those already. I need to know how a Flex / Silverlight developer could design and implement an application in roughly the same way (imagine a rich HTML tag set, much like XAML/MXML, behind which stands JavaScript responsible for handling events and business logic.
View 3 Replies
Apr 9, 2011
MVVM In MVVM there can be only one View for each one View Model ?
Answer would be to use DataTemplateSelector to get multiple views. Now let's say I need to port to flex. Does Flex have the same paradigm as DataTemplateSelector?
View 1 Replies
Apr 15, 2012
Is there a debugging tool for Flex that functions like Silverlight spy or FireBug?
View 2 Replies
Aug 12, 2009
porting a SHA-512 implemention in Javascript to Actionscript.Since both Javascript and Actionscript share the same origin, I think porting it will be easy for people who are used to Actionscript.The code for sha512 in javascript can be found here: http:[url].......
View 2 Replies
May 16, 2011
I'm trying to port FLAC encoder using Adobe Alchemy for use in flash but can't figure out where the problem is. I'm using Alchemy for Cygwin on Windows. It is properly installed and configured. The following are the steps that I have followed in order to port FLAC encoder:
[Code]...
View 2 Replies
Jun 10, 2011
porting a java/C library to AS3?If so there is a library for something called a IOIO board for Android - http://www.sparkfun.com/products/10585 which would be amazing if it worked with AS3.It would mean that we could create Android apps within Flash that can interact with real world hardware over USB.
View 2 Replies
Jun 24, 2011
we have a number of SWFs we want to repurpose as Android apps, but are having trouble finding some information.
I realise that Android is spread across a lot of different Hardware but are there any standardised resolutions? If not how would you go about resizing the Stage depending on the screen?
Secondly can SWFs be uploaded to the Android store and if not what is the best way to mantain the SWF functionality whilst converting it to a format that can?
View 1 Replies
Nov 23, 2010
I have been given a site to update/improve, which uses many AS1 and AS2 elements, and my team likes a piece of AS3 I've found for a fluid layout which tweens the site container to the centre of the browser's window, and we want to keep it.But at the moment, I have to load the AS1 site into an AS3 container in order to make this work, and this means we lose the deep linking, and it's really cumbersome loading 1 thing into another which is loaded into another...
Sooo, I was hoping someone knows how to translate this AS3 code into AS1/2. Is this possible? Does AS1/2 have the appropriate tween/ease classes? Here's what the container page looks (please ignore the commented out sections).siteLoader is the MC i'm loading the main site's SWF into. AS1 would also make this much simpler with loadMovie command.
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;[code].......
View 3 Replies
Sep 23, 2011
I had created an HTML5 Canvas WebGL game in January for the Mozilla Game On 2010 competition (pretty late, I know - I never released it until yesterday). Now I want to port it to Flash ActionScript 3.0 for a college assignment.I'm well versed with both static languages like C/C++ and Java; and dynamic languages like Python and JavaScript. However I don't know ActionScript, but since it's a subset of ECMAScript it should be pretty easy to understand.I want to learn programming in ActionScript 3.0 so that I may be able to port my game in Flash. To be more specific, I want to know more about:How is ActionScript different from Browser and Server-Side JavaScript, and basics.OpenGL programming in ActionScript (including loading textures, shaders, etc).How to create a HUD in Flash using a 2D HTML5 Canvas like API (in my game I have 2 canvases, one for the 3D game and another overlaying it for the heads-up display).Support for vector and matrix calculations in ActionScript.How to load assets like audio and sprites in Flash.It would be even more helpful if you would check my source code in JavaScript and suggest the best possible way for me to tackle this problem.The code for the main game engine and the game itself may be found in my Github repository.
View 2 Replies
Mar 26, 2010
I have an xml gallery sort of that works fine when I have the code not as a class, in first frame in Flash. So I decided I wanted to port it into a class and the problem I get is at:
thumb = new Thumbnail(xmlList[i].image);
It expects 0 arguments. How come that line of code works in first frame in flash but not as a class? There is a movieclip in the library called thumb with linkage of Thumbnail.
Below if the code when used in first frame:
PHP Code:
var urlRequest:URLRequest = new URLRequest("pics.xml");
var urlLoader:URLLoader = new URLLoader();
var xml:XML;
var xmlList:XMLList;
urlLoader.load(urlRequest);
[Code] .....
View 4 Replies
Aug 7, 2010
I need to port an existing game written for the iPhone to Flash. The iPhone game is mainly written in pure C rather than Objective C.
I'm wondering if there are any good tools for converting the C code to Actionscript directly, or in general if anyone has some advice on how to do this porting in an efficient way given its C based source code?
Since the game will keep getting updated with bugfixes etc, a method allowing rapid conversion of the updated game code to Flash so that only one code base would need to be maintained would be optimal.
View 1 Replies
Apr 4, 2010
what are the main scenarios that Silverlight 4 allows and Flash does not?
View 3 Replies
Dec 17, 2009
is there any possibility for loading flv or f4v on silverlight platform?
View 2 Replies
Dec 31, 2009
What is faster Flash or Silverlight? So I mean there is working Flash quake and Silverlight quake (not totally working yet)
So what is faster after all? Or Are they all same speed?
really need to know to get an idea on what it's better to start my cool programming project.
View 2 Replies
Nov 18, 2010
How can i convert silverlight app to flash?
View 1 Replies
Jan 3, 2010
Is there is any printing support in Adobe Flash like the new one in Silverlight.net beta 4?
View 1 Replies
Jan 9, 2010
Is there any such effort been made?
Some more info:
it's client application (gui intensive)
By porting I was thinking of cross-compiling.
View 2 Replies