Load xml in share pod (swf)

I ran into a problem with a simple xml-menu. If you point the
shared document to the swf, it would not load the xml on your local
machine. I even tried it to place the xml in a separate folder
outside the breeze environment on a third party server.
One clue could be, to place it with an absolute path on the
breeze server, 'cause relative path doesn't work?
Any workarounds?

if the swf is in a directory with subdirectory media which contains texto.xml, use:
obj_xml.load("media/texto.xml")

Similar Messages

  • Share Pod + SWF file = No SWF Audio?

    We have been planning on using a share pod to present
    interactive SWF files. These SWFs have buttons that trigger sounds
    to play. The participants and presenters alike can see the SWF,
    click the buttons, but no sound plays. The audio is embedded as
    part of the SWF, so it is not an issue of the SWF calling another
    file to get the audio. If we use a share pod to present an FLV
    movie, the audio works fine.
    Does Connect Pro not pass audio from SWFs in a share pod?
    I don't have Presenter, so I can't test this on a SWF
    embedded in a Presenter PowerPoint.

    Weird.
    One important consideration about inserting custom animations
    into Captivate is that any code in the animation needs to take into
    account the multiple layers found in published Captivate files. An
    additional layer is also introduced if you publish with Borders On
    in the Skin menu. The code in the animation may be thrown off if
    it's designed to work within a specific layer order.
    Have you tried creating a brand new Captivate project and
    inserting the animation there? If it works there but not in your
    project, that would at least tell you it works at all.
    Also, have you tried adjusting the start/end time of your
    animation on the timeline? Sometimes it helps to have animations
    start after a button has paused the slide, or after the other
    elements on the slide have had a chance to fade in completely.
    Beyond that, not being able to see a SWF sounds like a
    security issue of some sort. What that issue might be... is a
    mystery.

  • Trying to play cloud front stream in share pod

    I am developing a Flash Project to be loaded into a share pod in Adobe Connect with the goal of playing Amazon Cloudfront live multibitrate streams in AC. I have a project developed in Flash Builder 4.6 using Flex sdk 4.1 and OSMF.swc 1.5, tagetting Flash Player 10.1. The best I have been able to accomplish is to play the stream locally in Flash Player but not when the swf is loaded into Adobe Connect. I have also successfully played an f4m stream hosted by Adobe when the player IS loaded in Adobe Connect. This stream is, I believe, for a video on demand rather than a live stream (the url is http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_Streaming.f4m).
    Any suggestions are welcome.
    The code for this project is:
    package
              import flash.display.Sprite;
              import org.osmf.media.MediaPlayerSprite;
              import org.osmf.media.URLResource;
              [SWF(width='680', height='382', backgroundColor='#000000', frameRate='30')]
              public class OSMF extends Sprite
                        private var mps:MediaPlayerSprite;
                        private var track:Sprite;
                        private var progress:Sprite;
                        public function OSMF()
                                  init();
                        private function init():void
                                  mps = new MediaPlayerSprite();
                                  addChild(mps);
      // cloud front stream that plays locally in flash player but not when loaded into AC:
                                  mps.resource = new URLResource([cloudfront stream URL]);
      // non cloud front stream for VOD that DOES play when loaded into AC:
      //mps.resource = new URLResource("http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_Streaming.f4m");

    OSMF.swc v1.0 appears to require Flex SDK 4.1.
    So how would someone play Amazon Cloudfront live streams in an Adobe Connect share pod?
    Is there a way other than using OSMF 1.0? Or, alternately, is there a way to get OSMF 1.0 to be compatible with SDK 3.5?

  • How to load XML file for Custom Pod in 7.5?

    I'm developing a custom pod for our Connect 7.5 deployment, and I'm attempting to load an XML file that resides in the assets/ folder of my project. I run the pod in Flash Builder 4.5 to debug and it works just fine. Whenever I load the pod into our Connect 7.5 solution, it appears as if none of the events for the URLLoader are triggered.
    Is there something else I need to do? Please help!  Note - I have tried loading XML both from an actual URL and locally. Both work fine in the IDE just not when pod is in Connect.
    Thanks

    Did you follow the guidelines in the Connect 6 SDK documentation? This document was applicable from version 6 through 7.5.
    http://help.adobe.com/en_US/Connect/6.0/SDK/help.pdf
    Your SWF needs to be named index.swf to work, as I recall.

  • AIR App, load externally hosted SWF which loads XML

    I am wondering if this is even possible, because I am getting error 2148. 
    I am loading in SWF files that are externally hosted into an AIR app.  Everything works great!
    Is it possible to have one  of these child SWFs load in some type of XML data or access an XML file on the desktop/tmp?
    Or if need be, should I have the AIR app do all the loading (including the other XML) and pass that to the child SWF?
    Thanks in advance!
    In detail:
    AIR app -> Loads SWFs
    SWFS -> Load XML
    SWF -> displays something or does something RAD!!!
    Stuff I have tried:
    Ive added an mms.cfg file in the proper places, as well as, changed my adobe security settings to allow access to a "tmp" folder on desktop. The loaded SWF from an external domain loads fine however it still shows an error 2148 when trying to access an XML file within the "tmp" folder on desktop. The SWF when published is also set to "access local files"

    I was able to find a workaround of the security sandbox using Loader.loadBytes();
    Aleksandar Andreev's Loader class really helped:
    http://blog.aleksandarandreev.com/?p=42

  • Load XML file from addon domain without cross-domain Policy file

    Hello.
    Assuming that there are two addon domains on the same server: /public_html/domain1.com       and      /public_html/domain2.com
    I try to load XML file from domain2.com into domain1.com without using cross-domain policy file (since it doesn’t work on xml files in my case).
    So the idea is to use php file in order to load XML and read it back to flash.
    I’ve found an interesting scripts that seems to do the job but unfortunately I can't get it to work. In my opinion there is somewhere problem with AS3 part. Please take a look.
    Here are the AS3/PHP scripts:
    AS3 (.swf in www.domain1.com):
    // location of the xml that you would like to load, full http address
    var xmlLoc:String = "http://www.domain2.com/MyFile.xml";
    // location of the php xml grabber file, in relation to the .swf
    var phpLoc:String = "loadXML.php";
    var xml:XML;
    var loader:URLLoader = new URLLoader();
    var request:URLRequest = new URLRequest(phpLoc+"?location="+escape(xmlLoc) );
    loader.addEventListener(Event.COMPLETE, onXMLLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, onIOErrorHandler);
    loader.load(request);
    function onIOErrorHandler(e:IOErrorEvent):void {
        trace("There was an error with the xml file "+e);
    function onXMLLoaded(e:Event):void {
        trace("the rss feed has been loaded");
        xml = new XML(loader.data);
        // set to string, since it is passed back from php as an object
        xml = XML(xml.toString());
        xml_txt.text = xml;
    PHP (loadXML.php in www.domain1.com):
    <?php
    header("Content-type: text/xml");
    $location = "";
    if(isset($_GET["location"])) {
        $location = $_GET["location"];
        $location = urldecode($location);
    $xml_string = getData($location);
    // pass the url encoded vars back to Flash
    echo $xml_string;
    //cURLs a URL and returns it
    function getData($query) {
        // create curl resource
        $ch = curl_init();
        // cURL url
        curl_setopt($ch, CURLOPT_URL, $query);
        //Set some necessary params for using CURL
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
       //Execute the curl function, and decode the returned JSON data
        $result = curl_exec($ch);
        return $result;
        // close curl resource to free up system resources
        curl_close($ch);
    ?>

    I think you might be right about permissions/settings on the server for php. Unfortunately I'm not allowed to adjust them.
    So I wrote my own script - this time I used file path instead of http address of the XML file.  It works fine in my case.
    Here it is:
    XML file on domain2.com:
    <?xml version="1.0" encoding="UTF-8"?>
    <gallery>
        <image imagePath="galleries/gallery_1/images/1.jpg" thumbPath="galleries/gallery_1/thumbs/1.jpg" file_name= "1"> </image>
        <image imagePath="galleries/gallery_1/images/2.jpg" thumbPath="galleries/gallery_1/thumbs/2.jpg" file_name= "2"> </image>
        <image imagePath="galleries/gallery_1/images/3.jpg" thumbPath="galleries/gallery_1/thumbs/3.jpg" file_name= "3"> </image>
    </gallery>
    swf  on domain1.com:
    var imagesXML:XML;
    var variables:URLVariables = new URLVariables();
    var varURL:URLRequest = new URLRequest("MyPHPfile.php");
    varURL.method = URLRequestMethod.POST;
    varURL.data = variables;
    var MyLoader:URLLoader = new URLLoader;
    MyLoader.dataFormat =URLLoaderDataFormat.VARIABLES;
    MyLoader.addEventListener(Event.COMPLETE, XMLDone);
    MyLoader.load(varURL);
    function XMLDone(event:Event):void {
        var imported_XML:Object = event.target.data.imported_XML;
        imagesXML = new XML(imported_XML);
       MyTextfield_1.text = imagesXML;
       MyTextfield_2.text = imagesXML.image[0].attribute("thumbPath");  // sample reference to attribute "thumbPath" of the first element
    php file on domain1.com:
    <?php
    $xml_file = simplexml_load_file('../../domain2.com/galleries/gallery_1/MyXMLfile.xml');  // directory to XML file on the same server
    $imported_XML = $xml_file->asXML();
    print "imported_XML=" . $imported_XML;
    ?>
    Regards
    PS: for those who read the above discussion: the first and the second script work but you must test which one is better in your situation. The first script will also work between two domains on different servers. No cross domain policy file needed.

  • Can I load xml file from SWC without using @embed

    I'm developing a mobile application in which I need to load xml files from File.applicationDirectory. This works great if the xml files are part of the main application swf. But I would like to move these xml files into a SWC so they could be shared across multiple applications.
    Using FlashBuilder 4.5, when a SWC is built, I can specify files to embed in the library that are not assets (Assets Tab of Flex Library Build Path). For various design reasons, I do NOT want to embed the xml files via @embed.
    When the swc is built and I open it up using a zip utility, I see the xml files in there just fine. So they are being bundled with the SWC. But how can I load these files in my main application that does not involve using @embed? When the main application is built, the swc setting for link type is "merged into code".
    I wouldn't expect the application to automatically pull out the xml files from the swc and place them in the File.applicationDirectory on the mobile device. I've tried loading from there just in case but file.exists is false (as expected).
    I've searched the web (and continue to do so) and all the answers seem to be to use @embed. Is there another way?
    Randy

    It's actually a lot easier than you think.
    Just reference the file like any'ol URL using a path relative to the SWC's src directory.
    So if you include the file "assets/xml/some.xml", just use that same string like you would any remote resource.
    For example:
    var loader:URLLoader = new URLLoader( new URLRequest("assets/xml/some.xml"));
    I believe it would also work like this "/assets/xml/some.xml", but I prefer relative paths so the link doesnt break if moved out of the SWC...

  • Issue in loading XML data in BW delta queue

    Hello All,
    My requirement is to stage small amount of XML data in SAP BW. For doing so, i have followed below steps...
    1. Create File data source
    2. Define Myself data source using file data source with Function module
    3. Initialize load process without no data transfer
    4. Using SOAP RFC service, Load xml records in delta queue.
    Now in step number 4, i am unable to open the SOAP RFC service using which we can select the xml file.
    Any help in this regard will be highly appriciated.
    Thanks
    Ketan

    SOAP/RFC service is already activated. Only problem i am facing is as below.......
    1. Created HTML page by copying html snipest
    2. On created HTML page, select XML file as an input and URL of SOAP service which is pointing out to the application server
    3. When i press "Send recordset" button, HTML page throws "Java script" error and data is not being pushed to BW delta queue....
    Please share your ideas to resolve this issue.
    Thanks in advance,
    Ketan

  • Loading XML using a custom class and accessing it from other classes?

    I began with a class for a movie clip rollover function
    FigureRollOver. It works marvellously. Three things happen:
    1) it loads XML from a file "mod1_fig1.xml" and uses another
    class, XMLMember, to retool the scoping of the XML so that I can
    get at it
    2) an onload call inside of XMLMember calls the myOnLoad
    function and transfers the XML into an array.
    3) so long as the array is finished building, rolling over a
    movie clip attaches a new movie clip with the rollover text in it.
    But I don't want all those functions in one because I need it
    to be more dynamic, starting with being able to load any old xml
    file instead of just "mod1_fig1.xml", plus it seems like
    overbuilding to have all of that in one class, so I've separated
    out the loading of the XML and building of the array into its own
    class, FigureXMLLoader. FigureRollOver is then left to just attach
    the rollover with text in it, extracted from the array built by the
    new class.
    Problem is, though the array builds inside FigureXMLLoader, I
    can't figure out how to make it available outside the class. I know
    that I'm constructing things in the wrong order, and that the array
    needs to be somehow built inside the class function to be
    available, but I can't figure out how to do that. A cruddy
    work-around is to put a function call at the end of the building of
    the array, which calls yet ANOTHER function on the main timeline of
    my .swf to put the array I've just built into a new variable. This
    works, but it's messy. It seems like I should be able to have one
    line of script in the .swf that generates an array on the main
    timeline (or just a public array) which I can then access from my
    FigureRollOver class:
    var myRollOvers:Array = new FigureXMLLoader("mod1_fig1.xml");
    Here is FigureXMLLoader (see comments in the code for more
    details) which obviously does not return an array as it is, because
    of all the working around I've had to do. Note the "testing"
    variable, which can be traced from the main timeline of the .swf,
    but I will get "not what I want" because of course the array hasn't
    been built yet, and never will be, inside of the declaration as it
    is. How do I get it in there so I can return an array?
    Thanks!

    Suggest you ask this question in the Actionscript forum as
    this forum is
    more tuned to database integration questions.
    You can create arrays outside a class and pass them into it
    by reference and
    visa versa build arrays inside a class and pass out via
    reference.
    The preferred approach is to place the array in a class and
    not expose it.
    Then add methods to use the array or should we say to use the
    class.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "maija_g" <[email protected]> wrote in
    message
    news:ed4i43$9v0$[email protected]..
    > Update: I've now put this on the main timeline of the
    .swf:
    >
    > myRollOversLoaded = false;
    > var myRollOvers:Array;
    > var roll_content = new FigureXMLLoader("mod1_fig1.xml");
    >
    > And inside the "myOnLoad" function in FigureXMLLoader,
    just after the
    > while
    > loop I've put this:
    >
    > _root.myRollOversLoaded = true;
    > _root.myRollOvers = figure_arr;
    >
    > The movie clip rollover won't act until
    myRollOversLoaded is true. It
    > works,
    > but it still seems klugey. Any suggestions for a more
    elegant solution
    > would be
    > appreciated.
    >

  • Pre-Loaded 5th Generation i-Pod

    Hey Everyone -
    First off I want to say that I just received my first ever i-Pod, which is a fifth generation unit that is black in color. It was purchased for me by a friend who pre-loaded it with a ton of music for me. I went to start loading music videos to my unit when I started bumping into a problem.
    I share a computer with my wife, who has an older, non-color display i-Pod (our computer is an IBM NetVista running Windows 2000). She already has i-Tunes on our computer and in i-Tunes, she has an extensive library with her music files. When I go to plug in my new i-Pod, i-Tunes detects the unit and asks if I'd like to sync my unit with my wife's library that is already on our computer. I always select "no" as I do not want to lose the existing music files that were pre-loaded onto my i-Pod by my friend and have it replaced with my wife's. Once I select "no", it seems as though there is nothing else that can be done in i-Tunes that will allow it to detect my unit, create a library for me based on the music files that I already have on my unit and allow me to purchase my own music files to be added to my i-Pod. Is there any way around this? Any help you can offer would be greatly appreciated and Thanks in advace for your advice.

    What you are trying to do is considered music piracy, and it's illegal.
    You cannot keep the content that your friend put on it.
    The Apple iPod was designed specifically to hinder this type of illegal file sharing.
    If you want the tracks that your friend has, I suggest you purchase them legally for yourself.
    Please don't steal music!

  • Loading XML Path from Params

    I'm an action script noob, so be gentle.
    I was given a file and told to make the xml path an external variable. This is the code I have:
    var panelNumber:Number;
    var xmlLoaderPath:URLLoader = new URLLoader();
    xmlLoaderPath.addEventListener(Event.COMPLETE,loadXML);
    xmlLoaderPath.load(new URLRequest("FlashFiles/CP_UnsecuredHomePgDataXMLPath.xml"));
    function loadXML(e:Event):void
        var myPath:XML;
        XML.ignoreWhitespace = true;
        myPath = new XML(e.target.data);
        var path:String = myPath.path;
        //===================================================================================\\
        var xmlLoader:URLLoader = new URLLoader();
        xmlLoader.addEventListener(Event.COMPLETE, showXML);
        xmlLoader.load(new URLRequest(path));
        //===================================================================================\\
    var myData:XML;
    function showXML(e:Event):void {
        XML.ignoreWhitespace = true;
        myData = new XML(e.target.data);
        var image1:String = myData.quote[0].image;
        var image2:String = myData.quote[0].image2;
        var button1:String = myData.button_image;
        // Adding movies
        var bgs:mc_bg = new mc_bg();
        bgs.name = "bgs";
        addChild(bgs);   
    Now, on this page (http://www.afcomponents.com/tutorials/img_loop/3/), what I want to do seems to be rather simple. But I don't know how to modify this script to make it work right.

    Your best bet is to use FlashVars to load that kind of data. And you should use SWFObject to embed the Flash in the page. Not only is it the best way to embed Flash, it makes it super easy to pass in FlashVars - either from inline code in the page or a query parameter. I'll assume you just want to enter the path in some code in the page. Then you'd do something like this:
    <script type="text/javascript">
         var flashvars = {xmlPath: "http://www.somedomain.com/files/myxml.xml"};
         swfobject.embedSWF("myContent.swf", "myContent", "550", "400", "9.0.0", "", flashvars);
    </script>
    Then you have a div named myContent that your Flash is written into:
    <div id="myContent">
    </div>
    Then in Flash you'd grab the xmlPath variable like so:
    myXMLPath = loaderInfo.parameters.xmlPath;
    You can get SWFObejct from: http://code.google.com/p/swfobject/

  • Flash CS5.5: Loading XML-file causes a "Security Sandbox Violation"

    Hi,
    after upgrading from CS3 to CS5.5, i get a "Security Sandbox Violation" when loading a XML-file. With CS3 everything was fine, but now my file is not working any more. The XML-file and my SWF-file are stored in the same directory and it nether work local nor on the webserver.
    I don't know the correct message in english, but flash tells me something like:
    "Security Sandbox Violation"
    access to file:[]data.xml disconnent - not allowed from file:[]myfile.swf
    Why am I not allowed to load an XML-file from the same directory/domain any more? And how can I get my data into my flash-File now?
    It doesn't seems to be a Flash-Player-Problem, because an older version with the same code still works. So the problem has to be located in Flash CS5.5
    Can anybody help me? Thanks a lot!
    Sonja

    Please ask such questions on the product specific forums. It is highly doubtful that anyone wil lsee it here.
    Mylenium

  • Loading XML from a server

    Hi,
    I have registered as an Iphone developer at apple website, and was able to package iphone apps successfuly.
    My first experiment was to read a value from an XML file that resides at http://www.mediaplus.com.jo/iphone.xml
    When I test the SWF on my PC it works normally but when I package it and test on my iphone I receive nothing!!
    I am sure it is something about securinty, any help would be highly appreciated!
    Here is the (simple) code I am using
    import flash.events.MouseEvent;
    var all_content:XML;
         function loadXml(xmlPath:String)
                var xml_loader:URLLoader = new URLLoader();
                xml_loader.load( new URLRequest( xmlPath) );
                            xml_loader.addEventListener(Event.COMPLETE, onXmlLoad);
         function onXmlLoad(e:Event):void
            all_content = new XML(e.target.data);
            text_field.text = String(all_content.item);
    btn.addEventListener(MouseEvent.CLICK, retrieve);
    function retrieve (evt:MouseEvent) :void
        loadXml("http://www.mediaplus.com.jo/iphone.xml")

    I've successfully done w/o problems as well.
    Here is what I've used for tests...
    private function loadGallery( feed:String ):void
    var request:URLRequest = new URLRequest( "http://www.site.com/file.xml" );
    var loader:URLLoader = new URLLoader();
    loader.addEventListener( Event.COMPLETE, parseSetup );
    loader.addEventListener( IOErrorEvent.IO_ERROR, xmlError );
    loader.load( request );
    private function parseSetup( event:Event ):void
    var xml:XML = new XML( event.target.data );
    trace( xml );
    private function xmlError( event:IOErrorEvent ):void
    trace("Error loading xml file: " + event);}

  • Problem to load XML

    dear,
    i have problem to load a xml file from flash.
    see in below:
    when i put this : xmlpath.load(_root.xmlFile==undefined?"datas.xml":_root.xmlFile);  it works perfect in flash but not in the browser.
    kindly help me on this...
    i will appreciate your help
    regards,
    MELAS076

    I solved the URL But i have some issues between 2 flashs and 2 xml files which they are loading and navigate together....
    let me explain my problem is:
    - i have 2 flashs (main + index) and 2 xmls(data + datas) but they are not in the same path.
    in the main.swf : we have pictures of product which is load datas from data.xml and it is loading MC when clicked on one of picture.
    is in the root path.
    in the index.swf: we have all details and pictures of product which is loaded from datas.xml clicked by main.swf
    is in the root path/products/name1/ and we have root path/products/name2/.
    and each product has datas.xml in their folder with index.swf
    so how can i let the index.swf load its datas.xml when i clicked from main.swf?
    My main.swf code:
    stop();
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    links = [];
    description = [];
    thumbnails = [];
    a =[];
    total = xmlNode.firstChild.childNodes.length;
    for (i=0; i<total; i++) {
    links[i] = xmlNode.firstChild.childNodes[i].attributes.datas;
    description[i] = xmlNode.firstChild.childNodes[i].attributes.label;
    thumbnails[i] = xmlNode.firstChild.childNodes[i].attributes.thumbs;
    a[i] = xmlNode.firstChild.childNodes[i].attributes.folder;
    thumbnails_fn(i);
    //trace(xmlNode.firstChild.childNodes[1].attributes.thumbs);
    initPreloading();
    //firstImage();
    } else {
    content = "file not loaded!";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("data.xml");
    p = 0;
    function thumbnails_fn(k) {
    this.thumbnail_mc.createEmptyMovieClip("t"+k, this.thumbnail_mc.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
    target_mc._x = (eval("this.thumbnail_mc.t"+k)._width+20)*k;
    target_mc.pictureValue = k;
    aa = xmlData.firstChild.firstChild.childNodes[k].attributes.datas;
    target_mc.onRelease = function() {
    LOADmc.loadMovie(aa);
    //trace();
    p = this.pictureValue;
    //nextImage();
    target_mc.onRollOver = function() {
    this._alpha = 90;
    //thumbNailScroller();
    target_mc.onRollOut = function() {
    this._alpha = 100;
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
    LOADmc._x=(alignmc.width-LOADmc._width)/2;
    LOADmc._y=(alignmc.height-LOADmc._height)/2;
    my data.xml:
    <?xml version="1.0"?>
    <data>
      <category title="OUR PRODUCTS">
        <item id="1" folder="Products/Multihost" thumbs="Products/Multihost/thumbs/1.jpg" label="Multihost" datas="Products/Multihost/index.swf"/>
        <item id="2" folder="Products/VOIP" thumbs="Products/VOIP/thumbs/image1.jpg" label="VO IP" datas="Products/VOIP/index.swf"/>
      </category>
    </data>
    my index.swf in each product/name :
    var xmlfiles:XML = new XML();
    xmlfiles.ignoreWhite = true;
    xmlfiles.load("../../data.xml");
    xmlfiles.onLoad=function(success) {
        if (success) {
    //        total = xmlfiles.firstChild.firstChild.childNodes.length;
    //for (i=0; i<total; i++) {
            var ba = xmlNodes.firstChild.firstChild.childNodes[k].attributes.folder;
    var xmlOb:XML = new XML();
    xmlOb.ignoreWhite = true;
    xmlOb.onLoad = function() {
        var aux:main = new main(xmlOb);
        trace(ba+"/datas.xml");
    xmlOb.load(a+"/datas.xml");
    //xmlOb.load(_root.xmlFile==undefined?"datas.xml":_root.xmlFile);
    //xmlOb.load("products/multihost/datas.xml");
    my datas.xml for prduct name 1:
    <?xml version="1.0" encoding="utf-8"?>
    <product>
      <gallery>
        <button id="1" title="Multihost 20" subtitle="MH20" thumb="Products/Multihost/thumbs/2.jpg" ProductTitle="MH20">
          <picture thumb="Products/Multihost/thumbs/1.jpg" image="Products/Multihost/images/1.jpg"/>
          <picture thumb="Products/Multihost/thumbs/2.jpg" image="Products/Multihost/images/2.jpg"/>
          <picture thumb="Products/Multihost/thumbs/3.jpg" image="Products/Multihost/images/3.jpg"/>
          <picture thumb="Products/Multihost/thumbs/5.jpg" image="Products/Multihost/images/5.jpg"/>
          <description linkname="MH Overview.pdf"><![CDATA[Marwan salem tests]]></description>
        </button>
      </gallery>
      <mainTitle MainTitle="Multihost"/>
    </product>
    my datas.xml for prduct name 2:
    <?xml version="1.0" encoding="utf-8"?>
    <product>
      <gallery>
    <button id="0" title="VO IP 20" subtitle="VO IP 20" thumb="Products/VO IP/thumbs/image1.jpg" ProductTitle="VO IP 20"><picture thumb="Products/VO IP/thumbs/image1.jpg" image="Products/VO IP/images/image1.jpg"/><description linkname="Multi-Host Flyer.pdf"><![CDATA[MArwan VO IP 20]]></description></button></gallery>
      <mainTitle MainTitle="VO IP"/>
    </product>
    thanks for your help.
    best regards,
    MELAS076
    Message was edited by: melas076

  • Tablet "Share" pod showing "Tap to view"

    Hi,
    On iPad and android tablets using the connect app, sometimes the content of the "Share" pod (an image) shows as "Tap to View" when changing layouts.  It will sometimes load perfectly, other times not at all and just show the "Tap to view" message.
    We are still in testing, on a relatively high spec stable connection, so I can't imagine that it is bandwidth related at the user end.
    Thanks
    Owen

    I have done that. Still cannot see that shared folder. I can create a test folder give it the same permissions and I can see that folder. I can delete the deployment shared folder, manually recreate the folder, share it, and then I can see it. However,
    If I delete the deploymentshare folder I created manually, and let mdt 2013 create it, then I can not see it regardless if I share it. Strange

Maybe you are looking for

  • Values from Flash to PHP

    I am using AS2 and passing some values from flash to php,  flash files is on page file1.php   values are passing fine , it pass values when user click button when button is pressed {  var myVal:LoadVars = new LoadVars(); myVal.flieName = "fileid1 ";

  • Oracle CalDav

    After months of looking for a calendar server that is truly cross-platform I haven't yet found one. Oracle Cal seems like it could be a nice product but doesn't support CalDav yet. This is very important because almost all client have the ability to

  • No battery after boot. Dell 7537

    Hi All, I have this issue after installing arch (currently the only issue) As it is a notebook, I would love to see my current levels of battery, right after boot, but I am unable to. The only way how to trigger the battery notification is to 1.) hyb

  • Upload of an authorization group at caracteritic level

    Gurus, Am preparing an LSMW to upload caracteristics for which i want to assign a specific authorization group. Though i can't see the authorization group corresponding field "CABN-ATAUTH" in any of the standard structures (BGR00, BISMT, BIMZW) assoc

  • Agregation exception not working - bug or normal behaviour

    We want to define a key figure with an  exception agregation to count a number of invoices of a selection. We decided to create a specific Key figure with the following properties : Type : Integer / Cumulative values Exception agregation :  Minimum o