Question about flash,xml

I have a flash form, when people click submit, I want it be
saved as an xml file. can anyone please tell me how to do this? I
think I have to do this by php, isnt it?

1/ If I have a persons details stored in a mysql database... to get it
into xml so that flash can read it... do i use php to get the details
and then simply print it out the sql result into xml format. Is this
how you would get xml out of a database? or is there a better way?
Yes, typically. At least I don't know of another way. There are some php classes that can simplify the database access and manipulation. But if you access records you typically loop through them and output the data inside tags.
2/ Why would i ever use xml?... is it simply becuase the data is then
available in a structure that other aplications/sites can understiand?
You have a choice. XML in a way is quite easy to change in terms of the output on the server and (with e4x in actionscript) how it's read in flash. But it's also a 'generic' format that can be accessed and interpreted by many different clients in different languages.
Another way is to use amfphp or other amf support on the server to support sending your data in flash's native binary encoded format. Or you could send it as name value pairs (URLVariables in as3) if its a simple single level array.

Similar Messages

  • Hi I have a small question about Flash Builder

    Hi,
    I am Chenchu Gottipati, one of the graduate students from Department of Mathematics, Florida Atlantic Univerisity, Boca Raton. I have a small question about Flash Builder student version. I am doing my research in Graph Theory and I am trying to implement some animation of graph using Flash. I was trying to download the software but the link was broken. Could you please help me about how to get around this issie.
    Here is the link provided.
    http://freeriatools.adobe.com/flex
    Regards,
    Chenchu Gottipati

    Thank you for your kind reply. But where can I get this serial number ? I was trying to register through the above link but it was broken. So I don't know how to communicate with Adobe customer service to get the free student version.
    Regards,
    Chenchu Gottipati

  • Miscellanous questions about BDB XML

    Hi !
    I'm in search for a storage solution for a Matlab app that manipulates big volumes of datas (several Gb), and so can't load them fully in memory without crashing. I also can't load / unload them each time I need a bit of these data, since it is rather long to load a file in memory (about 0.12s). So I was thinking about using a DMB like BDB XML, and I have a few questions about it :
    <ul><li>What about performances to create a 3-5Gb database in a single batch ?</li>
    <li>What about performances to excecute a XQuery request on a db this large ? Longer or shorter than loadin directly the file in memory ? With an index or without ?
    </li>
    <li> No matlab integration is provided, so I have to way : use Matlab C integration to make an interface to use BDB XML, or using the shell via an exec like command to interact with BDB ? Is the shell trick performant ? Or does it spend a lot of time parsing the input ?</li>
    </ul>
    Thanks for those who will take a bit of their precious time to answer my questions !

    Hello,
    I'm in search for a storage solution for a Matlab app that manipulates big volumes of datas (several Gb), and so can't load them fully in memory without crashing. I also can't load / unload them each time I need a bit of these data, since it is rather long to load a file in memory (about 0.12s). So I was thinking about using a DMB like BDB XML, and I have a few questions about it :
    <ul><li>What about performances to create a 3-5Gb database in a single batch ?</li>It will take a while. If you bulk load you should avoid using transactions and sync/exit the environment when you are done. Note that you should determine what indexes you might want/need before doing the load and create them. Reindexing 5GB of data will take another really large chunk of time. I recommend experimentation with indexes, queries and a small representative subset of the data.
    Be sure to create a node storage container with nodes indexed.
    Is this one document or many? Many is better. One 5Gb document is less than ideal but will work.
    <li>What about performances to excecute a XQuery request on a db this large ? Longer or shorter than loadin directly the file in memory ? With an index or without ?You really need indexes. The query will likely succeed without indexes but depending on the query and the data could take a very long time. See above on experimentation first.
    </li>
    <li> No matlab integration is provided, so I have to way : use Matlab C integration to make an interface to use BDB XML, or using the shell via an exec like command to interact with BDB ? Is the shell trick performant ? Or does it spend a lot of time parsing the input ?</li>There is no C interface, just C++. I would not recommend using the dbxml shell for this although you could if you really need to.
    Let the group know how this turns out.
    Regards,
    George

  • Question about Flash ACP

    Hi, I would like to have some informations about Flash ACP exam. First of all, where could I find some exam examples?

    Hi,
    You can find ACE questions sample here.
    Is it what you are looking for ?

  • Questions about flashing the bios

    Hi everyone. I have a few questions about the process involved in a bios update.
    First, I should tell you I have a Lenovo G470 that sometimes has problems booting.
    The problem is I turn on the laptop and after 2-3 seconds it shuts down. I see the logo, and nothing else. After that I can spend hours trying to turn it on again, and keeps failing. After some time, I turn it on and use it without problems.
    Before these problems, I had experienced similar troubles, but I could fix it (in my way) and I explained it in this post: http://forums.lenovo.com/t5/Lenovo-3000-and-Essential/Lenovo-g470-shutdown-problems-in-intervals-of-...
    Ok, In that post a reply says that a possible solution could be a Bios update. So, I've been thinking to flash the bios to solve my actual problem, but I would like to ask you some questions:
    1. Updating the bios could be a solution for this case?
    2. How long does it take to update a lenovo G470 bios? (I ask this because I read that if a problem occurs in the middle the damage can be serious, and in the past I had these random shutdowns, so I'm a bit afraid)
    3. How am I sure if my bios is or not updated? (there's a way to check this from windows?)
    4. Finally, if you could give me a link to download the correct bios update I'll thank you.
    I think that's all. I apologize for my basic english and hope you could give me some clues on this, because, as you see, I'm a total newbie.
    Thanks!

    hi alemaneitor,
    Regarding your questions:
    1. Yes, flashing the BIOS may help solve your problem as it will re-write the configurations on the CMOS. Take note though of the changelogs or README (repair changes) as the latest BIOS updates fixes critical issues on the hardware.
    I've also seen some units that act the same as yours and doing a gpu reflow most of the time fixes the issue - see this thread in reference.
    2. In flashing the BIOS outside of Windows, it takes less than a minute. If you need to run the BIOS flash utility inside Windows, it may take 1-2mins.
    3. If there's a new BIOS that fixes critical issues, it's most of the time uploaded on the lenovo website (in some cases, BIOS updates are not available to the public and can only be used by service technicians)
    4. The latest BIOS update for the Lenovo G470 is the one below that fixes an issue on units that can not enter BIOS after restart under compatible HDD mode (see README.TXT)
    BIOS Update for 32bit Windows
    40cn33ww_32.exe
    3.28MB
    BIOS Update for 64bit Windows
    40cn33ww_64.exe
    3.67MB
    Regards,
    neokenchi
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • A question about Flash 5 (Help appreciated)

    Many years ago I bought Macromedia Flash 5, and never got around to doing anything with it.... Lately I've gained a lot of interest in learning how to animate and develop small applications like games and I figured flash would be a good place to start...
    Now I don't currently have to the money to purchase a 600 dollar copy of Adobe CS6, and I'd feel like I wasted a lot of money if I never got to use the version I purchased even if it was like 10 years ago. So I had a few questions to ask before I invest any time into Flash 5
    1. If I learn actionscript in Flash 5, and one day I get adobe flash, will I know what I'm doing? Or will I basically be learning a brand new system of coding
    2. Is it possible to make a moderately complex interactive game with Flash 5? (One with many seperate values for score, health, etc. etc.)
    3. All in all, is it even worth me using such an old version of Flash?

    The language used in Flash 5 is Action Script 2, but the newest is Action Script 3 being the most optimal language. There are still people using Action Script 2, but will eventually have to migrate through 3.
    You want to make games, you can do and if after you get a newer version, you can continue working (in the old version of AS2 code).
    Working with an older version is not as bad, but the true power of Flash Action Script 3 explodes.
    Have you thought about using the cloud and pay only for Flash months, I think it costs 60 dollars per month

  • Basic question about Flash video. Please Help

    Hello,
    Sorry for the noob question but I'm struggling with the basic
    understanding about the Flash video.
    I just need to reduce a large video file to a small size with
    a nice quality and the Flash Video Encoder does very god job with
    that. But when I double click the compressed .flv file it opens as
    a blank screen in the stand alone player without playing any video.
    I can use Dreamweaver to produce a web page playing the file, but I
    don't need this file for posting it on a web page, I just want the
    file smaller and to simply play it on my computer or send it to
    others.
    What is the way to do this?
    I appreciate your help.

    It sounds like you're not having problems with the actual
    compression of the videos, just the playback, correct? All you need
    is a standalone player that plays FLVs. Like Quicktime Player plays
    MOVs, and Windows Media Player plays WMVs, you need something to
    play the FLV files. There are many free options available. On a
    mac, I use something called, strangely enough, SWF & FLV
    Player. You can find it here:
    http://mac.eltima.com/freeflashplayer.html
    Just do a search for FLV players and you should find
    something appropriate. The only downside is you'll need to make
    sure anyone you're distributing the videos to also has an FLV
    player. If you're sending your files to just a few people, no big
    deal. If this is for the public in general, you would want to embed
    a Flash video player in an HTML page and send it like that.
    Hope that helps.

  • I have a question about flash website design and google indexing!

    first off i want to say I hate HTML (call it HTM HELL) I love Flash.Im a big propononent of flash.OK about a month ago I built a 100% flash site,told google to crawl it,then come to find out they cant see any text inside images.So I did what i didnt want to do,I took all my hard work down and had to work even harder and created a fully 100% HTM hell site.and just under 4 weeks later google still has my flash site in its cache.the question im trying to get at is if google cant read 100% flash sites whats the point in creating flash sites(mine's a business site.)I want to get into creating flash sites for other people too but if google cant read them how would a person be able to do a search for say what i do:pc repair in google & then my flash site would come up in googles search results.This is potentially costing me lots of money.I dont like "coding" HTML i want to design in flash.HEEEeeelllppp!

    Google can crawl Flash, though I'm not sure how well, but either way nothing can read text that is not text - ie an image. The workaround - and still relevant for all other search engines, is to put all your content inside the div tag that your Flash is written into. The alternate content that one would see if they didn't have Flash, or didn't have JavaScript enabled.
    There is a good tutorial on SEO with Flash on the SWFObject site: http://blog.deconcept.com/2006/03/13/modern-approach-flash-seo/
    You can also just Google 'Flash SEO' and get a good deal of info.

  • Question about Flash iPhone packager

    So since Apple now allows it, Adobe picked up development for it again I heard. My question is, additionally to the possibility of creating iPhone apps from scratch I heard there is a packager that allows you to wrap up Actionscript 3 projects as an iPhone app. I didn't get too many infos about it on google since its mostly the same kind of news turning up.
    Can you use a previously made Actionscript 3 game or do you have to start a new one and make it with the iPhone in mind? If you can use a previously made project how do you customize it for the touch controls? Does the packager change it into a file useable in Flash again to add these features? I'm totally clueless about the possibilities and it would be great if someone could tell me.
    Is it really that I can make an already made as3 game iPhone compatible as long as I have an Apple developer subscription? Or is it limited to simple apps?
    Would love for someone to elaborate this. Thanks

    http://help.adobe.com/en_US/as3/mobile/flashplatform_optimizing_content.pdf
    http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf
    http://forums.adobe.com/community/labs/packagerforiphone?view=discussions&start=0
    http://floatlearning.com/2010/10/key-differences-in-air-for-android-and-ios/

  • Question about validating xml against schema

    Hi,
    I am new to JAXP. I try to validating a xml against a schema. I wrote following code:
    SAXParserFactory spf = SAXParserFactory.newInstance();
    spf.setNamespace(true);
    spf.setValidating(true);
    SAXParser sp = spf.newSAXParser();
    sp.setProperty("http://java.sun.com/xml/properties/jaxp/schemaLanguage",
    "http://www.w3.org/2001/XMLSchema");
    sp.setProperty("http://java.sun.com/xml/properties/jaxp/schemaSource",
    "mySchema.xsd") ;
    sp.parse(<XML Document>, <ContentHandler);
    but when compile, it has error: can't resolve ""http://java.sun.com/xml/properties/jaxp/schemaLanguage", and
    "http://java.sun.com/xml/properties/jaxp/schemaSource".
    It seems it didn't support above two property.
    I saw some code in forum is:
    fact.setFeature("http://xml.org/sax/features/validation", true);
    fact.setFeature("http://apache.org/xml/features/validation/schema",true);
    fact.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
    SAXParser sp = fact.newSAXParser();
    sp.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",schemas);
    Why sun tutorial use property:http://java.sun.com/xml/properties/jaxp/schemaLanguage
    and someone use:http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
    where to get information about setting properties for SAXParserFactory?
    Thanks

    In the past, ColdFusion's XML validation mechanism seems to have had issues with schemas that contain imports, e.g., http://forums.adobe.com/message/155906. Have these issues still not been resolved?
    Do you not think that perhaps you're answering your own question here?
    I don't see an issue about this on the bug tracker.  It might be an idea if you can get a simple, stand-alone repro case together and raise an issue (and post the reference back here and against that other thread so people know to vote for it).  If you post the repro case here too, it would be helpful.
    Adam

  • Few questions about Flash Catalyst

    In my organisation, we are looking at tools such as Flash Catalyst.
    After experiencing a bit with the tool, I have the following questions:
    - When you switch from the Design to Code view, the mxml is not editable. Is this done on purpose? To make it editable, you have to use the Open With in the Explorator View.
    - The WireFrame Component view seems limited regarding the number of components available. Don't you think that basic componants such as Grids, Panels should be included.
    - Do you plan to have a feature such as "Export as a Word document" to export the contents of the screens prototyping.
    Finally, do you have a roadmap available for the tool with list of features and dates of release.
    Regards,
    Jean-Michel

    Hi Jean-Michel,
    Re Code view...
    Since Flash Catalyst is a designer-oriented tool, it does not currently support editing code.  You can import a Flash Catalyst FXP file into Flash Builder when you're ready to begin adding richer business logic and server connectivity to your app.
    Re the Components panel...
    Check out View > Grid & Guide Settings for a way to align layouts on various grids today.
    While there's no generic "Panel" control, you can easily create artwork that represents a border around any bunch of content.  To create a reusable border, akin to a custom-skinned reusable panel control, make the border into a custom component and then place copies of it beneath your different groups of artwork.
    Re export to Word...
    We don't have immediate plans for this functionality, but we're definitely aware there's a lot of interest around being able to output mockups and wireframes in printed form.  Currently, you can print out individual screens of your Catalyst mockup by running it, right-clicking, and choosing Print.
    Re roadmap...
    Catalyst 1.0 will be released within the first half of next year.  We don't have a full feature list that we can share yet, but look for at least one more beta this year that will preview some of the additional features.
    - Peter

  • Question about flash memory and the memory of ipad

    hello,
    I like to know if the ipads flash memory or harddisk is upgradable ? the same question I ask for the memory of ipad if you can set more memory afterwards ?
    is the harddisk or flash memory of ipad is inside the case or it is on the  side of it?
    thanks
    johan

    And just FYI, there is no hard drive in an iPad. The storage is all solid-state.
    Regards.

  • Question about binary XML

    It seems the binary XML storage can be schema based or non-schema based. What are the advantages of schema based over non-schema based? My XML doc could be very big, and I need to add/modify some elements without loading the whole XML doc in memory for performance reason, should my XML doc be schema based or not?
    create table xmlOrders(
    id number primary key,
    doc xmltype,
    xmltype column doc store as binary xml
    Thanks,
    Denny

    I read to many open questions between the lines.
    Have a read here: http://www.liberidu.com/blog/?cat=23 (skip the non binary stuff) and maybe the following will also give you some insight regarding what you are looking for:
    Encoding and validation: http://www.liberidu.com/blog/?p=332
    Some of the possibilities: http://www.liberidu.com/blog/?p=264
    Choosing a applicable storage model: http://www.liberidu.com/blog/?p=203
    There are a lot of URL's in there, pointing to the appropriate sections in the XMLDB Developers Guide (=your ultimate resource for answers)
    Definitely read Marks presentation: http://www.oracle.com/technology/tech/xml/xmldb/Current/11g%20new%20features.ppt.pdf (for binary xml see: slide 23, 24, 25)
    and...what is "big" ?
    Message was edited by:
    Marco Gralike

  • Question about blocklist.xml

    OK so I was browsing thru my AppData\Roaming\Mozilla\Firefox\Profiles\********.default
    and I acdently clicked blocklist.xml and it opened in IE would have this infected my pc i noticed it had alot of blocked urls? or emails or somthing in there.
    plz answer ASAP!

    As regards the contents of the blocklist.xml, you are safe and sound, more than you would be without it. The role of the file is to avoid trouble with questionable add-ons - Mozilla collects their source URLs on a running basis and keeps them in blocklist.xml.
    For more on the subject see:
    [[Add-ons that cause stability or security issues are put on a blocklist]]

  • Question about SAPLogonTree.xml

    Hello,
    Few questions regarding the SAP Logon Pad version identification at file level (need to findout the patch level from within any SAP GUI related file).
    1) Within the SAPLogonTree.xml file, the string 7100.1.6.1050 represents
    7100 - SAPGUI 7.20
    1 - Compilation level
    6 - Patch level 6
    1050 - Build number
    Question:
    1) Does the SAPLogonTree.xml file gets updated itself whenever we update the SAP Logon Pad patch level?
    2) Is there any DOS command to findout the SAP LogonPad patch level in Windows PC?
    3) Any registry key available within Windows PC which could help in identifying the GUI patch level?
    Looking forward to expert advice.
    Thanks.

    1) Does the SAPLogonTree.xml file gets updated itself whenever we update the SAP Logon Pad patch level?
    I cannot answer this because we use a central login server which provides the necessary login infomation. Therefore I dont update the file everytime a patch goes live an the saplogontree.xml shows the "old" version which is incorrect. I guess if you use local configuration the file is updated everytime you patch your GUI but cant guarantee.
    2) Is there any DOS command to findout the SAP LogonPad patch level in Windows PC?
    No.
    3) Any registry key available within Windows PC which could help in identifying the GUI patch level?
    No.
    You can instead write a program which reads the GUI version and the patch level every time a user logs into the system. As given in this thread, it works perfectly for us: Get GUI version *and* PL of currently logged in users
    Hope this helped.
    Kind regards,
    Jann

Maybe you are looking for