Is there any Event Listener to identify change in a local File

Hi All,
I 'm fetching data from a local XML file and showing it in flex. But the xml file will be modified randomly by another java program. The change in local xml file has to be reflected in swf(already loaded) , with out reloading the page.
Please let me know, if there is any way in which I can dynamically show the change in a source file on to the screen with out reloading the page.
Thanks in advance ...
Regards,
Sandeep.

I don't think there is an event in Flex as you generally do not have access to the local file system.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Is there any event listener for changing the selection of layer?

    Hi all,
    I am looking into an event listener which fires on changing the selection of layer. I found 'Select' event listener which fires on selecting the different object.
    Actually the problem with Select event listener is that when we select an object and move it and deselect it by clicking on the document, event fires on the selection of that object. But if we again select the same object and move it, no event is fired at that time.
    Is there any workaround of this? So that the event is fired every time when we select the same object.
    Please help me on this..
    Regards,
    VG.

    Thanks for the reply..
    Actually I want the same behaviour as in illustrator i.e
    - Select a layer. (Notifier calls the listener)
    - Move it.
    - Click on the document.
    - Again select the same layer. (Notifier calls the listener again)
    - Move it.
    But in photoshop,
    - Select a layer. (Notifier calls the listener)
    - Move it.
    - Click on the document.
    - Again select the same layer. (Notifier doesnot calls the listener again as the layer is already selected in panel as you explained.)
    - Move it.
    Is there any way to get the same behaviour of illustrator in photoshop?

  • Is there any event that triggers when you switch between components?

    is there any event that triggers when you switch between components?
    like for example... when i switch between components, i need a function to fire everytime i switch...
    ive tried show, hide, and initialize... and none of them work...
    any ideas or help is greately appretiated!!

    Depends on what you are trying to do,
    you have mouseover and mouseout and mouseclick events which you can use on the component and write code to deal with what you want to happen when you change focus. You have keypress event which would allow you to monitor tabbing between components, remember that in most events the currentTarget and target values will give you the information you need to handle component interaction.
    so
    [Bindable] private var CurrentObject: Object; <-------  use this as a pointer to what ever object you are currently focused on or just to indicate things have changed
    addeventListener(MouseEvent.CLICK,myCompponentSwap);
    protected function myComponentSwap(e:event): void
        if (CurrentObject !=e.currentTarget && CurrentObject != null)
             do what you want becuase a component switch just happened
        CurrentObject = e.currentTarget;
    Hope this gets you started.
    David

  • Are there any events associated with a Blocks Scrollbar?

    I'm using a multirecord block and its associated scrollbar. When the records are scrolled using the scrollbar, record focus doesn't necessarily change but the position of the record within the block does.
    Are there any events available to monitor the activity of the blocks own scrollbar?
    regards
    Malcolm

    Hello
    Sorry , there are no events associated with the ScrollBar.

  • Is there any way that I can change ownership (not authorization) of a song so that I don't have to go between my parent's family account and my new account?

    So a little backstory i joined the army and get to go home and use the account where the majority of my music is very little, but now when i try transferring these songs to a new device some of them aren't authorized, and I don't want to go through this every time i get a new computer or ipod/iphone.  Is there any way that i can change ownership of a song or other file so that a different account is the one to authorize its use?

    No.
    tt2

  • My iCloud on my phone is undJer another persons account I however am no longer with them and want to cut all ties and is there any way for me to change my iCloud account or will it affect my phone? And it's photos, apps, music?

    My iCloud on my phone is under another persons account I however am no longer with them and want to cut all ties and is there any way for me to change my iCloud account or will it affect my phone? And it's photos, apps, music?

    You have to delete the iCloud account but you can keep all your data such as Contacts, Calendars etc. when you delete the account you will prompted to "Keep on my iPhone".
    All your purchased content (like apps and music from iTunes Store) belongs to the original ID and you have to re-Purchase them under your Apple ID.
    Photos in Camera Roll remains in Camera Roll.
    Photos in photo stream that are not in Camera Roll must be saved in Camera Roll.
    Photo that previously synced from iTunes remains in photo library until you synced with another iTunes library (another computer).
    Also sign out from iMessages, FaceTime and Home sharing (Settings>Music)

  • Is there any retro effect for this changes we made in 2001 Infotype for

    HI Experts...
    Please advice me on the follwing absence issue.
    In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining.
    Now they wish to have to update in 2001 Infotype.
    What  are the  Retro effects after updating the EL s in 2001 IT for previous dates.
    Is there any retro effect for this changes we made in 2001 Infotype for the past dates.
    We dont need retro effected from those changes.
    Please advice...
    Sai.

    HI Vincent....
    Thanks for the reply.
    Last month professional tax rates were shown up correctly only.
    For the employees slab rates are similar  that is  200 per month.
    Last month professional  tax rates  were correct only.
    For the current month also the prof tax amount is showing up correctly only.
    Please advice to get the professional tax amount in the payslip.
    Regards,
    V Sai.

  • Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app?

    Hi All,
    Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app
    Right now, I am using this below mentioned event
    Window.Current.VisibilityChanged +=
    CurrentWindow_VisibilityChanged;, but it fires even when app relaunches.
    Please anybody help me to solve this issue.

    Thanks for your early reply. but, those are system triggers used in background task. I want an event that fires when screen gets locked. like this...(a networkstatuschangedevent)
    NetworkStatusChangedEventHandler
    networkStatusCallback =
    newNetworkStatusChangedEventHandler(OnNetworkStatusChange);

  • Is there any Standard BAPI to handle  ' Change Parked Documents' .

    Hi,
      Is there any Standard BAPI to handle  ' Change Parked Documents'  or
      Transanction FBV2.
      Please Send reply to My mail id : [email protected]
      Please send ASAP.
    Thanks & Regards.
    Vanitha.

    hi,
    I think this link will help you to find that.
    list of all bapis:
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Is there any way to block PR changes when PO exists in project builder

    Dear All,
    Could you please advice...is there any way to block PR changes (quantity,price, etc) when PO exists in project builder ?
    Many thanks in advance.
    Nies

    Hi Nies,
    If you are not using the material then you can go for Validation, under Operative Structure> Network> Validation.
    Attach the validation with OPSA click on Automatic.
    In the second scenario if you are using Material Component, as Mr.Muralidharan said OPSG there you can restrict the change by selecting Error Message.
    1. Tcode OPSG in Setting see all the object are selected.
    2. Click on Component tab under change in Purchase Order Exist tab select Error.
    Regards'
    Syed

  • Is there any way to control or change the email notification format deliver

    Hi,
    Is there any way to control or change the email notification format delivered by iBots? I have created an iBot to deliver the scorecard report to the team with type chosen as 'Attachment (HTML)' option. With this definition of iBot - notification being sent in MIME HTML (.mht) format. Due to some security settings at my email client - the attachement gets quratined because of .mht format. So, I am looking for an option to send the notification only in HTML (.htm) format with which I don't have any issues with my email client?
    Any help is really appreciated.
    Thanks,
    Vency

    Hi,
    You try this
    change format of to whichever you required in this file.. I havn't tested it yet..
    I hope it will help you..
    thank you
    E:\OracleBI\web\app\res\b_mozilla\delivers\deliverycontenteditor

  • Are there any possibilities by apple to change an iphone5 to an iphone5s?

    Are there any possibilities by apple to change an iphone5 to an iphone5s?

    Not that we know of unless they plan to extend their recently announced trade-up program. Go ask at your local Apple Store or Best Buy.

  • Are there any events to script a component when dragged and dropped into the parsys area?

    are there any events to script a component when dragged and dropped into the parsys area?

    The cq:listeners node of a component's cq:EditConfig has a number of events that fire with relation to the edit mode drag'n'drop stuff. You would probably want to hook one or more of the insert ones (beforeinsert, beforechildinsert, afterinsert, afterchildinsert).

  • Is there any way to convert the ImportObject into an image file ?

    I have converted a FM document into MIF file format. FM has a grapic imported by copying into the document. In the MIF file I can see the image like the following,
    <ImportObject
      <Unique 1001019>
      <Pen 15>
      <Fill 7>
      <PenWidth  1.0 pt>
    =TIFF
    &%v
    &II*\x00080000001000FE000400010000000000000000010300010000006009000001010300010000…..
    Is there any way to convert the ImportObject inside the mif file into an image file ?

    Error 7103,
    Regarding Note A and Note B... The Downsample dropdowns list three variations of Downsampling TO, each corresponding to a different downsampling method. When you select one of the Downsampling TO options, then the pixels per inch box allow you to specify the dpi of the downsampled image, the one after the downsampling.
    When you select Off, which means do NOT downsample, then the pixels per inch box is meaningless. Maybe it would be a nice interface feature to disable it, but that is another issue. In any event, OFF ignores any value in pixels per inch.
    Whenever you import an image into your publishing program (FrameMaker, InDesign, or whatever) and scale it, one can think of the scaled image as having a physical dpi, the number of pixels per physical inch on the "paper." When you specify downsampling in Distiller, the number you specify is most likely less than the physical dpi of the image in the document. It is probably meaningless to specify a number that is larger. I am guessing (and this is a guess) that Distiller does not UPsample images. I have never tested it.
    I use 1200 for image recovery.
    I assume you are talking about recoverying an image embedded in (copied into) the publishing document. I believe it is sufficient simply to turn downsampling off to create a PDF with the image at the resolution as embedded in the document.
    No, one of the settings is to Determine Automatically, which uses the resolution of the image IN the PDF.
    Where is that found?
    It is NOT in Distiller. It is in Acrobat Professional. (It may or may not be in Acrobat Standard or Acrobat Reader; I do not have them, so do not know.)
    The original poster wanted to recover an image copied into a Frame document file. My method is to create a PDF using a Distiller joboption with ALL downsampling and ALL compression OFF. Presumably the image is put into the PDF with all the pixels it has in the Frame file.
    THEN in Acrobat PROFESSIONAL, export the image with the setting Determine Automatically. I am presuming (never tested it) this exports ALL the pixels that the image has in the PDF file.
    Van

  • Is there any way to force the applet to load the file without using cache?

    Hi,
    I have the applet that renders some data from a file specified as the parameter. The problem is that the user can do something, that changes the input file and reloads the page, but the applet renders old data (from browser cache most probably)
    Is there any way to force the applet to load the file without using cache?
    Regards,
    Zdenek

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

Maybe you are looking for

  • Apple TV Mirroring on iPad2

    Bought apple tv, everything works great except mirroring function is not present on ipad 2 menu bar after pushing menu button twice and scrolling left

  • How to force a container redraw to fit-to-content?

    Hi, This has been driving me crazy for a long time now. Example: <panel id="outer"> <panel id="inner"> <textarea text="blah blah blah"/> </panel> </panel> The above works fine, the outer panel's size perfectly fits its content. But if the mxml starts

  • Restart ABAP Import

    I'm installing ERP 2005; the database instance. The ABAP import I have an error and I would like to start the ABAP import from the beginning. Is this possible? Or do I need to start the DB instance again (I want to use the same SID)

  • Run-time error -2147217843 (80040e4d)

    Hi, I've Run-time error -2147217843 (80040e4d). Does anyone know how to fix it ? Thank in adv.

  • Error Message 1603 when updating Acrobat X Standard

    I tried to update Acrobat X Standard Version 10.1.4 and got the 1603 Error Message. I am running Windows7. After reviewing the suggestions I shut down all my applications, rebooted the computer, restarted Acrobat X Standard and again tried to update