Create game with Flex?

Hi all
this might be a stupid question, but me really not well
understand what Flex was, and what the Flex purpose.
me have download the trial version of flex, and found it seem
more focus on coding and exclude the drawing things which similar
to Flash.
my question : is it possible to create Flash game with Flex ?
what could be done in Flash is it possible to done in Flex
too?
thanks

hi,
With flex you need to envoke the filereference function save. Because of the security sandbox you can not programmatically save files or create folders, you need to open a windows file browse box then the user can create a folder or save a file.
private function testme():void
var fi:FileReference = new FileReference();
fi.save("hello"); <=== this would open a system file save dialogbox
David.

Similar Messages

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • In day 4, video # Creating "pages" with Flex states doesn't work

    i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • Broken Link - Offline - Day 4 - Creating "Pages" with Flex states

    Hi,
    This is an excellent series!!
    When accessing the Day 4 - Creating "pages" with Fex States in offline mode, Adobe Media Player, complines "Playback failed - This media file is corrupt or malformed". Can you please fix it and let me know so that I can restart the download?
    Thanks.

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • How can I create an executable with Flex Builder 3?

    I'm working with Flex Builder 3 right now and I've run my
    head into a brick wall. Here's the situation:
    I'm creating a standalone application (runs in its own
    window, not in a web page) and I want to run it on a computer that
    does not have Flex Builder 3 installed. Help files and web searches
    haven't directed me to the right answer, so I was hoping that
    someone on this forum could help. Anyone know how to create a .exe
    file or something else that can be run outside of Flex Builder?
    Thanks a lot for any help!

    quote:
    Originally posted by:
    rob_parkhill
    Convert it to an AIR Application?
    Thanks Rob,
    This may be what I'm looking for, but I don't know enough
    about the difference. I guess I should have pointed out that I'm a
    complete Flex Novice!
    Anyway, with Flex Builder, I created an MXML Application. I
    went through all my various options again in Flex Builder and found
    that under the project menu, I could export a release build in what
    appears to be the format you mentioned. I managed to create a .air
    file, but it is not a recognized file type on my computer. I tried
    double clicking it and the built-in windows services couldn't even
    find a possible way to run it. Am I missing some important step?
    Thanks again.

  • Tutorial for creating a J2EE project with "Flex Builder 3 Beta 3 " ?

    Hi,
    I'm trying to set up a Flex environment with:
    Flex Builder 3 Beta 3 stand alone
    WTP (from eclipse update manager)
    LCDS 2.5 (with JRun)
    JBoss 4.2.2GA
    At this moment I successful installed everything (but not set up). I added WTP at Flex Builder3 (with the eclipse update manager). I copied the two flex-tomcat files in jboss.
    Then in Flex Builder 3 I created a new Flex Project. In the wizard first window, I selected J2EE, Livecycle and WTP. Then in the next window I need to configurate the J2EE server.
    I couldn't find any information/tutorial for this window? Is there a tutorial for this?
    This window ask me:
    Target Runtime: I created a new one for JBoss 4.2.2 (during this process flex builder asked me to add a project but actually I'm creating this project so I hadn't any project to add (??)).
    ContextRoot: name of the project I'm creating (default). Is it good?
    Content Folder: the default is "WebContent". Is it good?
    Flex War File: What is that? Where do I find it?
    Thanks a lot,
    Jerome

    The settings you mention all sound fine, but the I believe the Flex War file may be what you referred to as the flex-tomcat files (specifically the one should be called flex.war from the install folder).
    You don't need to deploy the flex.war file to JBoss manually, when you create a project, you just select the file in the wizard and it is extracted and used as a template for the new project. In fact, it may cause a port conflict with your project if you do deploy manually it (unless you tweak some of the config files), so it's probably worth removing it from the deploy folder if you did put it there. The other file, flex-admin.war, can stay without causing issue.
    The closest to a tutorial that I am aware of is if you search "New Flex Project" in the help system, it talks about what each of the options should be when creating LCDS projects.

  • Creating learning games with Captivate

    Hello all, I am new to Captivate.
    I want to create a learning game with Captivate, using an "Adventure" genre and using branched presentations. Possibly using conditional actions and widgets.
    The idea is the player would make a series of decisions, and the process would lend itself to learning the subject.
    Is it reasonable to expect a game like this could be made in Captivate? Are there any examples of this type of game (developed with Captivate)?
    I would like to use the advanced actions power of questions slides in the game, so the decisions the player makes is recorded and informs the evolution of the game, but I am not sure if I can incorporate artwork/animations with question slides. I would like to accumulate data about the player response to drive the game. I would like to drape the question slides in art and animations- making the question slides more graphic and game-like than they are as a default.
    As you can see, I have an idea, but do not know enough to know if Captivate is a program that well lends itself to this type of thing.
    Any guidance is greatly appreciated.

    Hi Shawn,
    As Rick suggested, Flash might be a better alternative to create the flash card. You could then import the animation in Captivate. The drawback will be that you will only be able to see it running when you publish the presentation and manually copy the XML file to the publication folder.
    However, you could instead create a static widget and use a "Linked Widget" to deploy your XML file along with the Widget. This way, you should be able to see the Flash cards running in Preview and Publish mode without having to copy the file. I know it works but I never tried to deploy an XML file, only swf files but I don't see why it would not work.
    Yves

  • I'm thing of creating a game in flex

    I'm thing of creating a game in flex. It will be a original strategy game based more on playability and thinging rather than sheer Graphics. Could you give me and tips before I start out?
    The game will be based on a collection of circles that group together and by stonger together than apart(for both attacking and defense) but there will also be a map where statigic objectsives will be based. You will have some type of simple base and resource gathering.
    thanks

    Maybe I should be more specific in my requirements. My game will have upto say a maximum of battle 10000 units. What is the best way to store the data of the units efficiently.
    A unit object would have parameters like this
    yLoc
    xLoc
    health
    level
    etc
    thanks

  • How do I import SWC files created with Flex info Flash CS4?

    I've created very nice UI component using Flex 3 and I have exported it into a SWC file.
    How can I import it into Flash CS4 to use it there?

    Hmm... if you happen to be familiar with C#, then you may probably know about the problem of P/Invoke (this is a command that lets you access Windows API through C# code, which will apparently prevent it from functioning on other OSs).
    What happens with Flex framework is somewhat similar to this. I.e. it relies to much on the features of Flex compiler and the components of the framework create a lot of cross-dependencies, which makes them barely usable outside the framework.
    So, if you have time and doing this just as a matter of learning, I'd suggest you start an AS project in Flex builder and advance with it compiling it both with Flex and Flash to see if there are any differences (basically, once you see it doesn't compile / doesn't behave as you'd expect in Flash, you'll know you used something that is specific to Flex). These would be mostly meta tags, like [Bindable] for example.
    And, if you need any tutorials on how to code in pure AS, then, well, there are really to many So that you can even choose what's appropriate / goes better with your learning habits.
    If you like video lessons, there're tons of them at gotoandlearn.com, if you prefer reading documentation, here you go: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/class-summary.html
    if you prefer forums / written tuts, then, kirupa.com, actionscript.org, flashkit.com as well as Adobe forums will provide you with a lot of information.

  • HT4314 Create separate games with Game Center

    My sister previously used my game center account to download a game on her own ipod. Now, she wants to play the game using her own game center account but everytime she deletes and re-downloads, game center updates and then associates her game with mine again.  Essentially, we are playing exactly the same game at the same time.  How can she delete the game and then start her own, or reset her own?

    How hard is it to look at the game description to see if it uses GC ??  Virtually all that have scoring do. 
    Then again, you never bothered to even look in the App Store to see whether there was a GC section, and spent more time posting here than it would have taken to find out for yourself.

  • HT4137 I have two iPad's that use the same iTunes/store account. I want the two devices to play games with with other, but it recognizes them as the same. I have set up two different iCloud accounts, but still not recognizing the users as different. What

    Hello, I have no idea if my question went out, so I'll post it again. I have two iPads (one 3rd gen and one 4th) that use the same iTunes/store account. I want the two devices to game with each other, but the apps recognize them as the same. I have created two different iCloud accounts in an attempt to differentiate between the two, but no luck. How can I continue to use the same iTunes/store account for music and movies, but also have the two devices recognize each other for games?

    You can share your iTunes ID and still have separate iCloud accounts with separate IDs, they don't have to be the same.  If you kids don't already have an iCloud account, have them set up separate accounts on their devices using separate IDs.  If they are already sharing your account, migrate their devices to separate accounts.  To do this, start by saving any photo stream photos they wish to keep to ther camera roll (unless already there) by opening your my photo stream album, tapping Select, tap the photos, tap the share icon (box with upward pointing arrow), then tap Save to Camera Roll.  If they are syncing notes with iCloud, you'll need to open each of your notes and email them to them so you can later copy and paste the text into new notes created in their new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from thier device and won't effect your device), choose Keep on My iDevice and provide the password to turn off Find My iPhone (if using iOS 7).  Then sign back in with a different Apple ID to create their new account and choose Merge to upload the data.  Once everyone is on a separate account you can go to icloud.com from your computer, sign into each account separately and delete your data from their account.

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • How to create game in flex3 to run from cd?

    I want to create a game in flex3 (action script project). I
    have created game in flash 8 and flash cs3 to run from cd. But I
    dont know how create a game using as3 in flex 3 for cd. I am new in
    flex. can anyone guide me? I just need a guidance of what should I
    do or maintain to run the game from cd?

    Flex produce final output in .swf file, which same as flash
    output, So whatever you compile from Flex it will produce one .swf
    into Bin folder, that you can use for running it from CD.

  • Getting started with Flex ...

    Hi All,
    I've been looking a Flex over the last couple of weeks and have managed to setup a couple of basic projects that can read data from a mySQL database etc...  However when it comes to understanding some of the more advanced frameworks and options to use with Flex it starts to get very overwhelming.
    Does anyone have any pointers/suggestions for good material (online or books etc) to start with Flex.  I come from an Oracle Forms development background and in terms of setting up an application with a connection to a database Oracle Forms seems to a lot simplier than building a Flex database application (although the functionality of Oracle Forms as a lot more limited than Flex/Flash).
    I have taken a look at a the book Enterprise Development with Flex: Best Practices for RIA Developers (Adobe Dev Lib)http://www.amazon.com/Enterprise-Development-Flex-Practices-Developers/dp/059615416X/ref=s r_1_6?s=books&ie=UTF8&qid=1319581262&sr=1-6 by Yakov Fain, Victor Rasputnis and Anatole Tartakovsky (Mar 30, 2010), however the very first code example in the book appears to be dated and I'm having trouble getting it to work and finding the appropriately dated source files for the example project.
    I have also taken a quick look at Adobe Flex 4.5 Fundamentals: Training from the Source by Michael Labriola and Jeff Tapper (Aug 5, 2011) which appears to be a bit more recent, however I am not sure how much is covered regarding database connections to databases like mySQL and Oracle.
    Any suggestions on the best learning materials available would be really helpful.  At the moment it feels like I need to be an expert in Flex, MXML, ActionScript, Java, Spring, Hibernate, AMF, Maven, BlazeDS etc etc just to be able to create a simple database centric application (aarrgghh).
    Ideally I would love to be able to find a recent tutorial that goes through the building a relatively advanced Flex database centric application, that includes information about building a database based login/authentication system (without having to use PHP), and database controlled/stored main menu system and a system for modular sub tabs/screens/programs within a main application.
    Regards,
    Leigh.

    Thanks everyone for the replies.  I guess I'm a bit lazy when it comes to reading up on a technology I am not familiar with :-) .  What makes things worse is the Oracle Forms Builder IDE is very highly coupled to the Oracle database and therefore there is no requirement to know or understand the language or technology under hood (other than PL/SQL), Oracle takes care of that within the IDE and the Forms Java Bean (deployed by default with a middleware installation of Oracle application server).
    @dwaynie Started working through the Flex in a week video training yesterday.  Its really good and probably the best place for me to start as it goes over a lot of the assumed knowledge regarding Flex, MXML and AS (stuff I have probably glossed over up until now)
    @Mansuro noticed that spring has a dedicated page on the Flex/Flash plaform site so I'll probably look into this more down the track.  I guess the thing I am little confused about is that there are many examples online that integrate Spring + Hibernate + Maven + Java etc etc, I guess each framework has different features that the others don't and therefore all can be used at once, or does each one offer a completely different service?  More reading is required here I think.

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

Maybe you are looking for

  • File Not Found bug with long audio file names?

    Hello - Crazy problem. I'll probably post way too much information, but I want to make sure I cover everything. Help! We run Logic Studio/Logic 8 on multiple 10.4.10/11 computers - G5 Power PC, new intel iMac, intel mini, G4 laptops. We are working o

  • Is the Canon Legria HF M56 compatible with Final Cut Pro X

    I am new to Mac and new to Final Cut Pro X. I am looking to buy a new HD Video Camcorder to use with my new computer/software and wondered whether or not the Canon Legria HF M56 is compatible with Final Cut Pro X. If it is, do you have to import the

  • Helix and RTP

    //sorry for the bad english! Hi folks! maybe anyone can help me with a little problem... I use two applications from the sun-solution-page "AVReceiver.java" and "AVTransmitter.java" work's good in a network, but not together with the HELIX-Server fro

  • Com.sapportals.portal.prt.service.laf.ILAFService jar??

    hi all where can i find com.sapportals.portal.prt.service.laf.ILAFService ?? what´s the jar?

  • Can itunes games be downloaded to kindle fire??

    Hi- Just wondering if my son can purchase games for his Kindle. I think you can do so on the Cloud on the MAC? Thanks.