Run function on component load / focus

hi
I want to run a function every time a component is opened /
focused upon.
at the moment I am running the function with the
"creationComplete" property which works fine, although it only runs
when the component is first created, whereas I want to run the
function every time the component is opened and re-opened etc......
is there some sort of event call or something that can make
this possible.......
any suggestions?
Jon.

Something like this might work.
Create the function you want to call:
<![CDATA[
import mx.controls.Alert;
private function doFocusStuff() : void
Alert.show('hi');
]]>
On the component for which you want to run the function on
focus set the property focusIn like:
<mx:TextInput focusIn="doFocusStuff()" .../>

Similar Messages

  • Run function in component from Main Application

    Hello all.
    I have my main.mxml application, that has a component inside of it.  The component is called <ns1:record/> with an id of "rec".
    This component has a function inside of it named doConnect(event:MouseEvent).
    Now i want to be able to add an event listener to a button on the Main.mxml that will run a function inside the component when clicked.
    I have managed to add an event listener to the Main.mxml that triggers a function held within the Main.mxml when a button clicked inside the component is clicked.
    I did this by using this code.
                <ns1:record id="rec" x="9" y="6" camera="{camera}" microphone="{microphone}" creationComplete="makeEvent()">
                </ns1:record>             //Event listener
                public function makeEvent():void {
                    rec.backbtn.addEventListener(MouseEvent.CLICK,swapstate);
                protected function swapstate(event:MouseEvent):void {
                    viewstack1.selectedChild=config;
    No matter what i try thou i cant get this to work the other way around.
    What i need help with is - clicking a button within the Main.mxml to run a function inside the component Record.
    If anyone can help that would be great !
    Thanks in advance.

    Hi djh88ukwb,
    From your post if I understand you correctly you want to listen for a event in record component when a button in main mxml is clicked...based on this
    assumption I am suggesting you a solution...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()">
    <mx:Script>
      <![CDATA[
       private function onButtonClicked(event:MouseEvent):void
       rec.swapstate(event);
      ]]>
    </mx:Script>
    <ns1:record id="rec" x="9" y="6" camera="{camera}" microphone="{microphone}" creationComplete="makeEvent()"></ns1:record>
    <mx:Button id="myBtn" label="Call Function in Record Comp" click="onButtonClicked()" />
    </mx:Application>
    <!-- In your record component Add a public function  swapstate as shown below-->
    public function swapstate(event:MouseEvent):void {
                    viewstack1.selectedChild=config;
    Please try this and let me know....
    Thanks,
    Bhasker

  • Kernel_task running above 500% CPU load on my Macbook Pro running OSX 10.9.4

    I recently upgrade my Macbook Pro to OSX 9.0.4 and the system is running sluggishly slow, Activity Monitor showing kernel_task always running above 500% CPU load, system fan always running loud at startup but laptop is not overheating.  Below is the EtreCheck report, hoping if anyone can help me fix this issue, much appreciate it.  Btw, I have done the SMC reset, but nothing has helped.
    EtreCheck version: 1.9.13 (49)
    Report generated 16 August 2014 2:30:27 pm AEST
    Hardware Information: ?
      MacBook Pro (Retina, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro10,1
      1 2.3 GHz Intel Core i7 CPU: 4 cores
      8 GB RAM
    Video Information: ?
      Intel HD Graphics 4000 - VRAM: (null)
      Color LCD 2880 x 1800
      NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:17:38
    Disk Information: ?
      APPLE SSD SM256E disk0 : (251 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 250.14 GB (103.87 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.digidesign.fwfamily.driver (8.0.3f1) Support
      [loaded] com.digidesign.iokit.DigiDal (8.0.3f1) Support
      [not loaded] com.digidesign.mbox2.boot.driver (9.0f4) Support
      [not loaded] com.digidesign.mbox2.driver (9.0f4) Support
      [not loaded] com.digidesign.usb.elevenrack.driver (1.0.1) Support
      [not loaded] com.paceap.kext.pacesupport.leopard (5.8 - SDK 10.4) Support
      [not loaded] com.paceap.kext.pacesupport.master (5.8) Support
      [not loaded] com.paceap.kext.pacesupport.panther (5.8 - SDK 10.3) Support
      [loaded] com.paceap.kext.pacesupport.snowleopard (5.8 - SDK 10.6) Support
      [not loaded] com.paceap.kext.pacesupport.tiger (5.8 - SDK 10.4) Support
    Startup Items: ?
      Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
      DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
      PACESupport: Path: /Library/StartupItems/PACESupport
    Problem System Launch Agents: ?
      [loaded] com.paragon.NTFS.trial.plist Support
      [loaded] com.paragon.NTFS.upd.plist Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.cleverfiles.cfbackd.plist Support
      [running] com.digidesign.elevenrack.helper.plist Support
      [running] com.digidesign.fwfamily.helper.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [running] com.paceap.eden.licensed.plist Support
      [not loaded] com.teamviewer.teamviewer_service.plist Support
      [loaded] PACESupport.plist Support
    Launch Agents: ?
      [loaded] com.google.keystone.agent.plist Support
      [not loaded] com.teamviewer.teamviewer.plist Support
      [not loaded] com.teamviewer.teamviewer_desktop.plist Support
    User Launch Agents: ?
      [failed] com.facebook.videochat.[redacted].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
    User Login Items: ?
      iTunesHelper
      SmartDaemon
      BitTorrent
      uTorrent
      Knock
      Autodesk 360
    Internet Plug-ins: ?
      JavaAppletPlugin: Version: Java 7 Update 55 Check version
      FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
      Default Browser: Version: 537 - SDK 10.9
      Flash Player: Version: 14.0.0.145 - SDK 10.6 Outdated! Update
      QuickTime Plugin: Version: 7.7.3
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      iPhotoPhotocast: Version: 7.0
    Safari Extensions: ?
      AllMyTube
      Searchme-2
      iTube Studio
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Digidesign Eleven Rack  Support
      DigidesignMbox2  Support
      Digidesign Mbox 2 Pro  Support
      Flash Player  Support
      MacFUSE  Support
      Paragon NTFS for Mac ® OS X  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          4% WindowServer
          4% Google Chrome
          1% cfbackd
          0% AppleSpell
          0% Activity Monitor
    Top Processes by Memory: ?
      213 MB Finder
      156 MB Dock
      156 MB com.apple.IconServicesAgent
      123 MB WindowServer
      115 MB Google Chrome
    Virtual Memory Information: ?
      4.43 GB Free RAM
      2.21 GB Active RAM
      414 MB Inactive RAM
      971 MB Wired RAM
      527 MB Page-ins
      0 B Page-outs

    The kernel is using excessive processor cycles. Below are some possible causes for the condition.
    Throttling
    When it gets high temperature readings from the hardware, or a low-voltage reading from the battery, the kernel may try to compensate by interrupting the processor(s) to slow them down and reduce power consumption. This condition can be due to:
    ☞ a buildup of dust on the logic board
    ☞ high ambient temperature
    ☞ a worn-out or faulty battery in a portable
    ☞ the malfunction of a cooling fan, a temperature sensor, a voltage sensor, or some other internal component
    Note that if the problem is caused by a sensor, there may be no actual overheating or undervoltage.
    If the computer is portable, test with and without the AC adapter connected. If kernel_task hogs the processor only on battery power, the fault is in the battery or the logic board. If it happens only on AC power, charging is causing the machine to heat up. That may be normal on some models. CPU usage should drop when charging is complete.
    Apple Diagnostics or the Apple Hardware Test, though not very reliable, is sometimes able to detect a fault. For more thorough hardware testing, make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    If nothing is wrong with the hardware, then whatever you can do to improve cooling may help.
    Installed software
    User-installed software that includes a device driver or other kernel code may thrash the kernel. That category includes virtualization software, such as Parallels and VMware, as well as most commercial "anti-virus" products. Some system-monitoring applications, such as "iStat," can also contribute to the problem. You can test for this possibility by completely disabling or removing the software according to the developer's instructions, or starting in safe mode. Note, however, that disabling a system modification without removing it or testing in safe mode may not be as easy as you think.
    Corrupt NVRAM or SMC data
    Sometimes the problem is cleared up by resetting the NVRAM or the SMC.
    External display
    Connecting an external LCD display to some MacBook Pro models while the lid is open may cause this issue. If applicable, test by closing the lid or disconnecting the display. You might get better results with a newer LED display.

  • RUN FUNCTION PANEL error

    Hi, experts,
    I'm trying to execute "RUN FUNCTION PANEL" on CVI. During constructing driver, I checked the function panel by this command, but it was failed with error message, Interactive Execution error - Unresolved symbol: _Math_Average.
    I do the material in the basic CVI text, and it is very simple function. And additionally, it ran correctly when I completed the driver, then I believe that programming should be correct.
    So I'm struggling with editing any settings, but I could not find the solution.
    Does anybody have any solution or hint?
    Thanks,
    Solved!
    Go to Solution.

    Hello TetsuyaU!
    The most obvious solution for this problem would be to enable the Interactive Execution window environment options found in Options » Environment » Interactive Window. These options specify whether project files or loaded instrument drivers are used by the Interactive Execution window. Otherwise, if the corresponding option isn't enabled, the Interactive Execution window fails to link with the symbol from your instrument driver, and you get an unresolved symbol error.
    Does this work for you?
    Best regards!
    - Johannes

  • Component Loader resizing external swfs

    Hi. Fairly new to Flash. I'm putting together my first full
    Flash site. The tutorial I'm following along with for some
    assistance is written for Flash8, but I'm using CS3. To try to
    minimize differences, I'm doing my files in Actionscript 2.
    I've used an instance of the component Loader to load
    external swfs (my pages) into the content portion of my main swf.
    The problem I've run into is the loaded swfs are showing up at
    different sizes. For ease of layout, the document sizes of the
    external swfs are exactly the same as the mx.controls.Loader
    instance on my main swf. But when they load, one is coming in
    slightly larger than the original size, one nearly a quarter of the
    size it should be. Everything else works.
    In playing around to try to troubleshoot, I made one change
    to my home swf (the external that loads immediately with a
    Loader.contentPath command. This one had been loading slightly
    enlarged), I changed a guide layer so it was a regular layer, no
    longer a guide, then it loaded at the right size. When I changed
    the layer back to a guide, it loaded somewhat enlarged again. I
    tried turning off the guide layer on the other swf that was loading
    small, it didn't help. I'm going nuts trying to figure it out.
    I thought maybe it might have to do with the fact that some
    elements start outside the document frame of the external swfs and
    slide in, so I masked all layers to the size of the document. That
    didn't help. Is there some scale setting for the Loader component
    that I'm not aware of? That would cause the external swf to scale
    up or down to fit the size of the Loader instance?
    Any help would be appreciated. Thanks

    Thanks. I tried a few more searches in Flash's Help for
    Loader scaling and resize and found the scaleContent property, was
    just coming back here to say nevermind and saw your response.
    Sometimes it takes writing out the problem to spark more
    troubleshooting inspiration.
    BTW, changing Loader.scaleContent to false did solve my
    problem. :)

  • Iphone 4s Running Ios(7.1) Camera Focus Not Working Like Text On book It Showed Blurey Text & My Friend Also Same Modle His Camera Focus Perfectly..Is Is Possible To Fix It...Thnx Every 1

    Iphone 4s Running Ios(7.1) Camera Focus Not Working Like Text On book It Showed Blurey Text & My Friend Also Same Modle His Camera Focus Perfectly..Is Is Possible To Fix It...Thnx Every 1

    Hello SajidChaudhary,
    Thanks for using Apple Support Communities.
    For more information, take a look at:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Camera isn't functioning or has undesired image quality
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Cases can interfere with the camera and the flash. Try gently cleaning the lens with a clean dry cloth or removing the case if you see image or color-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center.
    Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. You can also tap to readjust focus while recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll.
    Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    Have a nice day,
    Mario

  • Component loader & external swf : how send parameter ?

    hello all,
    I have a simple problem I have not been able to solve.
    I use a compnent loader to load an external swf.
    I need to pass a parameter to the swf to make it run
    properly, which I named 'url_xml' and in which I provide the name
    of an XML file.
    the component loader is named 'diaporama'.
    the following code works :
    _root.diaporama.contentPath = "my_swfplayer.swf";
    BUT I need to send a parameter, so I tried :
    _root.diaporama.contentPath =
    "my_swfplayer.swf?url_xml=filexml.xml";
    It does not work. It tries to load a file named
    my_swfplayer.swf?url_xml=filexml.xml
    instead of loading my_swfplayer.swf with the param url_xml
    whose value is filexml.xml.
    Can somebody help ?
    Many thanks.

    I would place some code in the loaded movie to look for the
    variable and then start.
    Cheers,
    Gorka
    www.AquiGorka.com

  • Run function and Scene issue

    I am new to javafx and this is my first program in general in a couple years...now that the disclaimer is out of the way here goes:
    I am calling my javafx program from a java client and I am having trouble with the javafx scene being displayed. I have the following code:
    function run(){
         ...var declarations from java client...
    var design = MediaPlayer {};
    design.setItems();
    keepTime = design.getKT();
    javafx.stage.Stage {
    title: "MEDIA PLAYER"
    scene: design.getDesignScene ()
    I have added some print outs in the past and it appears that the run function is called fine, but once I reach the code "design.setItems()" it does not appear to go any further. I have try and catch around everything for an exception, but I get nothing. I have the run function declared outside of my MediaPlayer class and I am trying to understand that whole concept of code outside of the class within the file.
    some other things to note: I am making the javafx call on a new thread created in my java code. when I close my java window then the javafx code seems to proceed past "design.setItems()" and the scene displays and everything is fine thereafter...oh, except that I had to close my java program...weird.
    I have tried putting the run function within the class, but the nothing seems to happen at all then.
    Ideas? Question?

    The javafx doesn't have main method as Java has.
    So javafx has provided the function run() to execute the program. If you put the function run on your any class suppose 'A' then while calling the Class 'A' like : A{} in javafx then it would directly run your function run() and make the object too. But when you want only the object to be loaded then you would better not to include function run() on your class.
    For variables,
    the variable declared on function run is only accessible for function run . It's totally private to others.
    Thanks,
    narayan

  • After loading 8.0b Program won't load.XRE functions couldn't load.

    After downloading 8.0b program wouldn't run.Said couldn't load XRE functions.

    Tried the clean install to no avail. Also, disabled virtualization with negative results. Also tried to reinstall Version 3.6 with same negative results. Finally after uninstalling all and cleaning registry, was able to load version 5.0 and it works.

  • Running Function Module in Background with Update Task is not working

    Hello Friends,
    I have a "Z" Report Program where I am running this Report in Background using JOB_OPEN, JOB_SUBMIT, JOB_CLOSE. I am calling this in BADI.
    In this Report I am calling another Function Module PRICES_POST which is a standard Function Module and in this FM there is another FM 'CKML_UPDATE_MATERIAL_PRICE IN UPDATE TASK'. Now when I am running the BADI these values are not being updated.
    Friends I would like to know whether can we run Function Modules which are  included with UPDATE TASK as Background Job program?
    Kindly help me in providing your valuable suggestions in proceeding further.
    Thanks and Regards
    Pradeep Goli

    Usually the sequence of CALLs in your report should look like
      CALL FUNCTION 'CM_F_INITIALIZE'
        EXPORTING
          msg_on_screen = c_x.
      CALL FUNCTION 'CKMS_BUFFER_REFRESH_COMPLETE'.
      CALL FUNCTION 'PRICES_CHANGE'
        EXPORTING
          actual_bdatj = f_matpr-pp-bdatj
          actual_poper = f_matpr-pp-poper
          bukrs        = p_bukrs
          budat        = p_date
          xblnr        = p_xblnr
        TABLES
          t_matpr      = t_matpr.
      READ TABLE t_matpr WITH KEY pp-xerror = ' '
                                TRANSPORTING NO FIELDS.
      IF sy-subrc <> 0.
        MESSAGE i046(ckprch).
      ELSE.
        CALL FUNCTION 'PRICES_POST'
          EXPORTING
            i_bktxt    = p_bktxt
            bukrs      = p_bukrs
            lis_update = 'X'
          TABLES
            t_matpr    = t_matpr.
      ENDIF.
      COMMIT WORK.
    If you forget the COMMIT-WORK each and every FM called in UPDATE TASK will not be triggered.
    Regards,
    Raymond

  • What's the authorization to run function CSAP_MAT_BOM_OPEN

    let's say, i wrote a report to change the structure of a BOM, using function CSAP_MAT_BOM_OPEN to open the bom, followed by function CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE to change the bom and close the bom.
    well, I could use this report while other could not.
    When I used others sap account to run function CSAP_MAT_BOM_OPEN in SE37, I was warned I didn't have the authorization to run this function.
    so i want to know the authorization to use this function.
    best regards.
    Jim

    Hi,
    The std. authorization objects for BOM will be checked (C_STUE_BER, C_STUE_WRK etc).
    Regards,
    Vivek

  • ABAP routine in infopackage that runs function in ECC

    Hi All
    I need to have dynamic filter in the info package
    I have program in ECC that brings me the value that I need to filter in my info packege
    I want to use  ABAP routine in infopackage that runs function in ECC and brings the value that was received from the ECC function
    Is that possible?
    Thanks

    Hi All
    my CTO found the following option
    function module that is "remote-enabled module "
    then you call CALL FUNCTION 'Y_FM_IDOC_CATSDB' DESTINATION 'SAP4.7E'
    you need to define it in SM59
    code example
    data: BEGIN OF IT_SOBSL OCCURS 0,
          SOBSL(2),
          END OF IT_SOBSL.
    DATA: ls_range type STANDARD TABLE OF rssdlrange WITH HEADER LINE.
    SELECT /BIC/ZSPEPROCI FROM /BIC/SZSPEPROCI INTO TABLE IT_SOBSL
                          WHERE /BIC/ZSPEPROCI NOT BETWEEN 'AA' AND 'ZZ'
                          AND /bic/zspeproci ne '' .
    BREAK-POINT.
    LOOP AT IT_SOBSL.
    ls_range-IOBJNM = 'SOBSL'.
    ls_range-LOW = IT_SOBSL-SOBSL.
    ls_range-SIGN = 'I'.
    ls_range-OPTION = 'EQ'.
    APPEND ls_range .
    ENDLOOP.
    loop at ls_range.
      append ls_range to l_t_range.
    endloop.

  • How to run functions when changing states?

    Hi everybody
    I want to run function when changin states
    For example I change my state and write something on Panels title and when this state appears i want to read my title and to do smth
    How can I do it. Where is my mistake?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="middle"
        width="340" height="250"
        layout="absolute"
    currentStateChange="StateChangez();">
    <mx:Script>
    <![CDATA[
    public function StateChangez():void
    if (currentState=='a')
    //Alert.show('a');
    if (Panel1.title=='New')
    Alert.show('New');
    else
    Alert.show('Edit');
    else
    Alert.show('b');
    ]]>
    </mx:Script>
    <mx:states>
      <mx:State name="a">
       <mx:RemoveChild target="{button1}"/>
       <mx:RemoveChild target="{button2}"/>
       <mx:AddChild position="lastChild">
        <mx:Panel x="0" y="40" width="340" height="210" layout="absolute" id="Panel1">
        </mx:Panel>
       </mx:AddChild>
       <mx:RemoveChild target="{button3}"/>
      </mx:State>
      <mx:State name="b">
       <mx:RemoveChild target="{button2}"/>
       <mx:RemoveChild target="{button1}"/>
       <mx:RemoveChild target="{button3}"/>
       <mx:AddChild position="lastChild">
        <mx:Label x="10" y="222" text="b"/>
       </mx:AddChild>
      </mx:State>
    </mx:states>
    <mx:Script>
      <![CDATA[
       import mx.controls.Alert;
      ]]>
    </mx:Script>
    <mx:Button label="New" x="10" y="10" id="button1" click="currentState='a';Panel1.title='New';"/>
    <mx:Button x="68" y="10" label="Edit" id="button2" click="currentState='a';Panel1.title='Edit';"/>
    <mx:Button x="10" y="218" label="b" click="currentState='b';" id="button3"/>
    <mx:Button x="265" y="10" label="Read" click="StateChangez()"/>
    </mx:Application> 
    Message was edited by: AtomicRussian

    Hi,
    I think your event handler "StageChangez()" is called before your Panel title is set. Try first change title, then change currentState.
    Oh yes my mistake, you are adding it when state changes. You can put your Panel's title change in StageChangez() and after that you can do some actions.
    Regards,
    Adrian
    Message was edited by: AdrianWiecek

  • Error when running function

    I'm using Oracle XE Beta 1.
    I can create and deploy .NET stored procedures without any errors or warnings.
    But when I run the function from ODT I get the following errors:
    Run Function - [email protected]
    ORA-20100: The parameter is incorrect.
    ORA-06512: at "SYS.DBMS_CLR", line 143
    ORA-06512: at "HR.ADD99", line 7
    ORA-06512: at line 1
    The code that I used for my stored procedure I borrowed from a webcast and it compiled and deployed just fine.
    public class Class1
              public static int Add99(int val)
                   return val+99;
    The return and parameter datatypes that I specified in the deployment wizard are both BINARY_INTEGER. So I don't see why I am getting this error.

    Jimmy,
    There's a bug where if you have .NET 2.0 installed on the same machine as the database you will get this error. If that is the case, you'll need to uninstall .NET 2.0 on that machine until the next release of XE comes out.
    (This will also affect Oracle Standard and Enterprise on windows)
    Christian

  • Function in component in tilelist in flex

    i am taking 4 hardcoded images from an xml file in flex
    tilelist component and i just want to drag and drop one image from
    tilelist to another but i am unable to call mousemove function in
    component of tilelist

    Hi djh88ukwb,
    From your post if I understand you correctly you want to listen for a event in record component when a button in main mxml is clicked...based on this
    assumption I am suggesting you a solution...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()">
    <mx:Script>
      <![CDATA[
       private function onButtonClicked(event:MouseEvent):void
       rec.swapstate(event);
      ]]>
    </mx:Script>
    <ns1:record id="rec" x="9" y="6" camera="{camera}" microphone="{microphone}" creationComplete="makeEvent()"></ns1:record>
    <mx:Button id="myBtn" label="Call Function in Record Comp" click="onButtonClicked()" />
    </mx:Application>
    <!-- In your record component Add a public function  swapstate as shown below-->
    public function swapstate(event:MouseEvent):void {
                    viewstack1.selectedChild=config;
    Please try this and let me know....
    Thanks,
    Bhasker

Maybe you are looking for

  • Every time I restart my Firefox browser, my Sync information has gone and I need to re-set up Sync

    When I set up Sync using my sync key (via the "Set Up Sync..." option in the Firefox 5 menu), everything works fine and all of my data is synced. However, when I close my browser and re-open it, the "Set Up Sync..." now reappears and the browser is n

  • Itunes 8 acting like a virus on vista - not blue screen

    Hey, I just downloaded and installed the latest version of itunes onto my windows vista, and it caused the computer to act weird like it had a virus or something, now whenever I try to delete it from the computer it tells me I "don't have permission

  • Add and remove columns from JTable

    Help me please! A try to remove column from JTable. It's removed, but when I try to add column in table, then I get all old (removed early) columns + new column.... I completely confused with it..... Here is my code for remove column: class DelC impl

  • User decision step window

    Hi sdn community, I'm working on workflow where the first step is user decision (BOR Object Decision). After starting workflow, I want that the window for user decison will be created and shown to user automaticaly. The workflow is started at event,

  • Fix for Flash Player Plugin in IE7

    I posted this in the general Flash forum, but figured this was a better place for it as many people are having this issue: I've seen quite a few people with this issue and they all seem to have issues finding the fix...I never found a 100% solution o