Flash Image Gallery load problem

This a familiar problem that has been put up here a thousand
times I'm sure but as yet I haven't been able to find a solution
for it. I've put together a simple image gallery using Flash and an
XML file. It works perfectly on my system but there are issues with
the images loading properly when I put them onto my site. I know
very little Flash, I've been using a pre-made gallery that I
downloaded but since it works on my computer I assume I should be
able to get it to work online too. The thumbnails for the file seem
to work fine and the information from the XML file is obviously
being accessed, however the main images are not loading. I've
included all the code below (Actionscript, XML and the Web coding),
if someone could help me before I put my fist through a wall that
would be great:
Actionscript
stop();
//specify the url where folder is located below (if
applicable)
toadd="";
t = 0;
l = 0;
theside = 1;
galxml = new XML();
galxml.load(toadd+"flash/fashion/easy-xml-gallery-2.xml");
galxml.ignoreWhite = true;
galxml.onLoad = function(success) {
if (success) {
maxnum = galxml.firstChild.childNodes.length;
for (n=0; n<maxnum; n++) {
specs = galxml.firstChild.childNodes[n];
//TEXT FOR SIDE NAV
duplicateMovieClip(side.thumbs.thumbsb, "thumbs"+n, n);
thumbclip = eval("side.thumbs.thumbs"+n);
thumbclip._x = n*100;
thumbclip.thetitle = specs.attributes.name;
thumbclip.theurl = specs.attributes.theurl;
thumbclip.thecaption = specs.attributes.caption;
thumbclip.thenum = n+1;
thumbclip._alpha = 100;
loadMovie(toadd+"/flash/fashion/images/"+(n+1)+"b.jpg",
thumbclip.thumbload.thumbload2);
play();
side.thumbs.thumbsb._visible = false;
mainperc.onEnterFrame = function() {
if (mainperc.perc<98) {
mainperc._alpha += 5;
mainperc.perc = Math.round(l/t*100);
mainperc.perctext = mainperc.perc+"%";
mainperc.ltext = "OF THUMBNAILS LOADED
("+Math.round(t/1024)+"kb)";
if (mainperc.perc>98) {
//mainperc._alpha -= 5;
if (mainperc._alpha<-50) {
delete mainperc.onEnterFrame;
XML
<gallery>
<pic1 name="ONE">
<pic2 name="TWO"/>
<pic3 name="THREE"/>
<pic4 name="FOUR"/>
<pic5 name="FIVE"/>
<pic6 name="SIX"/>
<pic7 name="SEVEN"/>
<pic8 name="EIGHT"/>
<pic9 name="NINE"/>
<pic10 name="TEN"/>
</gallery>
Webpage coding
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>shorty designs</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #666666;
body {
margin-left: 0px;
margin-top: 0px;
background-image: url(images/fashion_back.gif);
background-repeat: no-repeat;
a:hover {
color: #999999;
text-decoration: none;
.Sections {
color: #333333;
font-weight: bold;
#wrapper {
background-color: #FFFFFF;
padding: 10px;
width: 760px;
margin-right: auto;
margin-left: auto;
.section_reg {
color: #333333;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: large;
padding-left: 10px;
.contact {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: large;
color: #333333;
background-color: #FFFFFF;
width: 400px;
padding-left: 22px;
text-align: right;
.section_back {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: large;
color: #FFFFFF;
background-color: #000000;
width: 135px;
padding-left: 10px;
margin-top: 15px;
margin-bottom: 15px;
background-position: center center;
vertical-align: middle;
height: auto;
.style2 {color: #F0F0F0}
a:link {
text-decoration: none;
color: #333333;
a:visited {
text-decoration: none;
color: #333333;
a:active {
text-decoration: none;
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
<p class="Sections"><img src="images/version5.jpg"
alt="shorty logo" width="166" height="85" /><span
class="contact">Contact by email:
[email protected]</span></p>
<p class="Sections">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','536','height','518','align','right','src','/flash/fashion/fashion','quality','high',' pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwa veFlash','movie','/flash/fashion/fashion'
); //end AC code
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
width="536" height="518" align="right">
<param name="movie" value="/flash/fashion/fashion.swf"
/>
<param name="quality" value="high" />
<embed src="/flash/fashion/fashion.swf" width="536"
height="518" align="right" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"></embed>
</object>
</noscript>
</p>
<p class="section_back">Fashion</p>
<p class="section_reg"><a
href="travel.html">Travel</a></p>
<p class="section_reg"><a
href="wedding.html">Wedding</a></p>
<p class="section_reg"><a
href="layout.html">Layout</a></p>
<p class="section_reg"><a
href="personal.html">Personal</a></p>
</div>
</body>
</html>

Yep, these are the directions:
this is very easy to update. You only need to edit the simple
xml file and add images to the images folder.
step 1.
add as many images as you like at the size 536 x 403
step 2.
create thumbnails for the above images at size 100x75
step 3.
update the xml file with the name url and caption for each
image. (to take the url off just click through to the button on the
main picture and delete the script that says getURL(theurl)
step 4.
open flash file and change the 'toadd' variable to the folder
where the flash file and image folder is located on your site.
thats it done.
The frustrating thing now is that the files are finally being
found but the thumbnail function has decided to mess up.

Similar Messages

  • Flash image gallery into dreamweaver cs3

    I put a flash image gallery into my web page using dreamweave
    cs3 and every things working but the images from the image gallery
    do not show up. How do I connect the images to the flash file in
    dreamweaver.

    TexasJen posted in macromedia.dreamweaver:
    > When I type in the address: www.jenspaeth.com it opens
    up to the
    > front page
    > of the shell in the browser. It does not work past that
    though.
    > The flash buttons highlight on rollover, but do not do
    anything.
    Getting a 404 error for
    http://www.jenspaeth.com/home.swf
    before I even
    bring a mouse over the screen.
    I'm guessing that
    http://www.jenspaeth.com/Jen
    Site/Shell.swf is
    attempting to load that file and cannot find it.
    Did you upload home.swf and any other relavent files to the
    root of
    www.jenspaeth.com? Or is it supposed to be in the "Jen Site"
    folder?
    You should not use spaces in folder/file names.
    Mark "404" Boyd
    Keep-On-Learnin' :)

  • Flash Image Gallery

    I purchased the Flash Image Gallery Extension. Installed and
    created several beautiful working galleries.
    In my image gallery (link below) there are Category titles
    176, 186, etc.. When you click the titles it changes the thumbnail
    pictures, while the main image remains the same.
    Question: I'd like to click on a Category Title and have the
    Main Fullsize image change as well. This would help visually to see
    that you have in fact changed to a new category. As it is now, it
    is not evident that you've changed category. You have to go to the
    tn images and click there.
    Can you give me some direction on how accomplish this?
    Perhaps a behavior - when category title is clicked on the main
    image will appear for that category? Seems like a simple edit. Can
    I do such an edit on a purchased gallery template file extension?
    New to flash, quite familiar with DW CS3. Below is a link to
    my gallery:
    My
    Gallery Link

    Hi
    These can be linked together - it will need you to change the
    destination of the 'Front Page' link (URL) to point to the
    appropriate 'Gallery', in the XML you can identify sections by
    using the same 'Gallery Id' from the link (URL) in the 'Front
    Page'.
    Does that make sense?, if you need more help then let me
    know

  • The best Free Flash Image Gallery

    Which is the best free flash image gallery for Iweb?

    There is no best. That's because they are all different from each other and each brings different properties to the table. Here are some to consider:
    SimpleViewer and Flash Album Exporter
    Flash Album Exporter Postcard and AutoViewer Slideshow Themes
    Jalbum Examples - Jalbum has over 100 skins/themes to choose from.
    OT

  • HELP! - XML Image gallery, simple problem

    I've posted this problem before and gotten no response. Very
    simple I'm sure, I just don't know much Flash. Basically I've
    created an image gallery that should look like this:
    http://www.flashcomponents.net/upload/samples/1448/index.html.
    The problem is that the thumbnails are not being accessed properly
    (from what I can tell), making it look like this:
    http://shortydesigns.com/index.html.
    The images are all in the same folder and since one thumbnail is
    loading, I can't see why the others aren't. The Actionscript in the
    Flash file is as follows (it was created with Flash 10):
    First Piece of Code
    stop();
    // specify the url where folder is located below (if
    applicable)
    toadd = "";
    t = 0;
    l = 0;
    theside = 1;
    galxml = new XML();
    galxml.load(toadd+"flash/fashion/easy-xml-gallery-2.xml");
    galxml.ignoreWhite = true;
    galxml.onLoad = function(success) {
    if (success) {
    maxnum = galxml.firstChild.childNodes.length;
    for (n=0; n<maxnum; n++) {
    specs = galxml.firstChild.childNodes[n];
    // TEXT FOR SIDE NAV
    duplicateMovieClip(side.thumbs.thumbsb, "thumbs"+n, n);
    thumbclip = eval("side.thumbs.thumbs"+n);
    thumbclip._x = n*100;
    thumbclip.thetitle = specs.attributes.name;
    thumbclip.theurl = specs.attributes.theurl;
    thumbclip.thecaption = specs.attributes.caption;
    thumbclip.thenum = n+1;
    thumbclip._alpha = 100;
    loadMovie(toadd+"flash/fashion/images/"+(n+1)+"b.jpg",
    thumbclip.thumbload.thumbload2);
    play();
    side.thumbs.thumbsb._visible = false;
    mainperc.onEnterFrame = function() {
    if (mainperc.perc<98) {
    mainperc._alpha += 5;
    mainperc.perc = Math.round(l/t*100);
    mainperc.perctext = mainperc.perc+"%";
    mainperc.ltext = "OF THUMBNAILS LOADED
    ("+Math.round(t/1024)+"kb)";
    if (mainperc.perc>98) {
    // mainperc._alpha -= 5;
    if (mainperc._alpha<-50) {
    delete mainperc.onEnterFrame;
    Later in the timeline:
    stop();
    pic.info.thenum = side.thumbs.thumbs0.thenum;
    pic.info.thecaption = side.thumbs.thumbs0.thecaption;
    pic.info.thetitle = side.thumbs.thumbs0.thetitle;
    pic.info.theurl = side.thumbs.thumbs0.theurl;
    loadMovie(_root.toadd+"flash/fashion/images/1.jpg",
    pic.pic2.pic3);
    onEnterFrame = function () { side.gotoa = 110;if
    (side._alpha>99) {side._alpha = 100;delete
    onEnterFrame;}side.lefta = side.gotoa-side._alpha;side._alpha +=
    side.lefta/5;pic._alpha = side._alpha;};

    I noticed two thing:
    1. I guess the error occurs when currentImage variable is out
    of range of sortedXML array. You, perhaps need to trace this var
    and see at what point the error happens.
    2. Unless I missed someting, It seems that you always load
    images. At some point you load images that are already loaded. It
    is inefficient. You, perhaps, better off reusing already loaded
    images.

  • Flash Web Gallery Loader Background

    Greetings all,
    I am placing a LR Flash Web Gallery in an inline frame of an html page. The page background is 75% Gray.
    When the page is displayed, the loader swf appears to have a white background, causing an annoying white flash on the page until the slideshow loads.
    Once the slideshow loads, the page looks fine.
    I've played with the .xml files, but haven't found a tag that affects that background yet. Anybody experience the same problem?
    Many thanks for your help,
    Jeff

    Hi John,
    Thanks for the info and the link...
    I read your blog and instead of using an inline frame, embedded the sideshow directly in my page.
    Works fine, except now I have to "click to activate control" (Windows curse), which apparently was overridden by a script in LR's generated index.html page.
    However, thanks to your suggestions, I used my own overide scripts and embedded the page anyway. A much more elegant solution.
    Great blog and thanks for the inspiration.
    Best regards,
    Jeff

  • XI PDF file displays flash images as  'Loading Data Please Wait'

    I'm trying to 'Convert Web Page to Adobe PDF'
    The web page I'm trying to convert contains Adobe Flash images.
    The PDF file is created, but when I open the resulting file instead of seeing the flash images I get the following
    I am using a trial version of Adobe Acrobat XI Pro.

    The URL is on our intranet so won't be accessible. The url is
    http://hcdev.support.local:8080/apex/f?p=108:1:450638934290001::NO:::
    Adobe recognises the flash content when I right click on the flash content and select 'Save as PDF'
    When I open the resulting PDF file I can see the flash content has been captured.
    When I right click on the webpage containing the flash content and click on 'Convert webpage to Adobe PDF'
    When I open the resulting PDF file it recognises that there is flash content to display, but for some reason fails to display it.
    Adobe recognises the flash content and the way it is structured when I right click on the flash content, but Adobe is having problems either saving or displaying the content when I try to convert the whole page.

  • Flash Image Gallery Thumbnails

    Ok...
    So i built myself an image gallery where you could click a
    next button and the next image would be displayed. VERY simple. Now
    i have decided to make thumbnails. I have an xml file, and i want
    to automatically load each thumbnail onto the stage where i want
    it. If possible i want these thumbnails not to be a seperate image,
    but a scaled down version of the original. Also, i obviously want
    to be able to scroll, i dont care how (buttons or scrollbar etc.),
    the thubnails if there are too many thumbnails to fit.
    How would i go about doing something like this?
    Cheers

    BUMP!

  • LR4 Flash Web Gallery Color Problems

    The color space on the selected images appears to be changing when I use the Lightroom flash gallery in the web module of LR4.1. This stays the same when the gallery is uploaded. In previous version of LR I have seen color changes in the web module but they have been corrected (and correct) when the gallery is uploaded to the 'net.
    I have read that this was (previously) a problem with the flash gallery specifically becuase it was not colour magaded, but I understood that this had been corrected for LR4. As far as my use is concerned it's actually more problematic now than it has been previously.
    Can anyone offer a solution?
    Thanks for any suggestions.
    Stephen 

    I have windows 7 and monitor with a calibrated profile. LR4 flash gallery's displayed are color correct, but the same gallery displayed on a uncalibrated (wide gamut) monitor shows saturated colors. Check your color management in windows 7 if a profile is associated with your monitor. The best color managed web browser for windows is safari for windows next is firefox see also this website http://www.gballard.net/psd/go_live_page_profile/embeddedJPEGprofiles.html

  • How to add a loader to an image gallery loading content using only actionscript

    hi i am loading all thumbs and  images in a container on a single frame using action script..but the  size of the swf becomes 1.2 mb so i want to add a loader to it...the  loader i am trying to add counts the frames but my file has just one  frame so the loader doesnot show up..
    here is the script of my  gallery..and the timeline has just one frame...
    import mx.transitions.Tween;
    import  mx.transitions.easing.*;
    this.createEmptyMovieClip("container",1);
    var  imagesNumber:Number = 18;
    var scrolling:Boolean = true;
    for (i=1;  i<=imagesNumber; i++) {
    container.attachMovie("thumb"+i,"thumb"+i+"_mc",i);
    myThumb_mc  = container["thumb"+i+"_mc"];
    if (i==1)
        myThumb_mc._x =  (0.0)*myThumb_mc._width;
    else
        myThumb_mc._x =  ((1.2*i)-1.2)*myThumb_mc._width;
    myThumb_mc._y =  (Stage.height-myThumb_mc._height)/2;
    myThumb_mc._alpha = 100;
    myThumb_mc.largerImage  = i;
    myThumb_mc.onRollOver = function() {
    this._alpha = 60;
    myThumb_mc.onRollOut  = function() {
    this._alpha = 100;
    myThumb_mc.onRelease =  function() {
    this._alpha=100;
    for (i=1; i<=imagesNumber; i++) {
    var  myClip = container["thumb"+i+"_mc"];
    myClip.enabled = false;
    scrolling  = false;
    _root.attachMovie("image"+this.largerImage,"large_mc",2);
    large_mc._x  = (Stage.width-large_mc._width)/2;
    large_mc._y =  (Stage.height-large_mc._height)/2;
    new Tween(large_mc, "_alpha",  Strong.easeOut, 0, 100, 0.5, true);
    new  Tween(container,"_alpha",Strong.easeOut,100,50,0.5,true);
    large_mc.onRelease  = function() {
    scrolling = true;
    var myFadeOut = new  Tween(large_mc, "_alpha", Strong.easeOut, 100, 0, 0.5, true);
    new  Tween(container,"_alpha",Strong.easeOut,50,100,0.5,true);
    myFadeOut.onMotionFinished  = function() {
    for (i=1; i<=imagesNumber; i++) {
    var myClip =  container["thumb"+i+"_mc"];
    myClip.enabled = true;
    large_mc.removeMovieClip();
    container.onEnterFrame  = function() {
    if (scrolling){
    this._x +=  Math.cos((-_root._xmouse/Stage.width)*Math.PI)*20;
    if (this._x>0) {
    this._x  = 0;
    if (-this._x>(this._width-Stage.width)) {
    this._x =  -(this._width-Stage.width);
    anyone knows how to add a loadre to this...?
    thanks..

    Check these links for tutorials on loading images
    http://www.kirupa.com/developer/flashcs3/loading_image_as3_pg1.htm
    http://tutorials.flashmymind.com/2009/02/loading-multiple-images/

  • Flash photo gallery - loading first movie - action script

    Hi,
    I have a movie gallery (they are basically images with a fading effect), and I got it setup, and working, but I cannot get right the action script to make the first movie load when the page opens. The only thing I get to see is the scroll bar with the thumbnails, and after I click on the images I can see the full size. I would like the full size image of the first thumbnail to show up as default when the page opens. And then, if you click on the thumbnails the other images will appear. This is my link:
    http://www.mauriciolopez.info/paintings/
    This is the action script for a typical Thumbnail (setup as a button):
    on (release) {
    loadMovie("clip0.swf", "_root.screen");
    I appreciate your help!!!!
    Thanks!!!!

    Rob, thanks for your answer. I do have a movieClip, at the root level. All my other movies load when I click the thumbnails. For some reason I'm not able to make a video appear before clicking on the thumbnails. I'd like to open the gallery and see the first video full size (automatically), before even clicking the thumbnails. Then, when you scroll and enlarge the other ones, they will replace the default one. I haven't been able to make it do this, and it's driving me crazy....
    Thanks again for your help.

  • Image gallery widget problems

    First of all, I'm pretty new to coding and using CS4 on my Mac. I'm trying to create a simple lightbox gallery. I'm using the Adobe Widget Browser and downloaded Lightbox Gallery Widget. I had to copy/paste all of the coding because for some reason dragging/dropping didn’t work. All of my thumbnails look good, but when I view in Live mode or in a browser, the large image does not appear. All of my images are in the correct folder and linked, but I'm thinking there's a problem with the 'next', 'prev', etc images.  I’m sure it’s something simple I’m missing, but I’m at my wits end. I’ve used the Markup Validation Service and it checks out ok. Here is my site:
    http://www.turtlecell.com/index.html
    I’d appreciate any assistance! Thank you!
    Holly

    Having a similar issue - I had taken some iphoto galleries off my mobile me gallery page but they were still linked to pages published in iWeb.
    When I realized this I opened iWeb and took the gallery widgets out.
    Then went into iPhoto and republished the galleries to mobile me, then back to iWeb and they still showed blank (like the two didn't know about eachother - name of the gallery is still showing in iWeb, but no longer displays photos).
    Next try - delete the widget from iWeb page, delete the mobile me published gallery from iPhoto, setup a new (different name and all) published gallery in iPhoto - works, gallery page in mobile me works, back to iWeb and insert widget menu and the old galleries are still listed, no new galleries are showing up in iWeb now - great.
    So, trying the tricks of shutting down iPhoto, iWeb, logging out of mobile me account in system preferences as well as via safari on me.com - then log back into every thing and start up iWeb again - still no new iPhoto published mobile me galleries showing in the iWeb insert-widget-mobile me menu.
    Any help? Looking for a refresh in iWeb!?

  • WebVPN flash based website loading problem

    We are using Cisco ASA WebVPN, ASA version 8.2(2).
    Problem: Flash driven website is not loading especially for MAC users.
    Same website accessible from Windows based machines.
    Initially user logins to WebVPN and 2 bookmarked links for same website.
    frist website for Windows users and other is for MAC users
    Only difference is Windoes users bookmark is configured with Smarttunnel and MAC is not.
    Website does open for MAC user, but it's just not loading the content (flash contents)
    Could someprovide inputs to resolve this problem.
    Thanks in advance.

    That was a waste of a couple hours.... The reason it was not redering is because I had a glow filter effect on a parent
    displayobject in the app... Really weird, cause html stuff would load, but flash would not show up.

  • Flash Catalyst's loading problem

    Hello.
    I also have a problem when I try to open a project which I've designed in beta 2 version to FC CS5 released version. I see an error message says " Flash Catalyst encountered a serious and is unable to open this project." and I don't know what to do next.
    I've searched forum to find a similar issue, and found out that "Bear" could do something to fix it.
    "Bear" or anyone who can fix this problem.. please give me help. I can email with .FXP file attached.
    Thanks

    Thank you Bear.
    I just send you an email with my project attached on it.
    I really hope that you can find out what's wrong with it.
    I'll be waiting.
    Thank you.
    FW

  • Flash Image gallery (film strip)

    HI there,
    I recently came across a webpage that had a film strip
    slideshow at the top of the homepage... Does anyone know what this
    is called or knows of a script that does something similar? Ive
    been looking for three weeks now but I can not find one.
    Thanks!
    Matt

    Do you have a reference that can make clear what you
    mean?

Maybe you are looking for

  • Decimal Places are not Permitted for Chile Country

    Hi All, In OVA8 settings for Chile country at the field max.doc value, i am not able to use the decimals. getting error message as Decimlas are not permitted (Message no - 00011). checked OY04 - there is no decimals for Chile currency. checked - OY01

  • M1522 nf scanner is not working for windows 8.1

    till windows 7 scanner & printer is working. windows 8.1 scanner is not working. i tried all the softwares in page http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?sp4ts.oid=3442754&spf_p... please update your softwares th

  • Smartforms, Picture or Grafic from Content Server

    Hello, I need to create a smartforms where I must display a picture or grafic. This picture is at a content server and the picture depends on a material nr. How can I display such a picture in Smartforms and how can I get this picture from the conten

  • Dynamic Field in Swing

    hi friends I have a JCombobox having 3 items and a JList. Now suppose some one selects the first item from the combobox say Item1 then according to that item the contents of list should be displayed and if he selects Item2 then according to that item

  • Siebel Change Capture for S_PRSP_CONTACT

    Hi All, We have BI Apps 7.9.6.1 with Siebel as our OLTP system. The problem we are facing currently is the change capture task for 1 table viz., S_PRSP_CONTACT which is a huge partitioned table takes very long time for us. The following is the Insert