DB link over HSODBC problem

I've double and triple checked this and can't seem to find out why I am still getting ora-02063 errors. The connection is to a MSSQL server 2000 database from 10G R2, files configured are as such:
================================================================
tnsnames.ora:
# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
TFMDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = winms-tfmdev)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = tfmdev)
FORMAT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = winms-tfmdev)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = format)
(HS = OK)
LIMSPROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = winms-lims)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = limsprod)
WISPROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = winms-wooddb)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = wisprod)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
listener.ora:
# listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = TFMDEV)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = TFMDEV)
(SID_DESC =
(GLOBAL_DBNAME = format)
(PROGRAM = hsodbc)
(SID_NAME = format)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = winms-tfmdev)(PORT = 1521))
initFORMAT.ora in hs\admin directory:
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = FORMAT
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_TRACE_FILE_NAME=c:\orahs1.log
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
================================================================
The DSN to the MSSQL database is named "FORMAT", and a dblink has been created with the same name. The dblink checks out ok (active) when testing it, and if I issue a select sysdate from dual@format I get a result.
However select * from <table>@format nor does select <colname> from <table>@format or select "<colname>" <table>@format, however desc <table>@format does return a list of columns:
================================================================
SQL> desc tblRua@FORMAT;
Name Null? Type
strActivityId VARCHAR2(12)
strAgreementType VARCHAR2(10)
strSegmentUsed VARCHAR2(50)
intNumberOfWells NUMBER(5)
intNumberOfKms FLOAT(23)
intVolume NUMBER(5)
strRuaRateType VARCHAR2(10)
dtmLastUpdateDate DATE
strUserId VARCHAR2(16)
SQL> select * from tblRua@FORMAT;
select * from tblRua@FORMAT
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL
Server]Invalid object name 'TBLRUA'.[Microsoft][ODBC SQL Server Driver][SQL
Server]Statement(s) could not be prepared. (SQL State: S0002; SQL Code: 208)
ORA-02063: preceding 2 lines from FORMAT
SQL> select "strActivityId" from tblRua@FORMAT;
select "strActivityId" from tblRua@FORMAT
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL
Server]Invalid object name 'TBLRUA'.[Microsoft][ODBC SQL Server Driver][SQL
Server]Statement(s) could not be prepared. (SQL State: S0002; SQL Code: 208)
ORA-02063: preceding 2 lines from FORMAT
================================================================
I have connected to the MSSQL database as the user specified in the dblink with the MSSQL query analyzer and can select the tables no problem, so I know its not a rights issue within MSSQL.
Am I missing something here?
TIA

Since the above worked, you still may want to create the view so you don't have to quote each time you select.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/apc.htm#sthref516
I would suggest the following:
create a view which accessess your odbc table. In this view, explicity convert all columns to oracle datatypes. (FLOAT isn't an oracle datatype http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#sthref215) Then select from the view.
SQL> desc tblRua@FORMAT;
Name Null? Type
strActivityId VARCHAR2(12)
strAgreementType VARCHAR2(10)
strSegmentUsed VARCHAR2(50)
intNumberOfWells NUMBER(5)
intNumberOfKms FLOAT(23)
intVolume NUMBER(5)
strRuaRateType VARCHAR2(10)
dtmLastUpdateDate DATE
strUserId VARCHAR2(16)
Message was edited by:
dbtoo

Similar Messages

  • Hme0: Link Down - cable problem?

    i've a problem i've buyed an ultra 10 (used)
    i've reinstalled solaris 10 01/06
    when it boot the o.s. it give this error message "hme0: Link Down - cable problem?"
    and network don't work.
    i cannot ping my router but i've gave to my sun an ip of the same netmask (sun ip 192.168.1.88 router ip 192.168.1.1)
    i've checked the cable and it's good (it work with a normal pc)
    the led on the switch is on (it's green)
    maybe i need some patch
    how can i do?

    gio,
    You didn't necesarily do anything wrong.
    You do not necessarily have any broken equipment.
    There may just be somthing that is incomplete in the setup.
    Begin by checking if your network settings were set up correctly by running:
    <b># ifconfig -a</b>
    (it's usually best to troubleshoot while you are root user)
    If the output from the <i>ifconfig</i> command seem to be complete, you could always think about reconfiguring the NIC all over again.
    If you are not sure, then just paste the entire output results back here.
    Also, use the forum search function, using keyword <u>sys-unconfig</u>.
    Next, read the Solaris man pages for sys-unconfig.
    That command will force you to repeat the setup of the connection.

  • I bought a new iMac.  iWeb and all folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    I bought a new iMac.  iWeb and all its folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    You need the 'Domain' file in which iWeb keeps its data. This lives by default in (user)/Library/Application Support/iWeb. You need to locate it on the old machine and copy it to the same position in the new machine. Note that it is the Library folder in your Home folder, not the one at root level.
    This folder is hidden on Lion and above; to access it, in the Finder go to the ‘Go’ menu and hold down the Option (Alt) key; the Library folder will appear as a choice. In Mavericks you can make it permanently visible - open your Home Folder the from the Finder's View menu, choose show View Options and check Show User Library.

  • Where is the link for submitting problem to apple?

    Where is apple link for submitting problems?

    Hi,
    Was this the link your looking for
    http://www.apple.com/feedback/iphone.html
    Dale

  • Solaris 8 says: "Link down, Cable Problem?"

    I have these on my home LAN:
    1. Sun Ultra 5 Solaris 8
    2. Win 2000 PC
    3. Win NT laptop
    They are all hooked into a LinkSys Router.
    The Router is hooked into my Motorala Cable Modem.
    Here's the problem:
    The PC and the laptop can see each other on the LAN.
    The Solaris 8 is only visible on the Lan INTERMITTENTLY.
    The lights on the Router for the PC and laptop are always ON.
    When I reboot the Solaris box, the lights on the Router sometimes come ON, and sometimes they stay OFF. When they stay OFF, I see the message: "Link down, Cable Problem?" during reboot.
    I have tried different cables, and tried various combinations of the 4 avalable ports on the back of my Router.
    If I plug in the Sun box DIRECTLY into my cable modem, then I don't see the above message. (but then I don't have a LAN anymore)
    Please help, I've been struggling with this for a while now.
    Thanks,
    Irshad Ahmed (I am relatively new to Sun)

    Hi
    You have not indicated if you have the router ethernet ports working
    at 100Mbps or 10Mbps. Depending on this sometimes, Sun systems may
    not be correctly auto-negotiating their ethernet port settings.
    You may set these parameters to force Sun Ultra 5 to a 100Mbps mode or a 10Mbps mode.
    For forcing it to 100Mbps, Full Duplex mode and disabling the auto-negotiation, put these entries in /etc/system:
    set hme:hme_adv_autoneg_cap=0
    set hme:hme_adv_100T4_cap=0
    set hme:hme_adv_100fdx_cap=1
    set hme:hme_adv_100hdx_cap=0
    set hme:hme_adv_10fdx_cap=0
    set hme:hme_adv_10hdx_cap=0
    Conversely, if you want to force your Sun to work on 10Mbps, Full
    duplex mode, (if your router does not support 100Mbps) in the same
    /etc/system file, put the following entries :
    set hme:hme_adv_autoneg_cap=0
    set hme:hme_adv_100T4_cap=0
    set hme:hme_adv_100fdx_cap=0
    set hme:hme_adv_100hdx_cap=0
    set hme:hme_adv_10fdx_cap=1
    set hme:hme_adv_10hdx_cap=0
    One of these should solve your problem. You need to reboot the system
    after putting these entries.
    You can also check the port at the OK prompt using the command
    "watch-net". This test the onboard ethernet interface.
    You may also apply the hme patch released by Sun that fixes many
    known problems with hme ethernet driver. The patch id is 108981-03.
    It is available from the site :
    http://sunsolve.sun.com
    HTH
    Shridhar
    Sun-DTS

  • HT1483 Ipod froze. How to get over the problem and bring it back?

    Ipod froze and not responding. How to get over this problem and bring back the Ipod ?

    Go to the  menu/About This Mac - what OS version shows there?
    Do a backup, preferably 2 separate ones on 2 separate drives.
    Revert to a Previous OS X
    Revert to Snow Leopard
    If you do revert, I'd use Setup Assistant to restore your data. This process takes a while, so do it when you won't need the computer for several hours, based on my experience.

  • Links over an Image

    Good Morning!
    I'm fairly new to Dreamweaver and I'm trying to cut through the fog and get a project completed. 
    I am working on an email blast for my company and I need several links over top of the image that I designed in Illustrator and Photoshop.  (I've attached graphic)
    I need the links in the purple squares.
    I know how to use Image Maps and at first I used them and everything worked perfectly!
    But since this is an email blast I was informed by our email marketing company that several email providers do not support Image Maps.
    Is there a work around? 
    Thanks so much!

    <a href="http:/mylink.com.au"><img src="myimage.jpg" alt="Alt Text"></a>
    Gramps

  • Howto Link Down-Cable problem?

    Hi,
    I am having a Ultra Sparc 5 with a hme interface and a quad card. When the machine boots it checks at boot prom level all 5 interface and reports for all qfe interfaces "Link Down-Cable problem?". All qfe interfaces do not have a ethernet connx but I also do not want to deinstall the quad card. Is there any possibility to turn thoose "interface checks" off.
    Thanks Marcus

    Never mind I just figured out that thoose checks just run after the boot cdrom command.

  • My ipad mini 2 gets blue screen and then keep restarting over and over again problem

    My ipad mini 2 gets blue screen and then keep restarting over and over again problem. I tried to restore to the factory setting but it was not successful to fix the problem. Sometimes I could not even restore. How can I do with this kind of problem?
    I'm very frustrated now. Please help me!

    I have the same issue and have not found a way to fix it yet. I cant even down grade back to 8.2 because it wont stay on long enough.

  • Help with positioning text links over image

    I'm creating a five page site with a different background
    color for each horizontal nav bar. I created a solid color graphic
    (780 x 30) and inserted it into my div. I now want to place my text
    links over the graphic but I can't seem to do it. It keeps
    appearing underneath. Someone recommended using a table and I'm
    wondering if this would be easier.
    Thanks!

    You have to use the image as a background image in your
    'navcontainer' <div>
    #navcontainer {
    background-image: url(images/nav_services.gif);
    background-repeat: no-repeat;
    If you actually insert the image into the page, as you have
    done, it
    WILL push the text links down because its ABOVE them on the
    page.
    Ruby7829 wrote:
    > I'm creating a five page site with a different
    background color for each
    > horizontal nav bar. I created a solid color graphic (780
    x 30) and inserted it
    > into my div. I now want to place my text links over the
    graphic but I can't
    > seem to do it. It keeps appearing underneath. Someone
    recommended using a
    > table and I'm wondering if this would be easier.
    >
    > Thanks!
    >
    > <div id="navcontainer"><img
    src="images/nav_services.gif" />
    > <ul id="navlist">
    > <li id="active"><a href="test_index.html"
    id="current">Home</a></li>
    > <li><a
    href="test_services.html">Services</a></li>
    > <li><a
    href="test_faq.html">FAQ</a></li>
    > <li><a
    href="test_testimonials.html">Testimonials</a></li>
    > <li><a
    href="javascript">Contact</a></li>
    > </ul>
    > </div>
    >
    >
    > #navcontainer ul
    > {
    > text-align: center;
    > padding: 0px 0px;
    > margin: 0;
    > color: white;
    > width: 100%;
    > line-height: 18px;
    > }
    >
    > #navcontainer ul li
    > {
    > display: inline;
    > padding-left: 0;
    > padding-right: 0;
    > padding-bottom: 5px;
    > /* matches link padding except for left and right */
    > padding-top: 5px;
    > }
    >
    > #navcontainer ul li a
    > {
    > padding-left: 10px;
    > padding-right: 10px;
    > padding-bottom: 5px;
    > padding-top: 5px;
    > color: white;
    > text-decoration: none;
    > }
    >
    > #navcontainer ul li a:hover
    > {
    > color: #CCCC99;
    > }
    >

  • HT204088 I am receiving unauthorised billings for purchase from application Kingdom Age from seller Funzio, Inc .  I can't find a place/link to cancel the billing neither report this problem. The link REPORT A PROBLEM only links you to Apple Store without

    I am receiving unauthorised billings for purchase from application Kingdom Age from seller Funzio, Inc .  I can't find a place/link to cancel the billing neither report this problem. The link REPORT A PROBLEM only links you to Apple Store without a hint/directions whre you can report the problem.
    I've been surfing all parts of the website and didn.t find a manner to REPORT A PROBLEM with purchases on my behalf not authorized.

    Hi..
    Just to be on the safe side if you have not already changed your Apple ID password, probably should do that.
    How to change your Apple ID password
    And you can use the email form for contacting Apple here > Apple - Support - iTunes Store - Contact Us

  • Dv6-3123tx - is facing over heating problem?

    Hi All,
    I am planning to buy another LPTP
    my main requriment is :  intel  i5  ,  4 GB RAM ,  atlist 2.66GHZ cpu , 15" monitor.
    So that I have chk hp following model :  dv6-3123tx its cost is  Rs.50,000/- INR
    I have chked some review of  (dv6-3123tx) and some post is saying it is having over heating problem and hp is stoped to supply it in to the market.
    can any one will me guide me in this case. or pls suggest some model.
    I m from India
    my budget is up to Rs. 50,000/- INR =  $ 1050/- USD
    niranjan

    i have bought the dv6-3123tx about 2 months back and i wouldnot recommend it to anyone too.
    All i do i browse and sometime not even that. Leaving it on the table switched on make its go hot, so hot that you cant even type on the keyboard. And the sound the fan makes is annoying.
    The touchpad is also one big disadvantage. it makes a sound each time you click. So you cannot work unless you have a mouse. Right now its so heated up that i can barely type (mostly on the left hand side of the laptop.
    Also i was checking for remedies when I relaised that this laptop 3123 is not even listed in the HP products list:
    http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-00​1&h_lang=en&h_cc=in&h_product=4247579&h_client=s-s​...
    If you perform a search with this name, you wouldnot get any results. I guess i better take it to the store immediately before it burns my hand, else i would have to use it as an omlette maker.

  • REP common link over VPLS

    Hi,
    I'm looking for some guidance on how to configure a REP common link over VPLS.  I've read a bunch of docs that more or less elude to the fact that it should be supported, but no combination of documents thus far have clearly outlined what the prerequisites are in terms of software, ES vs. ES+ hardware or relevant configuration glue to make this work.
    http://www.cisco.com/en/US/docs/ios/lanswitch/configuration/guide/lsw_cfg_rep.html#wp1316104
    http://www.cisco.com/en/US/docs/routers/7600/install_config/ES20_config_guide/baldpref.html
    Cisco Live 2010 session BRKSPG-2205 (Deploying and Designing with Resilient Ethernet Protocol) page 79
    I've got two 7600/SUP720/SRE5 boxes with a chain of ME3400s connecting the two over 6724 LAN based linecard ports.  I've also got an ES port between each 7600 to carry the SVI based EoMPLS foo between the two, and this is where I'd like to establish the VPLS common link (hopefully the below ASCII diagram will show up OK):
    [ 7600-1 ]--(6724-GE)--[ ME3400-1 ]--[ ME3400-2 ]--(6724-GE)--[ 7600-2 ]
       |                                                               |
       |                                                               |
       +---------------------------(ES20-GE)-------------------------- +
    In terms of config, I've got the 6724 chain side configured as a REP segment and the REP admin VLAN is 1/default.  I haven't been able to find the configuration glue needed to make REP aware that the common link for the segment is the VPLS pseudowire between the two 7600s:
    ! 7600-1
    interface loopback 0
    ip address 2.2.2.2 255.255.255.255
    ip router isis 21949
    interface GigabitEthernet8/22
    description Facing ME3400-1
    switchport
    switchport trunk encapsulation dot1q
    switchport mode trunk
    rep segment 19 edge primary
    interface GigabitEthernet7/0/19
    description Facing 7600-2
    mtu 9216
    ip address 1.1.1.2 255.255.255.254
    no ip redirects
    ip router isis 21949
    mpls ip
    mls qos trust dscp
    bfd interval 250 min_rx 250 multiplier 4
    clns mtu 9199
    ethernet vlan color-block all
    interface Vlan1
    no ip address
    xconnect vfi REP-PROTECT
    l2 vfi REP-PROTECT manual
    vpn id 2194900101
    bridge-domain 1 vlan
    neighbor 2.2.2.3 encapsulation mpls
    ! 7600-2
    interface loopback 0
    ip address 2.2.2.3 255.255.255.255
    ip router isis 21949
    interface GigabitEthernet8/22
    description Facing ME3400-2
    switchport
    switchport trunk encapsulation dot1q
    switchport mode trunk
    rep segment 19 edge
    interface GigabitEthernet7/0/19
    description Facing 7600-1
    mtu 9216
    ip address 1.1.1.3 255.255.255.254
    no ip redirects
    ip router isis 21949
    mpls ip
    mls qos trust dscp
    bfd interval 250 min_rx 250 multiplier 4
    clns mtu 9199
    ethernet vlan color-block all
    l2 vfi REP-PROTECT manual
    vpn id 2194900101
    bridge-domain 1 vlan
    neighbor 2.2.2.2 encapsulation mpls
    REP topology looks OK:
    7600-1#show rep top
    REP Segment 19
    BridgeName       PortName   Edge Role
    7600-1           Gi8/22     Pri  Open
    3400-1           Gi0/2           Open
    3400-1           Gi0/1           Open
    3400-2           Gi0/1           Open
    3400-2           Gi0/2           Open
    7600-2           Gi8/22     Sec  Alt
    VFI is up:
    7600-1#show vfi name REP-PROTECT
    Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
    VFI name: REP-PROTECT, state: up, type: multipoint
    VPN ID: 2194900101
    Bridge-Domain 1 attachment circuits:
       Vlan1 
    Neighbors connected via pseudowires:
    Peer Address     VC ID        S
    2.2.2.3          2194900101   Y
    However in a REP segment failure, the pseudowire seems to be pretty much useless acting as a common link for the failed segment.
    Is anyone running a config like this?  Am I missing something obvious (or not so obvious?)?
    Thanks in advance.

    I have a Mac and have tried the suggestion above with the places.sqlite but it DID NOT HELP! FIREFOX IS STILL HANGING!!!!!!!!!!!! I've been a real fan of firefox for several years, but lately it's just plain annoying!!! I have to force quit FF several times a day. I THINK I'M GOING TO SWITCH TO SAFARI until you guys get your act together soon :(

  • I recive email from itunes to veritify my email adress and is said...''Click link below'' The problem is that i cant see the link plese help me! :)

    i recive email from itunes to veritify my email adress and is said...''Click link below'' The problem is that i cant see the link plese help me!

    Hi Maastricht2014,
    Until and unless you remember the password to your old email address, you will not be able to access the eBooks as those eBooks are only authorized with your old email address only.
    The only workaround or alternative to access your eBooks will be to contact the eBook vendor and ask them to migrate the eBook from your old email to the new one.
    Hope that Helps!
    ~ Arpit

  • Insert link over an image in XML

    Hello,
    I recently bought this template: http://www.templatemonster.com/flash-templates/27466.html but I have a big problem. I want to add a hyperlink over the big images which appears when you click on bedrooms for example. There are 9 small images in the right side and 1 big image on the left. I changed all the images but I want also to add hyperlinks on some big images. The action script import an xml file like:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
            <pageGallery nameGallery="GALLERY 1" name="gallery1" folder="gallery" line="3" maxImages="9">
                    <titleImages>               
                        <smallImages>_gallery_small_images_1.jpg</smallImages>
                        <bigImages>_gallery_big_images_1.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_2.jpg</smallImages>
                        <bigImages>_gallery_big_images_2.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_3.jpg</smallImages>
                        <bigImages>_gallery_big_images_3.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   ........
    Please help me with the correct syntax to add hyperlink over a big image in XML. I think I have to do some changes in .fla project, but I don't know where...
    Thank you !

    This is the as for "load big images"
    onClipEvent (load) {
        if (_parent._parent.numLoadTitle == undefined) {
            _parent._parent.numLoadTitle = 0;
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
        } else {
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                //loadMovie(ifFolder+"/"+_root.url+small[i], item["mini"+i].cont.pic);
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
    ***** Here is the first frame frome scene:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    setProperty("", _quality, "BEST");
    url = "tfile";
    _root.linkGallery=0;
    _root.titleGallery = 0;
    _root.cacheKiller = "true";
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
    stop();
    var parsed_obj = {};//We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true") {
        fileToLoad = url+"_main.xml?cacheKiller="+unCash;
        fileToLoad = url+"_main.xml";
    } else {
        fileToLoad = url+"_main.xml";
    XMLParser.load(fileToLoad,onFinish,parsed_obj);
    _root.emp.useHandCursor = 0;
    ///forplayer
    _root.mus = 1;
    _root.n = 1;
    _root.num = 1;
    *** This is the second frame :
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, gallery_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
            play();
    //system settings
    // frame number where readMore movieClip is situated
    pagesReadMoreFrame = 4;
    // frame number of the first content page
    firstPageFrame = 1;
    //system settings
    #include "gs/dataTransfer/xmlFunctions.as"
    //_root.link=_root.getMenuSystemOrder(0);
    //trace(_root.link)
    _root.link = 1;
    _root.titleNumPage = 1;
    _root.openNewGallery = true
    _root.part = _root.xmlNodes.childNodes[0].childNodes[0].attributes.name
    *** And here is the xmlFunctions.as:
    import flash.display.*;
    function loadBitmapSmoothed(url:String, target:MovieClip) {
        // Create a movie clip which will contain our
        // unsmoothed bitmap
        var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth());
        // Create a listener which will notify us when
        // the bitmap loaded successfully
        var listener:Object = new Object();
        // Track the target
        listener.tmc = target;
        // If the bitmap loaded successfully we redraw the
        // movie into a BitmapData object and then attach
        // that BitmapData to the target movie clip with
        // the smoothing flag turned on.
        listener.onLoadInit = function(mc:MovieClip) {
            mc._visible = false;
            var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);
            this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(), "auto", true);
            bitmap.draw(mc);
        // Do it, load the bitmap now
        var loader:MovieClipLoader = new MovieClipLoader();
        loader.addListener(listener);
        loader.loadClip(url, bmc);
    var mainObj=_root.parsed_obj;
    var galleryObj=_root.gallery_obj;
    function textSelectable(selectedObject) {
        isTextSelected=getSettingsValue(mainObj, "textSelectable", "item");
        if (isTextSelected=="true") {
            selectedObject.selectable=true;
    function getXmlSection (obj, itemName,  sectionName) {
            i=0;
        while (obj[itemName][i]) {
            if (obj[itemName][i].name==sectionName) {
                returnedResult=true;
                return (i);
                break;
            i++;
    function getSettingsValue (obj, itemName, itemType) {
        sectionNum=getXmlSection(obj, "section",  "settings");
        k=0;
        while (obj["section"][sectionNum][itemType][k]) {
            if (obj["section"][sectionNum][itemType][k].name==itemName) {
                return (obj.section[sectionNum][itemType][k].value);
                break;
            k++;
    function getCopyright (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "copyright", "item");
        textSelectable(textObj);
    function getCompanyName (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "companyName", "item");
        textSelectable(textObj);
    function getSlogan (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "slogan", "item");
        textSelectable(textObj);
    function getSystemValue (textObj, systemOptionName) {
        textObj.htmlText=getSettingsValue(mainObj, systemOptionName, "item");
        textSelectable(textObj);
    function getMenuLink (textObj, linkNum) {
        sectionNum=getXmlSection(mainObj, "section",  "menu");
        textObj.htmlText=mainObj["section"][sectionNum].link[linkNum].value;
        textSelectable(textObj);
    function getMenuSystemOrder (linkNum) {
        sectionNum=getXmlSection(mainObj, "section", "menu");
        return (mainObj["section"][sectionNum].link[linkNum].systemOrder);
    function getGlobalText(textObj, textsNumber, optional:Boolean) {
        sectionNum = getXmlSection(mainObj, "section", "global_text");
        textObj.htmlText = mainObj["section"][sectionNum].texts[textsNumber].value;
        if (optional == undefined) {
            textSelectable(textObj);
        } else {
            // do nothing
    function getGlobalImageName(imageNumber) {
        sectionNum = getXmlSection(mainObj, "section", "global_img");
        //currentPage = _root.link-_root.firstPageFrame;
        imageParams = new Array();
        imageParams['name'] = mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen'] = mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function getCurrentText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        textObj.htmlText=mainObj["section"][sectionNum]["page"][currentPage]["texts"][0]["pageTex t"][textNumber].value;
        textSelectable(textObj);
    function getMenuPreviousLink (linkNum) {
        k=0;
        systemOrder=getMenuSystemOrder(k);
        while (systemOrder) {
            if (systemOrder==linkNum) {
                orderResult=k+1;
                break;
            k++;
            systemOrder=getMenuSystemOrder(k);
        return (orderResult);
    function getCurrentImageName(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNum ber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["page"][currentPage]["image"][im ageNumber]["link"];
        imageParams['target']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageN umber]["target"];
        return (imageParams);
    function getCurrentImageName_splash(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "settings");
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function checkLinkType (linkTextType, linkNumber) {
             k=0;
            typeCount=0;
            finalLinkNumber=parseInt(linkNumber)+1;
            currentPage=_root.link-_root.firstPageFrame;
            sectionNum=getXmlSection(mainObj, "section", "pages");
            linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
            while (linkTypeCkeck){
                if (linkTypeCkeck==linkTextType) {
                     typeCount++;
                if (typeCount==finalLinkNumber) {
                    return(k);
                    break;
                k++;
                linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
    _root.readMoreFrameType = 'readmore';
    function more_click_func(number) {
        tempNumber = number.split(" ");
        number=tempNumber.join("");
        number=number.toLowerCase();
        num=_root.pagesReadMoreFrame;
        currentPage=_root.link-_root.firstPageFrame;
        if( isNaN(Number(number)) ) {
            readMoreType = number;
        } else {
            readMoreType = 'readmore';
        //if( (_root.link<>num || _root.readMoreFrameType!=readMoreType)) {      
            if (_root.animation){
                //if (_root.link<>5 ){
            _root["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            //_root.menu2["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            if (number=='privacypolicy') {
                _root.readMoreFrameType = 'privacypolicy';
                sectionNum=getXmlSection(mainObj, "section", "privacyPolicy");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else if (number=='termsofuse') {
                _root.readMoreFrameType = 'termsofuse';
                sectionNum=getXmlSection(mainObj, "section", "termsOfUse");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else {
                _root.readMoreFrameType = 'readmore';
                sectionNum=getXmlSection(mainObj, "section", "pages");
                linkCount=checkLinkType("readMoreLink", number);
                i=0;
                linkTitleNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][li nkCount], "item", "title");           
                linkTextNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][lin kCount], "item", "linkText");
                _root.readMoreTitle=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount ]["item"][linkTitleNum].value;
                _root.readMoreText=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount] ["item"][linkTextNum].value;            
                    _root.subMenu.subMenu.subMenu["item"+(_root.link-1)].mouseRelease = true;
                    _root.link = 8;
                    _root.linkClosePanel = false;
                    _root.titleNumPage = _root.pagesReadMoreFrame;           
                    _root.content.play();           
    function getContactFormText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        textObj.htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value ;
        textSelectable(textObj);
    function getContactFormText_only(textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        return htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value;
    function getContactFormParams() {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        ContactFormParams=new Array();
        servNum=getXmlSection(mainObj["section"][sectionNum], "item", "serverOption");
        recNum=getXmlSection(mainObj["section"][sectionNum], "item", "recipient");
        ContactFormParams['rec']=mainObj["section"][sectionNum]["item"][recNum].value;
        ContactFormParams['serv']=mainObj["section"][sectionNum]["item"][servNum].value
        return (ContactFormParams);
    // gallery functions
    function getGallerySystemProperty(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "systemOptions");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGallerySettings(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "settings");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGalleryImage(imageNum, categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        imageParams=new Array();
        image=galleryObj["section"][sectionNum]["category"][categoryNum]["image"][imageNum];
        nameNum=getXmlSection(image, "item", "imageUrl");
        commentNum=getXmlSection(image, "item", "imageComment");
        imageParams['name']=image['item'][nameNum].value;
        imageParams['comment']=image['item'][commentNum].value;
        return (imageParams);
    function getCurrentGalleryName(categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        return (galleryObj["section"][sectionNum]["category"][categoryNum].name);

Maybe you are looking for

  • Problem in uploading multiple PO line items thro bapi_po_create1...

    Hi All, I want to upload Purcase details thro BAPI_PO_create1.I am able to upload PO for single line item. If i pass multiple line items i am getting error. Error is "Purchase order still contails faulty items". Pls see my code,and help to solve this

  • Adobe Media Encoder CS5.5 crashing/rebooting?

    Hello all, I've been using CS4 for about two years now, and I've never had a problem with its Media Encoder crashing. On Friday, I got a new PC, and I successfully ran CS4's encoder for two days with no problem. However, last night I decided to upgra

  • Search not working in ATG CSC 10.2`

    am getting an error as .. 10:27:49,092 ERROR [AgentSearchTools] atg.search.client.SearchClientException: Unable to resolve: /atg/search/routing/RoutingSearchService please help me.

  • Could not contact the DSCC agent on ldap-dj (my testing host)

    Hi, I have installed dsee7 "Oracle Directory Serivce Control" When I am attempting to register a server. I receive the following error message Additionally having problems to enable cacaoadm.... any recommendations? Your help is greatly appreciated.

  • Access to WD 500 GB HD connected to Time Capsule on Windows PC

    I have a 500 GB WD My Book hard drive connected to 500 GB Time Capsule via USB. I am able to view both hard drives on my MacBook, but I can't view the attached My Book on my Windows PC. Can anyone help? Is it possible to view the My Book on my Window