XML Creating, editing and saving! ;D

Hey!
So, here's what I want to do:
When the users loads the Flash File, I want the ActionScrip to create an XML file that says:
<id="000000" tutorial="no" name="000000" coins="3000">
    Now, I want the flash file to see that the user hasn't completed the tutorial.. and if it says NO it should load: tutorial.swf
Then, once the tutorial.swf end, after the final button is clicked I want it to edit the XML file so that tutorial="no" is replaced with tutorial="yes" and it loads 'user.swf' And when the FlashFile is reloaded, it checks that the tutorial="" says yes, and it skips out tutorial.swf and it goes straight to user.swf..
If it's not clear I'll show it below:
Load tutorialcheck.swf
If tutorial="" says no load tutorial.swf
If tutorial="" says yes load user.swf
Load tutorial.swf
If tutorial is complete, on final button click edit XML and say tutorial="yes", then load user.swf
Thanks!

Hi
Although not directly related to your problem, you can find an example of loading, editing and saving xml here.
I have created a demo of Loading,Editing & Saving XML To/From Flash.
You can find the Demo here http://demo.thefeldkircher.org/flashxml/xmlles/xmlls.htm
You can find the How-To here http://blog.thefeldkircher.org/?p=262
Hope it helps.

Similar Messages

  • External editing and saving

    For some reason pictures that I have edited in photoshop are no longer being saved to aperture. Before when I finished editing and saved an image it automatically went to the place where it was filed in aperture before I edited it. I am sure I have changed no settings and suddenly it stopped saving properly. I don't know how to get it set up to save the way it used to. Can anybody help? I have a project due and I can't seem to get past this.
    Thank you.

    This is probably not going to be any help, but just in case...
    Are you at any point in your Photoshop editing work saving the file with a new or revised name -- intentionally or otherwise? And then not saving to a separate Finder file from which you can subsequently import that "new" (from Aperture's perspective) image into your Aperture Library, as either a Managed or Referenced file (depending on your workflow)?
    I ask only because I frequently find myself creating a whole new file from versions of images I've sent to my External Editor (i.e. Photoshop) from Aperture -- an example being when I create a Photomerge. But also sometimes I end up wanting to save two different versions of the file while still in Photoshop. For those situations, I've created a folder on my Desktop called PICS TO IMPORT, and it's to that folder that any of those new or "Saved As" PS files get sent. Then, back in Aperture, I import those new PS files, (in my case using the "Move Files" option so they are placed into the correct sub-folders in my MASTER IMAGES folder, which my Aperture Library then references).
    The only thing I have to remember (and which I occasionally forget when I'm in a hurry) is to navigate to that "PICS TO IMPORT" folder in Photoshop's Save dialog BEFORE saving the new/revised file for the first time, otherwise it will be saved by Photoshop to the default location, which is deep within that MASTER IMAGES folder (wherever the files reside which Aperture used to create the original Exports for the External Editor). That means when I return to Aperture, I can't see the new PS file, since I still haven't officially imported it yet.
    Whereas if I just send a jpg from Aperture to my External Editor, and simply keep saving that new .psd version "as is" in Photoshop (no changes or revisions to the file name), then every time I flip back to Aperture, all my Photoshop revisions (up to my last save in PS) are reflected in the .psd file now residing in a Stack right next to the original jpg which "gave birth" to it.
    Again, I've no idea if any of this is even germane to the problem you're having, but I hope maybe it might at least spark an idea.
    Good luck!
    John Bertram
    Toronto

  • Photoshop bug: Smart Objects overwriting other Smart Objects when edited and saved in Illustrator

    Experiencing issues when working with a large number (over 200) vector smart objects brought into Photoshop CS4 from Illustrator. 
    Things seemed to be going along nicely; if I needed to edit a Smart Object, I could double-click it, it would open in Illustrator and then I could edit and save it.  Return to Photoshop and the Smart Object is updated.  Swell and dandy.  The issue started happen when I hit a large quantity of either vector smart objects (remember, over 200) or the many layers and groups within Photoshop (must be over 500).  When I would double-click, open, edit, and save the vector Smart Object, the Photoshop Smart Object I was working on would update AND another/several other Smart Objects would update as well.  Which, of course, would ruin the artwork, as suddenly I was seeing several instances of the same object.  If it hadn't have been for ForeverSave, I many not have recovered the work.
    It's rather hard to isolate the issue to see what's causing the problem.  Here are some of the possible causes:
    Running Snow Leopard on Mac
    Many, many Smart Objects in file, perhaps enough to ruin the naming convention and cause bugs when Photoshop referenced the temp file
    Many, many Photoshop layers and groups
    Illustrator vector files copy+pasted from several different files (affects the naming convention perhaps?)
    Some groups/layers in Photoshop are duplicates
    To help make it a little clearer, you should know:
    Running the most updated software / OS (that is until CS5 comes out)
    Smart Objects showed no error until I had actually opened, edited, and saved the referenced temp file (i.e. VectorSmartObject1.ai)
    Files saved and worked on from Dropbox (network folder)
    Not looking for much of an answer to this question; I just wanted to see if anyone else had come across this bug.  Also, Adobe PLEASE look into this as you begin testing for the next update.  I have the file(s) if you need to replicate the issue.  My best guess is that the naming convention of Vector Smart Objects has an odd character limit so when Vector Smart Object 200.ai is saved, Vector Smart Object 2.ai gets overwritten.

    Have you tested this with Photoshop CS5 and Illustrator CS5? (the current versions, that came out last month)
    If you duplicated a smart object layer, both layers refer back to the same file content. So when you change the file, both layers would be updated.  That is intentional and explained in your manual.  If you didn't realize this, that could explain what you are seeing.
    If you placed separate files, then they should not be updated at the same time, because they will refer to separate files.
    Yes, Smart Objects only update when you save the file.
    You would need over 4 billion smart objects in one document to get Photoshop confused about which one refers to which file.  And since the layer limit is much less than 4 billion, I doubt that is the cause.
    There is no naming convention involved. We don't limit the filenames (except to platform standards and to include a file type extension).

  • After the last update I lost a lot of documents I had edited and saved in my tablet. Any option to recover them? Now I can only access the documents of the cloud.

    After the last update I lost a lot of documents I had edited and saved in my tablet. Any option to recover them? Now I can only access the documents of the cloud.

    Hi,
    Please take a look at one of the following documents to see if it answers your question about finding the files that are locally stored on your device.
    For iPads & iPhones
    How to manage files in Acrobat DC for iOS
    For Android devices
    How to open PDFs on Adobe Acrobat DC on Android
    Please let us know if you have additional questions.

  • Can VMD_EI_API handle Create, Edit, and Delete Vendor Master records?

    Hi Everyone,
    I have a development that requires to create, edit, and delete vendor master records through a webportal ui. Technically, it will be a background process in SAP because it must not have a dialog screen. In my search so far, there is no standard BAPI or Function module that can handle this one.
    Can the class VMD_EI_API handle the requirements?
    Regards,
    John

    Hi,
    Yes, You can use this class to create/modify/delete vendor master data. You can find in SCN documents with example how use it.
    Jarek

  • A large portion of edited and saved material seems to have been lost in transit  this is time sensitive material that i need to find

    I have been editing and saving a project to the adobe cloud  when I tried to send it via the link all material was lost  and has so far not been recovered

    You really need to provide more information if you expect any help.

  • What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    You can have a look at Quickoffice
    http://i1224.photobucket.com/albums/ee374/Diavonex/74fb0e85.jpg

  • IPAD and Powerpoint (PPT) create, edit, and email

    I am an independent consultantant and would like to give up my computer for travel.  I create, edit, and email Powerpoint presentations often.  How does this work on the ipad now?  Is this feasible/seamless now?  I love iphone but concerned about PPT use.

    As far as I know there is no powerpoint app but you could check out keynote. Then just use the adapter to mirror the device.
    http://www.apple.com/ca/ipad/from-the-app-store/keynote.html

  • XML file creation and saving

    Hi I am looking for a simple way of creating a xml file, populate it with data and saving it. Is there any simple way to achieve this ?

    What API/language are you using?
    If it's Cocoa look at NSXMLDocument
    http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSXM LDocument_Class/Reference/Reference.html
    Eric

  • Editing and saving under PS touch Android

    Hi,
    I have a number of pictures of my students which I take with my tablets front camera in the classroom. Usually these pics are lacking of colour and contrast and I want to make upmthese pics using PS touch.
    Pictures are located in /storage/sdcard0/androclass/images
    I can select a picture in my galaxy note 10.1 file manager and open it in PS touch. I can also adjust colour contrast and the like. What I cannot do, however, is to save the picture in the very same location from where I have opened it.
    Thanks for your help!

    Hi.
    I`m haveing the same request. Please make it possible to export a picture without having to hassle with projects an exporting. I understand, that its your philosophy, but I need a completely different workflow: I don`t sta r t with an empty project, but I go through my picture of the last holiday an want to edit some of them. So from my gallery app I choose "edit" and from there use photoshop touch, which is great btw. Then I just need to save it with the same name an path. Maybe you could inculde a button like "fast export without saving project" and use the first imported image as a suggestion for the naming and directory. Btw this coukd also be a nice feature for the actual exporting function...
    Please do it!
    Greetings from germany.
    Michael

  • **** Editing and Saving an Adobe Form on the Server ****

    We are trying to achieve the following:
    1. Generate 3D PDF from VRML (Done)
    2. Embed the 3D PDF into a PDF Template and save it on the Server as an editable .pdf file
    3. Then, the user must be able to open the Editable PDF inside a web browser such as IE.
    4. The user must then enter data in some fields (Text field, drop down etc) and save it.
    5. The save action must save the data in a database and importantly, the PDF itself as .pdf file on the same server location. The updated PDF file on the server location must be available for further editing and vieweing in the updated state.
    Questions:
    1. Do the ADOBE Livecycle APIs support such a feature?
    2. Is there a code sample for the same?
    3. IF we cannot save the PDF with the updated data back to the server, then is there a way by which we can dynamically associate a PDF template with the user given data, generate it and render it using Livecycle Java APIs at runtime?
    Thanks
    Ram

    Yes. This is possible through an API. See the API Quick Start code for Forms ES at
    http://help.adobe.com/en_US/livecycle/9.0/programLC/help/000162.html#1548277
    There are different methods of submitting data from the client (xml, http post, xml+xdp, and pdf). You can extract the data server side, insert the data to database, merge the data with a form and save the form on the server.
    Steve

  • Create, Edit and Display Longtexts

    Hi All,
    I have a question about creating, editing, displaying and deleting longtexts (like sapscript longtexts).
    I am creating a custom transaction (Module pool program) for BUDGET DISTRIBUTION REQUEST where in i need to give the user a provision to enter longtexts for PROJECT OBJECTIVE and JUSTIFICATION.
    What i know is we can save and read the texts using SAVE_TEXT AND READ_TEXT FM's but it needs object id/object name. As we are storing all the data for this transaction in custom tables i dont know how to have this OBJECT NAME/ID.
    How do you do this?
    Please help me out...
    Thanks in advance,
    Vijay

    HI,
        use below code
    REPORT ZTEST102.
    DATA IT_LINES LIKE  TLINE OCCURS 0 WITH HEADER LINE.
    IT_LINES-TDFORMAT = '*'.
    IT_LINES-TDLINE = 'text'.
    APPEND IT_LINES.
    CALL FUNCTION 'CREATE_TEXT'
         EXPORTING
              FID         = 'ST'
              FLANGUAGE   = SY-LANGU
              FNAME       = '09999'
              FOBJECT     = 'TEXT'
            SAVE_DIRECT = 'X'
            FFORMAT     = '*'
         TABLES
              FLINES      = IT_LINES
         EXCEPTIONS
              NO_INIT     = 1
              NO_SAVE     = 2
              OTHERS      = 3.
    FREE IT_LINES.
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
            CLIENT                  = SY-MANDT
              ID                      = 'ST'
              LANGUAGE                = SY-LANGU
              NAME                    = '09999'
              OBJECT                  = 'TEXT'
            ARCHIVE_HANDLE          = 0
       IMPORTING
            HEADER                  =
         TABLES
              LINES                   = IT_LINES
         EXCEPTIONS
              ID                      = 1
              LANGUAGE                = 2
              NAME                    = 3
              NOT_FOUND               = 4
              OBJECT                  = 5
              REFERENCE_CHECK         = 6
              WRONG_ACCESS_TO_ARCHIVE = 7
              OTHERS                  = 8.
    LOOP AT IT_LINES.
    WRITE:/ IT_LINES.
    ENDLOOP.
    <b>text will be stored in table stxh,stxl.</b>
    Regards
    amole

  • Java and XML :: Unlocking, editing and locking an XML file using JAVA

    I need to develop a form with Address field , When i enter address information and submit the form it needs to generate an
    XML file for furthur processing.
    Now my problem is :
    When i want to edit the address....after submitting the form by entering the address information, it should unlock
    the XML and edit the XML and then lock it.
    How can i achive programatically, unlocking an XML file, editing the file, and locking it?.
    Thanks,
    Maruthi.

    There's a FileLock class, you know, in the java.nio.channels package. However before you start using it you should read its API documentation carefully including statements like " Whether or not a lock actually prevents another program from accessing the content of the locked region is system-dependent and therefore unspecified".
    Personally I would say that if you need to synchronize access to this XML file, you should consider changing your design to use something that supports locking a bit better, like a database. Or by writing a server that encapsulates the XML file and accepts requests to read it and update it, serializing those requests appropriately.

  • Editing and saving an Idoc

    Hi Experts,
    I'm using EDI_DOCUMENT_OPEN_FOR_EDIT, EDI_CHANGE_DATA_SEGMENTS, EDI_CHANGE_CONTROL_RECORD and EDI_DOCUMENT_CLOSE_EDIT to edit and modify an Idoc.
    By saving the Idoc, the system modifies the original Idoc and generates another Idoc with all original data.
    I just want to edit the original Idoc and send it. I don't want to send 2 Idocs (original edited and original) for the same document...
    Regards,
    David

    Hi David,
    How did you resolve this issue of generation of 2 idocs. I am facing the same issue. Please help.

  • How to Create, Edit, and delet Alerts in sharepoint using COM or REST API

    I need to create,Delete and  Alerts using Client object model or REST API , I know It's available on server objetc model , but in client side how do it , 
    Anu ideas 

    Hi,
    According to your description, my understanding is that you want to create, delete and edit SharePoint alerts using Client Object Model or Rest API.
    In SharePoint Client Object Model, there is very little that you can achieve when it comes to alerts.
    For changing alerts, there is a ChangeAlert class:
    change alert class
    For Deleting alerts, you can call deletealert web service:
    DeleteAlerts
    For creating new alerts, it seems no such API support this, a workaround is call the new alert form "SubNew.aspx" using JavaScript to achieve it.
    More information:
    http://www.learningsharepoint.com/2013/09/17/client-object-model-doesnt-support-creating-sharepoint-2013-alerts/
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • FCC Sender file adapter : Message Spitting 1:2

    Hi expert i am execuing a file to file scenario, with message splitting 1:n 1 source MT   and 2 Target MT. My source MT structure becomes as Message                ....Message1          .......SourceMT  ................row           .................

  • Sharing on the same machine between different user accounts

    I've always used a single user account and all for of us (2 kids, my wife and I) shared the same user account. The other day I upgraded to Tiger and decided to create user accounts for everyone in the family. I wanted everyone to see all the songs an

  • Lock escalation on table with no key/index

    Hi, I've got the table with single column only (int) and no indexes nor pk/uq, just auto-created statistics. now, in transaction, there is a command: SELECT <COL> FROM <TABLE> WITH (ROWLOCK UPDLOCK) WHERE <COL>=100 Table has variable num of records b

  • Need help restoring an original iPhone

    I'm working with an original iphone, and am trying to get it to restore to a backup via iTunes (10.1). iPhone software version is 3.1.3 If I look at the Backup folder (<MobileSync < Application Support < user Library), I see that not all of the backu

  • I am trying to download Adobe Flash player and it is asking me to close Mozilla Firefox, how do I do this?

    I am trying to download Adobe Flash Player and it is asking me to close Mozilla Firefox before it will download. How do I do this?