Load assets and xml

I am trying to add games to a Flash file. They are in different folders and the assest and xml information is not coming with it? I get the error : "[BulkLoader] Error loading LoadingItem url: images/, type:text, status: error Error #2032: Stream Error. URL: file:///G|/%2D%2DWORK%2D%2D/Gilcrease%20Projects/Kravis/images/
Here are the files I need to load into the main file. Please help. Thank you in advance!
Angela

As mentioned, the very first SWF that is loaded will set the file path. That means every single call to load an external file from that point on will come from the location of the very first SWF.
If the first SWF loads another SWF, that other SWF needs to know this so it properly requests files in the right location.
Example file structure:
Main.swf
MatchingGame\MatchingGame.swf
MatchingGame\images\a.png
Say Main.swf loads MatchingGame\MatchingGame.swf. Now the root is set to the path of Main.swf. If MatchingGame\MatchingGame.swf wants to load the a.png, it cannot do this:
var img:Loader = new Loader();
img.load('images/a.png'); // FAIL
It must be loaded as though it was Main.swf. The full relative path to a.png is MatchingGame\images\a.png. So MatchingGame\MatchingGame.swf must do this:
var img:Loader = new Loader();
img.load('MatchingGame/images/a.png'); // SUCCESS
Hopefully this illustrates that paths will always originate with the first loaded SWF, which was Main.swf in this example.

Similar Messages

  • Aperture 3.3.1 stuck on loading assets

    Trying to import photos to Aperture 3.3.1 on iMac.  It just sticks on 'Loading Assets" and after a few seconds, it shows TWO SD cards in the Import field! Neither loads any photos to Aperture.  Up till to today, the same equipement has allowed me to import with no problems.  And yet on my MBA 11", the same SD card and reader work perfectly!!
    Any suggestions?
    Many thanks,

    Well you might try moving your aperture cache to the desktop along with the preferences. First read   http://support.apple.com/kb/HT3805     Remove the Aperture preference located in     ~/Library/Preferences...   where ~ is your home lib.  look for (com.apple.Aperture.plist)  You might want some parts of the preference back so the desktop is better than the trash.
    Glad I could help 

  • "Loading Assets" unable to import

    Working with Arerture 3.4.5
    I'm trying to import from a CF card, and while all 1355 jpeg thumbnails are loaidng snappily, I can't start importing them, as I'm stuck on "loading assets" and never unstuck.
    I've tried shutting down, rebooting, a different usb port, etc...  Sometimes it will show the ImportCHECKED BUTTON AS CLICKABLE, SOMETIMES IT WILL NOT.
    What's going on?

    Try deleting your preferences to reset import.
    http://support.apple.com/kb/HT3805

  • Where to down load assets with Asset Capitalization date and Book value..

    Hi All,
    What is table/Transaction code  to down load Asset with below details:
    1) Capitalization
    2)  Acquisition value
    3) Book Value
    4) Book Dep Value
    5) Cost center
    Thx In advance..
    Regards,
    Shirisha

    You can try the Asset History Sheet report S_ALR_87011990 (which has all fields except for cost center) and if you want additional fields you can choose to add new fields through the link [Include own fields in FI-AA standard ALV |https://wiki.sdn.sap.com/wiki/display/ERPFI/IncludeownfieldsinFI-AAstandardALV] the relevant report for Asset History Sheet should be Asset History Sheet -> FIAA_SALVTAB_RAGITT includes CI_REPRAGITT (out of RAGITT_ALV01). Else a quicker option would be to perform a vlookup process from another report that has cost centers like S_ALR_87011979.

  • I want to load large raw XML file in firefox and parse by DOM. But, for large XML file the firefox very slow some time crashed . Is there any option to increase DOM handling memory in Firefox

    Actually i am using an off-line form to load very large XML file and using firefox to load that form. But, its taking more time to load and some time the browser crashed. through DOM parsing this XML file to my form. Is there any option to increase DOM handler size in firefox

    Thank you for your suggestion. I have a question,
    though. If I use a relational database and try to
    access it for EACH and EVERY click the user makes,
    wouldn't that take much time to populate the page with
    data?
    Isn't XML store more efficient here? Please reply me.You have the choice of reading a small number of records (10 children per element?) from a database, or parsing multiple megabytes. Reading 10 records from a database should take maybe 100 milliseconds (1/10 of a second). I have written a web application that reads several hundred records and returns them with acceptable response time, and I am no expert. To parse an XML file of many megabytes... you have already tried this, so you know how long it takes, right? If you haven't tried it then you should. It's possible to waste a lot of time considering alternatives -- the term is "analysis paralysis". Speculating on how fast something might be doesn't get you very far.

  • Newbie - XML File - How to load data and populate tables

    Hi,
    I'm newbie to XML data handling.
    I have a file that is provided in XML format with data from an external system.
    I need to load data from that file and populate some field in one or more tables.
    I have two options:
    1. Load the XML file directly from OS and populate the tables directly (I'm not sure if this is possible or not)
    2. Load the entire XML file from OS into a CLOB or a BLOB(?) and the select the data form the CLOB and populate my tables.
    I need some guidance about what is possible and how to do it.
    My preferred approach if possible is to load the data directly from OS and populate the target tables without loading into the database previously.
    Thanks for the help.
    Tech Info:
    OS : Unix / Windows
    DB Version: 11.2 or 11.1
    JF

    forum has many examples
    use search
    as example see
    Re: Load xml data in Oracle table
    Re: Load an XML file into table(s)
    Re: load a file

  • How and when to load cross-domain.xml for web services.

    I'm accessing some 3rd party web services and so I need them to have a cross-domain.xml file, which they have done.
    In order to access their web services, am I correct that I need to load the cross-domain.xml file they put on their web server, and if so, is my code to do so below correct, which I put in my creationComplete handler function?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Currently I am getting a SecurityErrorEvent.
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

    Okay, I found that when I put the crossdomain.xml file at the root of my web site file area my hosting company provides, I do not specifically need to load the crossdomain.xml file.
    But if I want finer control over who has access to what, and I put the crossdomain.xml file in the same directory as my Flex app SWF file, what lines of the following code (or additional lines I don't know about) should I put in my app creationComplete handler function to load the crossdomain.xml file?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

  • Loading, processing and transforming Large XML Files

    Hi all,
    I realize this may have been asked before, but searching the history of the forum isn't easy, considering it's not always a safe bet which words to use on the search.
    Here's the situation. We're trying to load and manipulate large XML files of up to 100MB in size.
    The difference from what we have in our hands to other related issues posted is that the XML isn't big because it has a largly branched tree of data, but rather because it includes large base64-encoded files in the xml itself. The size of the 'clean' xml is relatively small (a few hundred bytes to some kilobytes).
    We had to deal with transferring the xml to our application using a webservice, loading the xml to memory in order to read values from it, and now we also need to transform the xml to a different format.
    We solved the webservice issue using XFire.
    We solved the loading of the xml using JAXB. Nevertheless, we use string manipulations to 'cut' the xml before we load it to memory - otherwise we get OutOfMemory errors. We don't need to load the whole XML to memory, but I really hate this solution because of the 'unorthodox' manipulation of the xml (i.e. the cutting of it).
    Now we need to deal with the transofmation of those XMLs, but obviously we can't cut it down this time. We have little experience writing XSL, but no experience on how to use Java to use the XSL files. We're looking for suggestions on how to do it most efficiently.
    The biggest problem we encounter is the OutOfMemory errors.
    So I ask several questions in one post:
    1. Is there a better way to transfer the large files using a webservice?
    2. Is there a better way to load and manipulate the large XML files?
    3. What's the best way for us to transform those large XMLs?
    4. Are we missing something in terms of memory management? Is there a better way to control it? We really are struggling there.
    I assume this is an important piece of information: We currently use JDK 1.4.2, and cannot upgrade to 1.5.
    Thanks for the help.

    I think there may be a way to do it.
    First, for low RAM needs, nothing beats SAX. as the first processor of the data. With SAX, you control the memory use since SAX only processes one "chunk" of the file at a time. You supply a class with methods named startElement, endElement, and characters. It calls the startElement method when it finds a new element. It calls the characters method when it wants to pass you some or all of the text between the start and end tags. It calls endElement to signal that passing characters is over, and to let you get ready for the next element. So, if your characters method did nothing with the base-64 data, you could see the XML go by with low memory needs.
    Since we know in your case that the characters will process large chunks of data, you can expect many calls as SAX calls your code. The only workable solution is to use a StringBuffer to accumulate the data. When the endElement is called, you can decode the base-64 data and keep it somewhere. The most efficient way to do this is to have one StringBuffer for the class handling the SAX calls. Instantiate it with a big enough size to hold the largest of your binary data streams. In the startElement, you can set the length of the StringBuilder to zero and reuse it over and over.
    You did not say what you wanted to do with the XML data once you have processed it. SAX is nice from a memory perspective, but it makes you do all the work of storing the data. Unless you build a structured set of classes "on the fly" nothing is kept. There is a way to pass the output of one SAX pass into a DOM processor (without the binary data, in this case) and then you would wind up with a nice tree object with the rest of your data and a group of binary data objects. I've never done the SAX/DOM combo, but it is called a SAXFilter, and you should be able to google an example.
    So, the bottom line is that is is very possible to do what you want, but it will take some careful design on your part.
    Dave Patterson

  • Working with mx:tree and XML

    Hi there! I've been reading and googling for ages and I
    cannot find the solution to this problem, I want to load an xml
    into a <mx:tree> but i don't want to load all the xml
    structure. My xml look like this:
    <DataSet>
    <diffgr:diffgram>
    <NewDataSet>
    <Show>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    <episodes>
    <episode1>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    </episode1>
    <episode2>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    </episode2>
    <episode3>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the episode</Title>
    </episode3>
    </episodes>
    </Show>
    <Show>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    <episodes>
    <episode1>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    </episode1>
    <episode2>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the show</Title>
    </episode2>
    <episode3>
    <uselessProperty>asdasd</uselessProperty>
    <uselessProperty1>asdasd</uselessProperty1>
    <uselessProperty2>asdasd</uselessProperty2>
    <uselessProperty3>asdasd</uselessProperty3>
    <Title>Title of the episode</Title>
    </episode3>
    </episodes>
    </Show>
    </NewDataSet>
    </diffgr:diffgram>
    </DataSet>
    I want to know if there is any way I can show the title of
    the show and the titles of the episodes as its children. By this
    time I've been just able to show the whole xml in the tree, but i
    just need those properties. I cannot find information about xml
    that doesn't have this format:
    <node property1="property" property1="property"
    property4="property" property3="property">
    <child property1="property" property1="property"
    property4="property" property3="property"/>
    <child property1="property" property1="property"
    property4="property" property3="property"/>
    <child property1="property" property1="property"
    property4="property" property3="property"/>
    </node>
    Please help me, my eyes will start bleeding if keep googling
    another nite.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    initialize="e4xService.send()">
    <mx:Script>
    <![CDATA[
    import mx.events.TreeEvent;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var xmlData:XMLList;
    [Bindable]
    private var selectedXML:XML;
    private function resultHandler(event:ResultEvent):void
    var result:XML = event.result as XML;
    xmlData = result..title as XMLList;
    private function treeChangeHandler(event:Event):void
    selectedXML = myTree.selectedItem as XML;
    var xmlName:String = selectedXML.name();
    while (xmlName != "title")
    selectedXML = selectedXML.parent();
    xmlName = selectedXML.name();
    private function treeItemOpenHandler(event:TreeEvent):void
    selectedXML = event.item as XML;
    myTree.selectedItem = selectedXML;
    ]]>
    </mx:Script>
    <mx:HTTPService id="e4xService"
    url="assets/videoTitles.xml"
    result="resultHandler(event)"
    resultFormat="e4x"/>
    <mx:HBox width="800">
    <mx:Panel id="treePanel"
    title="Course Data" width="50%">
    <mx:Tree id="myTree"
    dataProvider="{xmlData}"
    labelField="@label"
    width="300"
    change="treeChangeHandler(event)"
    itemOpen="treeItemOpenHandler(event)"/>
    </mx:Panel>
    <mx:Panel width="50%"
    height="{treePanel.height}">
    <mx:Form>
    <mx:FormItem label="Course Name:">
    <mx:Label text="{selectedXML.@label}"/>
    </mx:FormItem>
    <mx:FormItem label="Duration:">
    <mx:Label text="{selectedXML.duration.@label}"/>
    </mx:FormItem>
    </mx:Form>
    </mx:Panel>
    </mx:HBox>
    </mx:Application>
    XML File:
    <?xml version="1.0"?>
    <titles>
    <title label="Flash User Experience Best Practices"
    software="Flash">
    <duration label="4.25 hours"/>
    </title>
    <title label="Flash Professional 8 New Features"
    software="Flash">
    <duration label="1.0 hours"/>
    </title>
    <title label="Flash Professional 8 Essential Training"
    software="Flash">
    <duration label="11.5 hours"/>
    </title>
    <title label="Flash Professional 8 Beyond the Basics"
    software="Flash">
    <duration label="10 hours"/>
    </title>
    <title label="Flash Professional 8 Video Integration"
    software="Flash">
    <duration label="7.25 hours"/>
    </title>
    <title label="Photoshop CS2 and Flash 8 Integration"
    software="Photoshop">
    <duration label="2.5 hours"/>
    </title>
    </titles>

  • DateChooser and XML

    this might be easy. I'm just not seeing the connection. I
    created a DateChooser in my mx Application. How do I use an XML
    file as it's data Provider (might not be the right word here). I
    want in my XML file for it to contain the dates to highlight, and
    when you roll over an active date the tool tip shows the text from
    the xml file. Lastly when you click a date it loads in .swf file in
    my HBox.
    Sounds easy - I just can't figure out where to go after
    creating the DateChooser control. I know how to add the tool tip
    but it displays the same text no matter which date you've selected.
    since I want each date in XML file to have some smal info..
    Can anyone please help me or point me to a tutorial. If you
    could just show me how to link and XML file to the DateChooser
    that'll be enough in it's self. Thanks guys/gals

    I'm not trying to customize the exiting DateChooser - I just
    want to knw how to use it with an XML file.
    the XML file needs to have a few values
    Tooltip Info
    Link to information about the event on that day
    On roll over it displays the tool tip from my XML file and
    onclick it loads in an external .swf file from my assets folder
    which contains the event info..
    That's pretty much it. Nothing too fancy just something
    updateable.
    thanks for any help. I need it ASAP..

  • Step by Step for FICO(GL,Assets and CO) Extraction

    Hi gurus,
    I am trying to see if i can get a step by step extraction process for FICO extraction cos am abt to start a project to extract and load GL,Asset and Controlling data into a BW system.I am thinking I shd be able to get a lot of the reports needed by installing the 0FI_GL_4.
    Please any help will be appreciated and points will be awarded as well.

    please search the forum before you post a thread, there are lot of threads discussing the same topic.
    coming to steps in extraction:
    install DS
    replicate DS
    create transformation between the DS and DSO
    the same applies to DSO and cube.
    But most of the times, no delivered DS supplements the clients finacial requirement, so if thats the case you would need to enhance the DS with the additional fields that would be needed in the reporting stand point

  • Load data from xml file in oracle data base

    Hi all,
    I'd like to know if is posible to load data from a file xml into a table of oracle data base through SQL*LOADER, loaded only in a normal column no with type XMLType , for example
    I have a xml file
    <person name="kate" surname="fari" city="new york" >
    <son name="faus" age="18"/>
    <son name="doly" age="10"/>
    </person>
    and I load in table :
    table :person
    column
    name surname city
    kate fari new york
    table : son
    name age
    doly 10
    faus 18
    thank you for your return !!!!!!!!!
    Ninova
    Edited by: user10474037 on 30 mai 2011 08:47
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:49
    Edited by: user10474037 on 30 mai 2011 08:50

    Hi
    This May be found at
    SQL Loader to upload XML file

  • For loop and xml - how to point the right content in a XML file with a dynamically created button?

    Hi Everybody,
    as my first experience in AS3 I'm bulding a photo multigallery. In that gallery I have some buttons, each one pointing to its respective set of images.
    Each button is created with the for loop, that picks the information from a XML file. From this XML I get the text of the button, the position etc. What I did with some sucess. But there is a scary problem: I don't know how to make each button load the respective and unique set of images.
    I've tryied several different methods, with no effect, to make each loop to give to each button an unique identity to load the respective set of images.
    I imagine that the solution pass by the use of arrays. I wrote some code, and I guess that I'm almost there (but not sure). Here is my AS3 code until now:
    // CREATE MENU CONTAINER //
    var menuContainer:MovieClip = new MovieClip();
    menuContainer.x=10;
    menuContainer.y=300;
    addChild(menuContainer);
    // CREATE IMAGES CONTAINER //
    var imagesContainer:MovieClip = new MovieClip();
    imagesContainer.x=10;
    imagesContainer.y=10;
    addChild(imagesContainer);
    //// LOAD XML ////
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, whenLoaded);
    xmlLoader.load(new URLRequest("XML/roiaXML.xml"));
    var xml:XML;
    function whenLoaded(evt:Event):void {
         xml=new XML(evt.target.data);
         var mySetsList:XMLList=xml.children();
         //// MENU BUTTONS ////
         // CREATE ARRAYS //
         var totalArray:Array = new Array();
         var setNodesArray:Array = new Array();
         var setNamesArray:Array = new Array();
         // POSITIONING BUTTONS INSIDE MENU CONTAINER//
         var rowsQuantity:Number=3;
         var columnsQuantity:Number=Math.ceil(mySetsList.length()/rowsQuantity);
         var cellWidth:Number=160;
         // CREATE BUTTONS //
         for (var i:int=0; i< mySetsList.length(); i++) {
              var newSetButtonMC:setButtonMC=new setButtonMC();
              //what do I do here to make it works? To give each button created a unique id.
              setNodesArray.push(i);
              //trace(setNodesArray);
              var imageNodesArray:Array = new Array();
              for (var j:int=0; j<mySetsList[i].IMAGE.length(); j++) {
                   imageNodesArray.push(mySetsList[i].IMAGE[j].attribute("imageTitle"));
              totalArray.push(imageNodesArray);
              newSetButtonMC.setButtonText.text=mySetsList.attribute("galeriaTitle")[i];
              newSetButtonMC.setButtonText.autoSize=TextFieldAutoSize.LEFT;
              var cellX:Number=Math.floor(i/rowsQuantity);
              var cellY:Number=i%rowsQuantity;
              newSetButtonMC.x=cellX*cellWidth;
              newSetButtonMC.y=cellY*(newSetButtonMC.height+10);
              newSetButtonMC.addEventListener(MouseEvent.CLICK, onClick);
              menuContainer.addChild(newSetButtonMC);
         totalArray.push(setNodesArray);
         //// MENU BUTTONS ACTIONS ////
         function onClick(mevt:MouseEvent):void {
              trace(totalArray [0][0]);
              trace(totalArray [0][0]);
              // in the line above I achieved some success loading a specific info from XML.
              // but I don't know what to do with it.
              //what do I do here? To make each button to load its own node from XML.
    Here is my XML:
    <GALERIA galeriaTitle="galeria 01">
      <IMAGE imageTitle="imageTitle01">feio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">muitofeio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisfeio.jpg</IMAGE>
    </GALERIA>
    <GALERIA galeriaTitle="galeria 02">
      <IMAGE imageTitle="imageTitle01">estranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">maisestranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisestranho.jpg</IMAGE>
    </GALERIA>
    Thanks everyone . ABSTRATO

    you can assign each newSetButtonMC and ivar property that points to its i value or, even easier:
    // CREATE MENU CONTAINER //
    var menuContainer:MovieClip = new MovieClip();
    menuContainer.x=10;
    menuContainer.y=300;
    addChild(menuContainer);
    // CREATE IMAGES CONTAINER //
    var imagesContainer:MovieClip = new MovieClip();
    imagesContainer.x=10;
    imagesContainer.y=10;
    addChild(imagesContainer);
    //// LOAD XML ////
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, whenLoaded);
    xmlLoader.load(new URLRequest("XML/roiaXML.xml"));
    var xml:XML;
    function whenLoaded(evt:Event):void {
         xml=new XML(evt.target.data);
         var mySetsList:XMLList=xml.children();
         //// MENU BUTTONS ////
         // CREATE ARRAYS //
         var totalArray:Array = new Array();
         var setNodesArray:Array = new Array();
         var setNamesArray:Array = new Array();
         // POSITIONING BUTTONS INSIDE MENU CONTAINER//
         var rowsQuantity:Number=3;
         var columnsQuantity:Number=Math.ceil(mySetsList.length()/rowsQuantity);
         var cellWidth:Number=160;
         // CREATE BUTTONS //
         for (var i:int=0; i< mySetsList.length(); i++) {
              var newSetButtonMC:setButtonMC=new setButtonMC();
              //what do I do here to make it works? To give each button created a unique id.
              setNodesArray.push(i);
              //trace(setNodesArray);
              var imageNodesArray:Array = new Array();
              for (var j:int=0; j<mySetsList[i].IMAGE.length(); j++) {
                   imageNodesArray.push(mySetsList[i].IMAGE[j].attribute("imageTitle"));
             nextSetButtonMC.imageArray = imageNodesArray;
              //totalArray.push(imageNodesArray);
              newSetButtonMC.setButtonText.text=mySetsList.attribute("galeriaTitle")[i];
              newSetButtonMC.setButtonText.autoSize=TextFieldAutoSize.LEFT;
              var cellX:Number=Math.floor(i/rowsQuantity);
              var cellY:Number=i%rowsQuantity;
              newSetButtonMC.x=cellX*cellWidth;
              newSetButtonMC.y=cellY*(newSetButtonMC.height+10);
              newSetButtonMC.addEventListener(MouseEvent.CLICK, onClick);
              menuContainer.addChild(newSetButtonMC);
         totalArray.push(setNodesArray);
         //// MENU BUTTONS ACTIONS ////
         function onClick(mevt:MouseEvent):void {
              var mc:setButtonMC=setButtonMC(mevt.currentTarget);
    for(i=0;i<mc.imageArray.length;i++){
    trace(mc.imageArray[i]);
    Here is my XML:
    <GALERIA galeriaTitle="galeria 01">
      <IMAGE imageTitle="imageTitle01">feio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">muitofeio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisfeio.jpg</IMAGE>
    </GALERIA>
    <GALERIA galeriaTitle="galeria 02">
      <IMAGE imageTitle="imageTitle01">estranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">maisestranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisestranho.jpg</IMAGE>
    </GALERIA>
    Thanks everyone . ABSTRATO

  • SD card fails to import - generates endless "Loading Assets" routine.

    I seem to have a dodgy 8GB SD card, although it functions in the camera (Canon SX30), and I can manually transfer the photos into Aperture 3.2.1. Attempting to use the Import functions in Aperture result in zero activity apart from at lower left of the Aperture window, where the spinning paddlewheel endlessly spins while Aperture is equally endlessly "Loading Assets".
    On the first occasion this happened, after a day or two elapsed the message popped up telling me "not to be a naughty boy and properly eject the media" (although I rarely lapse in that regard). After ackowledging same, Aperture appeared to have resumed normal operations.
    At the second probing attempt to import from this card,the malfunction resumed, and I have reformatted the card in the camera.
    My quetion is: "Is the any way I can break the loop?"
    As I view the situation, force quitting is not required because both iMac and Aperture are otherwise working fine.

    It's been a while since you posted this question. I read in another post that it had to do with photos deleted on the SD-card. Once you 'Empty Trash' for the SD-card, the problem should disappear. At least that was what happened in my case.

  • Load data in xml file into Pdf form created by LiveCycle Designer

    I want to load data in xml file into Pdf form when Pdf opened and Form field will be filled with data from xml file .I try to use $host.importdata("filename.xml"); But i could not find suitable place to run my code. Can anyone give me some advice? thank you.

    Hi,
    extract your xml and then you can use insert all clause.
    here's very small example on 10.2.0.1.0
    SQL> create table table1(id number,val varchar2(10));
    Table created.
    SQL> create table table2(id number,val varchar2(10));
    Table created.
    SQL> insert all
      2  into table1 values(id,val)
      3  into table2 values(id2,val2)
      4  select extractValue(x.col,'/a/id1') id
      5        ,extractValue(x.col,'/a/value') val
      6        ,extractValue(x.col,'/a/value2') val2
      7        ,extractValue(x.col,'/a/id2') id2
      8  from (select xmltype('<a><id1>1</id1><value>a</value><id2>2</id2><value2>b</value2></a>') col from dual) x;
    2 rows created.
    SQL> select * from table1;
            ID VAL                                                                 
             1 a                                                                   
    SQL> select * from table2;
            ID VAL                                                                 
             2 b                                                                    Ants

Maybe you are looking for

  • How do I access documents in iCloud.

    I can't find an iCloud icon & iCloud.com doesn't work? It tells me to set up iCloud but I already did that.

  • Default parametre input in the URL that is generated

    Hi I have a report that is a part of a 3.x template. The report contains a parametre input of organisation code and month. Is it possible (through and predefined URL) to make sure that a spesific organisation code is filled in, and it allways pick th

  • I messed up my dock :(

    so i was using dock designer to customize my dock n it changed the indicator lights on the dock to the one's like were in the Lion OS , how to change it ? here is a pic previously indicator lights were like this : i m on mountain lion , plz help

  • Search iphone screen doesnt work

    All of a sudden my "search iphone" screen doesn't work.  If I turn off the phone, it will work once and that's it....This is a very useful screen..anybody have this problem? 

  • Laptop Satellite A135-S4527

    Downloaded MS Office 2007 Professional 60 day trial.  Downloaded but can't setup.  Ran Windows Memory Diagnostics which states I have a "memory problem" consult with manufacturer.  Also stated I had hardware problems. Any suggestions?