Help with simple preloader- please

hello,
i'm trying to get a simple preloader and progress bar working
for a swf file. The problem is the main swf. movie starts playing
under preloader before the preloader is finished. So when the
preloader has finished you are already well into the main movie.
(After the movie loops you can see the first part that was missing
during the preload.) This is the AS that i found from a web site
(MonkeyFlash), it is AS 3. Below is the script.
here is a link to the page with the movie:
http://www.aquatichealings.com/new/
Also is it not advisable to use AS3 because it will only work
in Flash 9 and not below and most people may not have 9? Should i
be starting over in AS2. I had built a AS2 in Flash CS3 but had the
same problem.
Please kindly advise on how to make it work correctly. I'd
really appreciate some help, i've gotten books and scoured the web
for different methods and i'm afraid i'm a bit of a numb skull with
Flash and can not seem to get a simple preloader and progress bar
working correctly. THANKS!
gregory
var myRequest:URLRequest = new URLRequest("aquatic-h.swf");
var myLoader:Loader = new Loader();
myLoader.load(myRequest);
myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
var myPreloader:Preloader = new Preloader();
function showPreloader(event:Event):void {
addChild(myPreloader);
myPreloader.x = stage.stageWidth/2;
myPreloader.y = stage.stageHeight/1.2;
function showProgress(event:ProgressEvent):void {
var percentLoaded:Number =
event.bytesLoaded/event.bytesTotal;
myPreloader.loading_txt.text = "Loading - " +
Math.round(percentLoaded * 100) + "%";
myPreloader.bar_mc.width = 198 * percentLoaded;
function showContent(event:Event):void {
removeChild(myPreloader);
addChild(myLoader);
}

... the pre-loader clip must be accompanied by a "stop"
perhaps a "stop all sounds", too ActionScript on the action layer
of the main timeline.
I keep it simple and ask my prloader to not let the main
timeline play until the final frame of the movie has loaded. The
final frame is accompanied by a frame labeled "End" on a layer of
the main timeline of just labels.

Similar Messages

  • Help with simple Preloader. Error#1009  :-(

    Hello !
    I have a very simple preloader file which loads a "main.swf" file. I put on stage
    a LogoCompany (MovieClip), a Mask (MovieClip) and a Text (Dynamic).
    As the percentage of bytes from the .swf file increases, the Mask.x position is increased so the LogoCompany appears.
    Here is the code:
    // Simple Preloader
    var maskStart:Number = 116;
    var maskEnd:Number = 377;
    var maskMove:Number = maskEnd - maskStart;
    var myLoader:Loader = new Loader();
    // URL to swf.
    myLoader.load( new URLRequest("main.swf") );
    // Create event
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, myLoop);
    function myLoop(e:ProgressEvent):void
        var perc:Number = Math.round( (e.bytesLoaded / e.bytesTotal) * 100);
        trace ("perc == " + perc);
        txtMessage.text = "Loading... " + perc.toString() + "%";
        trace ("txtMessage.text == " + txtMessage.text);
        maskLogo_mc.x = maskStart + maskMove * perc / 100;
        trace ("maskLogo_mc.x == " + maskLogo_mc.x);
        if(e.bytesLoaded == e.bytesTotal)
            removeChild(maskLogo_mc);
            removeChild(logoCompany_mc);
            removeChild(txtMessage);
            txtMessage = null;
            addChild(myLoader);
    The animation is actually going till the end (100%).  But in the middle I always get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at main_fla::MainTimeline/main_fla::frame13()
    I really don't know what is going on.
    Can anyone help me with this ?
    Thanks in Advance.
    H

    Hello Ned.
    Thank you for your prompt reply.
    Unfortunately I got the same error after I followed your suggestions:
    - Moving the .load() function after everything.
    - Marking "Permit Debugging" on Publish Settings under Flash tab. (CS3 version here)
    Any more suggestions?
    Thanks in advance.
    H

  • New to APEX, help with simple app please

    Need to create a simple app based on 1 box with 4 buttons based to execute sql. Having hard time sifting throught the material need app fast. Sorry for being a block head. Can anyone help or suggest any books to point me in right direction. Need asap. Any help will be appreciated.
    Simple app with one box where username is entered
    --------------------- Enter new users name
    Create user with with added synonyms A
    Create user without synonyms B
    Remove user C
    ADD synonyms to existing user D
    EXIT E
    A = Executes create user command with additional lines of code to add the synonyms
    B = Executes simple create user command
    C = Executes delete user, (sys, system, ect will be excluded
    D = Executes command to add 3 private synonyms
    We are limiting the data they can see if they do not have a synonym.
    Thanks a ton

    Scott,
    Thanks for your reply. This is a DBA create user tool, management wants to provide the application administrator ability to create DBA users only for this database. The application is built so users with certain private synonyms assigned can see data, those without do not. It is a customized COTS app, I would never design like that.
    I do not agree with it, not my decision. I built a shell menu and scripts but that is not GUI enough for this boss. At first It looked like a simple APEX app. I am finding that APEX is more a reporting tool based on objects and I will continue to use it for that. I am learning lots about it so that is cool.
    Andy

  • Help with simple animation please

    Hello all. I am writing a class and part of it is to make a stick figure walk across the screen. I have searched for tutorials and all I could seem to find is what I have already done. I have one leg moving on my guy now I am trying to get the whole body to move to the right and start again after it reaches the end of screen. I'll post what I have so far. I have started some new coordinates for the body part (the one long line). It didn't go so well in my applet. Before I go through all this trouble figuring out all these different coordinates trying to move each body part one at a time and keeping them aligned, can somebody tell me if I am on the right track or am I making it harder on myself? I can figure out the movement of a leg because I am only moving one end of it but when it comes to the entire (body) line and the circle, that's where I get a little confused. Is there an easier way of doing this? Am I declaring the variables correctly? Without my crazy body variables, the leg moves just fine, just wanted to show what I am trying to do. Thanks for any help on this.
    import java.applet.*;
    import java.awt.*;
    public class Exercise1 extends Applet
    private int index = 0;
    int[] horiz = {130,120,110,100,90,80,70,60,50};
    int[] vert = {310,310,310,310,310,310,310,310,310};
    int[] bu = {85,110,140,110,170,110}; //move upper body to right?
    int[] bl = {85,310,110,310,140,310};//move lower body to right?
    private int sleep = 200;
    public void start()
    index = 0;
    public void paint(Graphics gr)
    gr.drawOval(30,30,80,80);
    gr.drawLine(85,110,bu[index],bl[index]);
    gr.drawLine(0,310,260,310);
    ++index;
    if(index == horiz.length)
    index = 0;
    gr.setColor(Color.BLACK);
    gr.drawLine(85,210,horiz[index],vert[index]);
    try
    Thread.sleep(sleep);
    catch(InterruptedException e)
    repaint();
    }

    FWIW this is how I would approach this problem: I wouldn''t use hardcoded arrays, I would compute positions.
    1. Add an instance field increment of type int to represent the increment (by how many pixels movement is to be effected in the x-direction i.e. horizontally).
    2. Draw a vertical line to represent the body and move it by "increment" pixels at a time, multiplying increment by -1 each time "body" reached the boundaries of its container. Test that to oblivion.
    3. Add a line for a leg, the top end of which would be the lower end of "body" and the bottom end at the center of the baseline. Test that (the leg would stretch terribly, but there you have it, for the time being)
    4. Start to increment the x position of the bottom of the leg by 2 * increment as soon as the horizontal displacement of the bottom of the leg from the body exceeds a certain limit, and stop as soon as it again exceeds the sme linit in the opposite direction. Test that to oblivion.
    5. Add the other leg, making sure the two legs start ahead and behind the body, so that the partial stick figure appears to walk, not hop.
    6. Modify the condition to reverse the movement when any part of the figure, and not just the body, goes outside the boundaries of the container.
    Then, after getting that working, I would start to think about the head and then the arms. Later I would look into mdifying the routine to give the stick man knees and elbows, then maybe ankles and feet... raise a foot off the ground when taking a step... swing his arms as he walks...
    In a nutshell, do this one part at a time, visualizing where the rest will go, and test test test at each stage so you don't have to backtrack too much.
    A word of advice: don't hardcode movement increments into the body of your code, use variables declared and initialized at the top of the program, where it will be easy to find them and change the values.
    db

  • Help with simple program please!

    Hi. I am brand new to Java and pretty new to programming in general. I am writing a project for a class where we have to output the index at which a certain "target" string matches the "source" string. I'm stuck. I thought my code would make "compare" a string of length target.length()? Any help is greatly appreciated. Thanks!
    public static ArrayList<Integer> matches(String source, String target) {
    // check preconditions
    assert (source != null) && (source.length() > 0)
         && (target != null) && (target.length() > 0): "matches: violation of precondition";
    ArrayList<Integer> result = new ArrayList<Integer>();
    String compare = "";
    for (int i=0; i<source.length()-target.length()+1;i++){
         int count = 0;
         for (int k=i; k<i+target.length(); k++){
              compare = compare + source.charAt(k);
         for (int j=0; j<target.length(); j++){
              if (target.charAt(j) == compare.charAt(j)){
                   count ++;
         if (count == target.length()){
              result.add(i);
              return result;
    }

    I apologize, I am new to the forums and posted that code horribly. Here is the accurate code.
        public static ArrayList<Integer> matches(String source, String target) {
            // check preconditions
            assert (source != null) && (source.length() > 0)
                 && (target != null) && (target.length() > 0): "matches: violation of precondition";
            ArrayList<Integer> result = new ArrayList<Integer>();
            String compare = "";
            for (int i=0; i<source.length()-target.length()+1;i++){
                 int count = 0;
                 for (int k=i; k<i+target.length(); k++){
                      compare = compare + source.charAt(k);
                 for (int j=0; j<target.length(); j++){
                      if (target.charAt(j) == compare.charAt(j)){
                           count ++;
                 if (count == target.length()){
                      result.add(i);
              return result;
        }

  • Help with simple jsp please

    Hi,
    I would like to know how to create a simple jsp to display some data from the database. I was able to create a bean to display the data from a table using the wizard. How do I put this bean's content into the jsp?
    Thanks,
    Charles Li

    Even better are the online tutorials that will take you step by step:
    http://www.oracle.com/technology/obe/obe9051jdev/index.htm
    Try the ADF Workshop one - it will show you most of what you need.

  • Need help with simple XML validation

    I am new to Spry and need some help creating a simple
    validation. There is a form field which must not contain a value
    already in the database. I have a script which accepts a parameter
    and returns a boolean result. Here is the XML:
    <samples>
    <sample>
    <ISFOUND>0</ISFOUND>
    </sample>
    </samples>
    1. How do I call this script when the form field changes and
    pass the form value as the parameter?
    2. How do I check the returned value in the XML and throw an
    error if true?
    I appreciate any help with this. Please let me know if there
    is a better way to achieve the same result.
    Thanks,
    Rich

    I enabled the call to the XML response. However, I am having
    trouble identifying when the call is complete so I can parse the
    result. How do I run my check after the data load and display the
    proper message?

  • Help with access control please

    So I'm trying to set up my brother's PSP to the wirless network through MAC address timed access. What I want to do is make it so that he can only access it through certain times in the day. I'm having troubles with actually getting it to work. Everytime I set it up, the PSP only show's up as a DHCP client and not a Wireless client. I tried the option panel with the add wireless clients through the first try access. Could I get some help with this issue please? Thanks!

    Just to calm your fears... There is no conspiracy. If someone had an answer or a suggestion they would post it.

  • Please help with simple Drag N Drop

    I’m desperate and need some help with this simple drag
    and drop. Here is the scenario…this animation is for a
    kindergarten course. I have 6 different colored teddy bears on the
    floor and the bears are to be placed on the middle shelf in the
    room, in no particular order. I have the code in place to drag the
    bears, and they return to their original location if dropped in the
    wrong area. Everything works, except I can’t make the bears
    stick to the target area. The target area has to be the same for
    all 6 bears. Can someone help me out with this?
    I have a feeling that the problem has something to do with my
    instance names, but I have tried everything I can think of and
    cannot get it to work. Is there some way I can post, send, or
    attach my .fla file for someone to look at? I’m desperate.
    PLEASE HELP!

    var startX3:Number;
    var startY3:Number;
    var counter3:Number=0;
    vf_A.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
    vf_A.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
    vf_E.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
    vf_E.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
    vf_I.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
    vf_I.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
    vf_O.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
    vf_O.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
    vf_U.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
    vf_U.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
    function pickUp3(event:MouseEvent):void {
    event.target.startDrag(true);
    reply2_txt.text="";
    event.target.parent.addChild(event.target);
    startX2=event.target.x;
    startY2=event.target.y;
    function dropIt3(event:MouseEvent):void {
    event.target.stopDrag();
    var myTargetName:String="target"+event.target.name;
    var myTarget:DisplayObject=getChildByName(myTargetName);
    if (event.target.dropTarget != null &&
    event.target.dropTarget.name == "instance112") {
    reply2_txt.text="Good Job!";
    event.target.removeEventListener(MouseEvent.MOUSE_DOWN,
    pickUp3);
    event.target.removeEventListener(MouseEvent.MOUSE_UP,
    dropIt3);
    event.target.buttonMode=false;
    event.target.x=myTarget.x;
    event.target.y=myTarget.y;
    var mySound:Sound = new vowels_NAR_goodjob();
    mySound.play();
    counter3++;
    } else {
    reply2_txt.text="Try Again!";
    event.target.x=startX2;
    event.target.y=startY2;
    var mySound2:Sound = new vowel_NAR_nopetryagain();
    mySound2.play();
    if (counter2==5) {
    reply2_txt.text="Great Job! You did it!";
    gotoAndPlay(3300);
    vf_A.buttonMode=true;
    vf_E.buttonMode=true;
    vf_I.buttonMode=true;
    vf_O.buttonMode=true;
    vf_U.buttonMode=true;

  • Help with a preloader in AS3

    Hi,
    I upload a website and I have problems with the preloader did it in AS3. It starts after two or three minutes. I have a MC with an animation of 100 frames and the dynamic text of the percent. The preloader is located in the 1 frame to the 10, I mean, first frame with the actions and the other three layers (text, MC and background) with a lenght of 10. The movie has 525 frames. Here is the code:
    stop();
    addEventListener(Event.ENTER_FRAME, lodeando);
    function lodeando(event:Event):void
              var bytesTotales = stage.loaderInfo.bytesTotal;
              var bytesCargados = stage.loaderInfo.bytesLoaded;
              var porcentaje = Math.round(bytesCargados * 100 / bytesTotales);
              textoPorcentaje.text = porcentaje + "% Cargados";
              cargaAnimada_mc.gotoAndStop(porcentaje);
              if (bytesCargados == bytesTotales)
                        removeEventListener(Event.ENTER_FRAME, lodeando);
                        gotoAndPlay(2);
                        textoPorcentaje.text = "";
                        removeChild(textoPorcentaje);
                        removeChild(cargaAnimada_mc);
    Please, Could you help me?.

    These screen captures show the library of the movie. As you can see I export the most of them. However I have doubts about if I must convert to symbol the graphics. I have the preloader in the "presentación" folder without any exportation.
    Please, Could you correct the website?. Please, tell me an e-mail address and I send you the website via WeTransfer.

  • This iMac will be the death of me! Help with Kernel panics please

    Hi guys,
    Had my 27" iMac back from repair at only 5 months old , they installed Lion OSX , first its been freezing on me for so reason at all, just surfing the net , no video or flash, now i keep getting a kernel panic for some reason , can anyone help with this please......
    Interval Since Last Panic Report:  10 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    7B31CF0B-CED9-4C93-87BA-9E4D36669DCE
    Sat Aug 13 19:47:12 2011
    panic(cpu 0 caller 0xffffff80002c268d): Kernel trap at 0xffffff8000210d57, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000291, CR3: 0x000000001753f000, CR4: 0x0000000000000660
    RAX: 0x0000000000000003, RBX: 0x0000000000000000, RCX: 0x000000000000db9b, RDX: 0xffffff80f148beb8
    RSP: 0xffffff80f148be78, RBP: 0xffffff80f148bef0, RSI: 0xffffff80f148bec0, RDI: 0x0000000000000291
    R8:  0x000000009b000000, R9:  0x000000009b000000, R10: 0x0000000000000003, R11: 0xffffff80d315d210
    R12: 0xffffff80f148bec0, R13: 0xffffff80f148beb8, R14: 0xffffff8014c4c228, R15: 0xffffff8014c4c230
    RFL: 0x0000000000010246, RIP: 0xffffff8000210d57, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x0000000000000291, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80f148bb30 : 0xffffff8000220702
    0xffffff80f148bbb0 : 0xffffff80002c268d
    0xffffff80f148bd50 : 0xffffff80002d7a3d
    0xffffff80f148bd70 : 0xffffff8000210d57
    0xffffff80f148bef0 : 0xffffff8000213374
    0xffffff80f148bf20 : 0xffffff800021ba01
    0xffffff80f148bf90 : 0xffffff800021bcd1
    0xffffff80f148bfb0 : 0xffffff8000820057
    BSD process name corresponding to current thread: WindowServer
    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: iMac11,3 (Mac-F2238BAE)
    System uptime in nanoseconds: 265853876036
    last loaded kext at 24377516298: com.apple.filesystems.msdosfs          1.7 (addr 0xffffff7f81e83000, size 57344)
    loaded kexts:
    com.apple.filesystems.msdosfs          1.7
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.driver.AppleBluetoothMultitouch          66.3
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyDriver          2.1.1f11
    com.apple.driver.AppleHDA          2.1.1f11
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.24
    com.apple.kext.ATIFramebuffer          7.0.2
    com.apple.ATIRadeonX3000          7.0.2
    com.apple.driver.AppleTyMCEDriver          1.0.2d2
    com.apple.driver.AGPM          100.12.40
    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.AirPort.Atheros21          430.14.9
    com.apple.driver.AirPort.Atheros40          500.55.5
    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.driver.AppleBacklight          170.1.9
    com.apple.driver.AppleIRController          309
    com.apple.driver.AppleUSBCardReader          3.0.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          32
    com.apple.iokit.SCSITaskUserClient          3.0.0
    com.apple.iokit.IOAHCIBlockStorage          2.0.0
    com.apple.driver.AppleUSBHub          4.4.0
    com.apple.driver.AppleFWOHCI          4.8.6
    com.apple.iokit.AppleBCM5701Ethernet          3.0.6b9
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleAHCIPort          2.1.8
    com.apple.driver.AppleUSBEHCI          4.4.0
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleUSBUHCI          4.4.0
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleHPET          1.6
    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.AppleBluetoothHIDKeyboard          152.3
    com.apple.driver.AppleHIDKeyboard          152.3
    com.apple.driver.AppleMultitouchDriver          220.62
    com.apple.driver.IOBluetoothHIDDriver          2.5f17
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleHDAHardwareConfigDriver          2.1.1f11
    com.apple.driver.DspFuncLib          2.1.1f11
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.kext.ATI5000Controller          7.0.2
    com.apple.kext.ATISupport          7.0.2
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOBluetoothSerialManager          2.5f17
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOFireWireIP          2.2.3
    com.apple.iokit.IOAVBFamily          1.0.0d22
    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.iokit.IO80211Family          400.40
    com.apple.driver.AppleSMC          3.1.1d2
    com.apple.driver.IOPlatformPluginFamily          4.7.0b2
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.0.8
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.iokit.IONDRVSupport          2.3
    com.apple.iokit.IOGraphicsFamily          2.3
    com.apple.driver.AppleFileSystemDriver          13
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.5f17
    com.apple.driver.AppleUSBBluetoothHCIController          2.5f17
    com.apple.iokit.IOBluetoothFamily          2.5f17
    com.apple.iokit.IOUSBHIDDriver          4.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.0
    com.apple.iokit.IOUSBMassStorageClass          3.0.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.IOFireWireFamily          4.4.3
    com.apple.iokit.IOUSBUserClient          4.4.0
    com.apple.iokit.IOEthernetAVBController          1.0.0d5
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOAHCIFamily          2.0.6
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.0
    com.apple.iokit.IOUSBFamily          4.4.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
    Model: iMac11,3, BootROM IM112.0057.B00, 4 processors, Intel Core i7, 2.93 GHz, 8 GB, SMC 1.59f2
    Graphics: ATI Radeon HD 5750, ATI Radeon HD 5750, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54313235533654465238432D48392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x0702, 0x32353636344D313333490000000000000000
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54313235533654465238432D48392020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x0702, 0x32353636344D313333490000000000000000
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.55.4-P2P
    Bluetooth: Version 2.5.0f17, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: ST31000528AS, 1 TB
    Serial ATA Device: HL-DT-STDVDRW  GA32N
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 4
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 5
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

    Serious? Man , i have only just got it back! its had a new logic board fitted and also a new led display board and its only 5 months old!
    I really don't want to take this back if its something simple, but if you guys think something is not right then i will.
    issues are intermit freezing when just surfing the net ( hard reset needed )
    And also now these intermit kernel panics for no reason, again just surfing the net. ( hard reset needed )
    Apple are lucky i have a sense of humour!

  • Urgent help with simple BPEL process for reading data from database

    Hello there,
    I need help with BPEL project.
    i have created a table Employee in Database.
    I did create application, BPEL project and connection to the database properly using Database Adapter.
    I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
    Can someone please describe me step by step what i need to do.
    Thx,
    Dps

    I have created a table in Database with data like Empno,name,salary,comments.
    I created Database Connection in jsp page and connecting to BPEL process.
    It initiates the process and it goes automatically for approval.
    Please refer the code once which i created.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="java.util.Map" %>
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.HashMap" %>
    <%@ page import="java.sql.*"%>
    <%@ page import= "jspprj.DBCon"%>
    <html>
    <head>
    <title>Invoke CreditRatingService</title>
    </head>
    <body>
    <%
    DBCon dbcon=new DBCon();
    Connection conn=dbcon.createConnection();
    Statement st=null;
    PreparedStatement pstmt=null;
    Hashtable env= new Hashtable();
    ResultSet rs = null;
    Map payload =null;
    try
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "opmn:ormi://localhost:port:home/orabpel");//bpel server
    env.put("java.naming.security.principal", "username");
    env.put("java.naming.security.credentials", "password");//bpel console
    Locator locator = new Locator("default","password",env);
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    java.util.HashMap map = new HashMap();
    st=conn.createStatement();
    out.println("connected");
    String query1="Select * from EMPLOYEE";
    rs=st.executeQuery(query1);
    /*reading Data From Database and converting into XML format
    so that no need of going to BPEL console and entering the details.
    while (rs.next()){
    String xml1 = "<AsynchBPELProcess1ProcessRequest xmlns='http://xmlns.oracle.com/AsynchBPELProcess1'>"+
    "<Empno>"+rs.getString(1)+"</Empno>"+
    "<EmpName>"+rs.getString(2)+"</EmpName>"+
    "<Salary>"+rs.getString(3)+"</Salary>"+
    "<Comments>"+rs.getString(4)+"</Comments>"+
    "</AsynchBPELProcess1ProcessRequest>";
    out.println(xml1);
    nm.addPart("payload", xml1 );
    // EmployeeApprovalProcess is the BPEL process in which human task is implemented
    deliveryService.post("EmployeeApprovalProcess", "initiate", nm);
    // payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    // out.println( "Credit Rating is " + payload.get("payload") );
    //Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
    catch(Exception ee) {
    //("BPEL Server lsgpas14 invoking error.\n"+ee.toString());
    %>
    </body>
    </html>
    Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this.

  • Urgent help with simple BPEL process

    Hello there,
    I need help with BPEL project.
    I'm new in JDeveloper&BPEL and i'd like to create process that we'll after sending employee ID return personal details of that employee.
    I did create application, BPEL project and connection to the database properly but somehow i can't deal input and output variable.
    Can someone please describe me step by step what i need to do, how to set up variable etc
    Thx,
    DI

    Me again. This time i hope i'll get some help :(
    Solution to my problem is change to the data-sources.xml and oc4j-ra.xml.
    Since i have database on same machine with BPEL PM Server that uses Olite DB when i tried to make changes i found in tutorials, here on forum and rest of internet
    BPEL PM Server just freeze, didn't start at all.
    Here are data-sources.xml, oc4j-ra.xml and DBAdapter wsdl file. Plz can someone make changes to those files i'll appreciate that.
    HOME\bpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter
    oc4j-ra.xml
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
         <imported-shared-libraries>
              <import-shared-library name="oracle.bpel.common"/>
              <import-shared-library name="oc4j.internal"/>
              <import-shared-library name="oracle.xml"/>
              <import-shared-library name="oracle.sqlj"/>
              <import-shared-library name="oracle.toplink"/>
              <import-shared-library name="oracle.jdbc"/>
         </imported-shared-libraries>
         <connector-factory location="eis/DB/DBConn_XE" connector-name="Database Adapter">
              <config-property name="xADataSourceName" value="jdbc/DBConn_XEDataSource"/>
              <config-property name="dataSourceName" value="loc/DBConn_XEDataSource"/>
              <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="true"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
         <connector-factory location="eis/DB/BPELSamples" connector-name="Database Adapter">
              <config-property name="xADataSourceName" value="jdbc/BPELSamplesDataSource"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="false"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    </oc4j-connector-factories>
    HOME \bpel\system\appserver\oc4j\j2ee\home\config
    data-sources.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">
    <data-sources>
    <!-- Connection pool for oracle database -->
    <!--
    <connection-pool name="BPELPM_CONNECTION_POOL">
    <connection-factory factory-class="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:[username]/[password]@[hostname]:[port]:[sid]" />
    </connection-pool>
    -->
    <!-- Connection pool for oracle lite -->
    <connection-pool name="BPELPM_CONNECTION_POOL">
    <connection-factory factory-class="oracle.lite.poljdbc.POLJDBCDriver"
    user="system"
    password="manager"
    url="jdbc:[email protected]:1531:orabpel" />
    </connection-pool>
    <managed-data-source name="BPELServerDataSource"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELServerDataSource" tx-level="global"/>
    <managed-data-source name="BPELServerDataSourceWorkflow"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELServerDataSourceWorkflow" tx-level="local"/>
    <managed-data-source name="BPELSamplesDataSource"
    connection-pool-name="BPELPM_CONNECTION_POOL"
    jndi-name="jdbc/BPELSamplesDataSource" />
    </data-sources>
    DBAdapter wsdl file
    GetData_WS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="GetData_WS"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/db/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/" location="DBAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
    schemaLocation="GetDataWS_table.xsd"/>
    </schema>
    </types>
    <message name="EmpDetailsViewCollection_msg">
    <part name="EmpDetailsViewCollection" element="top:EmpDetailsViewCollection"/>
    </message>
    <message name="GetData_WSSelect_EMP_ID_inparameters">
    <part name="GetData_WSSelect_EMP_ID_inparameters" element="top:GetData_WSSelect_EMP_IDInputParameters"/>
    </message>
    <portType name="GetData_WS_ptt">
    <operation name="GetData_WSSelect_EMP_ID">
    <input message="tns:GetData_WSSelect_EMP_ID_inparameters"/>
    <output message="tns:EmpDetailsViewCollection_msg"/>
    </operation>
    </portType>
    <binding name="GetData_WS_binding" type="tns:GetData_WS_ptt">
    <jca:binding />
    <operation name="GetData_WSSelect_EMP_ID">
    <jca:operation
    InteractionSpec="oracle.tip.adapter.db.DBReadInteractionSpec"
    DescriptorName="GetDataWS.EmpDetailsView"
    QueryName="GetData_WSSelect"
    ReturnSingleResultSet="false"
    MappingsMetaDataURL="GetDataWS_toplink_mappings.xml" />
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <!-- Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These 'mcf' properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/DBConn_XE is missing.
    These 'mcf' properties are safe to remove.
    -->
    <service name="GetData_WS">
    <port name="GetData_WS_pt" binding="tns:GetData_WS_binding">
    <jca:address location="eis/DB/DBConn_XE"
    UIConnectionName="DBConn_XE"
         ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
         mcf.DriverClassName="oracle.jdbc.OracleDriver"
    mcf.PlatformClassName="oracle.toplink.platform.database.oracle.OraclePlatform"
    mcf.ConnectionString="jdbc:oracle:thin:@localhost:1521:xe"
    mcf.UserName="hr"
    mcf.Password="62C32F70E98297522AD97E15439FAC0E"
    />
    </port>
    </service>
    <plt:partnerLinkType name="GetData_WS_plt" >
    <plt:role name="GetData_WS_role" >
    <plt:portType name="tns:GetData_WS_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Thx,
    DI

  • Help with photo albums Please

    Hi, i really need some help with my pictures, I've only got a very basic understanding of how my phone works and have somehow put a load of albums on my phone when i plugged it into the computer-I want to delete some of them off the phone but cannot work out how to do it, when i plug my phone in i can find the photo tab but cannot actually see the pictures and can't see any delete button!!! Please can someone help me, basic explanations would be gratefully recieved xxxx

    The photo sync is one way: computer to phone. To remove photos, synced to your phone, remove the check marks next to the albums/folders under the photos tab in itunes & hit the apply/sync button. They will be removed from your phone. You cannot delete photos that were synced to your phone, directly on your phone. The easiest way to manage photos synced to your phone is to create albums or folders on your computer. Move whatever photos you want on your phone into these albums/folders & then select them under the photos tab in itunes to sync to your phone. You can then remove or add photos to these various albums/folders on your computer & the itunes sync process will update your phone every time you sync.

  • Help with Validation Problem Please

    I don't understand this validation and don't know how to fix it. I have checked my other websites and they seem fine. I don't think I have done anything different The link for the website ishttp://www.greenpatchwebsites.com/pow/index.html
    and the validator is http://validator.w3.org/check?uri=www.greenpatchwebsites.com%2Fpow%2Findex.html&charset=%2 8detect+automatically%29&doctype=Inline&group=0
    Please can you help.
    Thank you very much in advance.

    Thanks for that. I have tried it on a new page: http://www.greenpatchwebsites.com/pow/newtest.html and here is the validator :
    http://validator.w3.org/check?uri=www.greenpatchwebsites.com%2Fpow%2Fnewtest.html&charset= %28detect+automatically%29&doctype=Inline&group=0&No200=1- unfortunately loads of errors
    I also tried the recommended template:
    Use the following markup as a template to create a new XHTML 1.0 document using a proper DOCTYPE. See the list below if you wish to use another document type.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
         <title>An XHTML 1.0 Strict standard template</title>
         <meta http-equiv="content-type"
              content="text/html;charset=utf-8" />
         <meta http-equiv="Content-Style-Type" content="text/css" />
    </head>
    <body>
         <p>… Your HTML content here …</p>
    </body>
    </html>
    but was getting errors with that. As you can tell, I need serious help with this. Which doc type should I be using
    and why doesn't Dreamweaver just do it for you when you select one?
    Thanks very much again in advance.

Maybe you are looking for

  • SGD Exchange Rate Difference JE appears in Customer Aging Report

    Dear Experts, SAP Version: 8.81 Local Currency: SGD We perform Exchange Rate Difference for a USD BP to calculate the unrealized gain/loss during month-end, JE created successfully. Next, we go to Customer Aging Report and select this USD BP. When i

  • Mac - SQLDev 1.5 - Unable to use carriage return/enter in SQL Worksheet

    This morning I brought up SQLDeveloper (1.5). I connected to a database. Started typing in a query and the carriage return (or enter) does not work. If I go to a menu or the list of files, it does work. Just not in the SQL Worksheet. I removed the ap

  • How to setup ADF EA14 in JDevelopr 10.1.3.0.2

    Hi. JDeveloper 10.1.3.0.2 adf-faces-ea14.zip (~15MB) I can't use live update from JDeveloper because that PC doesn't have internet connection. I try "Install From Local File" and choose adf-faces-ea14.zip, but I get this: "Zip file adf-faces-ea14.zip

  • Change settings of differents Region of a single Track

    Hi, I would like to know if it is possible in garage band to change settings (like effects, or the sound level) of a single region (part) of a track. If it's possible. How can i do to do this? Thanks Ciao, Vorrei sapere se è possibile cambiare le imp

  • Can't Call host command on Oracle Forms 10g on LINUX  ap server

    I have oracle developer suite 10g installed on Windows.I want to do some file operation in ap server(linux as 3) I can use the script in the terminal on linux. but i can't use it on form . this is the button press trigger! declare           a varchar