property not defined?

I have an application of slide show I want to go to some executives when a thumbnail button is clicked. I get this error

1119: access of property may be undefined targetPic through a reference with static type flash.display:SimpleButton.

Here is my inexperienced actionscript

Stop();

var numFrames:Number = 14;

tmb1_btn.targetPic = 1;
tmb2_btn.targetPic = 2;

right_btn.addEventListener (MouseEvent.CLICK, nextPic);
left_btn.addEventListener (MouseEvent.CLICK, prevPic);
tmb1_btn.addEventListener (MouseEvent.CLICK, picFrame);

function nextPic(e:MouseEvent):void
{
If (currentFrame < numFrames)
{
nextFrame();
}
on the other
{
gotoAndStop (1);
}
}

function prevPic(e:MouseEvent):void
{
If (currentFrame > 1)
{
prevFrame();
}
on the other
{
gotoAndStop (numFrames);
}
}

function picFrame(e:MouseEvent):void
{
gotoAndStop (e.currentTarget.targetPic);
}

Thanks for your time

the simple button class will not allow you to add new properties like targetPic.  use a movieclip button.

Tags: Adobe Animate

Similar Questions

  • 1120:access of property not defined error

    to import flash.net.NetStream;

    Import mx.events.FlexEvent;

    private const CirrusAddress:String = "rtmfp://p2p.rtmfp.net/";

    private const DeveloperKey:String = "mydevkey";

    private var nc:NetConnection;

    private var myPeerID:String;

    private var recvStream:NetStream;

    private var myName:NetStream;

    protected function application1_creationCompleteHandler(event:FlexEvent):void

    {

    NC = new NetConnection();

    nc.addEventListener (NetStatusEvent.NET_STATUS, ncStatus);

    NC. Connect ("rtmfp://p2p.rtmfp.net/mydevkey/");

    }

    protected function ncStatus(event:NetStatusEvent):void {}

    myPeerID = nc.nearID;

    peerIdArea.text = myPeerID;

    }

    myName = new NetStream (nc); ERROR IS HERE

    ---------------------------------------------

    The path location type Resource Description

    1120: access of undefined property username.     P2PSample.mxml/P2PSample/src/line 30 Flex problem

    The path location type Resource Description

    1120: access of undefined property nc.     P2PSample.mxml/P2PSample/src/line 30 Flex problem

    NC is not defined in your code when this line 30 running because it runs before application1_creationCompleteHandler() is running.

    fix this.

    to import flash.net.NetStream;

    Import mx.events.FlexEvent;

    private const CirrusAddress:String = "rtmfp://p2p.rtmfp.net/";

    private const DeveloperKey:String = "mydevkey";

    private var nc:NetConnection;

    private var myPeerID:String;

    private var recvStream:NetStream;

    private var myName:NetStream;

    protected function application1_creationCompleteHandler(event:FlexEvent):void

    {

    NC = new NetConnection();

    nc.addEventListener (NetStatusEvent.NET_STATUS, ncStatus);

    NC. Connect ("rtmfp://p2p.rtmfp.net/mydevkey/");

    nsF();

    }

    protected function ncStatus(event:NetStatusEvent):void {}

    myPeerID = nc.nearID;

    peerIdArea.text = myPeerID;

    }

    private function nsF (): void {}

    myName = new NetStream (nc);

    }

  • Property not defined when there is no

    Can someone help me understand why it does not work? I get an Error 1120 on the property, but I know it exists. It's the HTTPService:

    < mx:HTTPService id = "userupdate" url = "https://server/flex/usrchgpwd.php" result = "checkADMUsrPWD (event)" useProxy = "false" method = "POST" showBusyCursor = "true" > "
    < mx:request xmlns = "" >
    {admType.valueOf ()} < admtype > < / admtype > < user name > {adm_username.text} < / username > < new_password > {ADM _password.text} < / new_password >
    < group > {adm_usergroup.text} < / group > < level > {adm_level.text} < / level > < status > {adm_activestatu s.text} < / status >
    < / mx:request >
    < / mx:HTTPService >


    This is the ACE which is less error on:

    private void checkADMUsrPWD(evt:ResultEvent):void {}
    If (userupdate.lastResult.changesuccess == "nodb") {}
    mx.controls.Alert.show ("No. DB connection, contact your administrator.");
    }
    }

    I get the error: "1120: access of undefined property userupdate.»

    I don't understand why. He's right there. And if I start to type userupdate, and then put a period, it lists the functions availabe it doesn't let me do. The other thing is that the script and app actually do work properly, no problem at all. So I do not understand why it is throwing these errors.

    Any thoughts?

    Thank you
    Chris

    Thanks to Mike, the problem was found. I had created a backup of my main application and renames it. However, it was still linked to the project. If all the errors I was getting in my file have been because new properties I have setting in my current production version of the MXML were NOT defined in the version of backup.

    If this is your problem, you need to detach from the app. You can do this by going here:

    Project > properties, then the Flex Applications

    If there is more than one app listed, you should deleted the one unused.

    Chris

  • Moving from var to popup - property not defined - anything.

    I'm having a problem of passage of a variable of a popup. I do this several more times with different pop-up windows in the same application and I can't understand what I'm doing wrong this time. He said a property is not defined, but as far as I know, I'm doing it correctly.

    The error:

    1120: access of undefined property hscreen. HELPINFO. MXML

    The code of the main application that calls the popup:

    hand. ACE
    --------------------------
    Import components.helpinfo;
    private function showHelp (): void {}
    var helpinfopop:helpinfo = helpinfo (PopUpManager.createPopUp (Thi, helpinfo, false));
    helpinfopop.title = "Help";
    helpinfopop.showCloseButton = true;
    helpinfopop.hscreen = "main";
    PopUpManager.centerPopUp (helpinfopop);
    }


    The pop-up box, which for now, I'm just trying to get the variable passed. I tried different ways, so for now, just trying to make a warning window. The error is only showing in the alert.show below.

    HELPINFO. MXML
    --------------------------
    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:TitleWindow xmlns:mx = ' http://www.adobe.com/2006/mxml ' close = "closeDialog ()" layout = "absolute" width = "200" height = "150" backgroundAlpha = "0.5" alpha cornerRadius = "0.5" = "10" roundedBottomCorners = "true" dropShadowEnabled = "true" > "
    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.managers.PopUpManager;

    [Bindable] public var hscreen:String;

    private void closeDialog (): void {}
    PopUpManager.removePopUp (this);
    }
    Alert.Show (hscreen);
    []] >
    < / mx:Script >
    < / mx:TitleWindow >


    For the alert, I also tried hscreen.valueOf () without a bit of luck. Even if I keep it simple, if the value of statements to see if 'hscreen' is equivalent to some, it fails.

    Any thoughts or ideas? Any suggestions would be greatly appreciated.

    Thank you
    Chris

    Hi Chris,

    As far as I can see that the following code does not belong to any function:
    Alert.Show (hscreen);

    You should wrap up in the function and call it certain events as "creationComplete".

    Like this:

    <>
    creationComplete = "ends ()" > "


    Import mx.controls.Alert;
    Import mx.managers.PopUpManager;

    [Bindable] public var hscreen:String;

    private void closeDialog (): void {}
    PopUpManager.removePopUp (this);
    }

    private void fInit()
    {
    Alert.Show (hscreen);
    }

    ]]>

    See you soon,.
    Dmitri.

  • Code of the property not defined! Help, please! Can't find what the problem is!

    So I do this coding for a school project and I repeated retype the code 3 times and the same problems still appear!

    Here is the code

    function keyDownHandler(Event:KeyboardEvent):void

    {

    if(Event.keycode == 38)

    {

    SpeedVert-=. 2;

    avatar_mc.gotoAndStop ("up")

    }

    another if (event.keyCode is 37)

    {

    SpeedHor-= 1;

    avatar_mc.gotoAndStop ("left")

    }

    another if (event.keyCode is 39)

    {

    SpeedHor += 1;

    avatar_mc.gotoAndStop ("Right")

    }

    The problem

    1119: access of the keyCode property possibly undefined via a reference with a static type flash.events:MouseEvent

    1119: access of the keyCode property possibly undefined via a reference with a static type flash.events:MouseEvent

    1119: access of the keyCode property possibly undefined via a reference with a static type flash.events:MouseEvent

    The problem is the keyCode! I can't understand August what is the problem!

    Thanks to all who help!

    In your function definition line, you use "Event" (false) while the code within the function uses 'event' (better).  Difficulty for beginners.  Also, given that the messages that all have "MouseEvent" identified in them, I have to wonder if the event listener that you assigned is not specified as a listener KeyboardEvent

  • Data storage property not defined successful dimension build data loading

    Hello

    I am trying to load data as below on a dimension without members - that works - but the dynamic Calc property does not set even though I map to the appropriate field and I get no error?

    My rule file using parent / child and maps the fields as Parent, child, Alias and property respectively.

    Below is a small snippet of my data.
    Period,YearTotal,"Year Total","Dynamic Calc"
    Period,OpeningBalance,"BegBalance","Store Data"
    But, all things being equal, if I load the aggregation rule - (minus sign that is) in the same column, it works fine.

    Is there an outside tip to set the property to store data that I need to know?

    Thank you

    Robert.

    If you load that using a rule of the load, use X for dynamic Calc.

    There is a chapter in SER60 who talks about it.

    http://docs.Oracle.com/CD/E12825_01/EPM.111/esb_dbag/frameset.htm?dotrules.htm

  • Error 1119 help property not defined

    Here is my code:

    var gameSounds:Sound = new Sound (new URLRequest("inGame.mp3"));

    gameSounds.play ();

    var gunShotSound:Sound = new Sound (new URLRequest("gunshot.mp3"));

    import flash.events.MouseEvent;

    import flash.display.MovieClip;

    to import flash.geom.Point;

    Stop();

    gunBarrel.addEventListener (Event.ENTER_FRAME, gunEnterFrame);

    function gunEnterFrame (pEvt) {}

    var pEvt.currentTarget = MC;

    var angleRadian = Math.atan2 (mouseY - mc.y, mouseX - mc.x);

    var angleDegree = angleRadian * 180 / Math.PI;

    MC.rotation = angleDegree;

    }

    Mouse.Hide ();

    main_crosshair.StartDrag (true);

    main_crosshair.addEventListener (MouseEvent.MOUSE_DOWN, crosshairFX);

    function crosshairFX (e:MouseEvent): void {}

    gunShotSound.play ();

    var shot: ball = new bullet();

    projectile.x = parent.mouseX;

    projectile.y = parent.mouseY;

    projectile.x = gunBarrel.x;

    projectile.y = gunBarrel.y;

    Save the randian angle between the tank and the mouse

    This angle will define the direction of the ball

    projectile.angleRadian = Math.atan2 (mouseY - gunBarrel.y, mouseX - gunBarrel.x);

    Add a frame event enter on each ball

    projectile.addEventListener (Event.ENTER_FRAME, bulletEnterFrame);

    addChild (projectile);

    main_crosshair.gotoAndPlay (3);

    }

    Each point speed

    var speed = 8;

    function bulletEnterFrame (can) {}

    Get the current object (Bullet)

    var p = pEvent.currentTarget;

    Move that ball on each image

    On X axis use the angle cosine

    p.x += Math.cos (p.angleRadian) * speed;

    On the y-axis, use the sinus angle

    p.y += Math.sin (p.angleRadian) * speed;

    Guide the ball to the direction

    p.rotation = p.angleRadian * 180 / Math.PI;

    You have to remove each created bullet

    So after every moves you have to check the position of the ball

    If the ball goes out of the screen

    If (p.x < 0 | p.x > 400 | p.y < 0 | p.y > 400) {}

    Remove it from the display list

    removeChild (p);

    / ! ------AND REOMOVE HIS EVENT LISTER

    p.removeEventListener (Event.ENTER_FRAME, bulletEnterFrame);

    }

    }

    When I try to run it if I get "1119: access to property may be undefined angleRadian through a reference with static type ball."

    What is wrong with my code?

    You must make ball a dynamic class:

    public dynamic class ball extends MovieClip

  • Property not defined in inline itemrenderer data

    I get: -.

    1120: access of undefined property.

    in the following code: -.

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:View ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    title ="HomeView">

    < fx:Script >

    <! [CDATA]

    Import mx.collections.ArrayCollection;

                                  [Bindable]

    private var imageList:ArrayCollection;

    []] >

    < / fx:Script >

    "" < s:List dataProvider = "imageList{}" width ="100%" height = "100%">

    < s:layout >

    < s:TileLayout / >

    < / s:layout >

    < s:itemRenderer >

    < fx:Component >

    "" < s:BitmapImage source = "data.image{}" width ="150" height = "150"/ > <!--HERE--> "

    < / fx:Component >

    < / s:itemRenderer >

    < / s:List >

    < / s:View >

    I use Flex 4.10 but I tried against 4.6 and I still get this error.

    I have no prior problems in creating online converters, until I'm missing here?

    I am answering my own question.

    There is a difference between mx and spark when creating online converters point. To create a converter spark inline element, you need to extend a point converter class:-

    I suspect it's due to being designed by the kitchen sink approach, mx components where as the spark components has eliminated all unnecessary bloating.

  • EventListener (property not defined Scene2) help?

    I created a button (kitchen_btn1) in the stage 1 on my calendar where I want the user to click and access the stage 2 and stop.

    Stop();

    import the classes so we can make in our movie

    import flash.display. *;
    import flash.events. *;
    import flash.display.MovieClip;
    import flash.display.Sprite;

    kitchen_btn1.addEventListener (MouseEvent.CLICK, kitchenCLICK);
    function kitchenCLICK (event: MouseEvent): void {}
    gotoAndStop (Scene2);
    }

    Whenever I have try and test the movie I get an error message and my movie loop stage 1 stage 2 wiith on stop.

    The error message reads:

    Scene 1, layer 'actions', image1, Line12 1120: access of undefined property Scene2.

    In scene 2 in my Actions layer, I program the scene to stop the Framework 1.


    Stop();

    How can I set the scene 2 and that it works correctly?

    Thank you...

    In AS3, the first argument in a gotoAnd... call is the identifier of the image, so you must use stop (1, "scene 2");

    If you have changed the name of scene 2 be Scene2 (without space) who use instead.

    If you have an error in your code, it is normal that the right file loop constantly without care for any code, such as the stop() you in scene 2 (its how to throw a fit)

  • Error 1010? Property not defined...

    I am just having some problems with a simple code and not exactly why. Here is the error I get:

    TypeError: Error #1010: a term is undefined and has no properties.
    at sliSiteUpdate_fla::MainTimeline/aboutOut()


    According to me, he is asked for the function properties, however, those who are specified in the box below:

    btn_aboutHit.addEventListener (MouseEvent.MOUSE_OUT, aboutOut);

    function aboutOut (e:MouseEvent): void {}
    This.mc_about.gotoAndPlay ("aboutOut")
    }

    So, I'm a bit confused as to what he actually asks me do / provide? Thank you.

    Check and doublecheck all your instance names to ensure that they agree with your code.  You mentioned mc1 and is unrelated to the code that you have demonstrated.

    Then, make sure the items you are trying to assign a code to exist in the same context, whence the code.  If these object is inside other objects somewhere near the bottom of a timeline, they are not when the code is.

  • Access event property not defined error

    [as a code]

    submit_button.addEventListener (MouseEvent.CLICK, btnDown);

    function btnDown(event:MouseEvent):void {}

    If (username.text == "" |) Password.Text == "") {}

    If (username.text == "") {}

    username. Text = "enter your username";

    }

    If (password.text == "") {}

    Password.Text = "enter your password";

    }

    } else {}

    processLogin();

    }

    }

    function processLogin (): void {}

    var phpVars:URLVariables = new URLVariables();

    var phpFileRequest:URLRequest = new URLRequest ("login.php");

    phpFileRequest.method = URLRequestMethod.POST;

    phpFileRequest.data = phpVars;

    var phpLoader:URLLoader = new URLLoader();

    phpLoader.dataFormat = pouvez;

    phpLoader.addEventListener (Event.COMPLETE, showResult);

    phpVars.systemCall = "checkLogin;

    phpVars.username = username.text;

    phpVars.password = password.text;

    phpLoader.load (phpFileRequest);

    }

    function showResult (): void {}

    result_text. AutoSize = TextFieldAutoSize.LEFT;

    result_text.text = "" + event.target.data.systemResult; -> It says I have a problem with this code. Any ideas?

    If (String (result_text. (Text). IndexOf ("Welcome") == 0) {}

    gotoAndPlay (1, "scene 2");

    }

    }

    This should be:

    function showResult (event: Event): void {}

    result_text. AutoSize = TextFieldAutoSize.LEFT;

    result_text. Text = "" + event.target.data.systemResult;

    If (String (result_text. (Text). IndexOf ("Welcome") == 0) {}

    gotoAndPlay (1, "scene 2");

    }

    }

  • 1119: access of nativeWindow property possibly not defined through a reference with static type flash.display:Stage.

    I tried this code:

    http://help.Adobe.com/en_US/AS3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7e08.html

    but it displays error: 1119: access of nativeWindow property possibly not defined through a reference with static type flash.display:Stage.

    package

    {

    import flash.display.Sprite;

    import flash.events.MouseEvent;

    import flash.text.TextField;

    SerializableAttribute public class MinimizeExample extends Sprite

    {

    public void MinimizeExample (): void

    {

    var minTextBtn:TextField = new TextField();

    minTextBtn.x = 10;

    minTextBtn.y = 10;

    minTextBtn.text = "minimize";

    minTextBtn.background = true;

    minTextBtn.border = true;

    minTextBtn.selectable = false;

    addChild (minTextBtn);

    minTextBtn.addEventListener (MouseEvent.CLICK, onMinimize);

    var maxTextBtn:TextField = new TextField();

    maxTextBtn.x = 120;

    maxTextBtn.y = 10;

    maxTextBtn.text = "zoom";

    maxTextBtn.background = true;

    maxTextBtn.border = true;

    maxTextBtn.selectable = false;

    addChild (maxTextBtn);

    maxTextBtn.addEventListener (MouseEvent.CLICK, onMaximize);

    var restoreTextBtn:TextField = new TextField();

    restoreTextBtn.x = 230;

    restoreTextBtn.y = 10;

    restoreTextBtn.text = "restore";

    restoreTextBtn.background = true;

    restoreTextBtn.border = true;

    restoreTextBtn.selectable = false;

    addChild (restoreTextBtn);

    restoreTextBtn.addEventListener (MouseEvent.CLICK, onRestore);

    var closeTextBtn:TextField = new TextField();

    closeTextBtn.x = 340;

    closeTextBtn.y = 10;

    closeTextBtn.text = 'close this window ';

    closeTextBtn.background = true;

    closeTextBtn.border = true;

    closeTextBtn.selectable = false;

    addChild (closeTextBtn);

    closeTextBtn.addEventListener (MouseEvent.CLICK, onCloseWindow);

    }

    function onMinimize(event:MouseEvent):void

    {

    this.stage.nativeWindow.minimize ();

    }

    function onMaximize(event:MouseEvent):void

    {

    this.stage.nativeWindow.maximize ();

    }

    function onRestore(event:MouseEvent):void

    {

    this.stage.nativeWindow.restore ();

    }

    function onCloseWindow(event:MouseEvent):void

    {

    this.stage.nativeWindow.close ();

    }

    }

    }

    You can not force-close a browser with the exception of a window with javascript window.

  • Peopleimages property possibly access not defined through a reference with static type class.

    Hello

    I have a custom MXML component called SeeElement.mxml, within this file I defined a VBOX as shown

    SeeElement.mxml

    < mx:VBox id = 'personimages' >
    < mx:Label id = "viewname" / >
    < / mx:VBox >

    Now inside another ActionScript file, I try to make visible to false, as shown:
    SeeElement. peopleimages.visible = false;

    I am thie error

    Peopleimages property possibly access not defined through a reference with static type class.

    Please help me solve this problem.

    Thank you.

    inside your "a few other sctionscript the file' you need a reference to the SeeElement object

    var seeElement:SeeElement = new SeeElement();

    Then you can seeElement.personImages.visible = false;

    SeeElement (with a capital S) refers to the class SeeElement and personImages is not a class member variable its an instance member variable

  • 1119: access of bobin property possibly not defined through a reference with static type flash.display:DisplayObjectContain

    I'm working on a script that allows the user to move items on the screen. They do it to several tests. Each new trial, I would like to than the items to return to their original position. When I try to do, I get the error in the title above. I can't refer to these elements. I tried getChildByName, but this doesn't seem to work. The problem is in the test function.

    Any help would be appreciated.

    Russ

    If you remove the "DisplayObjectContainer (internship)." before the two lines of code in the test function, the errors disappear (except for another error related to the Next_mc, which apparently is not defined anywhere before trying to add an event listener).

    I can't tell what you're trying to where until the end of a trial being detected where things would be returned.

  • XML Query when all the elements are not defined.

    I have the following:

    We could have a situation that elements of PRICES are not defined, but all others are. I can t solve this problem by performing a union query. Is there a way appropriate or better?

    Thank you

    DECLARE

    x_xml CLOB

    " : = ' < OTA_ResRetrieveRS xmlns =" http://www.OpenTravel.org/OTA/2003/05 "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " Version = "7" "xsi: schemaLocation =" http://www.OpenTravel.org/OTA/2003/05 OTA_ResRetrieveRS.xsd "TimeStamp =" 2015-05 - 20 T 14: + 00:00 40:44.000000 "Target ="Test"TargetName ="AUS"TransactionIdentifier ="2716181"> " ""

    < success / >

    < errors >

    < error Type = '0' doc = "None" / >

    < / errors >

    < ReservationsList >

    < HotelReservation RoomStayReservation = "true" ResStatus = "Internal" >

    < Type UniqueID = "14" ID = "514803980" / >

    < services >

    < Service >

    < TPA_Extensions >

    < TPA_Extension >

    < WiFiFees NumberConnections = '2' = ConnectionType "F" LengthOfStay = "4" / > "

    <!-RATES DAYS = '7' UPGRADE = LEVEL-10 "20.65" = "21.95' LEVEL-20 ="39.95"/ >

    < RATES DAYS = UPGRADE '3' = '8.85"LEVEL-10 = '13.95' LEVEL-20 ="23.95"/ >

    < RATES DAYS = UPGRADE '1' = "2.95" LEVEL-10 = "5.95" LEVEL-20 = "9.95" /-->

    < / TPA_Extension >

    < / TPA_Extensions >

    < / service >

    < / services >

    < ResGuests >

    < ResGuest >

    profile of <>

    < ProfileInfo >

    < Type UniqueID = "21" ID = "356321732" / >

    < profile >

    < TPA_Extensions >

    < TPA_Extension >

    < DRI_INFO MemberLevel = GuestType 'SAM' = 'GST' OwnerStay = "N" / >

    < / TPA_Extension >

    < / TPA_Extensions >

    < customer >

    < PersonName >

    Tomas < name > < / name >

    Lane Donald < GivenName > < / GivenName >

    < / PersonName >

    < / customer >

    < / profile >

    < / ProfileInfo >

    < ProfileInfo >

    < Type UniqueID = "21" ID = "356321734" / >

    < profile >

    < TPA_Extensions >

    < TPA_Extension >

    < DRI_INFO MemberLevel = GuestType 'SAM' = 'GST' OwnerStay = "N" / >

    < / TPA_Extension >

    < / TPA_Extensions >

    < customer >

    < PersonName >

    James < name > < / name >

    Amanda < GivenName > < / GivenName >

    < / PersonName >

    < / customer >

    < / profile >

    < / ProfileInfo >

    < / profile >

    < / ResGuest >

    < / ResGuests >

    < RoomStays >

    < ideal >

    < BasicPropertyInfo HotelCode = "LOL" / >

    < price >

    < RoomRate RoomID = code '17105' = 'SAM' >

    < GuestCounts >

    < GuestCount Count = "1" / >

    < / GuestCounts >

    < / RoomRate >

    < / price >

    < TimeSpan Start = end of the '2015-05-20' = "2015-05-24" / >

    < / ideal >

    < / RoomStays >

    < / documents >

    < / ReservationsList >

    < / OTA_ResRetrieveRS > ';

    BEGIN

    I'm

    IN (SELECT x1.roomnumber

    x1.property

    x2.days

    x2.upgrad

    x2.lev1

    x2.lev2

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05"")

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau VARCHAR2 (2000) PATH 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , property VARCHAR2 (2000) PATH 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections".

    , connecttype VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType") x 1

    , XMLTABLE (xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / TPA_Extension/RATES " )

    PASSAGE x1.rates

    Days of COLUMNS VARCHAR2 (2000) PATH '@DAYS '.

    , upgrad VARCHAR2 (2000) PATH '@UPGRADE '.

    , lev1 VARCHAR2 (2000) PATH ' @LEVEL-10'.

    LEV2 VARCHAR2 (2000) PATH "(@LEVEL-20') x 2.

    XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) PATH 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    First name VARCHAR2 (2000) PATH 'Profile, customer, PersonName, GivenName') x 3

    the Union - is - it possible to get results without it?

    SELECT x1.roomnumber

    x1.property

    null

    null

    null

    null

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05"")

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau VARCHAR2 (2000) PATH 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , property VARCHAR2 (2000) PATH 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections".

    , connecttype VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType") x 1

    XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) PATH 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    First name VARCHAR2 (2000) PATH 'Profile, customer, PersonName, GivenName') x 3

    ORDER BY 8)

    LOOP

    Dbms_output.put_line (i.roomnumber

    || ' '

    || students

    || ' '

    || i.Days

    || ' '

    || i.upgrad

    || ' '

    || i.Lev1

    || ' '

    || i.Lev2

    || ' '

    || i.Folio

    || ' '

    || i.LastName

    || ' '

    || i.FirstName

    || ' '

    || i.Connections

    || ' '

    || i.CONNECTType);

    END LOOP;

    END;

    I can t solve this problem by performing a union query. Is there a way appropriate or better?

    Yes, you can use an OUTER JOIN:

    SELECT x1.roomnumber

    x1.property

    x2.days

    x2.upgrad

    x2.lev1

    x2.lev2

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05')

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau PATH VARCHAR2 (2000) 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , the path of the VARCHAR2 (2000) 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000) path 'Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections '.

    , connecttype PATH VARCHAR2 (2000) 'Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType '.

    ) x 1

    XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05')

    , ' / TPA_Extension/PRICE.

    PASSAGE x1.rates

    Days of COLUMNS VARCHAR2 (2000) '@DAYS '.

    , upgrad VARCHAR2 (2000) path '@UPGRADE '.

    , lev1 PATH VARCHAR2 (2000) ' @LEVEL-10'.

    , lev2 PATH of VARCHAR2 (2000) ' @LEVEL-20'.

    ) (+) x 2

    XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) path 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    , name VARCHAR2 (2000) PATH "profile, customer, PersonName, GivenName".

    ) x 3

Maybe you are looking for

  • Deploy the web service on ARM processor

    Is it possible to deploy a web service on an ARM processor with LabVIEW ARM module?  If this is not the case, a web server for an ARM processor has been done in before LabVIEW?  Is there an example of code out there?  Thank you.

  • my windows is not genuine how can I install the key on my com

    I have a new computer that I had the hard drive replaced. the homepage displays a warning my windows is not authentic. If you need to install the product key. How can I do this

  • Backup error code Ox81000019

    To try to save my laptop on an external hard drive on the network, I get message 'the application view event log' for ' VSS and 'PSP' and backup finishes. " I backed up my office in the same place without problem. Previously saved portable to another

  • I can't see my pictures on the windows Help Photo Gallery

    I have windows vista Photo Gallery, recently, that I let my daughter use my laptop and when I entered the windows photo gallery to go through my pictures to be stored on the memory stick I found that they were not evidence in the main window. However

  • Zip files don't seem to work, using windows 7?

    I am using windows 7 and you need to send my assessment United in a compressed zip folder. I'll add pictures of what I'm doing and what's happening. (1) I rely on compressed (zipped) folder. (2) then it looks like what I think not what its supposed t