Works by itself but wont when loaded

ah, i cant figure this out
i have a slide to control the volume of a song it links to that autoplays when it starts
its a blank .fla with the class Volume and an as3 file called Volume with all the codes
by itself, it works perfect, but when i go to my index.fla where i try to use a UILoader to load the blank swf called volume
it says:
" TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Volume() "
what do you think could be happening?

im not using code on the index.fla for it i put a UI Loader and put the folderadress in the source blank in its properties,
i mean, i do have code in the index just not having anything to do with the UILoader or its source. the UI loader is in frame 1, wich i named "musicframe"
the only other action i have in that frame is on a layer above and its only a stop().
the code for the as file class "Volume" is
package
    import flash.display.Sprite;
    import flash.display.Graphics;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import flash.media.Sound;
    import flash.media.SoundChannel;
    import flash.media.SoundTransform;
    import flash.geom.Rectangle;
    public class Volume extends Sprite
        public var snd:Sound = new Sound();
        public var channel:SoundChannel = new SoundChannel();
        //Make sure you pass URLRequest an audio file on your computer.
        public var req:URLRequest = new URLRequest("underwater.mp3");
        public var boundary:Rectangle;
        public var sprite:Sprite;
        public var slider:Sprite;
        public var xPos:Number = stage.stageWidth / 2;
        public var yPos:Number = stage.stageHeight / 2;
        public var vol:Number;
                        Our request is loaded into the sound object and plays through
                        our channel. Volume is initially set at 50% and passed as a
                        transformation to our our channels soundTransform property
                        (a fancy way of saying volume). The init() function is called. 
        public function Volume()
            snd.load(req);
            channel = snd.play();
            vol = .5;
            channel.soundTransform = new SoundTransform(vol);
            init();
                        The init function creates and draws a rectangle and circle
                        to the stage and centers them based on the height and
                        width of the stage. In addition, a rectangle object is
                        created to 'contain' the sliding circle, like an imaginary box.
                        We pass -100 as the x value because it is added relative
                        to our sprite. If we set its x value at 0, or the sprites default x
                        value,the boundary would stop and start at the slider sprite. Change
                        -100 to 0 in the rectangle object to get a better idea of its use.
        public function init():void
            sprite = new Sprite();
            sprite.graphics.beginFill(0x666666);
            sprite.graphics.drawRect(xPos,yPos,200,2);
            sprite.graphics.endFill();
            addChild(sprite);
            sprite.x -=  sprite.width / 2;
            slider = new Sprite();
            slider.graphics.beginFill(0x999999);
            slider.graphics.drawCircle(xPos,yPos, 10);
            slider.graphics.endFill();
            addChild(slider);
            slider.addEventListener(MouseEvent.MOUSE_DOWN, dragSlider);
            stage.addEventListener(MouseEvent.MOUSE_UP, stopSlider);
            boundary = new Rectangle(-100,0,200,0);
                        dragSlider runs when the use holds the mouse button down. A
                        startDrag method is used on our sprite where we specify boundary
                        as our dragging limits. A new event handler designed
                        to change the mouse volume is subsequenlty called per frame, where
                        the slider.x property determines volume.
        public function dragSlider(event:MouseEvent):void
            slider.startDrag(false,boundary);
            slider.removeEventListener(MouseEvent.CLICK, dragSlider);
            slider.addEventListener(Event.ENTER_FRAME, changeVolume);
                        Stops dragging and removes the event listener to save on space. Again,
                        volume will be based on the sliders current x position, which is
                        constantly being recalculated per frame because we used an
                        ENTER_FRAME event.
        public function stopSlider(event:MouseEvent):void
            slider.stopDrag();
            slider.removeEventListener(MouseEvent.MOUSE_UP, stopSlider);
                        This function is constantly recalculating the vol variable
                        based on the sliders x position, relative to the length of
                        our rectangle. Creates a decimal range from 0 to 1, where 1
                        represents 100% volume and 0 represents mute. Anything exceeding
                        100% causes distortion.
        public function changeVolume(event:Event):void
            vol = .5 + Math.round(slider.x) / 200;
            channel.soundTransform = new SoundTransform(vol);
this as file i use as "volumecontrol" 's class, wich is a blank fla. with only one blank frame.  by itself it works perfect :S
and this is everything that shows on the output panel, after debugin permited is checked:
" TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Volume() "
please, enlighten me x_x

Similar Messages

  • HT201320 Gmail pw works in Safari but not when loaded on Ipad Air

    After changing my Google password, I tried loading it on my Ipad Air, but I keep getting error messages stating it is incorrect.
    It works fine when I sign into Google through Safari on the same device, but I can't load mail, schedule, etc.

    Hello Daniel Neuspiel
    Check out the article below to troubleshoot issues with accessing and setting up Gmail on your iPad. Check to make sure also for any type of two step verification on Gmail’s end if you need to access it to let your iPad have access to it.
    iOS: Gmail account will not connect to Gmail server
    http://support.apple.com/kb/ts3058
    You may also want to try out their app as on option. The link below will get you there.
    Gmail - email from Google
    https://itunes.apple.com/us/app/gmail-email-from-google/id422689480?mt=8
    Regards,
    -Norm G.

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

  • I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    Hi mafiose15,
    Thanks for visiting Apple Support Communities.
    Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
    How to restore iPod
    Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
    Download and install the latest version of iTunes if necessary.
    Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
    After a few moments, your iPod will appear in the Source panel in iTunes.
    Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
    Click Restore.
    If you are using a Mac, you will be asked to enter an administrator’s name and password.
    A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
    Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
    Leave iPod connected to computer to complete restore (typically applies newer iPod models).
    During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
    Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
    After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
    You can find the instructions in this article:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    All the best,
    Jeremy

  • Hi, well i just got my mac book pro, and it worked perfectly yesterday but then when i opened it today to go on FaceTime, my picture/video was dark and red ! how do i get it back to normal?

    hi, well i just got my mac book pro, and it worked perfectly yesterday but then when i opened it today to go on FaceTime, my picture/video was dark and red ! how do i get it back to normal? there is a green light next to the camera when im on photobooth/facetime,...

    Just do a restart.  It seems to clear it up.

  • My iphone 4 camera shutter won't open. I have already done a restore and I am using the latest iOS. The front facing camera works during FaceTime but crashes when I switch to rear camera. in Camera mode I can't switch to front camera.

    My iphone 4 camera shutter won't open. I have already done a restore and I am using the latest iOS. The front facing camera works during FaceTime but crashes when I switch to rear camera. in Camera mode I can't switch to front camera. I plan on replacing this phone with an iphone 5s when it comes out but I need this phone to work until then.

    When you did the restore, did you restore from a backup or restore as new? The final step of user troubleshooting is to restore as a new device, not from a backup. If you restore as a new device and the camera still does not function, it is probably a hardware issue. Make an appointment at the Apple Store Genius Bar and have the device checked by a Genius.

  • Swf works solo, but not when loaded in another swf

    if u wanna see for yourself how it works, create and export a font named "Century" and create an .as file that gets and sets a textfield. Anyways the first issue is, it sometimes doesn't handle it's event listeners when I test the movie, then if i retest it, it works fine. Second I tried loading this swf file into my main file but i get
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at MethodInfo-90()
    at MethodInfo-82()
    even if the menu file works fine on its own
    here's the menu file
    import com.greensock.TweenLite;
    import com.greensock.easing.*;
    import getSet;
    var getter:getSet = new getSet();
    var menu:Sprite;
    init();
    function init():void {
    menu = initMenu();
    addChild(menu);
    menu.addEventListener(Event.ENTER_FRAME,float,false,0,true);
    menu.x = stage.stageWidth - 61;
    menu.y = stage.stageWidth/2 + menu.height/1.75;
    function initMenu():Sprite {
    var menuStart:Boolean = false;
    var homeL:Sprite = homeLink();
    var workL:Sprite = workLink();
    var resumeL:Sprite = resumeLink();
    var contactL:Sprite = contactLink();
    var flashL:Sprite = flashLink();
    var j:int = 0;
    menu = new Sprite();
    menu.addChild(homeL);
    menu.addChild(workL);
    menu.addChild(resumeL);
    menu.addChild(contactL);
    menu.addChild(flashL);
    workL.y = homeL.y - 60;
    resumeL.y = workL.y - 60;
    contactL.y = resumeL.y - 60;
    flashL.y = contactL.y - 60;
    var homeDist:Number = homeL.y;
    var workDist:Number = workL.y;
    var resumeDist:Number = resumeL.y;
    var contactDist:Number = contactL.y;
    var flashDist:Number = flashL.y;
    homeL.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    workL.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    resumeL.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    contactL.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    flashL.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    function menuRollOver(e:MouseEvent):void {
    var that:Object = e.target;
    e.target.graphics.lineStyle(1,0xEEEEEE);
    e.target.graphics.beginFill(0xEEEEEE);
    e.target.graphics.drawRect(0,0,60,60);
    e.target.graphics.endFill();
    if (menuStart == false) {
    if (e.target.name == "instance12" && menuStart != false) {
    var menuTimer2:Timer = new Timer(501,1);
    menuTimer2.addEventListener("timer",startContact,false,0,true);
    menuTimer2.start();
    function startContact(e:TimerEvent):void {
    menuTimer2.stop();
    showTarget(that);
    that.addEventListener(Event.ENTER_FRAME,showLink,false,0,true);
    that.addEventListener(MouseEvent.ROLL_OUT,menuRollOut,false,0,true);
    that.removeEventListener(MouseEvent.ROLL_OVER,menuRollOver);
    menuTimer2.removeEventListener("timer",startContact);
    } else {
    showTarget(e.target);
    e.target.addEventListener(Event.ENTER_FRAME,showLink,false,0,true);
    e.target.addEventListener(MouseEvent.ROLL_OUT,menuRollOut,false,0,true);
    e.target.removeEventListener(MouseEvent.ROLL_OVER,menuRollOver);
    } else {
    var menuTimer:Timer = new Timer(200);
    menuTimer.addEventListener("timer",checkMenu,false,0,true);
    menuTimer.start();
    function checkMenu(e:TimerEvent):void {
    if (menuStart == false) {
    menuTimer.stop();
    showTarget(that);
    that.addEventListener(Event.ENTER_FRAME,showLink,false,0,true);
    that.addEventListener(MouseEvent.ROLL_OUT,menuRollOut,false,0,true);
    that.removeEventListener(MouseEvent.ROLL_OVER,menuRollOver);
    menuTimer.removeEventListener("timer",checkMenu);
    function menuRollOut(e:MouseEvent):void {
    if (e.target.name == "instance15") {
    fadeObj(e.target);
    hideTarget(e.target);
    var menuStartTimer:Timer = new Timer(50,1);
    menuStartTimer.addEventListener("timer",equalsTrue,false,0,true);
    menuStartTimer.start();
    function equalsTrue(e:TimerEvent):void {
    menuStart = false;
    menuStartTimer.removeEventListener("timer",equalsTrue);
    e.target.graphics.lineStyle(1,0xEEEEEE);
    e.target.graphics.beginFill(0xFFFFFF);
    e.target.graphics.drawRect(0,0,60,60);
    e.target.graphics.endFill();
    e.target.addEventListener(MouseEvent.ROLL_OVER,menuRollOver,false,0,true);
    e.target.removeEventListener(MouseEvent.ROLL_OUT,menuRollOut);
    e.target.removeEventListener(Event.ENTER_FRAME,showLink);
    e.target.addEventListener(Event.ENTER_FRAME,hideLink,false,0,true);
    function showLink(e:Event):void {
    var amount:Number = getAmount(e.target);
    var i:int = getTarget(e.target);
    var curFlash:Number = flashL.y;
    menuStart = true;
    if (e.target.name == "instance15") {
    e.target.removeEventListener(Event.ENTER_FRAME,showLink);
    for (i; i < menu.numChildren; i++) {
    if (menu.getChildAt(i) == e.target) {
    } else {
    if (curFlash >= flashDist - amount) {
    menu.getChildAt(i).y -= 7;
    } else {
    e.target.removeEventListener(Event.ENTER_FRAME,showLink);
    function hideLink(e:Event):void {
    var i:int = getTarget(e.target);
    var curFlash:Number = flashL.y;
    var curContact:Number = contactL.y;
    var curResume:Number = resumeL.y;
    var curWork:Number = workL.y;
    menuStart = true;
    fadeObj(e.target);
    if (e.target.name == "instance15") {
    e.target.removeEventListener(Event.ENTER_FRAME,hideLink);
    for (i; i < menu.numChildren; i++) {
    if (menu.getChildAt(i) == e.target) {
    } else {
    if (curFlash <= flashDist) {
    menu.getChildAt(i).y += 7;
    if (curFlash > flashDist || curContact > contactDist || curResume > resumeDist ||
    curWork > workDist) {
    setDistance();
    hideTarget(e.target);
    e.target.removeEventListener(Event.ENTER_FRAME,hideLink);
    menuStart = false;
    } else if (curFlash == flashDist) {
    setDistance();
    hideTarget(e.target);
    e.target.removeEventListener(Event.ENTER_FRAME,hideLink);
    menuStart = false;
    function getAmount(obj:Object):Number {
    if (obj.name == "instance3") {
    //trace("home");
    return 94;
    } else if (obj.name == "instance6") {
    //trace("work");
    return 63;
    } else if (obj.name == "instance9") {
    //trace("resume");
    return 134;
    } else if (obj.name == "instance12") {
    //trace("contact");
    return 135;
    } else if (obj.name == "instance15") {
    //trace("flash");
    return 80;
    return 4;
    function getTarget(obj:Object):int {
    for (var i:int = 0; i < menu.numChildren; i++) {
    if (menu.getChildAt(i) == obj) {
    return i;
    return 8;
    function setDistance():void {
    homeL.y = homeDist;
    workL.y = workDist;
    resumeL.y = resumeDist;
    contactL.y = contactDist;
    flashL.y = flashDist;
    function showTarget(obj:Object):void {
    var i:int = getTarget(obj);
    var restMenu:TextField;
    var that:Object;
    //if (menuStart = false
    if (i == 0) {
    restMenu = getRest("ome");//shows the rest of menu
    } else if (i == 1) {
    restMenu = getRest("ork");
    } else if (i == 2) {
    restMenu = getRest("esume");
    } else if (i == 3) {
    restMenu = getRest("ontact");
    } else if (i == 4) {
    restMenu = getRest("lash");
    getter.menuObject = restMenu;
    getter.menuObject.alpha = 0;
    if (i != 3) {
    TweenLite.to(getter.menuObject,1,{alpha:1});
    } else {
    TweenLite.to(getter.menuObject,1,{alpha:1, delay:.5, overwrite:false});
    if (restMenu != null) {
    if (i == 0) {
    that = menu.getChildByName("instance3");
    that.addChild(getter.menuObject);
    } else if (i == 1) {
    that = menu.getChildByName("instance6");
    that.addChild(getter.menuObject);
    } else if (i == 2) {
    that = menu.getChildByName("instance9");
    that.addChild(getter.menuObject);
    } else if (i == 3) {
    that = menu.getChildByName("instance12");
    that.addChild(getter.menuObject);
    } else if (i == 4) {
    that = menu.getChildByName("instance15");
    that.addChild(getter.menuObject);
    function hideTarget(obj:Object):void {
    var that:Object;
    j++
    if (getter.menuObject != null && obj.name == "instance3" && j == 4) {
    that = menu.getChildByName("instance3");
    that.removeChild(getter.menuObject);
    j = 0;
    } else if (getter.menuObject != null && obj.name == "instance6" && j == 3) {
    that = menu.getChildByName("instance6");
    that.removeChild(getter.menuObject);
    j = 0;
    } else if (getter.menuObject != null && obj.name == "instance9" && j == 2) {
    that = menu.getChildByName("instance9");
    that.removeChild(getter.menuObject);
    j = 0;
    } else if (getter.menuObject != null && obj.name == "instance12" && j == 1) {
    that = menu.getChildByName("instance12");
    that.removeChild(getter.menuObject);
    j = 0;
    } else if (getter.menuObject != null && obj.name == "instance15") {
    that = menu.getChildByName("instance15");
    that.removeChild(getter.menuObject);
    j = 0;
    function fadeObj(obj:Object):void {
    TweenLite.to(getter.menuObject,.5,{alpha:0});
    return menu;
    function homeLink():Sprite {
    var homeField:TextField = menuF("H");
    var clickable:Sprite = mClickable();
    var _home = new Sprite();
    _home.graphics.lineStyle(1,0xEEEEEE);
    _home.graphics.beginFill(0xFFFFFF);
    _home.graphics.drawRect(0,0,60,60);
    _home.graphics.endFill();
    homeField.rotation -= 90;
    _home.addChild(homeField);
    homeField.y += 48;
    homeField.x -= 3;
    _home.buttonMode = true;
    _home.addChild(clickable);
    return _home;
    function workLink():Sprite {
    var workField:TextField = menuF("W");
    var clickable:Sprite = mClickable();//square ontop of letters to be clickable
    var _work = new Sprite();
    _work.graphics.lineStyle(1,0xEEEEEE);
    _work.graphics.beginFill(0xFFFFFF);
    _work.graphics.drawRect(0,0,60,60);
    _work.graphics.endFill();
    workField.rotation -= 90;
    _work.addChild(workField);
    workField.y += 55;
    workField.x -= 3;
    _work.buttonMode = true;
    _work.addChild(clickable);
    return _work;
    function resumeLink():Sprite {
    var resumeField:TextField = menuF("R");
    var clickable:Sprite = mClickable();
    var _resume = new Sprite();
    _resume.graphics.lineStyle(1,0xEEEEEE);
    _resume.graphics.beginFill(0xFFFFFF);
    _resume.graphics.drawRect(0,0,60,60);
    _resume.graphics.endFill();
    resumeField.rotation -= 90;
    _resume.addChild(resumeField);
    resumeField.y += 46.5;
    resumeField.x -= 3;
    _resume.buttonMode = true;
    _resume.addChild(clickable);
    return _resume;
    function contactLink():Sprite {
    var contactField:TextField = menuF("C");
    var clickable:Sprite = mClickable();
    var _contact = new Sprite();
    _contact.graphics.lineStyle(1,0xEEEEEE);
    _contact.graphics.beginFill(0xFFFFFF);
    _contact.graphics.drawRect(0,0,60,60);
    _contact.graphics.endFill();
    contactField.rotation -= 90;
    _contact.addChild(contactField);
    contactField.y += 53;
    contactField.x -= 3;
    _contact.buttonMode = true;
    _contact.addChild(clickable);
    return _contact;
    function flashLink():Sprite {
    var flashField:TextField = menuF("F");
    var clickable:Sprite = mClickable();
    var _flash = new Sprite();
    _flash.graphics.lineStyle(1,0xEEEEEE);
    _flash.graphics.beginFill(0xFFFFFF);
    _flash.graphics.drawRect(0,0,60,60);
    _flash.graphics.endFill();
    flashField.rotation -= 90;
    _flash.addChild(flashField);
    flashField.y += 44;
    flashField.x -= 3;
    _flash.buttonMode = true;
    _flash.addChild(clickable);
    return _flash;
    function menuF(letter:String):TextField {
    var mFont = new Century();
    var menuFormat:TextFormat = new TextFormat();
    menuFormat.font = mFont.fontName;
    menuFormat.size = 50;
    var menuField:TextField = new TextField();
    menuField.defaultTextFormat = menuFormat;
    menuField.text = letter;
    menuField.height = menuField.width = 59;
    menuField.embedFonts = true;
    menuField.antiAliasType = AntiAliasType.ADVANCED;
    menuField.selectable = false;
    menuField.cacheAsBitmap = true;
    return menuField;
    function getRest(letter:String):TextField {
    var mFont = new Century();
    var menuFormat:TextFormat = new TextFormat();
    menuFormat.font = mFont.fontName;
    menuFormat.size = 40;
    menuFormat.color = 0xFF0000;
    var menuField:TextField = new TextField();
    menuField.defaultTextFormat = menuFormat;
    menuField.text = letter;
    menuField.embedFonts = true;
    menuField.antiAliasType = AntiAliasType.ADVANCED;
    menuField.selectable = false;
    menuField.cacheAsBitmap = true;
    menuField.width = 200;
    menuField.rotation -= 90;
    return menuField;
    function mClickable():Sprite {
    var clicker:Sprite = new Sprite();
    clicker.graphics.beginFill(0xFFFFFF,0);
    clicker.graphics.drawRect(1,1,58,58);
    clicker.graphics.endFill();
    return clicker;
    function float(e:Event):void {
    var mouseClamped:Number = this.mouseY;
    if (e.target.y  <= 400) {
    e.target.y = 400;
    } else if (e.target.y >= 480) {
    e.target.y = 480;
    e.target.y += (.1 * (mouseClamped/8 - e.target.y/8));

    You should not nest named functions... a source of problems waiting to happen.  You should go into your Publish settings and select the Permit Debugging option in the Flash section.  That could provide more specific information regarding the source of the error, such as a line number.  I haven't read thru your code beyond a glance, but where you are using e.target in mouse event handler functions, you should try using e.currentTarget instead.

  • Applet works in JDeveloper, but not when deployed to OC4J

    I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
    java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any one have any ideas how to chase this one down?
    Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
    C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
    C:\JDeveloper\BC4J\lib\bc4jct.jar;
    C:\JDeveloper\lib\xmlparserv2.jar;
    C:\JDeveloper\jlib\jdev-cm.jar;
    C:\JDeveloper\j2ee\home\lib\jndi.jar;
    C:\JDeveloper\jlib\regexp.jar;
    C:\JDeveloper\jlib\share.jar;
    C:\JDeveloper\jlib\uix2.jar;
    C:\JDeveloper\jdbc\lib\classes12.jar;
    C:\JDeveloper\jdbc\lib\nls_charset12.jar;
    C:\JDeveloper\j2ee\home\lib\ojsp.jar;
    C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    C:\JDeveloper\j2ee\home\oc4j.jar;
    C:\JDeveloper\j2ee\home\lib\servlet.jar;
    C:\JDeveloper\jdev\lib\ojc.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
    C:\JDeveloper\jdev\lib\jdev-rt.jar;
    C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
    C:\JDeveloper\BC4J\lib\datatags.jar;
    C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
    C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
    Any assistance would be appreciated.
    s.l.

    i have the same problem
    i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

  • Url links in swf work in standalone, but not when opened in browser

    I am currently using flash to create an electronic press kit.
    In that, i have 2 links to youtube (since embedding the videos was
    not an option, making the file too large), and one link to
    yousendit for the viewer to be able to download a pdf file.
    Now when i open the swf by double clicking on it (which i can
    do, but when on another computer, that has flash player installed,
    the swf will not open unless opened through a browser....not sure
    if that is just something where you can open an swf strictly by
    itself only if you actually have flash or what....that is another
    issue), but anyways, when i open the swf by itself, the links work
    correctly. once opened through a browser, the links do not work.
    Safari error:
    Adobe flash player has stopped a potentially unsafe
    operation.
    The following local application of your computer or network:
    (location of swf on harddisk)
    is trying to communicate with this internet-enabled location:
    youtube.com
    To let this application communicate with the internet, click
    SETTINGS.
    You must restart this application after changing your
    settings.
    Of course i did that, and it didnt happen.
    My question is however, even if this is a simple security
    issue/setting within the browser, is there any way to get around
    this? Because when sending this press kit out, the last thing i
    want is for the viewer to have to take the time to change their
    browser settings and try to get this to work and all that stuff.
    Any help would be appreciated.
    You can also download this swf at the following link:
    http://www.yousendit.com/transfer.ph...661F585ACE0521

    The reason the swf doesn't open up by itself on other
    computers is that it needs a Stand Alone Flash Player to do so.
    Most people have the Flash plug-in for their browsers, but not the
    stand alone player. If you are sending it out as a self contained
    file you need to make a Projector file. It contains the SA + swf in
    one file, which adds weight. Also, you need to make a Windows one
    and and a Mac one. If you are using CS3, I think you can make a
    Abobe AIR app that is universal, granted you install the free AIR
    plug-in controlls for Flash ( I THINK. My knowlege is not totally
    up to date) .
    As for the links not working in the browser, its seems like
    they should work. Your posted link for the file is broken, so
    couldn't see. What is your code for the buttons? Are you calling
    JavaScript in your html page? I've had problem with that usually a
    syntax error or IE.
    AS2 button

  • CommandAction works through OnDeviceDebug, but not when installed from jar

    Hi everybody,
    I'm trying to run a HelloMIDlet example and if I run it on emulator it works fine, also when I run it on mobile through OnDeviceDebug from eclipse it works fine, but when I install a jar file and run the application it ends with Application Error message and it exits. I found out that the problem might be in the CommandAction method, because when I use this:
    public void commandAction(Command c, Displayable s) {
              notifyDestroyed();
    }then the application works also when installed from jar, but when I use this:
    public void commandAction(Command c, Displayable s) {
       String label = new String("Exit");   //just for test
       if (label.equals("Exit"))
         notifyDestroyed();
    }then it ends with Application Error right after I run the program (and it works when I use OnDeviceDebug). I'm using jdk1.5.0_06 and WTK from Sony Erricsson (my target device is W800i, which supports CLDC1.1 and MIDP2.0)
    My manifest file is
    Manifest-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: HelloMIDlet
    Created-By: Sun Microsystems Inc.
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-1: HelloMIDlet, , HelloMIDlet
    MIDlet-Version: 1.0
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Description: Hello Worldand I don't use the jad file when installing the application (seems to be unecessary when you have a manifest file inside the jar). And I'm unable to debug it because when debugging then it works normally. Also I tried to recompile the BluetoothDemo and the same error(and works through OnDeviceDebug). And when I installed the jar file, which is originally distributed with BluetoothDemo then it worked. When I compared original jar file and my jar file then the only difference was in the size the class files (class files compiled by me were bigger then the class files in original jar file (which work)).
    Any ideas guys and girls?

    I tried that approach but it doesn't work either. I think maybe my directory structure is wrong.
    C:\IRS\IRS.jar
    C:\IRS\irs.hs
    referenced: jar:file://C:/IRS/IRS.jar!/irs.hs
    Am I doing this right?

  • Works in RSA3 but not when pulling from BI

    Hi,
      I created a generic dataSource(Function Module) for Bill Of Material. When testing in RSA3 it is working fine. But when pulling data from BI with particular material in the Data Selection, it is saying "No data available". If I am pulling the same with no data selection then it is giving an error message "Job terminated in source system --> Request set to red".
    When checked in SM37 I see the following error messages.
    No active nametab exists for /SAPAPO/MATKEY             DA 300
    Job cancelled after system exception ERROR_MESSAGE
    Can any body help me on this
    Thanks for your help
    Subra

    Every thing is fine in all these transactions SM58, BD87, & WE05. There is no problem with the connections at all. I replicated many times and the error is always the same.
    The error message below is the reason.
    No active nametab exists for /SAPAPO/MATKEY
    This messsage is not coming when testing in RSA3. Only when pulling the data from BI, this error is happening.
    We are not using SAPAPO but still this message is coming up.
    thanks
    Subra

  • UIImpersonator tests work in FlashBuilder, but not when run from Ant

    I'm in the process of converting a Flex 3 project to use FlexUnit4 tests.
    Everything compiles in Flashbuilder 4.5 and runs nicely. I've converted all the tests
    to use flexunit 4, which highlighted a few issues, but nothing too major, and all the
    tests now pass when run in Flashbuilder.
    So... now, I'm trying to convert the CI build to use the 4.5 SDK and flexunit4. So far,
    so good. Everything runs and I get a nicely formatted JUnit report. Unfortunately, though,
    any test that uses the UIImpersonator fails with an async method timeout, suggesting that
    the CreationComplete event hasn't fired.
    Here's a typical example of one of my UI test cases:
              [Test(async, ui)]
              public function testAvailableProductsSetupAdminForSell() : void {
                   var view:OrderBasketView = new OrderBasketView();
                   var user:CfxUser = new CfxUser();
                   user.admin = true;
                   ModelLocator.instance.userDetails = user;
                   view.buyOrSell = OrderType.SELL;
                   helper.createComponentAndAddListener(view, this, availableProductSetupAdminForSellCreationComplete);
              private function availableProductSetupAdminForSellCreationComplete(event:Event, view:OrderBasketView) : void {
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_1));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_2));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_3));
    and helper.createComponentAndAddListener looks like this:
            public function createComponentAndAddListener(view:UIComponent, testCase:Object, creationComplete:Function) : void {
                   _view = view;
                   _view.addEventListener(FlexEvent.CREATION_COMPLETE, Async.asyncHandler(testCase, creationComplete, 4000, _view));
                   UIImpersonator.addChild(_view);
    If I use FlexGlobals.topLevelApplication.parent.addChild(_view) in place of UIImpersonator.addChild(_view), all the tests pass.
    I was wondering if it's a function of the fact that my helper class has no metadata that indicates it's a ui test, but that wouldn't explain why it works in FlashBuilder and not when run with ant.
    I also wondered if it was a function of running with headless server set to true, but when I changed it to false the same thing happened.
    My environment is:
    ubuntu 11.04
    ant 1.7.1
    Sun jdk 1.6.0_26
    Flex SDK 4.5.1.21328
    FlexUnit 4.1.0-8-4.1.0.16076
    I'm using the auto-generated TestRunner.mxml
    Any thoughts, anyone? Now that I can get it to work by adding the UI components to the topLevelApplication, at least I can make progress, but I'd like to get to the bottom of the problem, because that shouldn't be necessary.
    Thanks in advance,
    -Chrisl

    Changing to the topLevelApplication did not work. What's funny is that it then failed on a completely unrelated test by hanging and never returning... I'm thinking there must be something else that is going on here, but it's not clear what... :-/ Here is an example of my setup/teardown and a test that work great in the UI but not in CI...
    [Before(async, ui)]
    public function setUp():void
        _fromToList = new FromToList();
        _fromToList.setStyle('skinClass', FromToListSkin);
        Async.proceedOnEvent(this, _fromToList, FlexEvent.CREATION_COMPLETE, 1000);
        FlexGlobals.topLevelApplication.parent.addChild(_fromToList);
        // UIImpersonator.addChild(_fromToList);
    [After(ui)]
    public function tearDown():void
        FlexGlobals.topLevelApplication.parent.removeChild(_fromToList);
        // UIImpersonator.removeChild(_fromToList);
        _fromToList = null;
    [Test(async)]
    public function should_remove_selected_item_in_to_list_to_from_list():void
        _fromToList.fromArrayList = _dpArray;
        _fromToList.toArrayList = _toDpArray;
        var sequence:SequenceRunner = new SequenceRunner(this);
        sequence.addStep(new SequenceSetter(_fromToList.toList, { selectedItem: _toDpArray[1]}));
        sequence.addStep(new SequenceWaiter(_fromToList.toList, FlexEvent.VALUE_COMMIT, 100));
        sequence.addStep(new SequenceCaller(_fromToList, _fromToList.remove));
        sequence.addStep(new SequenceWaiter(_fromToList, FromToListChangeEvent.FROM_TO_LIST_CHANGE_EVENT, 100));
        sequence.addAssertHandler(handleListHasChangedThenRemoveEvent, {});
        sequence.run();
    private function handleListHasChangedThenRemoveEvent(event:FromToListChangeEvent, passThruData:Object):void
        assertThat(_fromToList.toArrayList.length, equalTo(_toDpArray.length - 1));
        assertThat(_fromToList.fromArrayList.length, equalTo(_dpArray.length - _toDpArray.length + 1));
        assertTrue(_fromToList.fromArrayList.contains(_toDpArray[1]));
    So you can see that I'm using Sequences to manage waiting for stuff to get updated in the background, and basically testing when I select an item in a list and act on it that it updates the model like I expect. Again, works GREAT in the UI Runner.
    I'm open to suggestions...

  • Embedded swf plays in preview mode but not when loaded onto site

    http://delormdesigns.com/Oxen2008/2008Fair.html
    I have created a swf by first creating an flv from an avi then publishing the swf in flash. I inserted into an html page and can see the video on preview. However, when I load the page and all of the assets onto the site, I get nothing.
    I tried to view the swf directly, and it does not play. This may be an issue with how I converted the avi file or how I published the swf. I am starting in this forum just in case.
    Thanks!

    Yes, I did exactly what you recommended. I swapped the swf with another, loaded the page, and tested it. It worked perfectly. So, even though the original swf worked fine during the preview test, there must be something about the file that does not work when loaded on the site.
    I found an article about creating and inserting a flv file from an avi...that will get me 1/2 way there so I will be trying that. Perhaps there was a step in the avi to flv process that needs fixing...and then the swf creation would work.
    I appreciate your responses!
    ~ Caprice

  • XMLDataSet works, but not when loaded with UpdateContent

    I have page that contains a spry collaspile panel area and a
    xmldataset.
    The page when accessed directly from a url Loads fine
    http://www.gillespiecrm.com/display/default/clientdetail.template.php?uid=1&client=427
    However, if I take the above try to load it within another
    page of an application with updateContent
    Spry.Utils.updateContent('client' + sTabDivId + 'detail',
    'display/default/clientdetail.template.php?uid=1&client=427');
    The collasible tabs work, but the xmldataset does not.
    can anyone explain why this is occuring?
    Thanks
    Z

    Hi Zeus,
    I have already answered this query in a different post. May
    be you should go through it
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1295717&enterthread=y
    You need to replace Spry.Utils.setInnerHTML() method as
    explained there.
    -JV

  • Textbox shows xml text in working file but now when loaded into another SWF

    Hi all,
    I have downloaded an xml gallery (as2) as we needed one for an old as2 file. Now I mostly use as3 but thought as I only needed to tweak it there would be no probs. Of course, it rarely works out that way. The problem is, text loaded from the xml file is displayed with its corresponding image. This works fine in the file. When I load the SWF into another SWF however, it all works EXCEPT the text doesn't show at all?? Whoever made the gallery used 'device fonts' in the textbox, I don't know if this has anything to do with it. I tried changing the textbox to dynamic and embedding characters but still nothing.
    This seems the key line -
    _root.descmc.desc.htmlText = XMLdaten[number];
    I have also tried
    _root.descmc.desc.htmlText = XMLdaten[number].firstChild;
    This traces out the correct xml data when tested so it is finding it okay.
    Any help would be much appreciated.
    Thanks

    The problem might be in the use of the "_root"  You probably need to set _lockroot = true; in the loaded swf, otherwise the _root is that of the loading swf, not the loaded one.

Maybe you are looking for

  • Is there a way to change opacity keyframe without changing the scrolling keyframe?

    I'm looking at the scroll effects for  Adobe Muse. It's somewhat counter-intuitive but handy enough.  However, there are some problems with positioning or keyframing. For instance, Let's say that I have an element containing a logo that I want to be

  • JSP - PHP

    Hi, I want to include a PHP file in my JSP file. How to do that ? Please give me syntax or idea ? Thanks.

  • My subscription payment didn't work

    Hi I need help with my subscription payments, it's been working for over a year and now suddenly it has a problem with my payment. My back account is not the problem money wise. So my question is do I start up a new subscription or wait and it will r

  • SQLs (completed & currently running ) in a session

    Is there a query which will give me the list of SQLs that have run & currently running since the start of a session ? I also need to know the start and end times (or) the time taken for each of the SQLs.

  • How to add a column to an existing report

    Hi, I have a report which I need to modify (add a date column). I included the date in the query but it doesnt show up when I run the report. Where else do I have to make changes and how? I need some help. Thank you all so very much. A/A