Can anyone translate this to AS3 from AS2

var my_btm = new flash.display.BitmapData(215, 110, true, 16777215);
gradient_mc.start_offset = [];
gradient_mc.finish_offset = [];
var c = 0;
while (c < 3)
    gradient_mc.start_offset[c] = {x: 0, y: 0};
    gradient_mc.finish_offset[c] = {x: Math.random() * 10 - 2, y: Math.random() * 3 + 4};
    ++c;
gradient_mc.onEnterFrame = function ()
    var __reg2 = 0;
    while (__reg2 < 3)
        this.start_offset[__reg2].x = this.start_offset[__reg2].x + this.finish_offset[__reg2].x;
        this.start_offset[__reg2].y = this.start_offset[__reg2].y + this.finish_offset[__reg2].y;
        ++__reg2;
    my_btm.perlinNoise(20, 30, 5, 2, true, true, 0, true, this.start_offset);
    var __reg3 = new flash.filters.DisplacementMapFilter(my_btm, new flash.geom.Point(250, 0), 10, 1, 0, 30, "clamp");
    this.filters = [__reg3];
;

I'll do my best:
import flash.display.BitmapData;
import flash.filters.DisplacementMapFilter;
var my_btm:BitmapData = new BitmapData(215, 110, true, 16777215);
gradient_mc.start_offset = [];
gradient_mc.finish_offset = [];
var c:uint = 0;
while (c < 3)
    gradient_mc.start_offset[c] = {x: 0, y: 0};
    gradient_mc.finish_offset[c] = {x: Math.random() * 10 - 2, y: Math.random() * 3 + 4};
    ++c;
gradient_mc.addEventListener(Event.ENTER_FRAME,doEnterFrame);
function doEnterFrame(e:Event):void {
    var __reg2:uint = 0;
    while (__reg2 < 3)
        this.start_offset[__reg2].x = this.start_offset[__reg2].x + this.finish_offset[__reg2].x;
        this.start_offset[__reg2].y = this.start_offset[__reg2].y + this.finish_offset[__reg2].y;
        ++__reg2;
    my_btm.perlinNoise(20, 30, 5, 2, true, true, 0, true, this.start_offset);
    var __reg3:DisplacementMapFilter = new DisplacementMapFilter(my_btm, new flash.geom.Point(250, 0), 10, 1, 0, 30, "clamp");
    this.filters = [__reg3];
A word of warning: I am not familiar with everything used in this example, so I do not guarantee 100% accuracy.  I did the basics, though, changing events to event listeners, and strictly typing all variables.
I assumed that gradient_mc is a movie clip on the stage with the instance name "gradient_mc"

Similar Messages

  • Can anyone translate this crash repot?

    This is the crash report I get when Aperture 3 closes on me. Can anyone help to diagnose my problem?
    Thread 34 Crashed:
    0 com.apple.GeForce7xxxGLDriver 0x000000010f5fd550 gldAttachDrawable + 2592
    1 com.apple.GeForce7xxxGLDriver 0x000000010f6af077 gldUpdateDispatch + 15447
    2 GLEngine 0x000000010f450720 glFlushRender_Exec + 57
    3 com.apple.QuartzCore 0x00007fff8057d756 fegl_unbind_textureobject + 446
    4 com.apple.QuartzCore 0x00007fff8052cfd2 fetree_renderapply + 1870
    5 com.apple.QuartzCore 0x00007fff8052b8cb fetree_render + 1672
    6 com.apple.QuartzCore 0x00007fff8052c45b fetree_render + 4632
    7 com.apple.QuartzCore 0x00007fff8052f422 fetree_rendertexture + 55
    8 com.apple.QuartzCore 0x00007fff8052f254 texture_retain + 711
    9 com.apple.QuartzCore 0x00007fff8052ed95 fetexturenew + 695
    10 com.apple.QuartzCore 0x00007fff8052d5f1 fetree_createtexture + 1404
    11 com.apple.QuartzCore 0x00007fff8052cc25 fetree_renderapply + 929
    12 com.apple.QuartzCore 0x00007fff8052b8cb fetree_render + 1672
    13 com.apple.QuartzCore 0x00007fff8052aed1 fetree_rendertree + 234
    14 com.apple.QuartzCore 0x00007fff80519933 feimage_render + 271
    15 com.apple.QuartzCore 0x00007fff8057628f feimagerender + 157
    16 com.apple.QuartzCore 0x00007fff80574db2 -CIOpenGLContextImpl renderWithBounds:matrix:function:info: + 266
    17 com.apple.QuartzCore 0x00007fff80574c9c -CIContextImpl render: + 196
    18 com.apple.QuartzCore 0x00007fff80571dcf -CIContext drawImage:inRect:fromRect: + 1156
    19 com.apple.geode 0x00000001013c8380 -DGRenderer _render: + 2304
    20 com.apple.geode 0x00000001013c6f9c -DGRenderer _backgroundRender: + 149
    21 com.apple.geode 0x00000001013c6e34 -DGRenderer _backgroundDispatch: + 324
    22 com.apple.proxtcore 0x00000001016096d7 -XTList makeObjectsPerformSelector:withObject: + 71
    23 com.apple.proxtcore 0x0000000101609191 -XTDistributor distributeMessage: + 497
    24 com.apple.proxtcore 0x0000000101608c70 -XTThread handleMessage: + 160
    25 com.apple.proxtcore 0x0000000101607726 -XTThread run: + 374
    26 com.apple.Foundation 0x00007fff886ee0a5 _NSThread__main_ + 1429
    27 libSystem.B.dylib 0x00007fff86acd536 pthreadstart + 331
    28 libSystem.B.dylib 0x00007fff86acd3e9 thread_start + 13
    Thanks in advance
    Art

    Hi,
    I am getting the exact same stack trace when exporting an iPhoto book to PDF or trying to sending it for printing to apple. It starts assemblying a couple of pages and then it crashes. I do not know if it is correlated but I also started having the below errors when switching in between users.
    Both crashes seems to be related to the video card driver and OpenGL
    31/01/11 22:27:06 kernel NVDA(OpenGL): Channel timeout!
    31/01/11 22:27:06 kernel NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
    31/01/11 22:27:06 kernel 0000006b
    31/01/11 22:27:06 kernel 00100000 0000308a 00000000 00004000
    31/01/11 22:27:06 kernel 000190d8 00001094 00000000 00000002
    31/01/11 22:27:06 kernel 00000000 beef6501 00000000
    The upgrade to 10.6.7 did not fix the problem

  • Can anyone translate this answer to my question for me =/

    I've been doing pretty well with my Java programming and am getting into the 3D API and have been able to teach myself with the tutorial at the sun website. But the tutorial frequently references these examples I couldn't find, I just got some little .jar file. I asked how to get these examples and when I said I couldn't understand their answer they told me to come here.
    "You need to extract the example files from the jar archive called
    examples1_6.jar
    with
    jar xvf examples1_6.jar
    if that is the small file you refer to
    You can find out about the jar archives in the java sdk docs, and get a list of jar parameters with
    jar -help
    Make sure that the jar utility in java/bin is on your PATH
    Hope helps"

    Oh, well that explains pretty much everything and I've got it.
    The file never had that winzip or winrar logo on it so I never thought to do that.

  • Can anyone translate this kernel panic log?

    Lately I've been CONSTANTLY being plagued by program crashes, kernel panics, etc... I'm planning on getting my computer checked out but I don't have access to the Apple store in at present. Is anyone tech-savvy enough to decipher this (fairly useless IMO) error log?
    For what it's worth, I occasionally crash when running Safari as well as running Steam.
    Thanks for any and all help.
    Tue Sep 20 22:38:42 2011
    panic(cpu 1 caller 0xffffff80002c268d): Kernel trap at 0xffffff7f81113809, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000000100000, CR4: 0x0000000000000660
    RAX: 0x0000000000000000, RBX: 0xffffff8013e50400, RCX: 0x0000000000001182, RDX: 0x000000000000000b
    RSP: 0xffffff8113313b70, RBP: 0xffffff8113313b70, RSI: 0x0000000000001fff, RDI: 0xffffff8013dbe450
    R8:  0xffffff8113313bc0, R9:  0xffffff8013dbe470, R10: 0x0000000000000000, R11: 0xffffff800063d034
    R12: 0xffffff8013b40003, R13: 0xffffff8013dbe000, R14: 0xffffff8013dbe000, R15: 0x0000000000000002
    RFL: 0x0000000000010217, RIP: 0xffffff7f81113809, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x0000000000000000, Error code: 0x0000000000000000, Faulting CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff8113313830 : 0xffffff8000220702
    0xffffff81133138b0 : 0xffffff80002c268d
    0xffffff8113313a50 : 0xffffff80002d7a3d
    0xffffff8113313a70 : 0xffffff7f81113809
    0xffffff8113313b70 : 0xffffff7f81115764
    0xffffff8113313bf0 : 0xffffff7f80ebe92b
    0xffffff8113313c80 : 0xffffff7f80ebee1a
    0xffffff8113313d60 : 0xffffff8000639d81
    0xffffff8113313dc0 : 0xffffff7f80ed28c2
    0xffffff8113313e80 : 0xffffff7f80ec71fb
    0xffffff8113313ef0 : 0xffffff7f80f81309
    0xffffff8113313f40 : 0xffffff7f80f825c6
    0xffffff8113313f70 : 0xffffff800023dafc
    0xffffff8113313fb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.iokit.IOUSBFamily(4.4)[B3A43E5E-4603-30E5-BEB2-B3388781AD21]@0xffffff 7f80eba000->0xffffff7f80f07fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)[95ABB490-3AB5-3D5E-9C21-67089A9AE6A1]@0xffff ff7f8083e000
             com.apple.driver.AppleUSBOHCI(4.4)[EA02602F-2EB4-3513-934C-B4FFDD0D809F]@0xffff ff7f8110d000->0xffffff7f81119fff
                dependency: com.apple.iokit.IOUSBFamily(4.4.0)[B3A43E5E-4603-30E5-BEB2-B3388781AD21]@0xffff ff7f80eba000
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)[95ABB490-3AB5-3D5E-9C21-67089A9AE6A1]@0xffff ff7f8083e000
             com.apple.iokit.IOUSBHIDDriver(4.4)[4027EB80-58BE-3E15-82CB-3CD4C607F779]@0xfff fff7f80f7f000->0xffffff7f80f86fff
                dependency: com.apple.iokit.IOHIDFamily(1.7.0)[B1357CF2-C9CC-35A8-9841-B1505784CCF5]@0xffff ff7f80f14000
                dependency: com.apple.iokit.IOUSBFamily(4.4.0)[B3A43E5E-4603-30E5-BEB2-B3388781AD21]@0xffff ff7f80eba000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11A511
    Kernel version:
    Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
    Kernel UUID: 24CC17EB-30B0-3F6C-907F-1A9B2057AF78
    System model name: MacBookPro5,2 (Mac-F2268EC8)
    System uptime in nanoseconds: 679904055273
    last loaded kext at 95309508211: com.apple.driver.AppleProfileTimestampAction          81 (addr 0xffffff7f820ca000, size 16384)
    last unloaded kext at 231161477205: com.apple.driver.AppleUSBTCKeyEventDriver          220.8 (addr 0xffffff7f81ba9000, size 8192)
    loaded kexts:
    com.Logitech.Unifying.HID Driver          1.2.0
    com.Logitech.Control Center.HID Driver          3.4.0
    com.apple.driver.AppleIntelProfile          81
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.24
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.1.1f11
    com.apple.driver.AppleMikeyDriver          2.1.1f11
    com.apple.driver.AGPM          100.12.40
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.driver.AudioAUUC          1.59
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.0
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0b2
    com.apple.driver.AppleMuxControl          3.0.8
    com.apple.driver.AppleLPC          1.5.1
    com.apple.GeForce          7.0.2
    com.apple.driver.AppleUSBTCButtons          220.8
    com.apple.driver.AppleUSBTCKeyboard          220.8
    com.apple.driver.AppleIRController          309
    com.apple.iokit.SCSITaskUserClient          3.0.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          32
    com.apple.iokit.IOAHCIBlockStorage          2.0.0
    com.apple.driver.AirPort.Brcm4331          500.20.6
    com.apple.driver.AppleFWOHCI          4.8.6
    com.apple.driver.AppleAHCIPort          2.1.8
    com.apple.driver.AppleHPET          1.6
    com.apple.nvenet          2.0.17
    com.apple.driver.AppleUSBHub          4.4.0
    com.apple.driver.AppleUSBEHCI          4.4.0
    com.apple.driver.AppleUSBOHCI          4.4.0
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          166.0.0
    com.apple.nke.applicationfirewall          3.0.30
    com.apple.security.quarantine          1
    com.apple.driver.AppleIntelCPUPowerManagement          166.0.0
    com.apple.driver.AppleProfileTimestampAction          81
    com.apple.driver.AppleProfileThreadInfoAction          81
    com.apple.driver.AppleProfileRegisterStateAction          81
    com.apple.driver.AppleProfileReadCounterAction          81
    com.apple.driver.AppleProfileKEventAction          81
    com.apple.driver.AppleProfileCallstackAction          81
    com.apple.iokit.AppleProfileFamily          81
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.1.1f11
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOFireWireIP          2.2.3
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOBluetoothSerialManager          2.5f17
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAudioFamily          1.8.3fc11
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleHDAController          2.1.1f11
    com.apple.iokit.IOHDAFamily          2.1.1f11
    com.apple.driver.AppleSMC          3.1.1d2
    com.apple.driver.IOPlatformPluginFamily          4.7.0b2
    com.apple.driver.AppleGraphicsControl          3.0.8
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.nvidia.nv50hal          7.0.2
    com.apple.NVDAResman          7.0.2
    com.apple.iokit.IONDRVSupport          2.3
    com.apple.iokit.IOGraphicsFamily          2.3
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.5f17
    com.apple.driver.AppleUSBBluetoothHCIController          2.5f17
    com.apple.iokit.IOBluetoothFamily          2.5f17
    com.apple.driver.AppleUSBMultitouch          220.23
    com.apple.iokit.IOUSBHIDDriver          4.4.0
    com.apple.driver.AppleUSBMergeNub          4.4.0
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.0
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOAHCISerialATAPI          2.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.0
    com.apple.iokit.IO80211Family          400.40
    com.apple.iokit.IOFireWireFamily          4.4.3
    com.apple.iokit.IOAHCIFamily          2.0.6
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOUSBUserClient          4.4.0
    com.apple.iokit.IOUSBFamily          4.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          165
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          326
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.5
    com.apple.iokit.IOACPIFamily          1.4

    Start by uninstalling the Logitech software and extensions:
    com.Logitech.Unifying.HID Driver
    com.Logitech.Control Center.HID Driver
    See if that fixes the problem.

  • Can anyone translate this error return

    Error Return: gms_dif_aw_bu_lwst_lvl_bu_ext
    The error happens when trying to re-budget an existing Award Budget.

    Hi,
    I am getting the exact same stack trace when exporting an iPhoto book to PDF or trying to sending it for printing to apple. It starts assemblying a couple of pages and then it crashes. I do not know if it is correlated but I also started having the below errors when switching in between users.
    Both crashes seems to be related to the video card driver and OpenGL
    31/01/11 22:27:06 kernel NVDA(OpenGL): Channel timeout!
    31/01/11 22:27:06 kernel NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
    31/01/11 22:27:06 kernel 0000006b
    31/01/11 22:27:06 kernel 00100000 0000308a 00000000 00004000
    31/01/11 22:27:06 kernel 000190d8 00001094 00000000 00000002
    31/01/11 22:27:06 kernel 00000000 beef6501 00000000
    The upgrade to 10.6.7 did not fix the problem

  • How can I translate this from PL/SQL into embedded SQL!?

    CURSOR TEMP1 is
    SELECT emp.fname fname, emp.lname lname, emp.ssn, dname,emp.salary salary, emp1.fname supervisor_fname, emp1.minit supervisor_mdlname,emp1.lname supervisor_lname FROM employee emp, employee emp1,department d
    WHERE emp.superssn=emp1.ssn(+) and emp.dno=dnumber order by ssn;
    PNTR_TEMP1 TEMP1%ROWTYPE;
    --calcualting values for the cursor TEMP1
    for PNTR_TEMP1 in TEMP1 loop
    fname:= PNTR_TEMP1.fname;
    lname:= PNTR_TEMP1.lname;
    ssn := PNTR_TEMP1.ssn;
    dname:=PNTR_TEMP1.dname;
    sup_name:=PNTR_TEMP1.supervisor_fname||' '|| PNTR_TEMP1.supervisor_mdlname||' '||PNTR_TEMP1.supervisor_lname;
    salary := PNTR_TEMP1.salary;
    n_deps:=0 ;
    /* how can I translate this to embedded SQL...I'm using C++*/

    Hi,
    you can follow this link to use cursor in Pro*c /C++
    http://www.csee.umbc.edu/help/oracle8/server.815/a68022/sql.htm
    Regards

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • Can anyone explain this behavior and tell me how to fix it?

    Using NetBeans 6.5 on Windows, Glassfish v2.1
    I have a JSF application with a page that has a tab set.
    On one of the tabs I have a panel with company information.
    One of the components on the page is an InputText field with the value bound to a session bean variable.
    The tab also has an Add button.
    Here is what the JSP looks like for the input text and button components
       <h:inputText binding="#{MainPage.companyNameTF}" id="companyNameTF" readonly="#{SessionBean1.readOnlyFlag}"
       <h:commandButton action="#{MainPage.mainAddBtn_action}" disabled="#{SessionBean1.disableEdit}" id="mainAddBtn"
            style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; left: 425px; top: 380px; position: absolute; width: 75px" value="Add"/>
         This is all plain vanilla stuff and I would expect that when the Add button is pushed, the session bean property would be filled with
    the value entered in the input text field.
    In the java code for the page, I have a method to process the Add button push.
    Originally, it just called a method in the session bean to check that a value was entered in the input text field by checking the bound
    session bean property.
    For some reason, that was not getting filled and I was getting either a null or empty string rather than the value in the text field.
    I added some checking in the method that processes the Add button push so I could check the values in the debugger.
    Here is a sample of that code:
        public String mainAddBtn_action() {
            String s = sb1.getCompanyName();
            s = (String)this.companyNameTF.getValue();
            s = (String)this.companyNameTF.getSubmittedValue();I check this in the debugger and NONE of the variants that I have listed have the value that was entered into the text field.
    The submittedValue is null and the others are empty strings (that is what they were initalized to).
    This is all pertty straight forward stuff and I am at a loss to explain what is happening.
    Can anyone expain this behavior, and, most important, how can I force the values to be present when the Add button is pushed.
    I have never experienced this problem before, and have no clue what is causing it.
    Thanks.

    Basically, the component bindings are just being used in plain vanilla get/set modes.
    I set them to "" when I do a clear for the fields and they are set to a value via the text field.
    No other action other than to read the values via get to insert them into the database.
    And, I always use the get/set methods rather than just setting the value directly.
    This is what is so strange about this behavior - I have created dozens of database add/update/delete pages using this same model and have not had a problem with them - even in a tab context.
    Not a clue why this one is different.
    I did notice that I had an error on the page (in IE7, you get a small triangle warning sign when something is not right).
    I figured that might be the problem - maybe buggering up the rendering process.
    I tracked that down and do not get that anymore (it had to do with the PDF display I was trying to get working a while back), but that did not resolve the problem.
    I don't think there are any tab conflicts - none of the components are shared between tabs, but I will see what happens when I move a couple of the components out of the tab context.
    I noticed that it seems to skip a cycle. Here is what I can do.
    1) Fill in text fields and add a record - works fine the first time.
    2) Clear the text fields
    3) Enter new data in the text fields and push Add
    4) I get an error saying fields are blank from my data check process.
    5) Enter new data and push Add - the record is added with the new data.
    My work around is to not enter data in step 3 and just accept the error message in step 4, then go ahead and enter the real data in step 5.
    Very ugly, but it works every time.

  • Hello! The question is this. In London, took the Iphone 5 as sim free, flew to Moscow put Simcoe, and he writes me that is locked to the operator O2. Can anyone encountered this problem? What to do? How to remove the Unlock?

    Hello! The question is this. In London, took the Iphone 5 as sim free, flew to Moscow put Simcoe, and he writes me that is locked to the operator O2. Can anyone encountered this problem? What to do? How to remove the Unlock?
    <Edited by Host>

    Look at your receipt. Does it say unlocked? It is possible to purchase both locked "sim free" and unlocked iPhones from Apple.
    ONLY the carrier an iPhone is locked to can legitimately unlock it.
    IF your receipt says that it was supposed to be unlocked, and it is not, call AppleCare. They should be able to straighten it out.

  • Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?

    Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?  I thought upgrading to Mountain Lion would work, but I'm having the same problem as before under Snow Leopard.  So, here's my situation. 
    I'm running 10.8.2 on a Macbook Pro.  I have a 3GS iPhone running 6.0.1.  I can make entries on my Mac Calendar and they will show up on my iPhone, but if I make an entry on my iPhone, it never makes it to my Mac.  Also, I notice that when I log in to my iCloud account on my Mac, it has a "me.com" email address as my apple i.d., but it is not my primary account i.d. and I can't figure out how to delete it.  Also, my Reminders application won't allow me to delete lists I created.  Contacts, on the other hand, work instantaneously regardless of where the change is initiated.

    On you iPhone check Settings>Mail,Contacts,Calendars>Default Calendar (in the calendars section).  Here be sure you have selected the Calendar listed under your iCloud account ID as your default.  If you haven't, make this change, then enter a new event on your phone and see if it syncs properly now.
    You should be able to delete you reminders list by, from the Lists view, tapping Edit at the top, then tapping next to the list you want to delete and tapping Delete.

  • The trashcan is not showing up in the upper right-hand corner of my photos, so I can't delete them. Can anyone address this problem?

    The trashcan is not showing up in the right hand corner of my photos on my iPad. So I can't delete pictures. Can anyone solve this problem?

    Where did the photos come from ? Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.

  • Can anyone explain this? ORA-01722

    Hi all,
    Can anyone understand this?
    I have 3 database servers both running on windows 2000 advanced server, they're used by the development team. Also we have our production database.
    The 3 databases are cloned from the production, so database configuration parameters are all equal. Today I've received a query from the development team to run on the production, the query is just simple like this:
    SELECT *
    FROM x
    WHERE x.field_v = 177762522
    I get this error
    ORA-01722: invalid number
    this is a hudge table, and the fiedl_v is a varchar2(9) type.
    The worst thing is that on the others 3 databases this query returns results, except on the production.
    So, can anyone explain me why does the implicit (char to number) conversion occours on the development databases , and fails on the production? What are the main reasons that can influence datatype conversion like this one?
    Both databases have the 9.0.6 patch.
    The 3 development BD's are totally cloned from the production.
    Thanks.

    William:
    There is no guarantee on the order of evaluation of the predicates. Even with your isnum function, the invalid number could arise. The only safe way is to compare strings to strings as in your first example.
    To make the isnum "safe", you would need something more like:
    SELECT *
    FROM (SELECT *
          FROM x
          WHERE isnum(x.field_v) = 'Y' and
                ROWNUM > 0)
    WHERE x.field_v = 177762522;The ROWNUM > 0 predicate in the in-line view will prevent predicate pushing and guarantee that the isnum condition is evaluated first.
    John

  • Can anyone decipher this?

    Can anyone decipher this from a MacBook Air? 
    Version:1.0 StartHTML:0000000177 EndHTML:0000023165 StartFragment:0000002541 EndFragment:0000023129 SourceURL:file://localhost/Users/Station03/Desktop/error%20report.docx                   
    Interval Since Last Panic Report:  4945928 sec
    Panics Since Last Report:          1
    Anonymous UUID: AAAB478E-7DF3-46BC-B5A6-415AF728522F
    Tue Jun 26 17:24:04 2012
    panic(cpu 1 caller 0x2abf6a): Kernel trap at 0x00000000, type 14=page fault, registers:
    CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0x08826000, ECX: 0x107cfdc0, EDX: 0x0ced4f40
    CR2: 0x00000000, EBP: 0x58c4bf78, ESI: 0x00000000, EDI: 0x08826000
    EFL: 0x00010206, EIP: 0x00000000, CS:  0x00000008, DS:  0x07fc0010
    Error code: 0x00000010
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0x58c4bd68 : 0x21b837 (0x5dd7fc 0x58c4bd9c 0x223ce1 0x0)
    0x58c4bdb8 : 0x2abf6a (0x59e3d0 0x0 0xe 0x59e59a)
    0x58c4be98 : 0x2a1a78 (0x58c4beb0 0xf9de0a4 0x58c4bf78 0x0)
    0x58c4bea8 : 0x0 (0xe 0x6c340048 0x58c40010 0x550010)
    0x58c4bf78 : 0x230235 (0x8826000 0x0 0x58c4bfc8 0x227cea)
    0x58c4bfc8 : 0x2a179c (0x863ea0 0x0 0x10 0x7f414e4)
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    System model name: MacBookAir3,2 (Mac-942C5DF58193131B)
    System uptime in nanoseconds: 349846083630500
    unloaded kexts:
    com.apple.iokit.SCSITaskUserClient            2.6.8 (addr 0x592a5000, size 0x28672) - last unloaded 177286763869073
    loaded kexts:
    com.FTDI.driver.FTDIUSBSerialDriver            2.2.14
    com.apple.driver.AppleUSBTCKeyEventDriver            201.6 - last loaded 301283701360087
    com.apple.iokit.SCSITaskUserClient            2.6.8
    com.apple.filesystems.autofs            2.1.0
    com.apple.driver.AppleHWSensor            1.9.3d0
    com.apple.driver.AppleUpstreamUserClient            3.5.7
    com.apple.driver.AppleMCCSControl            1.0.20
    com.apple.driver.ApplePlatformEnabler            2.0.2d1
    com.apple.driver.AGPM            100.12.31
    com.apple.driver.AppleMikeyHIDDriver            1.2.0
    com.apple.driver.AppleHDA            2.0.5f14
    com.apple.driver.AudioAUUC            1.57
    com.apple.driver.AppleMikeyDriver            2.0.5f14
    com.apple.Dont_Steal_Mac_OS_X            7.0.0
    com.apple.driver.AudioIPCDriver            1.1.6
    com.apple.driver.AppleIntelPenrynProfile            17
    com.apple.driver.ACPI_SMC_PlatformPlugin            4.7.0a1
    com.apple.GeForce            6.3.6
    com.apple.driver.AppleLPC            1.5.1
    com.apple.driver.AppleBacklight            170.0.46
    com.apple.driver.AppleUSBTCButtons            201.6
    com.apple.driver.AppleUSBTCKeyboard            201.6
    com.apple.driver.AppleUSBCardReader            2.6.1
    com.apple.iokit.IOAHCIBlockStorage            1.6.4
    com.apple.driver.AirPortBrcm43224            428.42.4
    com.apple.driver.AppleAHCIPort            2.1.7
    com.apple.driver.AppleUSBHub            4.2.4
    com.apple.driver.AppleUSBEHCI            4.2.4
    com.apple.BootCache            31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib            1.0.0d1
    com.apple.driver.AppleUSBOHCI            4.2.0
    com.apple.driver.AppleSmartBatteryManager            160.0.0
    com.apple.driver.AppleEFINVRAM            1.4.0
    com.apple.driver.AppleRTC            1.3.1
    com.apple.driver.AppleHPET            1.5
    com.apple.driver.AppleACPIButtons            1.3.6
    com.apple.driver.AppleSMBIOS            1.7
    com.apple.driver.AppleACPIEC            1.3.6
    com.apple.driver.AppleAPIC            1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient            142.6.0
    com.apple.security.sandbox            1
    com.apple.security.quarantine            0
    com.apple.nke.applicationfirewall            2.1.14
    com.apple.driver.AppleIntelCPUPowerManagement            142.6.0
    com.apple.driver.AppleProfileReadCounterAction            17
    com.apple.nvidia.nv50hal            6.3.6
    com.apple.driver.DspFuncLib            2.0.5f14
    com.apple.driver.AppleProfileTimestampAction            10
    com.apple.driver.AppleProfileThreadInfoAction            14
    com.apple.driver.AppleProfileRegisterStateAction            10
    com.apple.driver.AppleProfileKEventAction            10
    com.apple.driver.AppleProfileCallstackAction            20
    com.apple.driver.AppleSMBusController            1.0.10d0
    com.apple.iokit.IOSurface            74.2
    com.apple.iokit.IOBluetoothSerialManager            2.4.5f3
    com.apple.iokit.IOSerialFamily            10.0.3
    com.apple.iokit.IOAudioFamily            1.8.3fc2
    com.apple.kext.OSvKernDSPLib            1.3
    com.apple.driver.AppleHDAController            2.0.5f14
    com.apple.iokit.IOHDAFamily            2.0.5f14
    com.apple.iokit.AppleProfileFamily            41
    com.apple.driver.AppleSMC            3.1.0d5
    com.apple.driver.IOPlatformPluginFamily            4.7.0a1
    com.apple.driver.AppleSMBusPCI            1.0.10d0
    com.apple.NVDAResman            6.3.6
    com.apple.driver.AppleBacklightExpert            1.0.1
    com.apple.iokit.IONDRVSupport            2.2.1
    com.apple.iokit.IOGraphicsFamily            2.2.1
    com.apple.driver.BroadcomUSBBluetoothHCIController            2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController            2.4.5f3
    com.apple.iokit.IOBluetoothFamily            2.4.5f3
    com.apple.driver.AppleUSBMultitouch            207.7
    com.apple.iokit.IOUSBHIDDriver            4.2.0
    com.apple.iokit.IOSCSIBlockCommandsDevice            2.6.8
    com.apple.iokit.IOUSBMassStorageClass            2.6.7
    com.apple.iokit.IOSCSIArchitectureModelFamily            2.6.8
    com.apple.driver.AppleUSBMergeNub            4.2.4
    com.apple.driver.AppleUSBComposite            3.9.0
    com.apple.driver.XsanFilter            402.1
    com.apple.iokit.IO80211Family            320.1
    com.apple.driver.AppleMCP89RootPortPM            1.11
    com.apple.iokit.IOAHCIFamily            2.0.6
    com.apple.iokit.IOUSBUserClient            4.2.4
    com.apple.iokit.IONetworkingFamily            1.10
    com.apple.iokit.IOUSBFamily            4.2.4
    com.apple.driver.NVSMU            2.2.7
    com.apple.driver.AppleEFIRuntime            1.4.0
    com.apple.iokit.IOHIDFamily            1.6.6
    com.apple.iokit.IOSMBusFamily            1.1
    com.apple.kext.AppleMatch            1.0.0d1
    com.apple.security.TMSafetyNet            6
    com.apple.driver.DiskImages            289.1
    com.apple.iokit.IOStorageFamily            1.6.3
    com.apple.driver.AppleACPIPlatform            1.3.6
    com.apple.iokit.IOPCIFamily            2.6.5
    com.apple.iokit.IOACPIFamily            1.3.0
    Model: MacBookAir3,2, BootROM MBA31.0061.B01, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f55
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.10.131.42.4)
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en0
    Serial ATA Device: APPLE SSD TS256C, 233.76 GB
    USB Device: FaceTime Camera (Built-in), 0x05ac  (Apple Inc.), 0x850a, 0x24600000 / 2
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0x26100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x04500000 / 3
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821b, 0x04530000 / 5
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x023f, 0x04300000 / 2

    A third-party USB device. I don't know which one. It wasn't connected at the time of the panic.

  • Can anyone explain this: Numeric or Value Error Line 1

    I have a stored procedure that starts out like so:
    PROCEDURE test_proc(param1 IN VARCHAR2, param2 IN VARCHAR2, param3 OUT
    SYS_REFCURSOR) IS
    v_var varchar2(5);
    BEGIN
    SELECT * FROM. . .
    The procedure tested fine in PL/SQL Developer. When calling from
    ODP.NET like so. . .
    OracleCommand cmd = new OracleCommand("test_proc", <connection>);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.Add("param1", "somevalue");
    cmd.Parameters.Add("param2", "XX");
    cmd.Parameters.Add("param3", OracleDbType.RefCursor,
    ParameterDirection.Output);
    DataSet ds = new DataSet();
    OracleDataAdapter da = new OracleDataAdapter(cmd);
    con.Open();
    da.fill(ds);
    con.Close();
    . . .the procedure executed as expected. If I changed the value of
    param2 to "XXX" or any value three chars long I got the "ORA-06502:
    Numeric or Value Error at Line 1" error.
    After beating my head against the wall for hours, I tried changing the
    size of v_var to 50, and the error disappeared. Mind you, the error
    was being thrown long before v_var was being set further down in the
    proc. Even more interesting is that the possible values of v_var were
    all less than 5 chars wide. Most interesting: the value of p_param2 had nothing whatever to do with v_var.
    Can anyone explain this?

    Hi,
    Is your database 9206 by chance? Re: Error ORA-06502 PL/SQL
    Cheers,
    Greg

  • Can anyone explain this query.?

    Can anyone explain this query.?
    select nvl(s.p_id,q.p_id),nvl(s.p_type,q.p_type),nvl(s.p_line,q.p_line),
    nvl(s.sales2004,0),nvl(s.sales2005,0),nvl(q.quota2004,0),nvl(q.quota2005,0)
    from sales s
    full outer join quota q on(s.p_id = q.p_id and s.p_type=q.p_type and s.p_line=q.p_line)

    from sales s full outer join quota qTable quota is outer joined to table sales , if there are no matching records in table quota then also the query retuns the sales record with null values for the corresponding quota record columns
    NVL() has been used to handle such cases

Maybe you are looking for

  • Item Category Determination in Deliveries against STO

    Dear Guru, In our STO process, there will always have a Outbound delivery created for this STO PO. Actually my question is how the system deterermine the correct item category for the outbound delivery. I checked through configuration under "Define I

  • Using footage from DVD disc shot with sony handycam

    I'm trying to import some footage that was shot with a sony handycam. The camera records directly onto a mini DVD disc. I put the disc in and copied the files onto my desktop. When I import the files into FCP, it recognizes the .vob files, but not th

  • How do i undo a lock code that was put on my ipod

    i have a ipod touch and my older brother borrowed it from me and when i got it back from him he had gone a put a password on it so i cant get into it, and i did ask him but he wont tell me at all so now a cant use my ipod!! HELP i go crazy without my

  • Control receipe creation in process order

    Hi, Can you please tell me how to create control receipe. After releasing the process order when I select the button for creating  control receipe. System shows error as " No control receipe generated" Please tell me the basic steps required to creat

  • Windows 7 on Mac book pro photos missing from files Does it happen often?

    Photos keep disappearing from files when saved from the net using Windows 7 .Has this happened to anyone else? Thanks John