How can I set connection to external XML file with Dreamweaver to buiild AIR app?

Hello,
I try to do simple AIR app in dreamweaver. It's not problem
to use static data. But I'd like to use dynamic data from external
XML file. I try to use Spry and evrything works fine in web browser
but i have problem with loading external XML data into my app in
AIR. Can I simply transform my spry based html app into AIR?
What should I add to do this?
Pawel

Daniel Lichtenwald wrote:
What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

Similar Messages

  • How can I set button colors from xml file data?

    I am reading an xml file to create a group of buttons. I am
    also using repeater to create the group of buttons.
    I am getting the buttons created, but am unable to set the
    fill color properly. I keep getting the error "Implicit coercion of
    a value of type String to an unrelated type Array" if I try to plug
    in r.currentItem.value, even when I used an Actionscript function
    to convert from a String to an array of 2 uints. Is there a simple
    type casting solution to this I'm just not getting?
    Any help would be greatly appreciated!
    The xml file has the following format:
    <colors>
    <color>
    <name>Canteloupe</name>
    <value>0xFFCC66</value>
    </color>
    <color>
    <name>Banana</name>
    <value>0xFFFF66</value>
    </color>
    <color>
    <name>Lemon</name>
    <value>0xFFFF00</value>
    </color>
    <color>
    <name>Honeydew</name>
    <value>0xCCFF66</value>
    </color>
    </colors>
    The code I have so far is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    initialize="colors.send()" layout="absolute">
    <mx:HTTPService id="colors"
    url="assets/colors_standard.xml" resultFormat="e4x"/>
    <mx:XMLListCollection id="xlc_colors"
    source="{colors.lastResult.color}"/>
    <mx:TabNavigator left="0" top="0" right="0"
    bottom="0">
    <mx:Canvas label="Tab 1" width="100%" height="100%">
    <mx:Accordion width="200" left="0" top="0" bottom="0">
    <mx:Canvas label="Colors" width="100%" height="100%">
    <mx:Label text="Current Color Selection" left="10"
    right="10" top="10" height="20" fontWeight="bold"/>
    <mx:Button label="Update Colors" left="10" right="10"
    top="227" height="22" id="button_colors_update"/>
    <mx:Canvas height="189" left="10" right="10" top="30"
    borderStyle="outset" backgroundColor="#e9e9e9">
    <mx:Tile id="tile_standard" direction="horizontal"
    tileWidth="25" tileHeight="25" horizontalAlign="center"
    verticalAlign="middle" borderStyle="outset" left="10" right="10"
    top="10" height="134" backgroundColor="#ffffff">
    <mx:Repeater id="r" dataProvider="{xlc_colors}">
    <mx:Button toolTip="{r.currentItem.name}" height="15"
    width="15" x="10" y="10"/>
    </mx:Repeater>
    </mx:Tile>
    <mx:Button label="Additional Colors"
    id="button_colors_online" height="22" left="10" right="10"
    bottom="10"/>
    </mx:Canvas>
    </mx:Canvas>
    </mx:Accordion>
    </mx:Canvas>
    </mx:TabNavigator>
    </mx:Application>

    Thanks atta707!
    If I send an array of 2 uints via a function call that
    converts from String to Number to uint in an Actionscript function
    and try to feed that into fillColors via:
    <mx:Script>
    <![CDATA[
    public function fillcolors (_colorvalue:String):uint {
    return uint(Number(_colorvalue));
    ]]>
    </mx:Script>
    <mx:Button height="15" width="15"
    toolTip="{r.currentItem.name}" x="10" y="10"
    fillColors="[fillcolors({r.currentItem.value}),fillcolors({r.currentItem.value})]"
    I still get the "Implicit coercion of a value of type String
    to an unrelated type Array." on the line that creates the button. I
    have tried returning an Array of two uints with the Actionscript
    funtion and get the same result.
    <mx:Script>
    <![CDATA[
    public function fillcolors (_colorvalue:String):Array {
    return new Array(uint(Number(_colorvalue)),
    uint(Number(_colorvalue)));
    ]]>
    </mx:Script>
    <mx:Button toolTip="{r.currentItem.name}" height="15"
    width="15" x="10" y="10"
    fillColors="[fillcolors({r.currentItem.value})]"/>
    Am I mistaken in my conversion of r.currentItem.value to
    fillColors as arguments? Sorry about the newbie question - the
    error I get makes me think it is a type conversion issue, but I
    can't seem to get this to work/compile. If fillColors is expecting
    an Array, should the Actionscript function returning an Array at
    least get this to compile?

  • How can I set-up to receive a file with FTP?

    I want to receive a .pdf file from another, but the file is rejected by my email service provider for size.  What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?  I'm using OS Snow Leopard 10.6.8 with a DSL Internet connection nominally at 10 MBs download.

    Daniel Lichtenwald wrote:
    What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
    Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
    At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
    At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
    Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
    That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

  • How can I set up an external monitor to extend my screen in windows 7 bootcamp?

    How can I set up an external monitor to extend my screen in windows 7 bootcamp?  I have updated bootcamp to the latest version.  The monitor I have works while I am using Mac OS X. While in bootcamp the monitor is dectected and I am able to select the settings and displays however the external monitor remains alseep.  I hooked it up using a mini display port to VGA adapter.  Any suggestions?
    Thanks

    On your Windows desktop right click and select Screen resolution from the menu. You should see a window like this:
    Make sure you select Extend and then set your resolutions for each monitor.
    If this does not work for you try asking on a Windows forum about extending displays to a second monitor.

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • How can I generate IDOC(WPUUMS) from XML file in POSDM or in SAP Retail

    Hallo Retail expert,
                                I have following scenario,
    I have Retail Store who send me their daily sales report through Wincor Nixdorf Point of sale. There i am using standard POSLOG2 to SEEBURGER(its a middleware which act as Converter) xml format and then i post that data first in POSDM and then with BAPI i transfer or book that data to SAP Retail.
    Above is the one scenario which is working.
    This is the Second scenario.......
    I have some external Retail store, they dont have Wincor Nixdorf POS, so they send me their Sales Report through SEEBURGER(its a middle Hardware which act as Converter) and SEEBURGER Convert that Sales data to XML format. My question is....
    How can i upload or Convert a XML File into IDOC (WPUUMS)in SAP or in POSDM?
    any new suggestion are welcome.
    Thank you all in advance.
    regards,
    Niel

    Hi,
    1. To get the required XML Schema, use transaction code WE60 to go to the IDoc documentation -> enter the IDoc type you want to use (WPUUMS01). Flag control and data record. Then display the XSD by choosing Documentation -> XML Schema from the menue bar. Now you can donwload the XSD for usage in Seeburger.
    2. Create your mapping from the POS format into the IDoc XML format in Seeburger.
    3. Create an XML File Port in ERP or POS DM using transaction code WE21.
    3. To inbound the XML file from Seeburger into POS DM or SAP Retail Seeburger should trigger the function module EDI_DATA_INCOMING. Parameters for this FM are the Pathname to the XML file and the Portname you just created. Based on the port name the FM can derive the port type xml and the data will be handled as XML data.
    Regards Carsten

  • How Can I Attach and Link an XML file to a 3D Model in a PDF?

    How Can I Attach and Link an XML file to a 3D Model in a PDF?
    What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file.  I would also like to be able to add to the parts list if at all possible once the pdf has been created.  A template to create future PDF's with the 3D model and list might also be useful.
    I am not entirely sure if this is all possible within a PDF file, but I have viewed a PDF (Adidas Trainer) example which has a Excel file attached to it which links to the 3D model.  I have also had a look at partner products such as Lattice, Tetra4D, Anark, which can do animations and all sorts, but frankly it seems a bit overkill for what I am looking to do.
    Please, any help would be appreciated.  Thanks

    AlliCT59 wrote:
    > Shared Object sounds like it would work, but hten agian,
    I'm really stuck!
    >
    > Thanks for any help.
    >
    > Allison
    I wrote about it while ago, let me paste the whole thing.
    This example has simple
    buttons which upon click go to new sites and in the same time
    place record in form
    of *.SOL file on user drive. That record is read when you hit
    the next button and
    based on that the button will be selected as the one last
    clicked.
    You could use the very same thing just instead of suppressing
    button simply gotoAndPlay frame
    to continue the part you need.
    http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/36649453 1f4fd02d/245a57d0cdaa1d29?lnk=st&q=&rnum=3&hl=en#245a57d0cdaa1d29
    The source is in a different place, i re-upload for you :
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/
    fla file
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/beentourl.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How can I open McAfee encrypted (EEFF) PDF files with Adobe Reader?

    How can I open McAfee encrypted (EEFF) PDF files with Adobe Reader?  Get error "There was an error opening this document. Access denied".  Disabling Protected Mode in Reader doesn’t always work.
    McAfee: https://kc.mcafee.com/corporate/index?page=content&id=KB74299&actp=search&viewlocale=en_US &searchid=1240943327683

    If Reader ISN'T in the list of prpgrams to open with, click "Browse"
    In the "Browse window" go to C/Program files [or Program Files (x86)]/Adobe/Reader 11/Reader
    Select "AcroRd32.exe" and click "Open"
    Make sure "Always use the selected program to open this kind of file" is checked and click "OK".

  • How can I scan multiple pages to one file with MG 7120

    My printer does not have ADF. How can I scan multiple pages to one file on my MG 7120?

    Hi albabynyr,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single file.  To scan using the IJ Scan Utility, please follow these steps:
    1. Start IJ Scan Utility by going to your Start menu, then selecting All Programs, then Canon Utilities, then  IJ Scan Utility (folder), then IJ Scan Utility (program).
    2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    3. Click the DOCUMENT SCAN option on the left pane of the window.
    4. In the right pane of the window, locate the SELECT SOURCE field and select the DOCUMENT option.
    5. Set the color mode, document size, and scanning resolution as required in the rest of the fields shown in the window. Click DOCUMENT SCAN ORIENTATION SETTINGS... to specify the orientation of the documents to be scanned.
    6. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option.
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the DOCUMENTS folder.
    7. Once all settings have been selected, click the OK button at the bottom of the SETTINGS (DOCUMENT SCAN) window. The IJ Scan Utility main screen appears.
    8. Click the DOCUMENT button. Scanning starts. After a page has scanned, the screen to continue or end scanning appears. If you have more pages to scan, place the next page on the platen and click Scan.  Do this each time a page has completed scanning.  After the last page has been scanned, click Exit. Scanned images are saved in previously selected folder location specified in the SETTINGS... window. Click the CANCEL button to cancel scanning if needed during scanning.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to display the PPT, PDF, XL, DOC files with in the Windows store app?

    Hi,
    I would like to display the PPT, PDF, XL, DOC files with in the Windows store app? is there any controls provided by Microsoft to view these files with in the app?
    Or
    Any workaround to achieve the desired functionality?
    Kindly provide your inputs if any one has.
    Regards
    Prasad

    Hi Prasad,
    As I know currently there is no in-build functionality to display the PPT, XLS or DOC file directly on the Windows Store App, but you can always open these files by
    Launcher class
    However a good news is we can display PDF on Windows Store App by
    Windows.Data.Pdf class, see this for more information:
    https://code.msdn.microsoft.com/windowsapps/PDF-viewer-showcase-sample-39ced1e8/
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can you configure a WD external to work with Time Machine??

    I have an 1TB external WD MyBook drive that is connected to my network through my Linksys wireless router and am trying to figure out how to format the drive to use with Time Machine.
    I currently use the drive to store files from both my PC and my MacBook but can't seem to select the drive to use with Time Machine. I figured that I could just format the drive through the Disk Utility program, but the drive doesn't show up in Disk Utility. This may be because it is a drive connected through my router and not directly to my MacBook?!
    Here are a few questions...
    Any ideas on how to format the drive so it will work with Time Machine?
    Once formatted to use with TM, can I still use the drive to store other files from both my Mac and PC? or do I need to partition for this??
    Is it possible to set up an automatic backup schedule that will happen via my home wireless connection?
    Thanks in advance,
    Todd.

    You cannot use the drive with TM as you have it set up. TM will not work with a networked drive except a Time Capsule or a USB drive connected to an Airport Extreme Base Station (current version.)
    If you wish to use this drive for TM backups it must be connected directly to the computer. Other computers on the network can access the drive for TM backups if you turn on file sharing for the drive (select drive, press COMMAND-I, check the box labeled "Shared Folder," click on the Enable button.) The shared drive will have to be mounted on the other computers in order for them to use it as a TM backup drive.

  • New iMac 21.5". How can I set up a new user account with access to all the files of the original user account?

    Running Mavericks on a 2013 iMac 21.5". I want to set up a second user account with different settings that meet the requirements of specific software. I need the files to be accessible by both users. I have made both the main and secondary accounts administrators. I have also enabled file sharing for both. Neither account can see the other's files in Finder.
    How can I make all files accessible to both accounts? I read that administrator accounts automatically can see all files on the computer, but it is not working out that way. I have restarted the computer, to no avail.

    Comcast only offers POP accounts, and one way to set up the account and enter all the settings before it connects to the mail server, might be to do it Offline:
    https://support.mozilla.org/en-US/questions/991539#answer-547878
    The server settings are given [http://customer.comcast.com/help-and-support/internet/setting-up-thunderbird/ here], but the method is for Online account setup.

  • HT2589 How can I set up an apple I'd with no credit card on an ipad mini?

    I have set up an apple I'd but I can't put any free apps on my ipad mini as it won't let me choose the none option when I get to card details as I don't have a credit card and can't use a bank card. How can I do it without a card plz can someone help me feel like I'm going round in circles.

    There are instructions on this page for creating a new account (it won't work with existing accounts) without giving a credit card number : http://support.apple.com/kb/HT2534 e.g. select a free app in the store and click on 'create Apple id' when buying it - if you are doing it on your iPad then you will need to log out of your account first by tapping on it in Settings > iTunes & App Stores, otherwise that account will be used

  • How Can I set QT to open ALL files in Full Screen Automatically?

    Am I missing something obvious here, or is this a major option missing in preferences of QT? I know that you can set this option for EACH movie in the Presentation tab in the movie's Properties, but I have 1000's of clips on my computer. I just want EVERY movie to automatically open up in full screen mode. This seems like it should be an obvious universal option for QT rather than handled individually for each file (with the option to over ride it per file if you wish for some reason).
    Plus setting the option per file is not even practical, because in order to save that option in a file that is not .mov file QT wants to convert it to .mov and save copy of the file...

    I am still pretty sure, say 95%, (do not recall perfectly - to many things on my mind... hihi) that the settings in Quicktime in the Preferences DID work before.
    QT Player "Preference" settings only control how the content is displayed in the "Full Screen" mode -- not how it is activated. Pop-up options include:
    1) Half Size,
    2) Actual Size,
    3) Double Size,
    4) Fit to Screen,
    5) Fill Screen,
    6) Panoramic, or
    7) Current Size
    The options are available individually for "widescreen", "standard", or "other" aspect movie formats. The only other method of I can think of using the QT Player to automatically open in the the "Full Screen" presentation mode would be using a QTL file linked to your original source file but it setting the "Full Screen" option is "boring" for you, then creating QTL files would be even more so.

  • How can I set the SRQ bit on GPIB with LabView ?

    Hello,
    I am developping an application with LabView RT on a PXI RT system. This application acts as an instrument (non controller GPIB), and I need to assert the SRQ line. How can I do that ?
    I know the ibrsv function, but I can't find it in LabView, and I can not use it through a DLL call since GPIB DLLs are not compatible with Real-Time.
    Thank you.

    Hello Alfonso,
    It sounds like you might be getting errors -200279 and -200278.  (In the future, if you post the actual error codes, it helps us to know exactly what is happening).  Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough.  Basically it's a buffer overflow error.  It means older samples have been overwritten before you attempted to read them out.  As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
    Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop.  If you want to perform a finite acquisition, you should only call DAQmx Read once.  For more information on this error, see the KB Error -200278 at DAQmx Read.
    Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module.  As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13).  Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s.  You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
    I hope this helps!  Let me know if you have any questions about what I've described.
    Best regards,

Maybe you are looking for