Srollpane scrolls when loaded data from XML, not when loaded data from ASP

Hi,
I load into scrollpane a swf, which has a dynamicly loaded
data. If I use the XML file, it works (the scrollbar is visible),
but if I use a asp file, which creates xml, it doesn't work (the
scrollbar is not visible). Any ideas?

Hi,
let say I have a A.swf and a B.swf. In A.swf I have a
scrollpane in to wich the B.swf is loaded. Below is the code in
B.swf. If I load the data from a asp file, the scrollbar in the
scrollpane is not visible, but if I use the xml file, the scrollbar
is visible.
What I've meant is that I think that Flash gets the same form
of data, no matter if I use the asp or xml, because the asp creates
the same xml form as I use in the xml file. I hope this makes any
sense.

Similar Messages

  • When I tried to Mail Merge for Data is is not exporting any data.

    HI,
    EBS-12.1.3
    DB-11gR1
    OS - RHEL 5.6
    [With my Login User and SysAdmin Login User] When I enter into to the "People -> Enter and Maintain" Form and then I press the "Export Button", there is error Alert
    Function is not available to this responsibility. Change Responsibilities or Connect to the System Administrator
    I Added the Function "HR ADI Seeded Integrator Form Functions" into the "AE HRMS Manager" Responsiblity. It is also working and Export Data icon is enable.
    Problem:
    But Problem is when I tried to Mail Merge for Data is is not exporting any data.
    ====================================================================
    Steps
    1.Move to the "People -> Recruirment" and then "Request Recruitment Letter" .
    2. Enter the New Request. as
    Letter Name "App. Letter Contract Site",
    Automatic or Manual = Manual.
    Select the Name from the LOVs for the Request for Detail Block.
    3. Press the "Export Data" icon.
    4. Integrator Page Appear with my Custom Integrator Name as "Appointment Letter - Contact Site".
    5. Select the "Word 2003" from the View List. and Reporting is Checked.
    6. Review the Folowing Enteries as:
    Integrator Appointment Letter - Contact Site
    Viewer Word 2003
    Reporting Yes
    Layout App. Letter Contract Site
    Content XXHR_MBE_APP_LET_CONT_SITE_V
    Session Date 2011/08/02
    Mapping XXHR_MBE_APP_LET_CONT_SITE_V Mapping
    7. Press "Create Document" Button.
    8. It will open the Excel 2003 and then Word 2003. But no data down download from the Form.
    9. It open the Mail Merge Letter but no Data is Display.
    ===========================================================
    Note:
    a. I am following the Steps from the Link:"http://apps2fusion.com/at/38-ss/351-generate-recruitment-letters-web-adi".
    b. From the "Desktop Integrator Manager", "Oracle Web ADI", "HRMS Web ADI", it is working fine and Dowload the Data.
    ===========================================================
    Thanks
    Vishwa

    Please try the solution in ("Function not available to this responsibility" Error While Cliclking On Forms Personalisation [ID 1263970.1]) and see if it helps.
    Thanks,
    Hussein

  • When I stream a movie via Apple TV from my iPad Air into my Samsung TV, I'm getting the "soap opera" effect. This only happens when I use Apple TV, not when I view a movie directly through a cable channel. Is there a way to eliminate this effect?

    When I stream a movie via Apple TV from my iPad Air into my Samsung TV, I'm getting the "soap opera" effect. This only happens when I use Apple TV, not when I view a movie directly through a cable channel. Is there a way to eliminate this effect?

    I'm having the same problem.  It's not an issue with my TV, i've turned this feature off.  I've tried playing with the ATV display settings but nothing works.  When I stream netflix from my Samsung bluray player, I don't get the soap opera effect, but when I stream any video from the ATV, the soap opera effect is there.  I'm thinking it's a choice that Apple made, but I really wish it could be turned off.  Not a lot of people are searching for this, because it can be easy to overlook, but it's driving me nuts!

  • Date picker is not available in date/time field

    Hi there,
    I'm wondering while using a date/time field. Since I made some changes on this field the date picker (Arrow down right next to the field to show up a calendar) is no longer available. Has anybody got a clou what the problem might be or how I can bring the date picker back to this field.
    Thanks in advance.
    Best,
    Maja.

    Hi there,
    I'm just wondering about the following settings/patterns:
    As you can see this field is from the type "Date/Time Field". So far so good, but when I'm opening the dialog "Patterns", this dialog is just for a "Date Field" and not for a "Date/Time Field". No trouble so far, but the confusion thing is that the date picker is available in this field. Has anybody a clou how this is working? Or can anybody help me to convert a "Date/Time Field" to a normal "Date Field" which provides this date picker?
    Thanks in advance and kind regards,
    Maja

  • The '' secondary data source is not a relational data source, or does not use an OLE DB provider.

    Hi,
    We are using Teradata as data source in SSAS 2008R2, it’s using ‘.Net Providers\.Net Data Provider for Teradata’.
    In DSV, we have two data sources both using Teradata. While processing dimensions, all dimensions coming from secondary data source has error message”
    The '' secondary data source is not a relational data source, or does not use an OLE DB provider.”
    But we are not using OLE DB provider for now, we’ve searched some threads that named queries can be replaced for secondary ds, but since we have a lot of tables, it’s hard to implement using named queries.
    Any inputs would be appreciated. 

    Hi memostone,
    When defining a data source view that contains tables, views, or columns from multiple data sources, the first data source from which you add objects to the data source view is designated as the primary data source (you cannot change the primary data
    source after it is defined). After defining a data source view based on objects from a single data source, you can then add objects from other data sources.
    If an OLAP processing or a data mining query requires data from multiple data sources in a single query, the primary data source must support remote queries using
    OpenRowset. Typically, this will be a SQL Server data source.
    Here are the restrictions:
    The primary data source should be SQL Server and support OpenRowset to the secondary data source.
    Or you design the cube in such a way that rocessing for each object only needs to access data from a single data source
    I recommand you refer to the following article:
    Defining a Data Source View (Analysis Services):
    http://technet.microsoft.com/en-us/library/ms174600.aspx
    Regards,
    Bin Long
    TechNet Community Support

  • I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    Go to settings/music/volume limit tap on that.  Make sure it is set to OFF and when you tap it that the slider is at max

  • 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

  • XML not showing load progress...

    I have a fla file that loads a slide show from an XML file. The xml file contains info about each slide. There's over a 100 slides so the loading takes some time. However I'm not getting actual load progress. It traces nothing until after the load is complete and then it shows the progress that it should have traced one by one, however it traced them all at once on the complete. Because it's not firing the onProgress correctly my preloader is rendered useless. Am I doing something wrong on is this a bug in Flash?
    //======================================================================================== =================================================
    //     load xml
    //======================================================================================== =================================================
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.addEventListener(ProgressEvent.PROGRESS, LoadingXML);
    function LoadXML(e:Event):void {
    trace("complete");
    xmlData = new XML(e.target.data);
    ParseSlides(xmlData);
    xmlLoader.removeEventListener( ProgressEvent.PROGRESS, LoadXML);
    xmlLoader.removeEventListener( Event.COMPLETE, LoadingXML);
    MovieClip(root).loading_mc.x = 1500;
    MovieClip(root).loading_mc.bar.width = 1;
    MovieClip(root).loading_mc.loading_txt.text = "";
    function LoadingXML(e:ProgressEvent):void {
    //trace("Loading..." + Math.ceil(e.bytesLoaded * 100 / e.bytesTotal) + "%");
    var loaded:Number = e.target.bytesLoaded;
    var total:Number = e.target.bytesTotal;
    var pct:Number = loaded / total;
    trace(pct);
    MovieClip(root).loading_mc.x = 500;
    MovieClip(root).loading_mc.bar.width = pct * 194;
    MovieClip(root).loading_mc.loading_txt.text = "Loading XML... " + (Math.round(pct * 100)) + "%";
    xmlLoader.load(new URLRequest("XML/SectionII.xml"));
    HERE IS THE OUTPUT: All at once when the complete fires
    0.149821570227718
    0.299643140455436
    0.44946471068315397
    0.599286280910872
    0.74910785113859
    0.8989294213663079
    1
    complete

    Actually it still doesn't work like I need it to. The loading of the xml preloader only works if the temporary internet files are gone. Which means that the time I need the loader is during the parsing of the xml process. I have a function that creates an object for each slide after the xml loads. It runs through a for loop, however the loader won't appear and work during the for loop. It only works after its finished.
    function ParseSlides(slideInput:XML):void {
    // create a list of slide items
    var slideList:XMLList = slideInput.Slide;
    var slideSize:Number = slideList.length();
    var buildPct:Number;
    // run through list to build each slide object
    for (var i:Number = 0; i < slideList.length(); i++) {
      // get progress of building slides
      buildPct = Math.ceil(i / slideSize);
      MovieClip(root).loading_mc.bar.width = buildPct * loadBarWidth;
      MovieClip(root).loading_mc.loading_txt.text = "Building Slides... " + (Math.round(buildPct * 100)) + "%";
      // build slide id and name
      var idElement:XML = slideInput.Slide.attribute("ID")[i];
      var headerElement:XML = slideInput.Slide.header.copy[i];
      var headerAnimationElement:XML = slideInput.Slide.header.animation[i];
      var headerStartXElement:XML = slideInput.Slide.header.startx[i];
      var headerStartYElement:XML = slideInput.Slide.header.starty[i];
      var headerFinishXElement:XML = slideInput.Slide.header.finishx[i];
      var headerFinishYElement:XML = slideInput.Slide.header.finishy[i];
      var headerStartAlphaElement:XML = slideInput.Slide.header.startAlpha[i];
      var headerFinishAlphaElement:XML = slideInput.Slide.header.finishAlpha[i];
      var headerDelayElement:XML = slideInput.Slide.header.delay[i];
      var headerSecondsElement:XML = slideInput.Slide.header.seconds[i];
      var subheaderElement:XML = slideInput.Slide.subheader.copy[i];
      var subheaderAnimationElement:XML = slideInput.Slide.subheader.animation[i];
      var subheaderStartXElement:XML = slideInput.Slide.subheader.startx[i];
      var subheaderStartYElement:XML = slideInput.Slide.subheader.starty[i];
      var subheaderFinishXElement:XML = slideInput.Slide.subheader.finishx[i];
      var subheaderFinishYElement:XML = slideInput.Slide.subheader.finishy[i];
      var subheaderStartAlphaElement:XML = slideInput.Slide.subheader.startAlpha[i];
      var subheaderFinishAlphaElement:XML = slideInput.Slide.subheader.finishAlpha[i];
      var subheaderDelayElement:XML = slideInput.Slide.subheader.delay[i];
      var subheaderSecondsElement:XML = slideInput.Slide.subheader.seconds[i];
      var audioElement:XML = slideInput.Slide.audio[i];
      var videoElement:XML = slideInput.Slide.video[i];
      // create new slide object
      slide[idElement] = new Object();
      slide[idElement].name = idElement;
      // set header information
      slide[idElement].header = headerElement;
      slide[idElement].headerAnimation = headerAnimationElement;
      slide[idElement].headerStartX = headerStartXElement;
      slide[idElement].headerStartY = headerStartYElement;
      slide[idElement].headerFinishX = headerFinishXElement;
      slide[idElement].headerFinishY = headerFinishYElement;
      slide[idElement].headerStartAlpha = headerStartAlphaElement;
      slide[idElement].headerFinishAlpha = headerFinishAlphaElement;
      slide[idElement].headerDelay = headerDelayElement;
      slide[idElement].headerSeconds = headerSecondsElement;
      slide[idElement].subheader = subheaderElement;
      slide[idElement].subheaderAnimation = subheaderAnimationElement;
      slide[idElement].subheaderStartX = subheaderStartXElement;
      slide[idElement].subheaderStartY = subheaderStartYElement;
      slide[idElement].subheaderFinishX = subheaderFinishXElement;
      slide[idElement].subheaderFinishY = subheaderFinishYElement;
      slide[idElement].subheaderStartAlpha = subheaderStartAlphaElement;
      slide[idElement].subheaderFinishAlpha = subheaderFinishAlphaElement;
      slide[idElement].subheaderDelay = subheaderDelayElement;
      slide[idElement].subheaderSeconds = subheaderSecondsElement;
      // set the audio in the slide
      slide[idElement].audio = audioElement;
      // set the video in the slide
      slide[idElement].video = videoElement;
      // push new slide to the array of slide names
      slidesArray.push(slide[idElement].name);
    //MovieClip(root).loading_mc.x = 1500;
    //MovieClip(root).loading_mc.bar.width = 1;
    //MovieClip(root).loading_mc.loading_txt.text = "";
    // start slide
    buildSlide();

  • Populate ComboBox from database - NOT using Flex Data Services

    Hi there,
    We are using CF with Flex but are not using the Flex Data
    Service. I'm very much a newb and I'm having trouble finding any
    information on how to populate controles from a database without
    using Flex Data Service. Any help would be greatly appreciated.
    First I have a page... JobSearch.mxml that contains a combo
    box that I want to populate with the job_id and job_title from a
    MSSQL database.
    In Flex in the RDS DataView I used the "Create CFC" Wizard
    which generated "job.cfc" and "jobGateway.cfc". It also generated
    "job.as".
    The CF Function that selects the data appears to be defaulted
    and called "load" and the .as function is called simply "job".
    So, that all looks great. But I can't find any information on
    what I need to have on my JobSearch.mxml to actually get this data
    into the comboBox.
    I did:
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var jobData:job = null;
    ]]>
    </mx:Script>
    And then:
    <mx:ComboBox
    text="{jobData.job_title}"></mx:ComboBox>
    But I'm being told "Type was not found or was not a
    complie-time constant: job"
    I guess I'm missing something, or doing something way
    wrong... I just don't know enough of Flex at this point to know
    what it is.
    Thanks!
    April

    Using php or asp is not an option, as we are a Cold Fusion
    House.
    I was looking at an article on Ben Forta's blog (
    http://www.forta.com/blog/index.cfm?mode=e&entry=1786)
    and following his example I did this... only it doesn't work:
    I'm very very new to Flash and we are using ColdFusion but
    are not using Flex Data Services. I've been trying to figure out
    how to populate a combobox from a database and I'm just not having
    any luck.
    My project is called "PreTraffic". I have my main file as
    "JobSearch.mxml" and a folder under the root named "cfc" with a
    file called "job.cfc".
    job.cfc contains the following code:
    <cfcomponent>
    <!--- Get jobs --->
    <cffunction name="GetJob" access="remote"
    returntype="query" output="false">
    <cfset var job="">
    <cfset var results="">
    <cfquery datasource="discsdev" name="job">
    SELECT job_id, job_title
    FROM job
    WHERE status = 'O'
    ORDER BY job_title
    </cfquery>
    <cfquery dbtype="query" name="results">
    SELECT job_title AS label, job_id AS data
    FROM job
    ORDER BY label
    </cfquery>
    <cfreturn results>
    </cffunction>
    </cfcomponent>
    And JobSearch.mxml has the following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #d0d0d0]"
    creationComplete="InitApp()">
    <mx:Style source="style.css" />
    <mx:Script>
    <![CDATA[
    public function InitApp():void {
    jobSvc.GetJob();
    ]]>
    </mx:Script>
    <!-- ColdFusion CFC (via AMF) -->
    <mx:RemoteObject id="jobSvc" destination="PreTraffic"
    showBusyCursor="true" />
    <mx:VBox label="Job History" width="100%" height="100%"
    x="10" y="92">
    <mx:Label text="Search jobs by"/>
    <mx:Form label="Task" width="100%">
    <mx:FormItem label="Job Name:">
    <mx:ComboBox id="jobNameCB"
    dataProvider="{jobSvc.GetJob.results}"></mx:ComboBox>
    </mx:FormItem>
    </mx:Form>
    <mx:HBox>
    <mx:Button label="Search"/>
    <mx:Button label="Clear"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>
    My Compiler thingy points to:
    -services
    "/Volumes/flexwwwroot/WEB-INF/flex/job-services-config.xml" -locale
    en_US
    and job-services-config.xml contains the following code:
    <destination id="PreTraffic">
    <channels>
    <channel ref="my-cfamf"/>
    </channels>
    <properties>
    <source>flex.pretraffic.cfc.job</source>
    <lowercase-keys>true</lowercase-keys>
    </properties>
    </destination>
    Well, when I run the app... the combobox is not populated...
    Can anyone help with what I've done wrong?
    Thanks!
    April

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Flash xml - not always loading

    Hi
    I have a calculator that loads an xml file which contains a
    load of factors. If the user changes their details (age or sex)
    then it reloads this xml file to pull out the relevant factor.
    On my local disk this works fine. However, when on the server
    it will work 1 or 2 times accessing and parsing the xml file
    perfectly, but then will stop working and freeze for a while. It'll
    then work again for 1 time and then stop again and so on. I've
    attached the code that loads the xml file.
    The strange thing is that whether it's working or not it
    loads a 0 error code thing (success) and doesn't display "document
    failed" - but with the line of text I added to access
    childNode[50], it works ok 1 or 2 times, but is undefined when the
    calculator freezes.
    It seems flash is being a bit hit and miss at loading the xml
    file properly. Once it's loaded into flash should it be continually
    available or do I need to keep reloading it every time they change
    their details? If it's always available, that also doesn't seem to
    be working!
    Any ideas?

    I have solved this I think - not entirely sure how.
    In the above code links to a function called processBook and
    passes through the value of book_xml. In declaring the processBook
    function I pull this into xmlDoc_xml (function
    processBook(xmlDoc_xml). Not entirely sure why as I borrowed that
    bit from a book.
    Anyway, I've removed the reference to xmlDoc_xml and replaced
    it with book_xml and it seems to work perfectly. I believe it the
    reason is that when it goes back to that function it looks for
    xmlDoc_xml which is only available the first time... something like
    that anyway...
    Thanks

  • Planned delivery time Pickup from inforecord not material master data

    Hi,
    Currently the delivery dates of the orders are calculated with the delivery time which is marked in MM02. Since the purchasing integrates this information in the info record, we want the delivery date to be calculated with delivery time of the info record instead of calculating it with the data of MM02
    Please suggest any config.
    Thanks
    Shital D

    Hi,
    Try like this, ME21N, put the vendor, material , plant and other Org elements, hit enter, and check P.O what is the planned delivery time that you are seeing, also is the same PIR also appearing in the P.O when you scroll to the right?
    Also note.. that system might be picking 3, maybe saturday and sunday holiday is coming, check that too
    Regards
    Shailesh
    Edited by: Shailesh Rajan on Jul 7, 2011 7:00 PM

  • Error When Trying to POST: Method not implemented in data provider class

    Hi Experts,
    I have created an Odata Service using Netweaver Gateway Service builder. I am using Advanced Rest Client to test the service. I can successfully GET my data, but I run into issues when I try and POST new data.
    When trying to POST, I used the GET method to get the x-csrf-token, and added it to my header. I also updated the body XML with the data that I would like to POST. However, after sending the POST request, I am getting a "500 Internal Service Error" with the xml message "Method '<OdataServiceName>'_CREATE_ENTITY" not implemented in data provider class".
    Any help on this would be greatly appreciated. Thanks!

    Hi Kelly,
    Can you share screenshots of the error? Maybe something wrong with payload :can you share the same also? Did you try to debug it by putting a breakpoint in the CREATE_ENTITY method in the backend? Any luck?
    Regards,
    JK

  • Date function problems with dates from core not recognized as dates

    Our core provides dates in two formats: YYYYDDD and MMDDYY (YYYYDDD for today [2/21/12] would be 2012052).  We have determined that Crystal Reports is not viewing them as dates, but rather numbers. If querying on just a specific date, no problem. But if I want to use a date function like DayOfWeek, then things don't work.
    I need a report to always provide yesterday's data - except on Monday, where it needs to look back at Friday.
    I tried a criteria of:
    if DayOfWeek(CurrentDate) = 1 then {DDMAST.DATOP7} = CurrentDate - 2 else
    if DayOfWeek(CurrentDate) = 2 then {DDMAST.DATOP7} = CurrentDate - 3 else
    {DDMAST.DATOP7} = CurrentDate -1
    {DDMAST.DATOP7} is the date field from our core.
    I tried this but got an error message of "A Number is Required Here" and it highlights the CurrentDate - 2.
    Since we believe that Crystal Report is not viewing our dates as dates - but viewing them as numbers, what do I need to do to correct this?  Someone suggested I'd need to extract each date portion (month, date, and year) and create variables to "build" a date that Crystal Reports would understand.  Any suggestions?

    Hi, 
    You're correct.  There appears to be two branches in this thread. 
    To address your issue, Crystal only recognizes actual date types, ie. Months, Days and Years.  Your serial date isn't a recognized date type so we have to: 
    1)  Determine which format your date field is
    2)  Convert your number to a date using the appropriate formatting. 
    I am assuming your dates will either be 6 (MMddyy) or 7 (yyyyddd) characters long.  If there are other patterns you'll need to determine that. 
    The problem I found is what does your date for today (March 6, 2012) look like in MMddyy format? 
    Any month before October would never have a leading 0 if your date is stored as a number.  So you should take that into account as well using my logic. 
    I added that into the logic by checking for a length of 5. 
    NumberVar Full := 030612;
    StringVar myDate;
    myDate := ToText (Full, 0, "", "");
    Select Length (myDate)
        Case 5: Date (2000 + ToNumber (myDate [4 to 5]), ToNumber (myDate [1]), ToNumber (myDate [2 to 3]))
        Case 6: Date (2000 + ToNumber (myDate [5 to 6]), ToNumber (myDate [1 to 2]), ToNumber (myDate [3 to 4]))
        Case 7: Date (ToNumber (myDate[1 to 4]), 1, 1) + (ToNumber (myDate [5 to 7]) - 1)
        Default: Date (0, 0, 0);
    If you edit the first line and change it to: 
    NumberVar Full := 2012066;
    You will also get today's date.

  • Clear loaded pictures in xml gallery to load another set

    i cannot figure how to unload my already populated xml gallery, before loading new content :
    here the functions i want :
    //following 2 functions will be called by a button :
    // removes previously placed objects
    function clearLoadedPictures():void {
    // Load another ,xml to load new pictures set - ok : works fine
    function LoadNewPictures():void {
            i_g = 0;
               // xml data
                var xml_gallery:XML                = new XML();
                var xml_gallery_List:XMLList        = new XMLList;
                // XML data loader...
                var xmlUrlReq:URLRequest   = new URLRequest("xml/gallery2.xml");// gallery2.xml will replace gallery.xml already loaded
                var xml_gallery_UrlLoader:URLLoader = new URLLoader(xmlUrlReq);
                xml_gallery_UrlLoader.addEventListener(Event.COMPLETE, xml_gallery_Complete);
                xml_gallery_UrlLoader.addEventListener(IOErrorEvent.IO_ERROR, xml_gallery_LoadFailed);
    here the xml gallery code :
    var _mc:item;
    var total:int;
    var i_g:int;
    var id:int;
    var btn_Gallery_Ready:Boolean;
    var speedX:Number;
    var spaceR:Number;
    var img_gallery_Loader:Loader;
    i_g = 0;
               // xml data
                var xml_gallery:XML                = new XML();
                var xml_gallery_List:XMLList        = new XMLList;
                // XML data loader...
                var xmlUrlReq:URLRequest   = new URLRequest("xml/gallery.xml");
                var xml_gallery_UrlLoader:URLLoader = new URLLoader(xmlUrlReq);
                xml_gallery_UrlLoader.addEventListener(Event.COMPLETE, xml_gallery_Complete);
                xml_gallery_UrlLoader.addEventListener(IOErrorEvent.IO_ERROR, xml_gallery_LoadFailed);
                bottom24.gallery.content_mc.addEventListener(MouseEvent.ROLL_OVER, startScroll);
                bottom24.gallery.content_mc.addEventListener(MouseEvent.ROLL_OUT, stopScroll); //
    // xmlComplete function
            function xml_gallery_Complete(e:Event):void
            xml_gallery = XML(e.target.data); //
                xml_gallery_List = xml_gallery.item;  // <item> in gallery.xml
                total = xml_gallery_List.length();
                spaceR = xml_gallery.attribute("space"); // specified in gallery.xml file as is : <gallery space="119" speed="0.2">
                speedX = xml_gallery.attribute("speed");
                init_gallery();
            function xml_gallery_LoadFailed(e:IOErrorEvent):void {
                trace("Load Failed: " + e);
            function init_gallery()  //
                //bottom.gallery.content_mc.itemHolder_mc.
                _mc = new item(); //
                _mc.alpha = 0;
                //_mc.imgMask_mc.scaleY = 0;  // condition pour apparition des timbres ds la gallery - OLD
                _mc.imgMask_mc.alpha = 0; // condition pour apparition des timbres ds la gallery - NEW
                _mc.x = i_g * spaceR;
                _mc.btn.id = i_g;
                _mc.btn.mouseChildren = false;
                bottom24.gallery.content_mc.itemHolder_mc.addChild(_mc);
                Tweener.addTween(_mc, {alpha:1, time:0.8, transition:"easeOutExpo"});
                _mc.online_mc.alpha = 0; //invisible sans roll over
                if (xml_gallery_List[i_g].url != "")
                    _mc.btn.buttonMode = true;
                    _mc.online_mc.visible = true;
                    btn_Gallery_Ready = true;
                else
                    _mc.btn.buttonMode = false;
                    _mc.online_mc.visible = false;
                    btn_Gallery_Ready = false;
            var imgRequest:URLRequest = new URLRequest (xml_gallery_List[i_g].image); //
             img_gallery_Loader = new Loader(); // var imgLoader:Loader;
                img_gallery_Loader.load(imgRequest); //
                img_gallery_Loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imgLoading);
                img_gallery_Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, img_gallery_Complete);
                i_g++;
            function imgLoading(event:ProgressEvent):void // tiny preloader in bottom thumbs pics
        _mc.preloader_mc.width = Math.round(img_gallery_Loader.contentLoaderInfo.bytesLoaded / img_gallery_Loader.contentLoaderInfo.bytesTotal * 100);
            function img_gallery_Complete(event:Event):void
                _mc.imgHolder_mc.addChild(img_gallery_Loader);
                Tweener.addTween(_mc.imgHolder_mc, {_saturation:0.9, time:0.6});// desaturate scrolling thumbs
                //_mc.imgHolder_mc.alpha = 0.5; // test
                // apparition des timbres ds la gallery, ici fade in : - NEW
                Tweener.addTween(_mc.imgMask_mc, {"alpha":1, delay:i_g / 20, time:0.4, transition:"easeOutExpo"});// test
                // apparition des timbres ds la gallery, ici image apparait de haut en bas : - OLD
                //Tweener.addTween(_mc.imgMask_mc, {"scaleY":1, delay:i_g / 10, time:1, transition:"easeOutExpo"});
                // la ligne de preloader qui diminue vers la gauche :
                Tweener.addTween(_mc.preloader_mc, {"scaleX":0, delay:0, time:1, transition:"easeOutExpo"});
                _mc.btn.addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
                _mc.btn.addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
                _mc.btn.addEventListener(MouseEvent.CLICK, onMouseClick);
                if (i_g < total)
                    init_gallery();
    thanks

    hi,
    back to work,
    then i used a loop in the first clear function:
    var n:int = 0;
                  while (n < xml_gallery_List.length() -1) {
                      bottom24.gallery.content_mc.itemHolder_mc.removeChildAt(n); //
                    i++;
    and it remove all my previously loaded pictures,but it throw me an error :
    RangeError: Error #2006: The supplied index is out of bounds.
    at flash.display: DisplayObjectContainer/removeChildAt()
    it seems error come from the removeChildAt, but i can't figure out what's wrong
    i've tried to replace removeChildAt(n); by removeChild(n); and the loop crash Flash software....
    any suggestion ?

Maybe you are looking for