Images not loading from xml

Hi,
I have a webpage created in flash which uses xml to load specific gallerys into movie clips. Everything works fine in preview, but when uploaded it doesn't work. When you click on film or any of the other galleries, the galley does not load. I don't know whether this has something to do with the hosting or not. I'm only begining to use xml so my knowledge is quite limited. Any help would be much appreciated.  The website adress is below. I've also attached my action script. Cheers
http://www.honeytree.com.au/luke/walshwebsite/
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
firstImage();
} else {
content = "file not loaded!";
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("film.xml");
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
next_btn.onRelease = function() {
nextImage();
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 20;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=40) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
} else {
delete tscroller.onEnterFrame;
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
target_mc.onRollOver = function() {
this._alpha = 50;
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);

Your xml file appears to be specifying local drive paths rather than web paths...
\film\DSC_0040web.jpg
should be
film/DSC_0040web.jpg

Similar Messages

  • Images not loaded from WEB-INF/lib/images.jar

    The images are found in root/images/*.gif, but not
    when jarred up and placed in the lib folder. I've looked everywhere
    for a solution but all I've seen is suggestions of other places to put
    the folder, or to add it to the classpath.
    The jar is being loaded but the images are not found. Or at least the images are not showing up - the table where the main image is linked expands to the size of the image when the path is correct.
    Does anyone know the solution to this problem? I don't want to just leave them in the folder at root level, because this does not work if I set a default url pattern for the control servlet.
    Thanks,
    Greg

    The images are found in root/images/*.gif, but not
    when jarred up and placed in the lib folder. I've
    looked everywhere
    for a solution but all I've seen is suggestions of
    other places to put
    the folder, or to add it to the classpath.
    The jar is being loaded but the images are not found.
    Or at least the images are not showing up - the table
    where the main image is linked expands to the size of
    the image when the path is correct.
    Does anyone know the solution to this problem? I don't
    want to just leave them in the folder at root level,
    because this does not work if I set a default url
    pattern for the control servlet.
    Thanks,
    GregIf your planning to make the images accessible by normal html tags - img etc, then they cant be in a jar, and they must be in a location from which the container serves content - i.e not under WEB-INF. Unless you want to write a special servlet which does nothing but read the images and feed them to the client - but I wouldnt recommend that.
    Sounds like your using Struts, and sounds like youre not using weblogic since you wouldnt be able to serve even jsp�s (using forward) from under WEB-INF if you were. Putting jsp�s under WEB-INF sounds like such a good idea when using Struts, but in practice...

  • Image won't load from XML

    I am making a gallery using xml and as3. I've run into a
    problem very early and I'm not too good with Actionscript yet. So
    I've come here for some help.
    What I want right now, is to have an image be loaded from a
    xml file, which is working for me. And then have a white movieclip
    come in a resize behind the image to be a frame for the image. I
    haven't gotten to this part yet. My problem starts when I try to
    load the image with a blank movieclip to position it. The image
    loads, but the eventListener won't run the imageLoaded function. If
    I remove the function and just have
    holder_mc.addchild(imageLoader); Then it works, but I need the
    image to load and then resize the movieclip frame, and then display
    both right? How can I accomplish this?

    I was trying to solve this myself just last night and after
    seeing your post today I figured maybe I can help you out (as long
    as I'm addressing the problem you have).
    apparently the addEventListener needs a kick start from
    something else. If you look up the Loader class in the Flash help
    files it provides an example near the bottom that holds the key.
    I'm providing a shorthanded solution that I derived from it.
    Rather than:
    imageLoader.addEventListener(Event.COMPLETE,
    completeHandler);
    There is another piece in the in the middle of the process:
    "contentLoaderInfo"
    imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    completeHandler);
    Hope that helps

  • HELP! Images not loading and Firefox taskbar icon is a white file.

    I went through all the suggestions in the image not loading help page and same with the add ins and nothing helping. The images load fine on Google Chrome so I know it's not the site. It might just be Adobe Flash images, but that's as far as I know how to pinpoint.
    As far as the task bar goes, it's just a while file icon instead of the Firefox one. It doesn't bother me, but I just thought it might be related.
    I'd appreciate any help! Anybody! Thanks,
    Stef

    What do you see if you right-click the area where such a missing image should be?
    Is that a context menu for images with "View Image Info"?
    Are there any icons on the location bar that plugins are used or mixed content is blocked?
    If images are missing then check that you do not block images from some domains.
    *Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
    Check the permissions for the domain in the currently selected tab in "Tools > Page Info > Permissions"
    Check "Tools > Page Info > Media" for blocked images
    *Select the first image link and use the cursor Down key to scroll through the list.
    *If an image in the list is grayed and "<i>Block Images from...</i>" has a checkmark then remove this checkmark to unblock images from this domain.
    Make sure that you do not block (third-party) images, the <b>permissions.default.image</b> pref on the <b>about:config</b> page should be 1.
    Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
    Make sure that you allow pages to choose their own colors.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    Note that these settings affect background images.
    See also:
    *http://kb.mozillazine.org/Website_colors_are_wrong
    There are extensions like Adblock Plus (Firefox/Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images and other content.
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *http://kb.mozillazine.org/Websites_look_wrong

  • SSIS packages deployment error- The package failed to load due to error 0xC0011008 Error loading from XML

    I am trying to deploy SSIS packages to file system using manifest file. These packages are upgraded from SSDT 2005 to SSDT 2010. Also I have changed the protection level from 'EncryptSensitiveWithPassword' to 'DontSaveSensitive' to upgrade it.
    I coun't complete the deployment and the error details shown below.
    TITLE: Package Installation Wizard
    Package "Packagename.dtsx" could not be loaded. The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed
    error information can be stored.". This occurs when CPackage::LoadFromXML fails.
    Package ""Packagename.dtsx" could not be loaded. The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where
    detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
    ADDITIONAL INFORMATION:
    The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when
    CPackage::LoadFromXML fails.
    The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when
    CPackage::LoadFromXML fails.
    BUTTONS:
    OK
    Please give a solution.
    Sreekanth Mohan

    Check this
    blog post as it gives complete information about error.
    It looks like its still using SQL 2005 DTEXEC.exe instead of latest version.
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • The package failed to load due to error 0xC0011008 "Error loading from XML....." This occurs when CPackage::LoadFromXML fails

    Source environment: Win 7 Enterprise SP1 64bit - SQL Server 2008 R2 SP1 Developer Edition (10.50.2550.0 )
    Target environment: Win 2008 R2 Standard SP1 64bit - SQL Server 2008 R2 SP1 Standard Edition (10.50.2500.0
    I want to deploy a package with the deployment manifest, but I'm getting an error (during deployment):
    Package "D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Packages\Migration\Students.dtsx" could not be loaded.
    The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can
    be stored.". This occurs when CPackage::LoadFromXML fails.
    I already remove a fuzzy lookup since this isn't part of the Standard edition, but still getting the error above.
    Package Example:
    If I just copy the package and try to run it I get this (0xC0010014):
    Any suggestions?

    Hi SSISJoost,
    After installing some update such as MS09-62 (KB970896), the "DTS.dll" and "MsDtsSrvrUtil.dll" may be unregistered. In this issue, the error may occur if the two DLL files are not registered. Here, please register both the 32 bit and 64 bit versions of the
    DTS.dll and MsDtsSrvrUtil.dll files, and check the issue again.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Form are different when save an exist form as XML then load from XML

    Hi everyone,
    Who have experience that save an exist form as XML file then load from XML, some controls position, size and color different with the source form.
    I want to use the system wizard form style and I saved system form MRP Wizard as XML file, when I load form from XML, the form shows picture with different position, size, the rectangle control lost color and position also different with source form, because I want to get the line color in the form, the separate line implement using rectangle, please share your opinion how to save the form as XML more Accurate.
    Thanks in advance!
    Kathy

    Hi Kathy
    After loading a form over XML, we made the experince that in matrices link buttons will not appear everwehere they should. It's a tricky part and we made a work around by changing the columns order and then...the Link Buttons came up ok.
    regards
    Kurt

  • AR can't be added-Error "Failed to load from XML resource"

    Hi Everyone,
    I need help with this error. When entering an item and then tabbing in an AR document, this code appears.
    "Failed to load from XML resouce".
    Thanks,\
    Debbie

    Hello experts,
    I am facing this issue in SBO 9.0 PL 08.
    Using SBOdemoUS, clic 'Duplicate' an existing Sales Order, then select a Business Partner, and hit 'yes' to the question in order to refresh rows with new BP info. You will get red bar error 'Failed to load from XML resource - (UI_API 7004) [Message 66000-6]'  and it wipes out all the copied rows info.  Does not happen with BPs that don't have default Ship To info.
    Your advise please.
    Thanks

  • Load from xml CSharp

    Hi all,
    I'm trying to write some code in C# and I have a problem with LoadFromXML function. Here's my code:
                   try
                        System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
                        string path;
                        string refString;
                        path = Environment.CurrentDirectory;
                        <b>xmlDoc.LoadXml(path + "
    " + fileName); //Exception</b>
                        refString = xmlDoc.InnerXml;
                        App.LoadBatchActions(ref refString);
                   catch (Exception ex)
                        Msg("Load from XML failed: " + ex.Message);
    In bolded line ecpetion appears: "The data at the root level is invalid. Line 1, position 1."     . Does anyone know what to do with this?
    Regards
    Hmg

    Also instead of
    Enviroment.CurrentDirectory
    you should use
    System.Windows.Forms.Application.StartupPath
    , because after you build you add-on with an installer Enviroment.CurrentDirectory does not point to the installed folder

  • Delta records are not loading from DSO to info cube

    My query is about delta loading from DSO to info cube. (Filter used in selection)
    Delta records are not loading from DSO to Info cube. I have tried all options available in DTP but no luck.
    Selected "Change log" and "Get one request only" and run the DTP, but 0 records got updated in info cube
    Selected "Change log" and "Get all new data request by request", but again 0 records got updated
    Selected "Change log" and "Only get the delta once", in that case all delta records loaded to info cube as it was in DSO and  gave error message "Lock Table Overflow" .
    When I run full load using same filter, data is loading from DSO to info cube.
    Can anyone please help me on this to get delta records from DSO to info cube?
    Thanks,
    Shamma

    Data is loading in case of full load with the same filter, so I don't think filter is an issue.
    When I follow below sequence, I get lock table overflow error;
    1. Full load with active table with or without archive
    2. Then with the same setting if I run init, the final status remains yellow and when I change the status to green manually, it gives lock table overflow error.
    When I chnage the settings of DTP to init run;
    1. Select change log and get only one request, and run the init, It is successfully completed with green status
    2. But when I run the same DTP for delta records, it does not load any data.
    Please help me to resolve this issue.

  • Custom Connection Manager only works in 32bit- 0xC0011008: Error loading from XML

    I have a very basic / stripped connection manager with only one property (SSIS 2012). It works fine in design time (you can open the connection manager editor and change the value), but in runtime it only works in 32bit mode. The runtime-validate-method
    does work, but if everything validates OK then in 64bit it throws an error when you run the package:
    Exception deserializing the package "The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information
    can be stored.". This occurs when CPackage::LoadFromXML fails.
    The 2 VS projects are .Net 4 class library projects with the Build Platform on "Any CPU"
    I only add references to:
    Microsoft.SqlServer.ManagedDTS - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.ManagedDTS.dll
    Microsoft.SqlServer.Dts.Design - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.Dts.Design\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.Dts.Design.dll
    Compiled DLL's are available in GAC and SQL Server connections folder:
    I made the sourcecode available via codeplex:
    https://ssisconnectionmanager.codeplex.com/SourceControl/latest#myFirstConnectionManager/2012/myFirstConnectionManager/myFirstConnectionManager.cs
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

    AppPrincipal (identity) related? Hint http://serverfault.com/questions/339747/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml
    Arthur My Blog
    Hi Arthur,
    Looks like something similar (same message, same 64bit issue), will try that tomorrow! But sounds weird that you should tell SSIS which identity to use...
    Found the same thread in MSDN:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/47d185d3-c801-45cf-becd-3c2524d98353/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml?forum=sqlintegrationservices
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Java console not accessible, will not load from FFx tools dropdown menu (had same prob with 3.6.15). Latest Java installed and IS accessible thru control panel

    XP OS, have NoScript installed, disabled, Java console still will not load from FFx.

    I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
    Two points, Steve:
    1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
    2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
    Do you have any idea what to do to solve the problem?
    Regards

  • Counters not loading from saved PerfMon html settings file in IE

    The Settings html file is hosted on our internal trusted web server, the perfmon interface loads but no counters load.
    If I right click and go properties there are no counters configured. If I add a counter that works, but upon reloading the page the counters do not load from the HTML source file.
    I check the source of the HTML, and the counters are there, but aren't loading.

    if you open the file from a local drive it does work, but I cant get it to work from a network folder.

  • Images not loading when I visit a website.  I I get is a blank box with a question mark in it.  How do I fix this?

    Images not loading on my browser in Safari or Google Chrome or Firefox when I visit a website.  How do I fix this?

      Can you run EtreCheck and post the report here please?
      EtreCheck:  https://discussions.apple.com/docs/DOC-6173

  • I am resurrecting my old iMacG5 for my grandson. Appleworks has question mark in dock and does not load from bundled software on original installation discs. Can anyone help?

    I am resurrecting my old iMacG5 for my grandson. Appleworks has question mark in dock and does not load from bundled software on original installation discs. Can anyone help?

    I'm sorry no-one has answered you yet - I'm afraid I don't know the answer to the question: but I wanted to put into your mind that starting up with AppleWorks at this stage isn't a good idea. The program was 'end-of-lifed' years ago, it won't run on Lion, and some of the document types created in it - Databases in particular - cannot be opened at all by any other program whatever. Word Processing documents can be opened in Pages, and Spreadsheets in Numbers (with some reservations in both cases), but building up a collection of AppleWorks documents at this stage is going to lead to problems later on.
    It's difficult to know what to recommend for a PowerPC machine that would still be compatible with modern ones. An older version of Microsoft Office, perhaps, if you can find one which will run on PPC; but most of the modern Word Processors are Intel only. This is something you would need to investigate.

Maybe you are looking for