XML from Flash ASP

I'm running a test to see if I can pass XML from flash to an
ASP file. The following code is used in Flash. But how would I
access the xml variable in an ASP file?

In ASP setting the response type to "text/xml" you can do a
response.write command to send back XML to Flash if you were
performing an XMLSendAndLoad command ie. send XML from Flash,
processed by ASP and receive an XML response from the ASP - good
for Flash to know if something worked or an error resulted in
processing the info.

Similar Messages

  • Saving XML from Flash XML.sendAndLoad

    I'm new to XML and haven't a clue how to integrate Flash xml
    and Coldfusion 7. There is a Flash app ( I didn't develop it) that
    is sending xml.sendAndLoad formatted data like this to a cf page
    setSummaryQuiz.cfm
    <?xml version="1.0" encoding="UTF-8"?>
    <result lessonID="19" userID="56">
    <word id="281" value="1" />
    <word id="282" value="1" />
    <word id="283" value="5" />
    <word id="284" value="5" />
    <word id="285" value="3" />
    <word id="286" value="7" />
    <word id="287" value="3" />
    <word id="288" value="8" />
    <word id="289" value="7" />
    <word id="290" value="4" />
    <word id="291" value="8" />
    <word id="292" value="2" />
    <word id="293" value="5" />
    <word id="294" value="4" />
    <word id="295" value="1" />
    <word id="296" value="4" />
    <word id="297" value="8" />
    <word id="298" value="1" />
    <word id="299" value="7" />
    <word id="300" value="1" />
    </result>
    My page is supposed to return saved = true or false like
    this:
    <? xml version = " 1.0" encoding = "UTF-8"?>
    <result saved = "true"/>
    Can someone help me or point me to a tutorial or code snippet
    where I can see how CF reads and parses the XML data from
    Flash?

    In ASP setting the response type to "text/xml" you can do a
    response.write command to send back XML to Flash if you were
    performing an XMLSendAndLoad command ie. send XML from Flash,
    processed by ASP and receive an XML response from the ASP - good
    for Flash to know if something worked or an error resulted in
    processing the info.

  • Outputing xml from flash

    Hi there,
    I want to output info from my flash application and store it
    in a database.
    At present I am able to retrieve info from my database via
    php and xml and use it in Flash.
    Should I use the same path in reverse or is there an easier
    way?
    Thanks,
    Marty

    The only thing I could suggest would be to have a look at
    AMFPHP -
    www.amfphp.org
    Really nice, and easy, once you get comfortable with it.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Exporting XML from Flash

    I have heard that there are ways that Flash can create an
    external XML file. Most of my searches have revealed that this can
    be done using PHP for server side solutions. However, I am
    wondering if there are other ways that this can be done on a local
    maching, using the XML resolver for example. There doesn't seem to
    be much information about this out there.
    Cheers,
    Paul

    A native Flash projector or swf movie cannot write an file
    directly to the
    local drive.
    A projector could with the help of a wrapper program such as
    your own custom
    C++ program or a third party wrapper program such as Zinc to
    name one of
    many out there.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "pablo4747" <[email protected]> wrote in
    message
    news:e7p6mt$sg9$[email protected]..
    >I have heard that there are ways that Flash can create an
    external XML
    >file.
    > Most of my searches have revealed that this can be done
    using PHP for
    > server
    > side solutions. However, I am wondering if there are
    other ways that this
    > can
    > be done on a local maching, using the XML resolver for
    example. There
    > doesn't
    > seem to be much information about this out there.
    >
    > Cheers,
    >
    > Paul
    >
    >

  • Output xml from flash?

    Hi,
    I have a web application which recieves new info and has to
    output it to a database via xml.
    All I need to know is how to generate the xml itself.
    The swf has dynamic/input text boxes and the variables in
    these collect the info.
    Can you help?
    Also, if the answer is "to a string" then where can this
    string be found for processing?
    Thanks so much,
    Marty

    Hi Captainmkv,
    Does the information in this post cover what you're trying to do: http://forums.adobe.com/message/5081928#5081928
    Tristan,

  • XML editing from flash, any idea, suggestion

    Hello,
    I have created for a client a website dynamically loaded with
    XML formatted content (XML Files), now the client wants to be able
    to edit the contents of its site (CMS), the site displays several
    things but more specifically a list of products, which you can see
    by browsing the "PRODUCT RANGE" section of
    http://www.cellap.com/.
    I planned to use a php to rewrite the XML with the edited
    data sent from the flash (oldData, newData), it works fine, except
    that there are several problems:
    -I use the "ereg_replace" command of PHP, which seems not to
    handle correctly special charachters such as "*"...
    -If the php is told to replace i.e. "FACE" with "FIGURE", it
    will replace it everywhere on the XML, which is not what I want; so
    maybe I'm not using the right technique; I know it'd be more easy
    to do if the content was on a MySQL database, but the client wanted
    XML, to be able to browse the site offline...
    Any help or suggestions would be greatly appreciated!
    Tks

    loading yes. editing no.
    you need some sort of server script to do the editing(php,
    asp, cmf)
    Dan Mode
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "ELTIGRE" <[email protected]> wrote in
    message
    news:e94vsk$fjb$[email protected]..
    > is it posible Loading and Editing xml data from flash
    without any
    > programing language using actionscript only?

  • Writing Xml file from Flash

    hi all
    Is there a way to write and modify xml file from flash
    without using asp or php.
    if so how can be it done.
    thanks bye.

    no good champ.
    you need a serverside script.
    Dan Mode
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "Darr_darshan" <[email protected]> wrote in
    message
    news:e6mgpu$bun$[email protected]..
    > hi all
    >
    > Is there a way to write and modify xml file from flash
    without using asp
    > or php.
    > if so how can be it done.
    >
    > thanks bye.
    >
    >

  • Grab var from email flash/asp

    hey,
    got an small flash application that will send all my vars
    from flash(8) to
    an ASP script for both inserting into a database and also,
    emailing a http
    result to a remote client machine.
    The http email also has a different embeded flash app that
    should be looking
    for the
    value of a hidden field within the html email.
    I am using loadvariables in a frame loop until the asp vars
    have been loaded
    (last var from the asp= true) which is all fine and dandy.!
    What i cant get is the value of the hidden field from the
    html email brought
    into the ASP script which is being called from the embeded
    flash app which
    supposedly looks for the appropriate ID value from the
    database to populate
    other values within the flash app'
    I hope i have explained this clearly and concisely as
    possible so as someone
    may know of a solution that i can use or a work around...
    Thanks!
    R

    your my hero dude!
    why the hell didn't i think of that........ duh!
    CHEERS!!
    "blemmo" <[email protected]> wrote in
    message
    news:ec2ng2$7cg$[email protected]..
    > Hi,
    >
    > so you can't get the hidden value from Flash? Can't help
    you with that,
    > but
    > what about passing the value directly to Flash? You can
    add variables
    > after the
    > filename in the embed and object tags, very much like in
    a http GET
    > string:
    >
    > <embed src="movie.swf?hiddenval=secret">
    >
    > Inside Flash, 'hiddenval' is available just like any
    other variable,
    > located
    > in _level0. See here for more:
    >
    http://livedocs.macromedia.com/flash/8/main/00001205.html.
    >
    > This way you don't need to hide the value in the html.
    >
    > hth,
    > blemmo
    >

  • Help... link URL from XML to Flash Action Script 2

    I am trying to link a different URL to each of my files in XML and use this XML in Flash were I created a carousel. In the carousel, when you click on a picture I would like to insert a specific URL. Each picture will have a different URL (http://------------).
    Here are my codes:
    XML:
    <icons>
    <icon image="icon1.png" tooltip="Planning" />
    <icon image="icon2.png" tooltip="Investments" />
    <icon image="icon3.png" tooltip="Education" />
    <icon image="icon4.png" tooltip="Insurances" />
    <icon image="icon5.png" tooltip="Mortgages" />
    <icon image="icon6.png" tooltip="Retirement" />
    <icon image="icon7.png" tooltip="Business Owner" />
    <icon image="icon8.png" tooltip="Banking" />
    </icons>
    Flash Action Script 2:
    import mx.utils.Delegate;
    var numOfItems:Number;
    var radiusX:Number = 250;
    var radiusY:Number = 75;
    var centerX:Number = Stage.width/2;
    var centerY:Number = Stage.height/2;
    var speed:Number = 0.01;
    var perspective:Number = 60;
    var home:MovieClip = this;
    var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
    tooltip._alpha = 0;
    var xml:XML = new XML();
    xml.ignoreWhite = true;
    xml.onLoad = function()
    var nodes = this.firstChild.childNodes;
    numOfItems = nodes.length;
    for(var i=0;i<numOfItems;i++)
      var t = home.attachMovie("item","item"+i,i+1);
      t.angle = i * ((Math.PI*2)/numOfItems);
      t.onEnterFrame = mover;
      t.toolText = nodes[i].attributes.tooltip;
      t.icon.inner.loadMovie(nodes[i].attributes.image);
      t.ref.inner.loadMovie(nodes[i].attributes.image);
      t.icon.onRollOver = over;
      t.icon.onRollOut = out;
      t.icon.onRelease = released;
    function over()
    home.tooltip.tipText.text = this._parent.toolText;
    home.tooltip._x = this._parent._x;
    home.tooltip._y = this._parent._y - this._parent._height/2;
    home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
    home.tooltip._alpha = 100;
    function out()
    delete home.tooltip.onEnterFrame;
    home.tooltip._alpha = 0;
    function released()
    function moveTip()
    home.tooltip._x = this._parent._x;
    home.tooltip._y = this._parent._y - this._parent._height/2;
    xml.load("icons.xml");
    function mover ()
    this._x = Math.cos(this.angle) * radiusX + centerX;
    this._y = Math.sin(this.angle) * radiusY + centerY;
    var s = (this._y - perspective) / (centerY+radiusY-perspective);
    this._xscale = this._yscale = s * 100
    this.angle += this._parent.speed;
    this.swapDepths(Math.round(this._xscale) + 100);
    this.onMouseMove = function()
    speed = (this._xmouse-centerX)/10000;
    Thanks so much for the help.

    You should be able to add that data into your xml tags and then extract it in the AS2 onLoad function...
    XML:
    <icons>
    <icon image="icon1.png" tooltip="Planning" linkURL="http://www.someURL.com/somePage.html" />
    AS2:
    xml.onLoad = function()
    etc....
    t.onEnterFrame = mover;
    t.toolText = nodes[i].attributes.tooltip;
    t.urlLink = nodes[i].attributes.linkURL;
    etc...

  • Flash + ASP + Excel question

    Hello everyone:
    Here is my problem:
    I need to display an .asp file from flash that converts some
    data from an MSSQL Server Database (on the web) to an Excel table.
    The .asp file uses the MIME Code:
    Response.ContentType = "application/vnd.ms-excel"
    This .asp works fine, but when I try to access the file from
    a Flash Application using
    loadVariables("myasp.asp", this);, it does not do anything.
    Is there any other way to access this file from flash?, and
    if there is, what am I doing wrong?
    Thank you in advance
    Gabriel

    The Flash
    loadVariables
    global function requires the MIME format
    application/x-www-form-urlencoded (a standard format used by CGI
    scripts).
    This is also true of the more current
    LoadVars
    and
    [L=XMLSocket]http://livedocs.macromedia.com/flash/8/main/00002906.html">XML.
    So you may need to create a web server side application that
    exports the XCell data to the above formats.

  • Flash + ASP easy question

    Hello!
    This is my 1st time doing Flash + ASP integration.
    Each time i see a tutorial using this 2, all i see is: Flash
    has dynamic fields with var named the same as the one in ASP. Then
    it sends data to ASP and he returns the var value and it is written
    in that var dynamic field.
    My question is:
    Can i start my vars as Strings (not using those dynamic
    fields), send the data to ASP, ASP returns as i will stay with the
    value inside my 1st var?
    Example:
    var myVar:String = new String();
    loadVariables ("myAsp.asp", "this", POST);
    // if i have a myVar being send from asp i will get here the
    result:
    // myVar = something coming from ASP?
    If someone did not get what i want please tell i will try to
    explain again :p
    Thanks!

    The Flash
    loadVariables
    global function requires the MIME format
    application/x-www-form-urlencoded (a standard format used by CGI
    scripts).
    This is also true of the more current
    LoadVars
    and
    [L=XMLSocket]http://livedocs.macromedia.com/flash/8/main/00002906.html">XML.
    So you may need to create a web server side application that
    exports the XCell data to the above formats.

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

  • Mac Projector Crashes When exported From Flash CS5.5

    Something strange that i noticed, when i had exported a presentation for a Mac,
    on a 64 bit windows 7 using flash cs5.5.
    the applicaton gets the paths of a few swfs from an XML file
    and loads them one after the other.. there is a small bit of interactivity.
    .. tested this projecter on various versions of MAC, it crashes often,crashes earlier if i switch applications.  what follows here is a part of a report that was generated on an  OS X 10.7.3,
    works fine if the projector is exported from flash cs5.
    i need it to work when exported from flash cs5.5.. any suggestions on what i need to change in my application so that it works when exported from flash cs5.5?
    Your help would be appreciated Thanks in Advance
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000500d98eb
    VM Regions Near 0x500d98eb:
    Memory tag=240         000000000ebd0000-000000000ec90000 [  768K] ---/rwx SM=NUL 
    -->
    __TEXT 0000000070000000-0000000070142000 [ 1288K] r-x/rwx SM=COW  /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    Application Specific Information:
    objc_msgSend() selector name: orderOut:
    objc[9434]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                 0x92115d47 objc_msgSend + 23
    1   com.macromedia.Flash Player.app 0x00467d96 main + 240950
    2   com.macromedia.Flash Player.app 0x0047efda main + 335738
    3   com.macromedia.Flash Player.app 0x002feae2 0x1000 + 3136226
    4   com.macromedia.Flash Player.app 0x0033a77b 0x1000 + 3381115
    5   com.macromedia.Flash Player.app 0x00462718 main + 218808
    6   com.macromedia.Flash Player.app 0x004628b2 main + 219218
    7   com.apple.CoreFoundation        0x98e0b3df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    8   com.apple.CoreFoundation        0x98e0ad96 __CFRunLoopDoSources0 + 246
    9   com.apple.CoreFoundation        0x98e34c68 __CFRunLoopRun + 1112
    10  com.apple.CoreFoundation        0x98e3447c CFRunLoopRunSpecific + 332
    11  com.apple.CoreFoundation        0x98e34328 CFRunLoopRunInMode + 120
    12  com.apple.HIToolbox             0x9289117f RunCurrentEventLoopInMode + 318
    13  com.apple.HIToolbox             0x928984e7 ReceiveNextEventCommon + 381
    14  com.apple.HIToolbox             0x92898356 BlockUntilNextEventMatchingListInMode + 88
    15  com.apple.AppKit                0x98fe8a9c _DPSNextEvent + 678
    16  com.apple.AppKit                0x98fe8306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    17  com.apple.AppKit                0x98fe4675 -[NSApplication run] + 911
    18  com.apple.AppKit                0x99278261 NSApplicationMain + 1054
    19  com.macromedia.Flash Player.app 0x000032a2 0x1000 + 8866
    20  com.macromedia.Flash Player.app 0x000031c9 0x1000 + 8649
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib          0x97d3f90a kevent + 10
    1   libdispatch.dylib               0x99a75c58 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib               0x99a746a7 _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9232482a pthread_cond_wait + 48
    3   com.macromedia.Flash Player.app 0x003ff62f 0x1000 + 4187695
    4   com.macromedia.Flash Player.app 0x0001a06c 0x1000 + 102508
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 3:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9232482a pthread_cond_wait + 48
    3   com.macromedia.Flash Player.app 0x003ff62f 0x1000 + 4187695
    4   com.macromedia.Flash Player.app 0x0001a06c 0x1000 + 102508
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9237cf7b pthread_cond_timedwait_relative_np + 47
    3   com.macromedia.Flash Player.app 0x003ff5f8 0x1000 + 4187640
    4   com.macromedia.Flash Player.app 0x001c58fe 0x1000 + 1853694
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9237cf7b pthread_cond_timedwait_relative_np + 47
    3   com.macromedia.Flash Player.app 0x003ff5f8 0x1000 + 4187640
    4   com.macromedia.Flash Player.app 0x00305328 0x1000 + 3162920
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 6:: com.apple.audio.IOThread.client
    0   libsystem_kernel.dylib          0x97d3cc22 mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x97d3c1f6 mach_msg + 70
    2   com.apple.audio.CoreAudio       0x9cd8e9fe HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned long, unsigned long, mach_msg_header_t*, unsigned int) + 122
    3   com.apple.audio.CoreAudio       0x9cd8ea6a HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, unsigned int) + 60
    4   com.apple.audio.CoreAudio       0x9cd86e5f HALC_ProxyIOContext::IOWorkLoop() + 1145
    5   com.apple.audio.CoreAudio       0x9cd86926 HALC_ProxyIOContext::IOThreadEntry(void*) + 136
    6   com.apple.audio.CoreAudio       0x9cd86898 __HALC_ProxyIOContext_block_invoke_6 + 20
    7   com.apple.audio.CoreAudio       0x9cd8681d HALB_IOThread::Entry(void*) + 69
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 7:
    0   libsystem_kernel.dylib          0x97d3f02e __workq_kernreturn + 10
    1   libsystem_c.dylib               0x9237accf _pthread_wqthread + 773
    2   libsystem_c.dylib               0x9237c6fe start_wqthread + 30
    Thread 8:
    0   libsystem_kernel.dylib          0x97d3f02e __workq_kernreturn + 10
    1   libsystem_c.dylib               0x9237accf _pthread_wqthread + 773
    2   libsystem_c.dylib               0x9237c6fe start_wqthread + 30
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00dbe0e0  ebx: 0x00dbe0e0  ecx: 0x99985548  edx: 0x500d98cb
    edi: 0x0000036e  esi: 0x00aad0e0  ebp: 0xbfffe4f8  esp: 0xbfffe488
    ss: 0x00000023  efl: 0x00010202  eip: 0x92115d47   cs: 0x0000001b
    ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
    cr2: 0x500d98eb
    Logical CPU: 1

    Looks like it was a memory problem with the jvm.ini file.
    Pumped it up to 256 and it works now.
    Hope this helps anyone else in the future if they come across it.
    Thanks.

  • How to edit bitmap which is imported in flash using xml and save the edited bitmap back to xml in flash.

    hi all
    It would be appreciated if any one let me know how to edit
    bitmap which is imported in flash using xml and save the edited
    bitmap back to xml in flash.
    Is it posible to save the bitmap data in flash?
    thanks in advance

    Yes you can... but like I said before you need to upload the
    data from the changes you make to a server.
    In terms of the solution... its unlikely that you'll find one
    specifically for your needs. You will have to learn whatever you
    don't know how already and maybe adapt some existing examples to
    your needs.
    To change the visual state of a movie clip... you just do all
    the regular things that you want to do to it using flash... scale,
    rotation, drawing API , textfields etc in actionscript. If you
    don't know how to how to do that stuff, then you need to learn that
    first. That's basic actionscript.
    You can capture the visual state of a movieclip using the
    BitmapData class. That includes a loaded jpeg. You can also
    manipulate bimatp data using the same class. You should read up on
    that if you don't know how to use it or check out the examples
    below for uploading info.
    For uploading to the server:
    Here's an as2 solution that took 15 secs to find using
    google:
    http://www.quasimondo.com/archives/000645.php
    If you're using as3, google search for "jpeg encoder as3" and
    look through that info. There are also historical answers in the
    forums here related to this type of thing that might help as
    well.

  • How to associate an xml from httpservice to datagrid if the xml element name contains periods in it

    Following is the xml from an http service, how to associate
    this xml to a data grid (employee name, number) since it contains
    periods(dots) in xml element name.
    An early help is appreciated.....
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <com.companyx>
    <person>
    <employee.data>
    <employee.name>mrx</employee.name>
    <employee.number>1001</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mry</employee.name>
    <employee.number>1002</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mrz</employee.name>
    <employee.number>1003</employee.number>
    </employee.data>
    <page>0</page>
    </person>
    </com.companyx>
    Thanks,
    Vijay Karthik

    HI
    GOOD
    IT IS POSSIBLE IN ABAP
    Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
    XSD->
    XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
    XDS->
    XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
    XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
    http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    THANKS
    MRUTYUN

Maybe you are looking for