Flex SDK and online emulation coding, your opinion on my project

Hi to everybody,
I'm an actionscript developer and I've started a project 2 years ago.
Since I wanted to test dynamic bitmap generation, I started this path by coding a graphic driver that emulates some old graphic chip used in consoles.
I could see it can work very well in AS3, so thanks to Flex SDK and FDT I have coded some more complex emulators.
Llittle by little I've built some classes that emulate some more chips such as SN76489, AY-3-8910, Konami SCC, Namco, TMS9918/TMS9928 and other graphic drivers for arcade emulation.
There are few project around the web on this subject, some of them such as fMAME are done thanks to Alchemy but, mine is pure AS3 with a lot of otimization, simple code, byte code friendly structures and a lot of caching methods.
The audio has to be fixed, I still haven't find a good caching way to play the audio generated by emulated sound chips with the streaming feature of flash player. To increase quality and fidelity, I need to rise the buffer, but the delay between a graphic event and its corresponding sound rises too...
Unfortunately on some old PC and some netbook they are a little slow because they use a lot of CPU and memory. I will be very glad if you can tell me your opinin about this work and eventually your PC configuration you are playing with.
These are the four consoles/computer I've emulated:
SEGA SC-3000/SG-1000: http://www.play-sc-3000.com
SEGA Master System: http://www.digimorf.com/ASms
MSX 1: http://www.digimorf.com/ASReplay_MSX
CBS ColecoVision: http://www.digimorf.com/fcv
And these are some MAME concept based arcade games. To play with these ones you need to use te same control keys of MAME:
- Click on monitor to focus flash player
- 5 or 6: Insert Coin
- 1 or 2: no. of player to start
- Arrow keys: move
- X, C: fire buttons 1, 2
http://www.digimorf.com/FlaME/pacman.htm
http://www.digimorf.com/FlaME/pacman3D.htm - This uses Away3d for the 3d interactive cabinet, you can rotate and play snce the emulator itself is mapped on the screen object.
http://www.digimorf.com/FlaME/ladybug.htm
http://www.digimorf.com/FlaME/pengo.htm
http://www.digimorf.com/FlaME/crushroller.htm
http://www.digimorf.com/FlaME/bombjack.htm
http://www.digimorf.com/FlaME/solomon.htm
Hope you enjoy them!

You can set the maximum number of connections by using:
ServerSocket server = new ServerSocket( port, backlog );
Where backlog is the number of connections at any one time. I'm not sure - but I'm guessing that the physical limit is dictated by your hardware. Once you queue is full of connections, you are right - any further connections are refused. The default number of connections is 50.
Mike

Similar Messages

  • Flex SDK and AIR runtime version in mobile

    Hi, guys.
    I'm trying to make my first Flex mobile app.
    I'm a little confused about the relationship between Flex SDK and AIR  runtime versions for mobile development.
    In the "Developing Mobile Applications with ADOBE FLEX 4.6 and ADOBE FLASH BUILDER 4.6" pdf document, it says:
    "AIR requirements
    Flex mobile projects and ActionScript mobile projects require AIR 2.6 or a higher version. You can run mobile projects on physical devices that support AIR 2.6 or a higher version of AIR.
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the complete list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Note: If you do not have a device that supports AIR 2.6 or a higher version of AIR, you can use Flash Builder to launch and debug mobile applications on the desktop."
    So, I go and check the Certified devices in http://www.adobe.com/devnet-apps/flashruntimes/certified-devices.html and find that the minimun FLASH PLAYER version accepted by ALL devices is FP 10.1
    1. Does this mean that if I want to release an app to target ALL mobile devices, then I can only use Flex 4.5?
    2. Do support for Flash Player mean the same than support for Adobe AIR? Or the application will prompt the user to install whatever version of the AIR runtime and all of them would be supported by the device, even in the FLASH PLAYER support is for a lesser version?
    Thanks!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Flex SDK and commercial Websites

    Hello,
    I have to build and RIA for a Companys Intranet and i am not sure, if it is legal or possible to do so for free with the Flex SDK?
    I also would like to know, whats the difference between the Free Adobe Flex SDK and the OPen Source Flex SDK? Which of those do i need to
    create the website for free? (If its possible).
    Thanks in advance!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • How to setup older Flex SDK and AIR 1.5?

    I found an older Flex app that I wanted to install.  It looks like it uses Flex 3 SDK and Adobe AIR.
    How do you setup a different SDK and use a different version of AIR?  I would think the latest version of AIR would be backward compatible but it doesn't appear to be that way.  It seems that the SDK version and the AIR version must match exactly or the app won't compile.  Is this right?
    Thanks,
    -Westside

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Flex SDK and AIR Runtime issue

    Hello,
    Please somebody answer my Question.i.e,
    For Instance, I downloaded an Application(AIR application) which is developed with Flex SDK 3.0 and AIR Runtime version 2.5. But I have AIR Runtime version 2.0 installed in my machine. What will happen if i install the application? whether it will be installed completely or Any warning will be shown up regarding the AIR Runtime discrepancies? or will the application be obsolete even after it's successful installation?
    Did anyone experience it?
    Regards,
    venks.

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Flex SDK and FlashPlayer9

    1.is the compiler include in Flex SDK required JVM installed
    to execute?
    2.is the SDK/compiler FREE to use for any purpose?
    3.is the SDK/compiler FREE to distribute?
    4.is the FlashPlayer9(ActiveX, plugin for Netscape) are FREE
    to distribute?
    thankyou very much

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Packaging and distribution of EJBs - your opinion, please

    Hello everyone,
    I am working on an EJB-based commercial product. When done, it will be deployable on a number of application servers that use different XML descriptor files, with different content. Initially, these will be JBoss, WebLogic and Sun ONE AS v8.
    I am pondering two different ways of distributing the product:
    1. with a wizard-like GUI-based utility that will format the required XML files based on the user's input, build the EAR file from the preexisting components + the newly formatted XML files, and deploy the resulting archive in the server's application directory, or
    2. hand over the component JAR and WAR files, with some skeleton XML descriptors, and tell the user to make their own, server-specific XML files, then assemble the EAR and deploy it manually.
    While the approach (1) is obviously user-friendly, and would be voted for by the majority of users, I wonder how this is done by other vendors offering their EJB products. Also, it is entirely possible that I am missing some other (better? hybrid?) approaches.
    Your opinion on this matter is highly appreciated.
    Alex Molochnikov
    Gestalt Corporation

    I second to Jack's suggestion of using Hibernation.
    I have been running Hibernation mode on my PCs and Laptops without any need to change any background options. Works great, especially on my laptops and resuming back to Windows from my PC is a breeze.

  • After the decision I builde the new computer and wants to hear your opinion

    Hello frinds
    3 weeks ago I asked a question about my existing computer and all of you and also Harm told me that i have a slow computer and i have to think about new one.
    so...... this is my setup and i want to ask you befor buy all parts:
    1. Intel Core i7-930 Bloomfield 2.8GHz LGA 1366
    2. ASUS P6T Deluxe V2 LGA 1366 Intel X58 ATX Intel Motherboard
    3. Western Digital VelociRaptor WD1500HLFS 150GB 10000 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive
    4. CORSAIR XMS3 12GB (6 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600
    5. CORSAIR TX Series CMPSU-950TX 950W ATX12V v2.3 80 PLUS BRONZE Certified Active PFC Power Supply
    6. XCLIO Windtunnel Fully Black Finish 1.0 mm SECC Chassis ATX Full Tower Computer Case
    7. GIGABYTE GV-N460OC-1GI GeForce GTX 460 (Fermi) 1GB 256-bit Video Card.
    8. CORSAIR Cooling Hydro Series CWCH50-1 120mm High Performance CPU Cooler
    Thanks for opinion.
    Nir.

    Doh bootcamp vs Hack.. sorry i was just reading another thread(forum) about hackintosh. bootcamp is of course legal
    so show me the light...?
    so lets see
    an Apple is a PC
    your running Windows on the Apple
    so do tell whats the difference from the Apple hardware vs a windows system?
    lets see
    DDR3 1600 (PC)
    DDR3 1066 ECC Apple
    Apple
    no PCI slots (not really important much anymore but there are still many with PCI cards)
    only 3 PCIe. for video it should not matter much. 1 raid card i capture device 1 Pro audio interface
    PC has more of both.
    Price Apple is far more.
    other than that they are both PCs with a differnt OS (but you negated that with bootcamp)
    now to windows on the Apple bootcamp is not without issues still cant turn off Cstate issues.
    i didnt bother to benchmark an Apple vs PC with Adobe. (other than in house results not a publishable report)
    and FC runs better on the older MP (08) than Nehalem.
    one of my friends in the Audio biz has however for audio and the results for audio vs video are pretty much the same
    http://www.dawbench.com/win7-v-osx-1.htm
    next Apple i have on the bench i will try to run up a test (doesnt happen much anymore as we recommend a PC over Apple)
    Scott
    ADK

  • Need your opinion on my project

    Hello, i'm building a new project, need your advice on design.http://www.testwebdev.com/azwiki/

    Hello, i'm building a new project, need your advice on design.http://www.testwebdev.com/azwiki/

  • Xcelsius 2008 and Flex SDK

    Hello all,
    I'm new to Xcelsius and Flex SDK and I don't get any information about that:
    For what do I exactly need Flex SDK? Only if I want to implement a new template for Xcelsius like a "better" property-panel?
    I also want to know, when I want to store data out of my dashboard, can I use and handle them directly in a Web Dynpro environment?
    Does anyone have experience with that or could help?
    Thanks in advance
    best wishes, Bonita

    Hi Bonita,
    Xcelsius provides standard set of visual components, but in some situation we might need some functionality that is note there in standard set of components. That is where flex comes into picture with the help of Flex SDK we can develop custom components and then use the Xcelsius SDK to compile and use that as an add on inside Xcelsius. Custom build components are also available in marketplace (we can opt from a large set of variants, developed in Flex & Xcelsius SDK). Flex coding is mostly done in MXML and events are Handeled with Action Script.
    Note : We need Flex SDK along with Xcelsius SDK only when we need to create some custom component. Xcelsius SDK can be downloaded from SAP Website or can be installed during Setup installation.
    Data can be exported out of Xcelsius with the help of External Interface connection. Sample is available in the extracted installation file. Data exchange is Handeled with scripting language. Don't know Web Dynpro  environment supports the scripting or not.
    Good Luck

  • OpenWithDefaultApplication in flex sdk 3.5.0.12683 and ReferenceError: Error #1069:

    I  am trying to use openWithDefaultApplication to open the files in default application for the desktop application developed using AIR.
    Development environment is as follows
    - Flex builder 3.0 eclipse plugin .
    - Flex SDK version is 3.5.0.12683.
    - AIR 2.0 sdk, I have used instruction specified at  http://www.adobe.com/support/documentation/en/air/2/releasenotes_developers.html#h, to overlay AIR2.0 sdk  with Flex 3.5.0.12683. SDK.
    I get the following error when openWithDefaultApplication is executed
    ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
        at air_openwithdefaultapp/onFileSelect()[D:\www\flexprojects\air_openwithdefaultapp\src\air_ openwithdefaultapp.mxml:28]
    I tried to trace/alert the flex and air runtime verions and I get following  details, 3.5.0.12683 for Flex SDK and  2.5.0.16600 for AIR.
    The same code works fine when I use the Flash Builder4 with Flex 3.5 sdk.
    Any idea what is going wrong here?

    Hi Swapnil,
    1)Try Overlaying SDK to 2.0 like:
                     a)Download the AIR SDK 2.0 zip
                     b)and paste it at C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 and
                     c)extract it.Check whether this SDK selected in Flex Compiler.
    2) Make sure that you have changed the AIR version number in descripter file (-app.xml) for example <application xmlns="http://ns.adobe.com/air/application/1.5"> here have to change 1.5 to 2.0.
    3) In the Flex Compiler panel check that which Flex SDK (3.5) has been selected. Might it different from defaultly selected.
    In Flex Builder you can check in two ways :
              a)Window>Preferences>Flex>Installed SDKs(Default)>Check SDK selected.
              b)Select Project folder in Navigator Panel and Mouse Right click >properties>Flex Compiler>Check SDK selected.
    4)Make sure that the opening files have accessibility with this function.
    -Vamshi

  • Installing Flex SDK into Flash Builder 4.7 problems

    Hi,
    Im completely new to Flash Builder, today I have installed Flash Builder 4.7 & Flash CS6 from Creative Cloud for my son to start to learn game programming (with my help), I have used simple coding in web design however this terminology is new to me.
    I bought my son the latest 'Foundation Game Design with ActionScript 3.0' book on recommendation but it was written when FB was version 4.5 so im guessing this might be the problem.
    The book is very easy to follow but have hit problems at the beginning of the tutorials, the book talks about Flex SDK but it seems that FB 4.7 uses AIR SDK ?
    So the first project called HelloWorld, we got up to:
    Got an exclamation mark which said
    'The import flash.display.Sprite is not used
    locally'
    Continuing with the rest of the project the exclamation mark disappeared:
    However on selecting run- Debug we got a blank Flash Player window  ('generate HTML wrapper file' was deselected)
    So either we've done something wrong, or the book and FB version are not compatible?
    Any advice would be great!
    Thank you
    Latest ...
    I thought that installing Flex SDK may solve the problem but after following instructions I have the error message, see image below. Really stumped now!

    Sorry, if I went a little overboard. After re-reading your post, perhaps I should back up a little.
    First, there are little things that Flash Builder (FB) will complain about. Having extra import statements in your code doesn't hurt anything. If I'm trying different solutions and then commenting out the code, the import statements will hang around, FB will complain, but just ignore it. If you see a little icon on the left edge of your code editor and its a red circle with an X in it, then that is something that will have to be fixed.
    When you create an app in FB or Flash you can choose to create a web app which means it will run in a browser window. The project can optionally create an HTML wrapper, or web page that will load your app. In Flash Pro you can choose File->Publish Settings and there will be a checkbox on the left to publish a HTML wrapper. In FB, you can right click your project in the Package Explorer, select Properties at the bottom, select the ActionScript Compiler, and down at the bottom there will be a checkbox to create a HTML wrapper.
    If you're just learning Flash Builder, then the FlexSDK 4.6 and the AIR SDK 3.1 that comes with it should be fine. You mentioned Apache SDK and I'd recently been working with that so I ended up getting side-tracked.
    Getting an AIRSDK to work with when build ActionScript projects is easy. Just go to the adobe site, type AIR SDK in the search box, and you should find a page that will let you downloaded the latest version. There's also a page to let you download the latest AIR runtime, and if you were just going to run AIR apps and not build them, then that's all you would need. As a developer you'll want to install the runtime from the downloaded .exe file. With the SDK, after downloading it, installing it is easy. Just create a new folder an unzip the SDK into it, then place it somewhere easy to find. I put all my SDK's in their own directory right off the c: drive. So I have c:\AIRSDK_3.5.0.880 and c:\AIRSDK_3.7.0.1530. I use very descriptive folder names so I always know which SDK's I have to work from.
    To use the SDK in Flash Pro select Help -> Manage AIR SDK, hit the plus button and add the folder you created. Now when you've opened a Flash project, you go to File->Publish Settings and select the combo box at the top, you'll see options like 'AIR 3.7.0.1530 for Android' in the list that reflect the SDK's you've added.
    Generally with FB you'll be using a FlexSDK, or perhaps a FlexSDK overlaid with a newer version of AIRSDK. Overlaid basically means you copied the contents of the AIR SDK into the Flex Folder. The article I mentioned above will give you all the details on creating those. For instance, I downloaded the Apache Flex installer, installed it, then created an empty folder called c:\ApacheFlexSDK_4.9.1, launched the Apache installer, gave it the new empty folder I'd created, selected all the download options, and let it all download. If it launches a popup box or a security warning, you can allow it, and it will continue. Once you have the SDK and you want to use it with a project in FB, just right click the project, select Properties, selected that Compiler tab again, and up in the right corner you'll see 'Manage SDK's...'. Hit that link, add your new SDK to the list and give it a descriptive name, then selected the checkbox beside it to set it up as your default. If you do this, then all your projects set to use the default will automatically switch to it and rebuild. So if you want a project to stay with a specific SDK then select that option in your Compiler tab, and then you could use the combo box to select your new added SDK.
    When I started with FB I think I spent the first 2 days going round and round with project settings and options until I got them all figured out.
    When I develop, I usually have my browser open and I have bookmarks and favorites to let me quickly get to all the pages I use most often. Here are a few of them:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html  <---- The API reference. In the packages window check out 'Top Level' at the top and Language Elements near the bottom. I think I have this page open in one or more tabs almost every day.
    http://www.adobe.com/devnet.html
    http://www.adobe.com/devnet/actionscript/learning.html
    http://help.adobe.com/en_US/as3/learn/index.html
    http://helpx.adobe.com/flash.html
    http://help.adobe.com/en_US/flashbuilder/using/index.html
    Free videos to help you learn Flash Pro:
    http://tv.adobe.com/show/learn-flash-professional-cs6-/
    http://tv.adobe.com/show/learn-flash-professional-cs5/
    And you've already found the forums! But if you don't find an answer here, many times you can find your question already answered on www.stackoverflow.com forums.
    Ok, I think I went a little overboard again.

  • Flex SDK with createRectangleTexture() ?

    Sorry if this is entirely the wrong forum for this question, but I'm stumped...
    I see there's a Context3D function called createRectangleTexture(), which I'd like to try using. I'm creating a Flash app using AS3 and C++, via FlasCC. Currently am using the Flex 4.6 SDK; alas, this does not seem to include a sufficiently recent version of Context3D, and so of course compilation fails when I try to use this function. The documentation suggests this is in AIR 3.6; however, the docs for Flex tell me to not overlay a newer version of AIR onto the Flex SDK (and at this point, I cannot even tell if AIR 3.6 actually provides createRectangleTexture()).
    Any help/pointers/suggestions in regard to this issue would be greatly appreciated.
    Thanks!

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • Flex SDK or air sdk

    hi iam new to flex
    iam using Adobe flash builder 4.6 when i open the application.xml file i see this
      xmlns="http://ns.adobe.com/air/application/3.9"
    is the the final sdk version or not if not what should i dowanlod the air sdk or flex sdk and what version plz
    thanx

    You can overlay newer versions of the AIR SDK over most Flex SDKs.  Adobe's latest version of Flex is 4.6 which shipped back in 2011, IIRC.  Apache Flex just shipped 4.13.0 and folks have definitely used it with the most recent AIR SDKs.
    -Alex

  • 'Use minimum version required by the Flex SDK' setting question

    Hi,
    Can someone explain why after downloading the latest stable Hero SDK (build 19786), which only has fp10.2 support in the framwork/libs/player directory, would the 'Use minimum version required by the Flex SDK' build property still tell Flash Builder to build for fp10.1?
    In my flex-config.xml file from this new SDK, I see the target-player attribute is set to 10.2. Is there a bug in burrito that would fail for that value to be used?

    No. That should work. Builder also reads the minimum value from flex-config.xml.
    Just to check - you added this as a new SDK in Preferences -> Flash Builder -> Installed Flex SDKs and either made that the default SDK or changed the project to use the new SDK, right?

Maybe you are looking for

  • Need to make a table fixed at one position(bottom right) in RTF

    I have a requirement in receivables r12, where we need to print the invoice summary details table at the bottom right of the page(It should be always in that fixed position). If the other details above these invoice summary details exceeds to next pa

  • Forte install hangs when looking for Java2 SDK

    When running the "Forte for Java 4, Community Edition Setup" program under Windows ME, the installation gets as far as "Searching for suitable Java 2 SDK. Please wait .." then hangs. I have the Java 2 SDK version 1.3.1 and Java 2 Runtime Environment

  • Web Gallery Album Lead Photo

    I am using iPhoto '08 and like the Web Gallery feature. But I cannot seem to find instructions for specifying an album's lead photo. Any help would be appreciated.

  • Activity Price thru KP26 & KP06

    I want a clarification regarding activity price calculation: - I know that we can manually enter the activity quantity and variable/fixed rates in kP26.  If that is the case, what is the purpose of quantity that is entered in KP26 ? - Other way, we c

  • Windows 7 printer support

    I have been searching the HP site, but am unable to find out which HP printers will be supported by Windows 7.  I have 2 printers, an HP 1018 laserjet, and a Deskjet 5940.  I've run the Windows 7 compatibility software and it tells me those 2 printer