Problem loading xml images...

I loaded an XML file in the LoadXML class and have created here a method that analyzes the data and returns several bays: an array of background URL (I called the table: background []), a table of image paths (path []), an array of URLS of website (website []) and so on. In the main class, I would now like to load backgrounds and images. I must have made a mistake in my onBackgrLoad() because I got the error msg:

Error #1084: Syntax error: expected rightparen before the colon.

I can´t see any parenthesis is missing...

Here are the relevant sections of my main class:

package {

flash to import. View . Sprite
;
flash to import. net
.*;
flash to import. View
.*;
flash to import. events
.*;
flash to import. View . Charger
;
flash to import. filters . DropShadowFilter
;
flash to import. net . URLRequest
;
flash to import. text
.*;
Import de.container.text.Container_Text;

To change the shadow. ATM using the do not.
flash to import. filters . BitmapFilter
;
flash to import. filters . BitmapFilterQuality
;

public class
main extends
Sprite
{
//____________________________________________________________________________Vars : Newly created

public var images : Vector . < DisplayObject > ;
private var maxProducts : int;
private var
backhoe : Vector. <Loader> = new Vector. <Loader
> ();
private var
loader URLLoader = new URLLoader :
();
private var
arr.plans : Bitmap
;
private var
img : Bitmap
;
private var
title : String
;
private var textContainer: Container_Text = new Container_Text();

//____________________________________________________________________________Vars : From other classes
public var coverflow CoverFlow :
.
private var
bg : BG
;
private var
sb : ScrollPaneExample
.
private var
sl : ScrollLabels
.
private var
productSummaryLabel : ProductSummaryLabel
.
private var reflection: reflection;

private var xmlLoad LoadXML = gcnew LoadXML :
();
private var
xmlData : XML = xmlLoad. getXMLData
();
private var
background : Array = xmlLoad. getBackgr
();
private path var : Array = xmlLoad. getPath ();
private var maxProducts : int = xmlLoad. getMaxProducts ();
private var
numOfProducts : int = xmlLoad. getNumOfProducts ();
private var
numOfCategories : int = xmlLoad. getNumOfCategories (); 

//____________________________________________________________________________Constructor

public void hand
)
{
initBG
();
onBackgrLoad(e : Event
);
}

//____________________________________________________________________________Methods
Load the arr.plans for each image.
private void onBackgrLoad()e : event): Sub
/ / take-out: Sub?
{
/ / A summary should appear for each object once it is in the Center
for (var i : uint = 0; i < numOfProducts i
++)
{
var
backgrLoader : Loader = new Loader
();
var
backgrRequest : URLRequest = new URLRequest()background[I
]);

backgrLoader . contentLoaderInfo . addEventListener (Event. FULL , onImageLoad );
backgrLoader. contentLoaderInfo . addEventListener ()IOErrorEvent. IO_ERROR , handleXMLError
);
Try
{
backgrLoader. load ()backgrRequest
);
} catch (
error: ArgumentError
) {}
trace()"one Argument Error has occurred."
);
} catch (
error SecurityError:
) {}
trace()"A Security Error has occurred."
);
}

/ / OR can use the method below without needing var backgrRequest
backgrLoader.load (new URLRequest (background [i]));

var myNewBackgr = e. goal . charger ;
/ / Necessary?

Hold the backgrs inside the bitmap
backgr = e. goal . content as Bitmap
;

trace("onBackgrLoad Loop: " + i
);
}
}
/ / Load image that will lie above arr.plans. When the event is completed call onTextLoad().
public void onImageLoad()e : event):
Sub
{
/ / STATEMENT: summary should appear for each object once it is in the Center
for (var i: uint = 0; i < numOfProducts i ++)
{
var
chargeurImage : Loader = new Loader
();
var
feeder : URLRequest = new URLRequest()path[I
]);

chargeurImage. contentLoaderInfo . addEventListener (Event. FULL , onImageLoaded );
/ / change this to onTextLoad once completed method
chargeurImage. contentLoaderInfo . addEventListener ()IOErrorEvent. IO_ERROR , handleXMLError
);
chargeurImage. load ()feeder
);

var
myNewImage = e. goal . charger ;
/ / necessary?

Keep the images inside the bitmap
img = e. goal . content as Bitmap
;

trace("onImageLoad Loop: " + i
);
}
}


I have also attached my class LoadXML and my XML file.

Oh! Now I see it.

The problem is the way you read your XML.

The correct path to the node background is xmlData.produkt [i].bild.hintergrund, not xmlData.produkte.produkt.bild.hintergrund.attributes ([i]). All other variables are also with the same problem.

Check documentation for XML manipulation and here is a complete guide to manage XML E4X format: http://www.ecma-international.org/publications/standards/Ecma-357.htm

Kind regards

CaioToOn!

Tags: Adobe Animate

Similar Questions

  • Problem loading XML content.

    Hello, when I open Dreamweaver CS6 I now get this message at the bottom right of the window and do not know what he's trying to tellme. Clicking on it does nothing.

    Meaasage is:

    Problem loading XML content.

    You have requested a language ("en_IL") that has no content available.

    In suggestions he shows English, United States.

    I don't know why this has happened. But I managed to get rid of this message on my computer. It seems "application.xml" file points to the incorrect language for content files folder.

    On my computer, the program is installed in C:\Program Files (x 86) \Adobe\Adobe Dreamweaver CS6. If you can navigate to this file using your file manager (in my case 'File Explorer', in point 8.1 of Windows), see the listed folders.

    On my installation, note that there is a record of language called "en_US", and there are a bunch of files that it contains. I think that this is where are stored the content files, for my installation. There is also a folder called "amt".

    Open the folder "amt". You will see that there is a load of files of the language, including en_IL and en_US. also note the files listed at the bottom of this issue, in particular the application file "." XML ". I edited this file by right clicking on it and choosing "Edit". However, when I tried to save the change, I got the message "access denied." I don't have permissions to edit and save the file. So, before editing the file once again, I changed the permissions of the file as follows.

    In the file Explorer, right click on the file "application.xml" and select "Properties". Click on the tab 'Security' "Edit" (to change the permissions). Select "users". In the lower window, click on "full control". Then click on 'Ok '. Then click 'Ok' again on the next page.

    Assuming that it worked, you should now be able to edit and save the file in the application ".» XML ".

    Then, right-click on the file name "application.xml" and choose "Edit". It's a text file, so I edited in the "Notepad". Halfway the page, you will see the term "en_IL". Change this to "en_US" (or whatever the name of the other folder is in your installation folder (see paragraph 3 above). Save the file.

    Open Dreamweaver and see if the message has disappeared, replaced by a tip.

  • Cannot get rid of loaded xml image scroller when navigate off the page.

    I have a thumb wheel loaded xml that stays on the screen when I leave the frames where it exists.

    This is the upward I tried to solve this problem. It has been suggested that I put a mc on the frames with the scrolling of the image and call it dummy_mc.

    Then I put the code on frameworks that are not supposed to have thumb scroller:

    dummy_mc. Visible = false;

    function removeScrollerF2(e:Event=null):void {}

    If (scroller) {//prevents a problem if you were to use the same navigation code after having removed the scroll}

    scroller.removeEventListener (Event.ENTER_FRAME, moveScrollerThumbs);

    removeChild (scroller);

    scroller = null;  If, when you want to create your clipping, it does not need to be re-created, delete this line of code.

    }

    trace ("dummy2_mc works on null");

    }

    dummy_mc.addEventListener (Event.REMOVED_FROM_STAGE, removeScrollerF2);

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

    I have this error of argument in the output panel:

    ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.

    at flash.display::DisplayObjectContainer/removeChild()

    at acolyte51c_AppsPopUpsThumbs_fla::mainsite_mc_2/removeScrollerF2() [acolyte51c_AppsPopUpsTh umbs_fla.mainsite_mc_2::frame73:399]

    at flash.display::MovieClip/gotoAndPlay()

    at acolyte51c_AppsPopUpsThumbs_fla::mainsite_mc_2/gotoFrame2() [acolyte51c_AppsPopUpsThumbs_f the. mainsite_mc_2::frame73:372]

    It's the frame73:399
    removeChild (scroller);


    on mainsite_mc section 73:

    replace line 38:

    this.addChild (scroller);

    with

    dummy_mc. AddChild (scroller);

    and replace the code of 407 + with:

    dummy_mc. Visible = false;<- remove="" the="" graphics="" from="" the="" stage="" of="">

    dummy_mc.addEventListener (Event.REMOVED_FROM_STAGE, removeScrollerF2);

    function removeScrollerF2(e:Event=null):void {}

    scroller.removeEventListener (Event.ENTER_FRAME, moveScrollerThumbs);

    }

  • problem loading XML default namespace

    I'm loading multiple xml/rss files. For some of them I have to use the namespace (atom feed)

    so I write these lines

    var atom: Namespace = new Namespace ("http://www.w3.org/2005/Atom" "");

    var rssXML:XML = new XML();
    lack of namespace xml = Atom;

    I test this in an outside my program, but when I integrate it in my main program, it seems that it is at odds with all the other xml

    the problem is: xml = Atom namespace default

    How to set a namespace only for an xml object?

    I try different way, but did not get from anywhere

    Thank you


    You can declare the namespace in XML (but do it before you create XML object):

    var namespace1:Namespace = new Namespace("http://www.w3.org/2005/Atom");
    default xml namespace = namespace1;
    var xml1:XML =  ;
    trace(xml1.namespace());
    
    var namespace2:Namespace = new Namespace();
    default xml namespace = namespace2;
    var xml2:XML =  ;
    trace(xml2.namespace());
    
    var namespace3:Namespace = new Namespace("http://www.example.com/schema");
    default xml namespace = namespace3;
    var xml3:XML =  ;
    trace(xml3.namespace());
    

    Trace

    http://www.w3.org/2005/Atom
    
    http://www.example.com/schema
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • Problem loading xml using sql loader file

    I am trying to load data into the table test_xml (xmldata XMLType)

    I have an xml file and I want any file to load in a single column

    When I use the following control file and run from the command-line as follows
    sqlldr $1@$TWO_TASK direct control=$XXTOP/bin/LOAD_XML.ctl = true; :

    DOWNLOAD THE DATA
    INFILE *.
    TRUNCATE INTO TABLE test_xml
    XmlType (XMLDATA)
    FIELDS
    (
    tank fill ext_fname (100),
    XMLDATA LOBFILE (ext_fname) COMPLETED BY expressions of folklore
    )
    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    the file is loaded in the table perfectly.

    Unfortunately I can't hard-code the name of file as file name will be changed dynamically.

    so I removed the block

    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    control file and tried to run by giving the following command line path

    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml = true;

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Please find the log of the program with the error

    ------------------------------------------------------------------
    Loading XML through SQL * Loader begins
    ------------------------------------------------------------------
    SQL * Loader-502: cannot open the data file ' <? XML version = "1.0"? > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< root >' XMLDATA field table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > forms < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > PLL < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML

    Please help me how can I load full xml in a single column using command line without Hardcoding in the control file

    Published by: 907010 on January 10, 2012 02:24

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Nothing strange, that the data parameter specifies the file containing the data to load.
    If you use the name of the XML here, the control file will try to interpret each line of XML as being separate ways.

    The traditional approach this is to have the name of the file stored in another file, say filelist.txt and use, for example:

    echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;
    
  • Problem loading the images after update of the plugin

    I had installed the following, and code worked great:
    BlackBerry component Pack 4.5.0.14
    BlackBerry JDE plugin for Eclipse 1.0.0.50
    Eclipse 3.4.1

    I've updated the plugin from 1.0.0.67 and copy the following code no longer works:

    Private static final Bitmap _bitmap is Bitmap.getBitmapResource ("splash.png");.

    My classes are in com.bbbj

    My images are in com.bbbj.img

    As I said, it worked before the upgrade and not after the upgrade. No other changes have been made.

    Now, none of my images are loading.

    Any ideas?

    I have re-installed the update and the problem doesn't happen anymore.

  • Problem loading of Image of CSS by dynamically loading the fxml file?

    H1. Introduction
    I develop load a file FXML leave a controller. The FXML uses CSS and images for buttons are defined in the CSS.

    CSS directory structure
    .fxml < package >

    Images
    the <>package. fxml.resources. < subdir >

    Example of CSS Code
    .buttonImage {
        -fx-background-image: url("resources/subdir/image.png"); 
    }
    Example of loading the controller code fxml
             URL location = getClass().getResource("/package/fxml/UI.fxml");
             FXMLLoader fxmlLoader = new FXMLLoader(location);
             fxmlLoader.setLocation(location);
             fxmlLoader.setBuilderFactory(new JavaFXBuilderFactory());
             Parent root = (Parent)fxmlLoader.load(location.openStream());
             Controller = (Controller) fxmlLoader.getController();
             newPane.getChildren().add(root);
    H1. Problem
    The fxml file does not load, and causes the following error:
    javafx.fxml.LoadException: Page language not specified.
    Rate this file fxml loaded correctly so that the images have been added.

    Any ideas of what could go wrong?

    H1. Attempted
    I tried the following: tried to change the url of the image as an absolute path.

    The problem is your onAction managers. If you point to a Java controller, we must start by #. for example #profileEventFired

  • Problem loading XML

    Dear Sir

    I have problem to load a flash xml file.

    See below:

    When I put this: xmlpath.load ("_root.xmlFile == undefined?" datas.xml":_root.xmlFile);  It works perfectly in flash but not in the browser.

    kindly help me on this...

    I would appreciate your help

    Kind regards

    MELAS076

    use:

    in the main timeline of the main swf

    Sector of the var: String = "products/multihost;

    xmlOb.load(mainS+"/datas.xml");

    var indexS:String = ' products/VOIP;

    to index swf

    xmlOb.load(_root.indexS+"/datas.xml");

  • Problem loading the images with the php script.

    As a webdebdesigner that I developed a cms system to download images with php to a mysql database. Firefox version 5.0.1 for MAC and earlier versions have no problem with the script download. But after this version, it is impossible to upload images more large then 250 KB. The page where the customer chooses his image for the download hangs and the form is not sent to the real upload script, which must validate and process the image.
    This problem only occurs in Firefox, all other browsers work fine!
    In addition to this: give feedback for firefox is not possible for the Mac.

    Try announcement Web development / standards evangelism MozillaZine forum. The helpers there are better informed on issues related to the development of website with Firefox.

    http://forums.mozillazine.org/viewforum.php?f=25

    You will need to register and log in to post in this forum.

  • 4000 performance problem loading XML documents

    Hello, Im' trying to download a table with records from sqlstatement following an XML including the content of this type

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

    " < d ' objects Custom xmlns =" http://www.mysite.com/XML/Impex/CustomObject/2006-10-31 ">

    " < custom object-id of type ="NEWSLETTER_SUBSCRIBER"object-id =" [email protected] ">

    < object-attribute attribute id = 'customer no' > < value > BLY00000001 < / value > < / object-attribute >

    < object-attribute attribute id = "customer_type" > < value > save < / value > < / object-attribute >

    < object-attribute attribute id = "title" > < value > Mr. < / value > < / object-attribute >

    < object-attribute attribute id = "name" > < value > Jean paul < / value > < / object-attribute >

    < object-attribute attribute id = "is_subscribed" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "last_name" > < value > fins Swiss < / value > < / object-attribute >

    < object-attribute attribute id = "Ligne_adresse_1" > < newsletter ADDRESS LINE 1 data value > < / value > < / object-attribute >

    < object-attribute attribute id = "Ligne_adresse_2" > < newsletter ADDRESS LINE 2 data value > < / value > < / object-attribute >

    < object-attribute attribute id = "address_line_3" > < newsletter ADDRESS LINE 3 data of the value > < / value > < / object-attribute >

    < object-attribute attribute id = "house number" > < newsletter data value HOUSE number > < / value > < / object-attribute >

    < object-attribute id = 'city' attribute > < value newsletter > JJ < / value > < / object-attribute >

    < object-attribute attribute id = "post_code" > < value > 6987 < / value > < / object-attribute >

    < object-attribute attribute id = 'State' > < value > ASD < / value > < / object-attribute >

    < object-attribute attribute id = 'country' > < value > ARE < / value > < / object-attribute >

    < object-attribute attribute id = "phone_home" > < value > 0044 1234567 Bulletin phone_home < / value > < / object-attribute >

    < object-attribute attribute id = "preferred_locale" > < fr_CH value > < / value > < / object-attribute >

    < object-attribute attribute id = "exported" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "profiling" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "promotions" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "source" > < value > https://www.mysite.com < / value > < / object-attribute >

    < object-attribute attribute id = "source_ip" > < value > 10.10.1.1 < / value > < / object-attribute >

    < object-attribute attribute id = "pr_product_serial_number" > < serial number of product value > 000123345678 < / value > < / object-attribute >

    < object-attribute attribute id = "pr_purchased_from" > < value > store where the product to be registered was bought < / value > < / object-attribute >

    < object-attribute attribute id = "pr_date_of_purchase" > < value > < / value > < / object-attribute >

    < object-attribute attribute id = "local" > < fr_CH value > < / value > < / object-attribute >

    < / custom object >

    " < custom object-id of type ="NEWSLETTER_SUBSCRIBER"object-id =" [email protected] ">

    < object-attribute attribute id = 'customer no' > < value > < / value > < / object-attribute >

    < object-attribute attribute id = "customer_type" > < value > unregistered < / value > < / object-attribute >

    < object-attribute attribute id = "title" > < value > Mr. < / value > < / object-attribute >

    < object-attribute attribute id = "name" > < value > Jean paul < / value > < / object-attribute >

    < object-attribute attribute id = "is_subscribed" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "last_name" > < value > fins Swiss < / value > < / object-attribute >

    < object-attribute attribute id = "Ligne_adresse_1" > < newsletter ADDRESS LINE 1 data value > < / value > < / object-attribute >

    < object-attribute attribute id = "Ligne_adresse_2" > < newsletter ADDRESS LINE 2 data value > < / value > < / object-attribute >

    < object-attribute attribute id = "address_line_3" > < newsletter ADDRESS LINE 3 data of the value > < / value > < / object-attribute >

    < object-attribute attribute id = "house number" > < newsletter data value HOUSE number > < / value > < / object-attribute >

    < object-attribute id = 'city' attribute > < value newsletter > CASLANO < / value > < / object-attribute >

    < object-attribute attribute id = "post_code" > < value > 6987 < / value > < / object-attribute >

    < object-attribute attribute id = 'State' > < value > TICINO < / value > < / object-attribute >

    < object-attribute attribute id = 'country' > < value > CH < / value > < / object-attribute >

    < object-attribute attribute id = "phone_home" > < value > 0044 1234567 Bulletin phone_home < / value > < / object-attribute >

    < object-attribute attribute id = "preferred_locale" > < fr_CH value > < / value > < / object-attribute >

    < object-attribute attribute id = "exported" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "profiling" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "promotions" > < value > true < / value > < / object-attribute >

    < object-attribute attribute id = "source" > < value > https://www.mysite.com < / value > < / object-attribute >

    < object-attribute attribute id = "source_ip" > < value > 85.219.17.170 < / value > < / object-attribute >

    < object-attribute attribute id = "pr_product_serial_number" > < serial number of product value > 000123345678 < / value > < / object-attribute >

    < object-attribute attribute id = "pr_purchased_from" > < value > store where the product to be registered was bought < / value > < / object-attribute >

    < object-attribute attribute id = "pr_date_of_purchase" > < value > < / value > < / object-attribute >

    < object-attribute attribute id = "local" > < fr_CH value > < / value > < / object-attribute >

    < / custom object >

    < / custom objects >

    I use the following sequence of queries below to make the insert (XML_FILE is passed to the procedure as XMLType)

    INSERT INTO DW_CUSTOMER. (NEWSLETTERS

    RETAILER,

    CUSTOMER_EMAIL,

    DW_WEBSITE_TAG

    )

    Select

    p_brandid as a RETAILER,

    CUSTOMER_EMAIL,

    p_website

    Of

    p (selection double XML_FILE),

    XMLTable)

    xmlnamespaces (default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),

    "/ custom/custom-object-objects ' ADOPTION p.XML_FILE

    COLUMNS

    customer_email path "@object id".

    ) CUSTOMER_LEVEL1;

    INSERT INTO DW_CUSTOMER. () NEWSLETTERS_C_ATT
    RETAILER,
    CUSTOMER_EMAIL,
    CUSTOMER_NO,
    CUSTOMER_TYPE,
    TITLE,
    FIRST NAME,
    LAST_NAME,
    PHONE_HOME,
    BIRTHDAY,
    ADDRESS1,
    ADDRESS2,
    ADDRESS3,
    HOUSE NUMBER,
    CITY,
    ZIP_CODE,
    STATE,
    COUNTRIES,
    IS_SUBSCRIBED,
    PREFERRED_LOCALE,
    PROFILING,
    PROMOTIONS,
    EXPORTED,
    SOURCE,
    SOURCE_IP,
    PR_PRODUCT_SERIAL_NO,
    PR_PURCHASED_FROM,
    PR_PURCHASE_DATE,
    REGIONAL SETTINGS,
    DW_WEBSITE_TAG)
    with mainq as
    (
    SELECT
    CUST_LEVEL1.customer_email as CUSTOMER_EMAIL,
    CUST_LEVEL2.*
    Of
    p (selection double XML_FILE),
    XMLTable)
    xmlnamespaces (default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),
    "/ custom/custom-object-objects ' ADOPTION p.XML_FILE
    COLUMNS
    customer_email '@object-id, path
    PATH of XMLType NEWSLETTERS_C_ATT "object-attribute.
    ) CUST_LEVEL1,.

    XMLTable)
    xmlnamespaces (default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),
    ' / object-attribute "PASSAGE CUST_LEVEL1. NEWSLETTERS_C_ATT
    COLUMNS
    attribute_id PATH "@attribute-id."
    path value 'value '.
    ) CUST_LEVEL2
    )
    Select
    p_brandid
    customer_email
    nvl (max (decode(attribute_id,'customer_no',thevalue)), SET_NEWSL_CUST_ID) customer_no
    max (decode (attribute_id, 'customer_type', thevalue)) customer_type
    max (decode (attribute_id, 'title', thevalue)) title
    substr (max (decode (attribute_id, 'first_name', thevalue)), 1, 64) first name
    substr (max (decode (attribute_id, 'last_name', thevalue)), 1.64) last_name
    substr (max (decode (attribute_id, 'phone_hone', thevalue)), 1.64) phone_hone
    , max (decode (attribute_id, 'birthday', thevalue)) birthday
    substr (max ((attribute_id, 'address_line1', thevalue) decode), 1 100) address_line1
    substr (max ((attribute_id, 'address_line2', thevalue) decode), 1 100) address_line2
    substr (max ((attribute_id, 'address_line3', thevalue) decode), 1 100) address_line3
    substr (max (decode (attribute_id, 'housenumber', thevalue)), 1.64) house number
    substr (max ((attribute_id, 'city', thevalue) decode), 1 128) town
    substr (max (decode (attribute_id, 'post_code', thevalue)), 1.64) zip_code
    , substr (max (decode(attribute_id,'state',thevalue)), 1, 256) State
    , substr (max (decode (attribute_id, 'country', thevalue)), 1, 32) countries
    max (decode (attribute_id, 'is_subscribed', thevalue)) is_subscribed
    max (decode (attribute_id, 'preferred_locale', thevalue)) preferred_locale
    max (decode (attribute_id, 'profiling', thevalue)) of profiling
    max (decode (attribute_id, 'promotions', thevalue)) promotions
    max (decode (attribute_id, 'exported', thevalue)) exported
    , substr (max (decode (attribute_id, 'source', thevalue)), 1, 256) source
    max (decode (attribute_id, 'source_ip', thevalue)) source_ip,
    , substr (max (decode (attribute_id, 'pr_product_serial_number', thevalue)), 1, 64) pr_product_serial_number
    , substr (max (decode (attribute_id, 'pr_purchased_from', thevalue)), 1, 64) pr_purchased_from
    , substr (max (decode (attribute_id, 'pr_date_of_purchase', thevalue)), 1, 32) pr_date_of_purchase
    , max (decode(attribute_id,'locale',thevalue)) local
    p_website
    Of
    mainq
    Customer_email group, p_website

    I CAN'T INSERT 4000 records in less than 30 minutes!

    Can you help or advise how to reduce this to reasonable hours?

    Thank you

    Yes, I'm on 11.2.0.2.

    Thanks Odie.

  • Problem loading XML file on the server hosting

    I have a question wher the lods of XML data very well file and displays on my server testingg but returns "undefined" when uploaded to the server hosting.

    The page can be found at http://www.merryheartpuppets.com/index3.html

    The ActionScript for the clip is included below:

    The SWF works! and the xml data are read and displayed correctly. I always get an error when you try to view the slideshow.xml in the browser even with the changes.

    I think that the happy ending is the result of several things:
    1 make the changes suggested by GWD and
    2 pointing the domain to the appropriate folder. For some reason, the hosting server was not pointing to the folder to which I had originally put in it. Then, I changed it. But the change doesn't take effect for some reason any. In any case, after further investigation, I got the domain pointing to the appropriate subfolder and the swf file is working now.

    Thank you all for your patience to input and advice. I could not successfully achieved this without your intervention. TX!

  • Problem loading xml with the method file

    I use this method to insert in the xmltype table

    INSERT INTO xml_table
    VALUES (XMLType (bfilename ('XMLDIR', 'Test_xml.xml'),
    nls_charset_id ('AL32UTF8')));

    XML gives error
    <? XML version = "1.0"? >
    <!-<! DOCTYPE metadata SYSTEM "http://www.esri.com/metadata/esriprof80.dtd" >->
    < metadata XML: lang = "fr" > < Esri > < MetaID > {299847D5-3DDC-4375-9469-607DC669DD6E} < / MetaID > < CreaDate > 20091029 < / CreaDate > < CreaTime > 12035600 < / CreaTime > < SyncOnce > FALSE < / SyncOnce > < SyncDate > 20091029 < / SyncDate > < SyncTime > 12054400 < / SyncTime > < ModDate > 20091029 < / ModDate > < $modtime > 12054400 < / $modtime > < / Esri > < idinfo > < native Sync = "TRUE" > Microsoft Windows XP Version 5.1 (build 2600) Service Pack 3; ESRI ArcCatalog 9.3.0.1770 < / native > < descript > < langdata Sync = "TRUE" > en < / langdata > < summary > REQUIRED: a brief narrative summary of the data series. < / Summary > < point > REQUIRED: a summary of the intentions with which all the data has been developed. < / purpose >

    but when I delete
    <!-<! DOCTYPE metadata SYSTEM "http://www.esri.com/metadata/esriprof80.dtd" >->

    It runs successfully and the value is inserted of xmltype
    Please suggest how can I insert original xml without error.

    First see if you can access the document using HTTPURITYPE() or UTL_HTTP. Once you've taken the necessary step to access the scheam XML using these packages XDB should work. Note that becomes more complex 11.x

  • Loading of generated XML image scroller

    I need help. I have a button on my main.fla that loads a scrolling of the image that is connected to an XML file.

    I can post the code for the button, or the code of the swf that I am trying to load.

    I get this error message:

    loading xml from: mixed-media - Thumbs.xml technique
    Error #2044: Unmanaged by ioError:. Text = Error #2032: error flow. URL: file:

    / Mixed-Media - Thumbs.xml
    at mixed_media_fla::MainTimeline/frame1()

    This should become your default image to load.  Then you can work on the following problem.

    var Xpos:Number = 275;
    var Ypos:Number = 180;
    var jpg:MovieClip;
    var loader: Loader = new Loader();

    var defaultIMAGE:URLRequest = new URLRequest("swfs/mixed_media/one.jpg");

    Loader.Load (defaultIMAGE);
    Loader.x = Xpos;
    Loader.y = Ypos;
    MovieClip (root) .addChild (loader);
    ///////////////////////////////////////////////////////////////////

    Function universal BTNS

    function btnClick(event:MouseEvent):void {}
    var newJPGRequest:URLRequest = new URLRequest("swfs/mixed_media/"+event.target.name+".jpg");
    Loader.Load (newJPGRequest);
    }

    Listeners of BTN
    one.addEventListener (MouseEvent.CLICK, btnClick);
    two.addEventListener (MouseEvent.CLICK, btnClick);
    three.addEventListener (MouseEvent.CLICK, btnClick);
    four.addEventListener (MouseEvent.CLICK, btnClick);
    five.addEventListener (MouseEvent.CLICK, btnClick);
    six.addEventListener (MouseEvent.CLICK, btnClick);

  • Why my button doesn't end up behind the images loaded xml?

    Hello
    I try an image gallery AS2 xml tutorial online (code attached). I also discovered how to add a button to the stage which takes the SWF movie in true full-screen (also attached code).

    But the problem is that the images of the xml are standing above the button so that the button cannot be seen or used. I would, of course, the button on the top of the loaded images of overlay.

    But I don't know how to do this. It is true that I am new to Flash. I thought that it would be fine to put the button on a new layer above the first layer with Gallery AS2 xml image code, but he did not.

    How can I specify that the button should be "always on top"?

    Thank you very much!

    / G

    You can assign names to your button instance (if they don't already have names) and use the method swapDepths() of movieclips to move your buttons above your images.  for example, if you all images have a depth of less than 1000000:

    Btn1.swapDepths (1000000);

    btn2.swapDepths (1000001);

    btn3.swapDepths (1000002);  etc.

  • Loading XML data and images to init

    I have this little flash application that I'm working, which loads images and XML data. It comes from the Timer class that loads the video clips from the scene and delete them (I thought that this could be the best way to orchestrate it it). Now, I'm having a problem with redundancy expenses. (It loads every time data, which causes delays, and so it was established (loaded) at the beginning and reused through the application)

    Instead of loading the data each time, I would like to

    (1) load the images and XML to load (with the initial start of the SWF)

    (2) assign this data to variables and then add them and remove them as I please throughout the application.

    I posted the code here http://CodeViewer.org/view/code:9BA

    just to save space

    With respect to the processing of XML, you have several options. I prefer to write classes that will treat this kind of functionality, but since you do things on the timeline, one way would be:

    1. on the chronology of racquets_mc and listing_mc create a method that will affect the XML value:

    
    function set loadedXML(xml:XML):void{
         xmlData = xml;
    } 
    

    2. on the main timeline, you will need to load your XML file only once how you load it into each individual symbol. Once it's loaded, you can pass it on to all of the objects that need to consume. For example, your XML instance on the main timeline setting is:

    var configXML:XML;
    

    After load you it, you can pass to your symbols and, thus, reuse in the expanses of the functions which instantiate the:

    racquets_mc = new listing();racquets_mc.loadedXML = configXML;
    
    listing_mc = new listing();listing_mc.loadedXML = configXML;
    

    Naturally the routine of initiation within your symbols, in part, depend on presence of XML if you refactor your code accordingly.

    I hope this helps.

Maybe you are looking for

  • E-mail suddenly is seen in initial popup but is not in the Inbox

    I very well - received email in my Thunderbird inbox - this morning. But now, suddenly, from about 14:30, I'll see an email in Thunderbird - seeing this little window that briefly previews the e-mail message - but then when I go into my Inbox to find

  • How can I fix an error message saying "could not read the manifesto of chrome?

    Unable to read the chrome manifest ' queue: / / / C:/Program % program % 20Thunderbird 20(x86) /Mozilla % 20Files / chrome.manifest'. All of a sudden, I can't connect to the server '? ' and I get some error messages. The above more "the RETR command

  • Change Google account

    Does anyone know how to change the account Google (Gmail) that I first install on the phone? I can't find a way to remove or change the account. Thank you Eric F.

  • A 5.7 Windows Experience score is good?

    ^ ^ ^ Subject.

  • Issue of license FWSM

    I have 2 FWSMs both with "free license". Features licensed: Failover: enabled VPN - A: enabled VPN-3DES: enabled Maximum Interfaces: 256 Cut - through Proxy: enabled Guardians: enabled URL filtering: enabled Throughput: unlimited ISAKMP peers: unlimi