Xml flash slideshow

I have this code, it works, but I only get one text field for
description when clicking on a thumbnail. I need 3 textfields on
top the name, then the description, and on bottom a text field for
a number. How can I add thos other two? I tried and it kind of
worked but it became a mess, cause the code counts the number of
images, so when I add more childnodes for the name and number it
messes up. HEre's the code:
all design and code copyright (c) www.lukamaras.com
/* -------------------- setting the variables
var menuSpeed:Number = 6;
var menuDown:Button = menuDown_btn;
var menuUp:Button = menuUp_btn;
menuUp._alpha = 0;
menuUp.enabled = false;
var firstLook:Boolean = true;
var menuButtons:MovieClip = galleryMenu_mc.buttonsHolder_mc;
var galleryMask:MovieClip = galleryMenu_mc.galleryMask_mc;
galleryMask._height = 391;
var imagesHolder:MovieClip = imagesHolder_mc;
var descText:TextField = desc_txt;
var imagesInGallery:Array = new Array();
var galleryNames:Array = new Array();
var galleryIntros:Array = new Array();
var descriptions:Array = new Array();
var tracker:Number = new Number();
var whatIsLoading:String = new String();
var galleryBtnLeftMargin:Number = 10;
var galleryBtnUpperMargin:Number = 60;
var galleryBtnVSpace:Number = 23;
var thumbMarginX:Number = 96;
var thumbMarginY:Number = 68;
/* -------------------- Aligning and positioning
imagesHolder_mc, the logo and the description text field
imagesHolder._x = 243;
imagesHolder._y = galleryBtnUpperMargin;
logo_mc._x = logo_mc._y=galleryBtnLeftMargin;
desc_txt._x = 243;
desc_txt._y = 400;
/* -------------------- The welcome text --------------------
descText.text = "Click on a gallery name on the left to load
its thumbnails. Remember, you can click on a thumbnail only when
all the thumbnails in a gallery have been loaded. When you click on
a thumbnail to see the big image, clicking on the big image will
close it and you will return to the gallery. Use the button(s)
above the galleries to scroll through them.";
/* -------------------- Importing and defining the DropShadow
filter -------------------- */
import flash.filters.DropShadowFilter;
var shadowEffect:DropShadowFilter = new DropShadowFilter(3,
45, 0x000000, 100, 3, 3, 1, 3);
var thumbsFilter:Array = [shadowEffect];
/* -------------------- MovieClipLoader & Listener
var loader:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
loader.addListener(myListener);
myListener.onLoadInit = function(target:MovieClip) {
if (whatIsLoading == "thumb") {
currentThumbnail.percent_txt._visible = false;
currentThumbnail.filters = thumbsFilter;
thumbClickable();
tracker++;
if (tracker<howManyImages) {
loadThumbnail();
} else {
enableThumbs();
} else if (whatIsLoading == "big") {
target._alpha = 0;
displayBigImage.percent_txt._visible = false;
displayBigImage.filters = thumbsFilter;
bigClickable();
fadeIn();
myListener.onLoadProgress = function(target:MovieClip,
loaded:Number, total:Number) {
percent = Math.floor(loaded/total*100);
if (whatIsLoading == "thumb") {
currentThumbnail.percent_txt._visible = true;
currentThumbnail.percent_txt.text = percent+"%";
} else if (whatIsLoading == "big") {
displayBigImage.percent_txt._visible = true;
displayBigImage.percent_txt.text = percent+"%";
/* -------------------- loading XML -------------------- */
var imageGallery:XML = new XML();
imageGallery.ignoreWhite = true;
imageGallery.onLoad = function(success) {
if (success) {
parseGalleries();
} else {
descText.text = "Sorry the image data just didn't load.";
imageGallery.load("gallery/gallery.xml");
/* -------------------- parsing XML -------------------- */
function parseGalleries():Void {
if (imageGallery.firstChild.nodeName == "galleries") {
var rootNode:XMLNode = imageGallery.firstChild;
for (i=0; i<rootNode.childNodes.length; i++) {
if (rootNode.childNodes
.nodeName == "gallery") {
currentGallery = rootNode.childNodes;
imagesInGallery.push(currentGallery.childNodes.length);
galleryNames.push(currentGallery.attributes.title);
galleryIntros.push(currentGallery.attributes.intro);
currentGalleryTitle = rootNode.childNodes
.attributes.title;
currentGalleryButton =
galleryMenu_mc.buttonsHolder_mc.attachMovie("gallery section
button", "galleryButton"+i,
galleryMenu_mc.buttonsHolder_mc.getNextHighestDepth());
currentGalleryButton._x = 0;
currentGalleryButton._y = galleryBtnVSpace*i;
currentGalleryButton.sectionTitle_txt.text = "0"+(i+1)+"
"+currentGalleryTitle.toUpperCase();
for (j=0; j<currentGallery.childNodes.length; j++) {
if (currentGallery.childNodes[j].nodeName == "image") {
currentDescription =
currentGallery.childNodes[j].firstChild.toString();
descriptions.push(currentDescription);
numberOfGalleries = i;
enableButtons(numberOfGalleries);
function enableButtons(numberOfGalleries:Number):Void {
for (i=0; i<numberOfGalleries; i++) {
pressedButton =
galleryMenu_mc.buttonsHolder_mc["galleryButton"+i];
pressedButton.onRollOver = function():Void {
this.gotoAndStop(2);
pressedButton.onRollOut = function():Void {
this.gotoAndStop(1);
pressedButton.onPress = function():Void {
removeMovieClip(thumbsDisplayer);
removeMovieClip(displayBigImage);
tracker = 0;
thumbsDisplayer =
imagesHolder.createEmptyMovieClip("thumbsDisplayer_mc",
imagesHolder.getNextHighestDepth());
clickedGallery = Number(this._name.substr(13));
howManyImages = imagesInGallery[clickedGallery];
whichGallery = galleryNames[clickedGallery];
descText.text = galleryIntros[clickedGallery];
currentRow = 0;
currentColumn = 0;
loadThumbnail();
enableGalleryNavigation();
function loadThumbnail() {
currentThumbnail = thumbsDisplayer.attachMovie("thumbnail
holder", "thumbnail"+(tracker+1),
thumbsDisplayer.getNextHighestDepth());
target = currentThumbnail.thumbImage_mc;
if ((tracker%5) == 0 && tracker != 0) {
currentRow += 1;
if (currentColumn>3) {
currentColumn = 0;
} else if (tracker == 0) {
currentColumn = 0;
} else {
currentColumn += 1;
currentThumbnail._x = currentColumn*thumbMarginX;
currentThumbnail._y = currentRow*thumbMarginY;
currentThumbnail.percent_txt._visible = true;
thumbNumber = currentThumbnail._name.substr(9);
thumbPath =
"gallery/"+whichGallery+"/thumbs/"+thumbNumber+".jpg";
whatIsLoading = "thumb";
loader.loadClip(thumbPath, target);
function thumbClickable():Void {
currentThumbnail.onPress = function() {
bigNumber = this._name.substr(9);
displayBigImage = imagesHolder.attachMovie("big image
holder", "bigImage_mc", imagesHolder.getNextHighestDepth());
target = displayBigImage.imageHolder_mc;
bigImagePath = "gallery/"+whichGallery+"/"+bigNumber+".jpg";
whatIsLoading = "big";
disableThumbs();
loader.loadClip(bigImagePath, target);
if (clickedGallery>0) {
var descPosition:Number = 0;
for (i=0; i<clickedGallery; i++) {
descPosition += imagesInGallery;
descPosition = descPosition+Number(bigNumber)-1;
imageDesc = descriptions[descPosition];
} else {
imageDesc = descriptions[Number(bigNumber)-1];
descText.text = imageDesc;
currentThumbnail.enabled = false;
function disableThumbs():Void {
for (i=0; i<howManyImages; i++) {
thumbsDisplayer["thumbnail"+(i+1)].enabled = false;
function enableThumbs():Void {
for (i=0; i<howManyImages; i++) {
thumbsDisplayer["thumbnail"+(i+1)].enabled = true;
function bigClickable():Void {
displayBigImage.onPress = function() {
removeMovieClip(this);
enableThumbs();
descText.text = galleryIntros[clickedGallery];
function fadeIn():Void {
target.onEnterFrame = function():Void {
this._alpha += 10;
if (this._alpha>=100) {
delete this.onEnterFrame;
this._alpha = 100;
function enableGalleryNavigation():Void {
menuDown.onPress = function() {
if (firstLook) {
menuUp._alpha = 100;
menuUp.enabled = true;
firstLook = false;
var menuTop:Number =
menuButtons._height-Math.abs(menuButtons._y);
if (menuButtons._y<=0 &&
menuTop>=galleryMask._height) {
var targetPos:Number = menuButtons._y-galleryMask._height;
menuDown.enabled = false;
menuUp.enabled = false;
menuButtons.onEnterFrame = function():Void {
menuButtons._y += (targetPos-menuButtons._y)/menuSpeed;
if (menuButtons._y<=(targetPos+0.8)) {
menuButtons._y = Math.round(targetPos);
delete menuButtons.onEnterFrame;
menuDown.enabled = true;
menuUp.enabled = true;
menuUp.onPress = function() {
var menuTop:Number =
menuButtons._height-Math.abs(menuButtons._y);
if (menuButtons._y<0 && menuTop>0) {
var targetPos:Number = menuButtons._y+galleryMask._height;
menuDown.enabled = false;
menuUp.enabled = false;
menuButtons.onEnterFrame = function():Void {
menuButtons._y += (-menuButtons._y+targetPos)/menuSpeed;
if (menuButtons._y>=(targetPos-0.8)) {
menuButtons._y = Math.round(targetPos);
delete menuButtons.onEnterFrame;
menuDown.enabled = true;
menuUp.enabled = true;

Hi. Although a very, very late reply, I was also rather
concerned about the documentation. There are some pdf files
relating to version 3, which might me of some use. Apparently,
there is going to be a comprehensive printed manual with the next
version, I am told...

Similar Messages

  • Looking to Download Leopard Patch File for XML Flash Slideshow Maker?

    Hi I was told that I have to download and install the Leopard
    patch for the extension XML Flash Slideshow to work properly with
    its style wizard (it isnt loading at the moment). I cant seem to
    find it. Is there a source where I can download it.

    atomic king wrote:
    > Hi I was told that I have to download and install the
    Leopard patch for the
    > extension XML Flash Slideshow to work properly with its
    style wizard (it isnt
    > loading at the moment). I cant seem to find it. Is there
    a source where I can
    > download it.
    Is the patch you're talking about for Leopard itself, or for
    the extension? If the patch is for Leopard, I'd assume that You'd
    have to get it from Apple, but I don't know where to look for that.
    If the patch is for the extension, then you probably need to go to
    the developer's site to see if the patch is posted there, or
    contact the developer directly to see where this patch may be if
    indeed it is necessary.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Leopard Patch for XML Flash Slideshow please?

    Hi all. I've been searching for hours on end trying to find a patch for the Leopard OS for the XML Flash Slideshow v3 extension (to add an image slideshow) from dwuser.com. The support area of that site leaves much to be desired, but I've read elsewhere that I need "the Leopard patch". Can anyone point me in the right direction to get the appropriate patch, please? Form submissions to dwuser.com have gone unanswered to date. Thank you in advance.....

    Monk Fan wrote:
    Wow! Did you ever get an answer? I'm going through this right now. The GUI on v3 doesn't display correctly on Snow Leopard with Dreamweaver CS4, so I can't do any advanced editing.
    reply to [email protected]
    Because this product is not developed by Adobe your best bet is to contact the original developer.

  • Help with xml flash slideshow

    hi,
    i have made a sildeshow in flash which loads the pictures
    from an xml file and between the transition, it shows a preload
    bar. i have attached the code. my problem is that on local machine
    it is working absolutely fine but when i upload it on the server
    and call it as an external movieclip, it hangs ie., the 1st picture
    is not replaced by another. but when i refresh the page, then it
    shows 2nd picture but again hangs. and it goes on like that. could
    you please help. i am exporting the swf for player 6. its a code
    from kirupa.com tutorial.
    thanks,
    gaurav
    code :::

    "gaurav_ch" <[email protected]> wrote in
    message news:e2k8ge$gus$[email protected]..
    > hi,
    >
    > i have made a sildeshow in flash which loads the
    pictures from an xml file and
    > between the transition, it shows a preload bar. i have
    attached the code. my
    > problem is that on local machine it is working
    absolutely fine but when i
    > upload it on the server and call it as an external
    movieclip, it hangs ie., the
    > 1st picture is not replaced by another. but when i
    refresh the page, then it
    > shows 2nd picture but again hangs. and it goes on like
    that. could you please
    > help. i am exporting the swf for player 6. its a code
    from kirupa.com tutorial.
    >
    > thanks,
    >
    > gaurav
    Better to ask this on the actionscript forum. Also, include
    the structure of the whole thing.. the main swf, folders (if any),
    how
    you are loading the 2nd clip into the main swf like into a
    level, or movieclip etc. Also post a link to the swf files on your
    website. If you do these things I am sure someone can help
    you with it.
    tralfaz

  • XML flash Slideshow Addon / pics not loading

    Unfortunately, when I get to the Layout/Styles option of the
    integrated flash sideshow wizard where it gives me 4 options I cant
    get any further. If I click one of them to choose between the
    templates, nothing happens the page doesnt move ahead. Also I
    don’t have fireworks so what should i do to get all the
    thumbs (do I have to add all of them manually). You can see the
    page I created on
    http://theoldfort.com/template.htm.
    As you can see the pictures are not displaying. I would be happy
    for any assistance.

    "gaurav_ch" <[email protected]> wrote in
    message news:e2k8ge$gus$[email protected]..
    > hi,
    >
    > i have made a sildeshow in flash which loads the
    pictures from an xml file and
    > between the transition, it shows a preload bar. i have
    attached the code. my
    > problem is that on local machine it is working
    absolutely fine but when i
    > upload it on the server and call it as an external
    movieclip, it hangs ie., the
    > 1st picture is not replaced by another. but when i
    refresh the page, then it
    > shows 2nd picture but again hangs. and it goes on like
    that. could you please
    > help. i am exporting the swf for player 6. its a code
    from kirupa.com tutorial.
    >
    > thanks,
    >
    > gaurav
    Better to ask this on the actionscript forum. Also, include
    the structure of the whole thing.. the main swf, folders (if any),
    how
    you are loading the 2nd clip into the main swf like into a
    level, or movieclip etc. Also post a link to the swf files on your
    website. If you do these things I am sure someone can help
    you with it.
    tralfaz

  • Xml feed slideshow pasing variables to detail  page .... confusion ... Help Needed

    Hi there Everyone
    hi Gunter
    I aam having some problems...... yet again.....
    I did have this all working but now I cannot get it to work .... driving me crazy
    A few months ago I had a post on this forum to help me pass a variable from my list page to a detail page that contains an XML flash slideshow that gets, loads, feeds, its image info from a separate 'getpi.php' page that contains the xml info to feed the slideshow
    i still have my other site (still not finished) working with an art gallery that is still working fine ....the same as what I want now but I cannot copy the way I did it to my new site... very frustrating
    Now I have been trying to do exactly the same thing again but I cannot get it to work no matter how hard I try ...(more than 10 solid hours..really)
    i will start the same as before and explain what I have and what I cant get to work....
    For a start I am making a site with a lot of users with a list user and detail user pages ..... and on the detail pages I would like a slideshow that feeds form another page my 'getpic.php' page ( feed more pictures from the users... five extra pictures to be displayed in a slide show )
    I have my listusers.php page working well ... it lists my users and passes a URL variable to the detail page ..... the url variable is 'id_usr'
    I have my userdetail.php page working well.... it displays all the correct pictures from the correct users ..... I have inserted 6 different images... a main picture and all the 5 pics that need to be in the slide show..... (using show image behavior)
    (so I know that the detail page is recieving all the correct pics)
    I have the record set on my detail page set to filter by
    id_usr url varriable = id_usr
    Is that correct? .... i think it is .. . just want to be sure
    now I also have a getpic.php page (that feeds the slideshow)
    I also have a testslideshow.php page that has a slide show inserted in it and that has a recordset that is not filtered by anything .....
    When I test the testslideshow.php page it works ... It uses the getpic.php page to retrieve the pics for the slideshow and it works 100%
    So I am pretty sure the get pic page works too......
    Now it gets difficult for me .......
    The last time I asked about doing this You (Gunter)gave me some code to past at the top of me userdetail.php page and my getpic.php page....
    now I cannot get it to work at all
    First the getpic.php page.....
    The first bit of code to be put at the top of the getpic.php page is
    to be put at line 1
    (this is the same as before and still works fine on my other site)
    and I have set the record set on the getpic.php page to filter by
    id_usr session variable = session_id_usr (I have tried id_usr too)
    Does that all sound correct?
    Now my detail page
    You (Gunter)wrote me some code to stick at the top of my detail page ....
    Now I have modified this code to use my new variable 'id_usr'
    Does that sound correct?
    The recordset on my userdetail.php page is filtered by url variable id_usr
    And i have also tried to filter the recordset by session variabl = session_id_usr ( and just id_usr )
    I am REALLY lost
    I have tried every possible combination of this and I cannot get it to work I haad it working before and I cannot get it to work now .... which makes me feel even worse .......
    Could you please look at all this and tell me if ..... or what I am doing wrong .........
    I am really sorry for brining up the same topic i

    Hi there Everyone
    hi Gunter
    I aam having some problems...... yet again.....
    I did have this all working but now I cannot get it to work .... driving me crazy
    A few months ago I had a post on this forum to help me pass a variable from my list page to a detail page that contains an XML flash slideshow that gets, loads, feeds, its image info from a separate 'getpi.php' page that contains the xml info to feed the slideshow
    i still have my other site (still not finished) working with an art gallery that is still working fine ....the same as what I want now but I cannot copy the way I did it to my new site... very frustrating
    Now I have been trying to do exactly the same thing again but I cannot get it to work no matter how hard I try ...(more than 10 solid hours..really)
    i will start the same as before and explain what I have and what I cant get to work....
    For a start I am making a site with a lot of users with a list user and detail user pages ..... and on the detail pages I would like a slideshow that feeds form another page my 'getpic.php' page ( feed more pictures from the users... five extra pictures to be displayed in a slide show )
    I have my listusers.php page working well ... it lists my users and passes a URL variable to the detail page ..... the url variable is 'id_usr'
    I have my userdetail.php page working well.... it displays all the correct pictures from the correct users ..... I have inserted 6 different images... a main picture and all the 5 pics that need to be in the slide show..... (using show image behavior)
    (so I know that the detail page is recieving all the correct pics)
    I have the record set on my detail page set to filter by
    id_usr url varriable = id_usr
    Is that correct? .... i think it is .. . just want to be sure
    now I also have a getpic.php page (that feeds the slideshow)
    I also have a testslideshow.php page that has a slide show inserted in it and that has a recordset that is not filtered by anything .....
    When I test the testslideshow.php page it works ... It uses the getpic.php page to retrieve the pics for the slideshow and it works 100%
    So I am pretty sure the get pic page works too......
    Now it gets difficult for me .......
    The last time I asked about doing this You (Gunter)gave me some code to past at the top of me userdetail.php page and my getpic.php page....
    now I cannot get it to work at all
    First the getpic.php page.....
    The first bit of code to be put at the top of the getpic.php page is
    to be put at line 1
    (this is the same as before and still works fine on my other site)
    and I have set the record set on the getpic.php page to filter by
    id_usr session variable = session_id_usr (I have tried id_usr too)
    Does that all sound correct?
    Now my detail page
    You (Gunter)wrote me some code to stick at the top of my detail page ....
    Now I have modified this code to use my new variable 'id_usr'
    Does that sound correct?
    The recordset on my userdetail.php page is filtered by url variable id_usr
    And i have also tried to filter the recordset by session variabl = session_id_usr ( and just id_usr )
    I am REALLY lost
    I have tried every possible combination of this and I cannot get it to work I haad it working before and I cannot get it to work now .... which makes me feel even worse .......
    Could you please look at all this and tell me if ..... or what I am doing wrong .........
    I am really sorry for brining up the same topic i

  • Build a web gallery with amazing flash slideshows with dynamic XML files

    Build a web gallery with amazing flash slideshows with dynamic XML files
    Screenshot:
    Features
    Features
    Transitions, zooming and panning effect You can  choose from  Random, Wipe from Left, Fade to White, Cross Expansion and  other 60-plus  transition effects. Zooming and panning effect is  optional for advanced flash  templates.
    XML-driven This flash slideshow are XML-driven. The XML  document allows more personalized controls over the flash.
    Auto-playback and repeat mode The flash slideshow will play  automatically after preloading, and it can repeat playback.
    Dynamic customization Besides XML control, the  advanced  templates provide many more custom options, so that you can  create slideshow  that fits into your existing web design: width ,  height, border color,  background color, thumbnail size, etc. More about  dynamic customization
    Usage and demo visit: http://webdesigndevelopment.blog.com...swf-xml-files/

    Please excuse the bump...
    Anyone with a LR flash gallery that starts with slideshow in play mode?
    Can it even be set to do this?
    The only code in the style.xml that looks like it might be realted is line 12 <playOptions playMode="pause"/>, changing that to "play" does nothing.
    Thanks,
    Donnie

  • Communication problem MYSQL PHP XML Flash.

    I have driven myself into a corner with this so I hope someone here knows a solution.
    I am building a photogallery with a simple html layout but with a flash slideshow.
    The data for each album and photo are stored in a mysql database. Each photo-image is in one big folder on the server. With PHP I sort out which photo belongs to what album and display them accordingly. To start the slideshow people can click on a link near the album, this link will send a < href> with the album ID to an PHP file (xml.php) that will generated an XML output created from the MYSQL server. Here comes my problem:
    Loading XML into flash is no problem BUT I only know how to do this with a static or self supporting XML output. (xml.php needs the input of the album ID else it will not get the correct data). For now I have a temporary solution where I write the XML output from xml.php to a txt file and let Flash read from there, but is there a way where I can read directly from xml.php?

    Echo your formatted xml out as a string in xml.php, Flash will then read your dynamically generated XML.

  • Embed Flash slideshow -- which of these ways is best?

    Hi,
    I am using SlideShowPro with Lightroom to make Flash slideshows.  The SlideShowPro documentation suggests two different ways to embed the show into HTML pages (see below).  I am too much of a novice at this to understand the difference between the two methods.
    I am curious whether those of you here who do understand the difference can comment on whether one method provides any advantages or disadvantages over the other or whether they both accomplish the same thing equally well.
    Many thanks!
    John
    METHOD 1:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="770" height="566" hspace="0" vspace="0" align="top" id="FlashID">
            <param name="movie" value="../flash/home/loader.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
            <param name="base" value="." />
            <param name="allowFullScreen" value="true" />
            <param name="BGCOLOR" value="#c4c0b4" />
            <param name="SCALE" value="noborder" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object data="../flash/home/loader.swf" type="application/x-shockwave-flash" width="770" height="566" hspace="0" vspace="0" align="top">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="9.0.45.0" />
              <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
              <param name="base" value="." />
              <param name="allowFullScreen" value="true" />
              <param name="BGCOLOR" value="#c4c0b4" />
              <param name="SCALE" value="noborder" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
    METHOD 2:
    <script type="text/javascript" src="http://johnblaustein.com/portfolio/flash/home/js/swfobject.js"></script> language="javascript">
    var flashvars = {
    paramXMLPath: "param.xml",
    initialURL: escape(document.location)
    var params = {
        base: ".",
    bgcolor: "#c4c0b4",
    allowfullscreen: "true"
    var attributes = {}
    swfobject.embedSWF("http://johnblaustein.com/portfolio/flash/home/loader.swf", "flashcontent", "770", "566", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
    </script>
    <script
    <div id="flashcontent">
       <!-- Insert non-Flash player code here -->
    </div> </td>

    Hi Hans,
    Sorry.... I should have done that in my original post.
    Test pages using both methods:
    METHOD 1:
    http://www.johnblaustein.com/portfolio/pages_not_used/home_embed_test.html
    METHOD 2:
    http://www.johnblaustein.com/portfolio/pages_not_used/home_embed_test_bob_method.html
    It may be that both are equally good, but since they are different and I don't understand the differences, I thought I'd ask.
    John

  • XML flash Menu

    Hello Guys,
    I am stuck with a xml flash menu which contains quite a few great options to manipulate the text, url, button and even change the color to the menu externally from xml. The only thing missing here (which I massively need it) is the option resizing the buttons from the xml file itself. The buttons need to be resized so that they fit each text length. I have the feeling that someone that is good at XML and deal with ActionScript would be able to easily add this option.
    Thanks for commiting your time on this and I would be happy to help anyone in return who tackles this requirement I am after now.
    Please download the file attached and you can own it as well.
    Looking forward to hearing from you soon.
    Respectfully yours,
    Beko

    Ok, here we go:
    ACTION SCRIPT CODE:
    _parent._visible = false;
    // xml processing
    menu_cfg_xml = new XML();
    menu_cfg_xml.load(String(_url.slice(0, (_url.length-3)))+"xml");
    menu_cfg_xml.ignoreWhite = 1;
    menu_cfg_xml.onLoad = function(ok) {
        // create main menu after successful loading of XML
        if (ok) {
            create_menu();
        } else {
            trace("XML not loaded");
    counter = 1;
    function create_menu() {
        while (counter<menu_cfg_xml.firstChild.childNodes.length) {
            attachMovie("button_type", "btn"+counter, counter);
            set("btn"+counter+"._x", counter*80-100);
            btn1._y = 0;
            // set the buttons text
            set("btn"+counter+".the_text", menu_cfg_xml.firstChild.childNodes[counter].attributes.text);
            set("btn"+counter+".the_url", menu_cfg_xml.firstChild.childNodes[counter].attributes.url);
            set("btn"+counter+".the_target", menu_cfg_xml.firstChild.childNodes[counter].attributes.target);
            this["btn"+counter].onRollOver = this["btn"+counter].onDragOver=function () {
                this.effect.gotoAndPlay(2);
                this.textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color2;
            this["btn"+counter].onRollOut = this["btn"+counter].onDragOut=function () {
                this.textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color1;
                this.effect.gotoAndPlay(9);
            this["btn"+counter].onRelease = function() {
                if (this.the_url != undefined and this.the_url != "") {
                    getURL(this.the_url, this.the_target);
            //set buttons color
            this["button_color"+counter] = new Color("btn"+counter+".btn_color");
            this["button_color"+counter].setRGB("0x"+menu_cfg_xml.firstChild.childNodes[0].attributes .button_color);
            //set button effect color
            this["effect_color"+counter] = new Color("btn"+counter+".effect");
            this["effect_color"+counter].setRGB("0x"+menu_cfg_xml.firstChild.childNodes[0].attributes .effect_color);
            //set button text color
            this["btn"+counter].textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color1;
            counter++;
        _parent._visible = true;
        info_clip._visible = false;
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    XML CODE:
    <?xml version="1.0" encoding= "UTF-8" ?>
    <!-- Menu created by www.adrianTNT.com -->
    <menu>
    <options button_color="000066" effect_color="87A10C" text_color1="87A10C" text_color2="FFFFFF">
    </options>
    <button text="Task force" url="http://www.google.com" target="_parent">width="250" height="136"</button>
    <button text="Service og turisme" url="http://www.google.com" target="_parent"></button>
    <button text="Fodbold" url="http://www.google.com" target="_parent"></button>
    <button text="Idraet" url="http://www.google.com" target="_parent"></button>
    <button text="Kunst and Design" url="http://www.google.com" target="_parent"></button>
    <button text="Teknisk/praktisk linje" url="http://www.google.com" target="_parent"></button>
    <button text="Gastronomi" url="http://www.google.com" target="_parent"></button>
    <button text="Laekker mad" url="http://www.google.com" target="_parent"></button>
    <button text="Musik" url="http://www.google.com" target="_parent"></button>
    <button text="Turbo-boglig" url="http://www.google.com" target="_parent"></button>
    </menu>

  • How can I get a Flash Slideshow to show in a browser?

    Running Mac Leopard, CS3. Created a simple Flash slideshow using the Modern Photo Slideshow Template. Placed into DW page as dynamic Flash element. Slideshow is 2 photos, and uses manual buttons only. When viewed in DW preview only the first frame shows and buttons don't work (when viewed in Flash preview, it works as expected). When viewed in browser, nothing shows (although the space is visible), unless I turn off Javascript in the browser; then the first frame shows but nothing else works.
    I've tried this with 4 different browsers and DW, and all work the same way. What am I missing? Any help appreciated.
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','<?php echo $row_rsDispatches2['Image']; ?>','width','450','height','350','src','photos/<?php echo $row_rsDispatches2['Image']; ?>','loop','false','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','play ','false','movie','photos/<?php echo $row_rsDispatches2['Image']; ?>' ); //end AC code
    </script><noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="<?php echo $row_rsDispatches2['Image']; ?>" width="450" height="350">
      <param name="movie" value="photos/<?php echo $row_rsDispatches2['Image']; ?>" />
      <param name="quality" value="high" /><param name="PLAY" value="false" /><param name="LOOP" value="false" />
      <embed src="photos/<?php echo $row_rsDispatches2['Image']; ?>" width="450" height="350" loop="false" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" play="false"></embed>
    </object>

    If turning off the javascript makes the file at least appear, then that part of the problem likely means the AC_RunActiveContent.js file is not where it needs to be (if it is not coded directly into the html page).  In the head of your html page should be some indication of where that file needs to be (if it is not coded into the head section directly).  Turning off javascript is forcing the <noscript> section to load the file.
    As for nothing working anyways when you view it in a web page, it may be because of the location of the file.  Your code indicates that the swf is located in a folder named photos.  If that swf loads the images dynamically from that same folder, then the problem arises when you load the swf into a file in a different folder.  Once the swf is planted into a file in a different folder, that folder becomes its frame of reference for loading content dynamically.  So if the swf originally loaded files using targets like...image1.jpg, image2.jpg, etc.... when it is placed into parent folder's file, it needs to target them as if it actually lives in that folder using... photos/image1.jpeg, photos/image2.jpg, etc...

  • Flash Slideshow Feature: Help?

    I am having trouble with Dreamweaver's Flash slideshow
    feature. All the Flash elements work properly (as I have set them)
    except the *imageLinks* and *imageLinkTarget* options. Regardless
    of what I enter (or leave blank) the resulting Flash show makes the
    images clickable with www.adobe.com being the linked site. I don't
    want any links on my slideshow but I cannot get rid of this feature
    even when my elements panel indicates no (or other settings).
    Help?

    I too have been having problems with the ImageViewer. I have
    posted a question in this forum about how changing the
    ImageUrlTarget actually does make clicks on the slide show image
    open a larger image, but not in a new window, even though this
    parameter has been set to "_blank".
    I believe the problems with the ImageViewer may be caused by
    how the in page Embedded Code and SWF relate. Specifically, it
    seems as if you need to re-do everything from scratch, then save
    the file/web page to get it to work. It seems like unless a new
    Flash Movie (SWF) is built, none of the changes stick. I have not
    been able to confirm this. I WISH A FORUM MODERATOR WOULD LOOK AT
    OUR POSTS. Thank you.

  • Can I make an image display instead of flash slideshow on explorer with high security?

    I am a total flash beginner.  I created a simple flash slideshow that I want to appear on my website.  It works fine in firefox., but when viewed in explorer with high security, nothing displays unless the viewer specifically allows it. The slideshow is very prominent, and the site looks very bad when only an x shows up.   Is it possible to have a static image display in place of the slideshow, and then have the slideshow start if the viewer allows it? Is there any other way to get around this? 
    Thank you for any assistance.
    EJ

    Have you tested it with IE online or only locally?  Locally IE will usually prohibit displaying Flash content.

  • Need help switching Flash slideshow

    I admit it, I need help!
    Here is my problem, I want the links on the left to change the Flash slideshow on the right when clicked.
    I want to stay on this page, so only the Flash slideshow changes.
    This is the site I'm working on.... http://www.hwas.com/A-events-page-3.htm#
    I am using CS4.
    HELP!

    Shouldn't matter what version ... that hasn't changed much and is done pretty much the same way as long as I can remember. Which seems to be getting shorter and shorter all the time. 
    Anyways, nice site though. Well done.
    Brad Lawryk
    Adobe Community Expert, Dreamweaver
    Adobe Usergroup Manager, Northern British Columbia Adobe User Group

  • Cannot open flash slideshows in any browser

    a friend cannot open flash slideshows on one of my webpages, he gets an error "progressive jpeg-unable to render" The images are not progressive jpegs.
    Same problem in Firefox or Safari.
    He has installed the latest flash player

    sorry, they've all work fine on macs and pcs, here's one: http://www.cochraneinc.com/photos%20pages/1292Jainephotos.html

Maybe you are looking for

  • How to use XSJS file path in Controller.js file

    Hi Experts, Regarding How to use XSJS file path in Controller.js file. I have gone through the SAP HANA Extended Application Services (Thomas Jung http://scn.sap.com/community/developer-center/hana/blog/2012/11/29/sap-hana-extended-application-servic

  • Installing Oracle Linux on external hard-disk or DVD

    Hi All, Is it possible to install Oracle Enterprise Linux on external hard-disk or DVD? I already have Windows 7 and want to install Oracle Enterprise Linux either in dual-boot mode or on external hard-disk/DVD. I want to install Oracle E-Business Su

  • PLEASE FIX the Color Swatches Window

    I am infuriated, crazed, insanely angry, that I cannot resize this window. This seemed like it was a problem through at least one iteration of Photoshop proper, and thankfully was either finally fixed, or I figured out how to use the interface differ

  • I have a "download error" message

    When I see if I have updates, I get a message on the Apps tab that says download error. What doi I do?

  • Artist name for compilation albums (No album for artist alone present)

    When I have a compilation album, fe Route 66 (including a song from Steppenwolf) and a Steppenwolf album (Steppenwolf : 16 greatest hits), i can see Steppenwolf in the 'artist view', and see the 2 albums. When an artist only appears on a compilation