Help with AS2 - photo gallery

Hi All
would someone beable to help me with some code, I downloaded a photo gallery example, at the moment the movie plays the photos when you click a button(timer)
What I'm trying to do is to get the movie to auto play the photos on load rather than having to click the button. I have been lookin in the scrip, I think its something to do with
// initialize values
  currentIndex = 0;
but when I change this value to 1, not much happens, would some be able to have a look within the code and see where I can change it so that the movie runs the images automatcally on load.
I have pasted the code below, hope this is ok?
many thanks for anyones help!
CODE:
// (c) Copyright by Andrew DiFiore. All rights reserved. DO NOT REMOVE.
fscommand("allowscale", "false");
Stage.scaleMode = "noScale";
targetPhoto._visible = false;
slides_xml = new XML();
slides_xml.onLoad = loadSlideShow;
slides_xml.load("album.xml");
slides_xml.ignoreWhite = true;
function loadSlideShow(success) {
if (success == true) {
  rootNode = slides_xml.firstChild;
  totalSlides = rootNode.childNodes.length;
  currentSlideNode = rootNode.firstChild;                            
  photos = new Array(totalSlides);
  thumbs = new Array(totalSlides);
  captions = new Array(totalSlides);  
  tx = 0;
  for (i=0; i < totalSlides; i++) { // populate arrays and create thumbnails dynamically
   photos[i] = currentSlideNode.attributes.jpegURL;
   thumbs[i] = [currentSlideNode.attributes.jpegWidth,currentSlideNode.attributes.jpegHeight];
   captions[i] = currentSlideNode.firstChild.nodeValue;
   _root.attachMovie("thumb","thumb"+i,i);
   _root["thumb"+i]._x = tx;
   _root["thumb"+i]._y = 595; // using fixed Y coord
   _root["thumb"+i].tindex = i;
   tx += 22;  
   currentSlideNode = currentSlideNode.nextSibling;
  // initialize values                      <<<<<<<<<<<<<<<<<<<<<<<IS IT HERE?????
  currentIndex = 0;
  targetWidth=thumbs[currentIndex][0]; // get width
  targetHeight=thumbs[currentIndex][1]; // get height;
  updateSlide();
function updateSlide() { // load photo, update caption and status fields
targetPhoto.loadPhoto(photos[currentIndex]);
caption = captions[currentIndex];
statusField = (currentIndex+1) + "/" + totalSlides;
function slideShow() {
if (currentIndex == totalSlides-1) { currentIndex = 0; } else { currentIndex++; }
targetPhoto._visible = false;
targetWidth=thumbs[currentIndex][0]; // get width
targetHeight=thumbs[currentIndex][1]; // get height;
updateSlide();
MovieClip.prototype.loadPhoto = function(fn) { // load external jpeg method + preloader
this.createEmptyMovieClip("holder", 1);
this.holder.loadMovie(fn);
this.onEnterFrame = function() { // NOTE: could use this to display percentage to user
  if (Math.floor((this.holder.getBytesLoaded()/this.holder.getBytesTotal())*100) >= 100) {
   delete this.onEnterFrame;

something like this...not quite working
function updateSlide() { // load photo, update caption and status fields
setTimeout(targetPhoto.loadPhoto(photos[currentIndex], 2000);
caption = captions[currentIndex];
statusField = (currentIndex+1) + "/" + totalSlides;

Similar Messages

  • Help with scrolling photo gallery

    I'm using the code below to for a scrolling photo gallery. I got this from another forum on Adobe. My problem is that I can't get my images to upload. I uploaded this for an image but it's not working:
    <img src="images/baca_poster_small.jpg" data-cycle-title="image1">
    Can someone please help me with getting my pictures to work in this?
    Thanks!
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 document with Cycle2</title>
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Plugin Script-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    .cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0 auto;
    width:45%; /**adjust width as required**/
    .cycle-slideshow img {width: 100%;}
    </style>
    </head>
    <body>
    <h1><a href="http://www.malsup.com/jquery/cycle2/">jQuery Cycle 2</a> Responsive Slideshow</h1>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-pause-on-hover="true"
        data-cycle-speed="700"
    >
    <!--your images go here-->
    <img src="http://malsup.github.com/images/beach1.jpg" data-cycle-title="beach1">
    <img src="http://malsup.github.com/images/beach2.jpg" data-cycle-title="beach2">
    <img src="http://malsup.github.com/images/beach3.jpg" data-cycle-title="beach3">
    <img src="http://malsup.github.com/images/beach4.jpg" data-cycle-title="beach4">
    <img src="http://malsup.github.com/images/beach9.jpg" data-cycle-title="beach9">
    <!--end slideshow-->
    </div>
    </body>
    </html>

    Is this supposed to be a WordPress site?  None of these images are found on the server.  Those folders don't exist either.
    <img class="first" src="mosspictures/DSCN0038.JPG" alt="">
       <img src="mosspictures/DSCN0040.JPG" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-3.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-4.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-5.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-6.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-1.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-2.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-3.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-4.jpg" alt="">
    Nancy O.

  • Help with Spry Photo Gallery

    I am putting together a photo gallery using the tutorial
    found
    here.
    I have completed the basic tutorial and it is working well. I need
    help though in implementing some advanced features not covered in
    the tutorial but shown in the proof of concept
    here.
    I want to include a "gallery" selector like the proof of
    concept, but i have no idea as to how i would go about
    incorporating it. I have had a look at the code and it doesnt seem
    to be all that difficult, but i just dont know what to do. I am
    open to anything anyone can suggest even adding more Datasets if
    needed. the other thing that is included in the code selection are
    the Next, play/pause, and previous buttons. If anyone could tell me
    how to get that to work i would appreciate it.
    Thanks
    Ryan

    did you have any luck figuring out how to make your photo
    album? I'm working on my own and am also having a hard time
    understanding the proof of concept without a full tutorial.

  • Need help with DW photo gallery

    I'm learning DW the hard way, trial & error. I've created
    my photo album & uploaded it. It looks find, but when I click
    on the pictures to enlarge them I get the message "ooops no page
    found". What do I do to resolve this issue? I know I'm missing a
    step.
    Please help me!!! Thanks, Barbara

    Look at the path to the larger image. Is the path correct?
    Did you upload
    the larger photos?
    Can you post a URL to your site?
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "whuzthere" <[email protected]> wrote in
    message
    news:fs4591$6ir$[email protected]..
    > I'm learning DW the hard way, trial & error. I've
    created my photo album
    > &
    > uploaded it. It looks find, but when I click on the
    pictures to enlarge
    > them I
    > get the message "ooops no page found". What do I do to
    resolve this
    > issue? I
    > know I'm missing a step.
    >
    > Please help me!!! Thanks, Barbara
    >

  • HELP with Flash Photo Gallery

    I have no clue how to program these flash galleries....My
    site www.al-burke.com contains a flash web gallery that I purchased
    online and I have been able to upload it to the site but its says
    movie not loaded. I have all the neccessary files in place I
    believe (gallery.xlm, main.html, main.swf) all under a folder. Can
    anyone please help me out? Thanks

    I went to al-burke.com, but the site doesn't actually load.
    Do the files that you have work on your computer?

  • Help putting a photo gallery in Dreamweaver CS5.5

    Hi,
    I'm new to web design and have been learning to use DW CS5.5.  My goal is to design a website for my small, online antiques business with a photo gallery in it.
    The Adobe Extension site lists several photo gallery options, but none for CS5.5.  Does anyone have any ideas on how I can easily, or fairly easily add a simple photo gallery to my new site?  By simple, I mean thumbnails linking to a page with a larger photo and descriptive text, nothing else.  I really want to keep it simple.
    Is my only choice to build it myself from scratch?
    Any help you can give will be most appreciated.
    Terry3Mc

    hello Terry,
    There is a website called www.templatesold.com you have to pay.. but i have a login
    there are a lot of templates of photo gallerys.
    email-me [email protected]
    Leonardo Hermoso
    bovespa

  • I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    Freezing, or crashing?
    ID on the Mac can produce reports that may (or may not) prove helpful in diagnosing the problem. I suspect this is something not directly related to InDesign, and maybe not to any of the Adobe apps directly since you seem to be having a problem in more than one. That often inidcates a problem at the system level.
    Nevertheless, it won't hurt to try to gather the reports. You'll find driections for how to generate them, and to post them on Pastebin.com (then put a link to them here) so we can see what's going on at Adobe Forums: InDesign CS5.5 Not Responding
    Do you happen to run a font manager? If so, which one, and waht version?

  • Can anyone help with uploading photos from iPad to Facebook.  Thanks

    Can anyone help with uploading photos fom iPad to Facebook?  Thanks

    What app are you to trying to use ? You can't upload photos to Facebook via Safari, but a number of the Facebook apps support it e.g. the 'official' app : http://itunes.apple.com/us/app/facebook/id284882215?mt=8 (thought it's optimised for the iPhone/iPod Touch it does support uploading photos), Friendly For Facebook (http://itunes.apple.com/us/app/friendly-for-facebook/id400169658?mt=8)

  • Help with putting photos on my ipod!!!

    i need help with putting photos on my 20 gig ipod. Model number is MA079LL. and i have versions 1.1 what is the up to date version?

    anyone help?

  • Need Help Removing XML Photo Gallery on Button Click

    Hi, I'm new to flash so this might seem like a dumb question, but I'm right in the middle of designing a photography site and need some help.  I have 4 buttons in my timeline that go to the corresponding frame labels when clicked, above each frame label is a keyframe with actionscript applied to it, that will load an external XML photo gallery. I need the current photo gallery that's on the screen to disappear when I click on a new button to load the new XML photo gallery.  this is the code that will be above each frame label with a few changes, then below this is the code for my buttons. Any help is greatly appreciated. Thank you  Code: Select all var imageX:XML; var imageList:XMLList;  var canvas:MovieClip = new MovieClip(); var picLoader:Loader; addChild(canvas); canvas.x = -155; canvas.y = 160;   var req:URLRequest = new URLRequest("gallery.xml"); var imageLoader:URLLoader = new URLLoader(); imageLoader.addEventListener(Event.COMPLETE, onComplete); imageLoader.load(req);  function onComplete(e:Event):void { imageX = new XML(imageLoader.data); imageList = imageX.image; picLoader = new Loader(); picLoader.contentLoaderInfo.addEventListener(Event .COMPLETE, imageLoaded); picLoader.load(new URLRequest (imageList[0].url)); }  function imageLoaded(e:Event):void  { canvas.addChild(picLoader); }    Code for the buttons in different keyframe.  Code: Select all stop();  kids_btn.addEventListener(MouseEvent.CLICK,onKidsClick); couples_btn.addEventListener(MouseEvent.CLICK,onCouplesClick); portraits_btn.addEventListener(MouseEvent.CLICK,onPortraitsClick); bellies_btn.addEventListener(MouseEvent.CLICK,onBelliesClick);  function onKidsClick(e:MouseEvent):void { gotoAndStop("kids"); }  function onCouplesClick(e:MouseEvent):void { gotoAndStop("couples"); }  function onPortraitsClick(e:MouseEvent):void { gotoAndStop("portraits"); }  function onBelliesClick(e:MouseEvent):void { gotoAndStop("bellies"); }

    Hi, I'm new to flash so this might seem like a dumb question, but I'm right in the middle of designing a photography site and need some help.  I have 4 buttons in my timeline that go to the corresponding frame labels when clicked, above each frame label is a keyframe with actionscript applied to it, that will load an external XML photo gallery. I need the current photo gallery that's on the screen to disappear when I click on a new button to load the new XML photo gallery.  this is the code that will be above each frame label with a few changes, then below this is the code for my buttons. Any help is greatly appreciated. Thank you  Code: Select all var imageX:XML; var imageList:XMLList;  var canvas:MovieClip = new MovieClip(); var picLoader:Loader; addChild(canvas); canvas.x = -155; canvas.y = 160;   var req:URLRequest = new URLRequest("gallery.xml"); var imageLoader:URLLoader = new URLLoader(); imageLoader.addEventListener(Event.COMPLETE, onComplete); imageLoader.load(req);  function onComplete(e:Event):void { imageX = new XML(imageLoader.data); imageList = imageX.image; picLoader = new Loader(); picLoader.contentLoaderInfo.addEventListener(Event .COMPLETE, imageLoaded); picLoader.load(new URLRequest (imageList[0].url)); }  function imageLoaded(e:Event):void  { canvas.addChild(picLoader); }    Code for the buttons in different keyframe.  Code: Select all stop();  kids_btn.addEventListener(MouseEvent.CLICK,onKidsClick); couples_btn.addEventListener(MouseEvent.CLICK,onCouplesClick); portraits_btn.addEventListener(MouseEvent.CLICK,onPortraitsClick); bellies_btn.addEventListener(MouseEvent.CLICK,onBelliesClick);  function onKidsClick(e:MouseEvent):void { gotoAndStop("kids"); }  function onCouplesClick(e:MouseEvent):void { gotoAndStop("couples"); }  function onPortraitsClick(e:MouseEvent):void { gotoAndStop("portraits"); }  function onBelliesClick(e:MouseEvent):void { gotoAndStop("bellies"); }

  • Problems with flash photo-gallery xml

    Hello,
    I need help. I have bought your photogallery template and i
    am having problems with it.
    When i test the gallery on my portfolio website (html) all it
    comes up is the background, the pictures and thumbnail pictures
    wont load. I am putting the files in the right folder and using the
    swf in an html (dreamweaver cs3). what is it happening?
    I dont know xlm. Plz give me a hand??
    Thanks

    Hi DZ,
    I am testing it locally. I didn't even upload anything yet.
    And yes, i put the swf into my html portfolios page (dreamweaver
    cs3) and tested locally. the pictures wont show up, only the bg for
    the photo-gallery. I bought this template here at the
    exchange

  • Need help with 3D carousel gallery rotation to a specific angle

    Hi,
    I am making a 3d gallery, that has a menu underneath it. When clicking to a menu link, the gallery will rotate itself to a certain angle (photo) connected with the menu link. I am using FlashAndMaths 3D cylindrical gallery scripts (XML Customizable 3D Cylindrical Photo Gallery in Flash) as the base (as I couldn't find any free or neither payed 3d galleries that would have a menu connected to the carousel!).
    The function to rotate a carousel of thumbnails is the following:
    public function doRotate(ang:Number):void {  
                if(isLoading || notReady){       
                        return;
                if(!this.contains(container)){
                    return;
                var i:int;
                 for(i=0;i<numCols;i++){
                   colsVec[i].rotationY+=ang;
                   colsVec[i].rotationY=colsVec[i].rotationY%360;
                   if((colsVec[i].rotationY>90+diffAng && colsVec[i].rotationY<270-diffAng) || (colsVec[i].rotationY<-(90+diffAng) && colsVec[i].rotationY>-(270-diffAng))){
                          if(container.contains(colsVec[i])){
                              container.removeChild(colsVec[i]);
                         } else {   
                                   if(!container.contains(colsVec[i])){
                                     container.addChild(colsVec[i]);
    This will rotate the carousel as an infinite loop. However - I need the function to stop at a certain angle e.g. 45% (and/or reset itself to 0%). Another option would be to stop the carousel at a certain thumbnail container.
    The function to create a carousel is here:
    thumbWidth=thumbsArray[0][0].width;
    thumbHeight=thumbsArray[0][0].height;
    colsVec=new Vector.<Column>();
    colHeight=thumbHeight*colLen+(colLen-1)*pxSpace;
    colWidth=thumbWidth;
    rad=galLoader.radius;
    angle=360/numCols;
    container=new Sprite();
    this.addChild(container);
    containerWidth=2*rad;
    vertAddOn=40;
    vertDrop=15;
    containerHeight=colHeight+vertAddOn;
    container.x=containerWidth/2;
    container.y=containerHeight/2+vertDrop;
    contMask=new Shape();
    this.addChild(contMask);
    contMask.x=container.x;
    contMask.y=container.y;
    prepContainer();
    diffAng=Math.round((Math.asin(rad/fL)*180/Math.PI)*1000)/1000; 
    for(i=0;i<numCols;i++){
    colsVec[i]= new Column(thumbsArray[i],pxSpace,rad);
    container.addChild(colsVec[i]);
    colsVec[i].y=0;
    colsVec[i].x=0; 
    colsVec[i].z=0;
    colsVec[i].rotationY=angle*i;
    if((colsVec[i].rotationY>90+diffAng && colsVec[i].rotationY<270-diffAng) || (colsVec[i].rotationY<-(90+diffAng) && colsVec[i].rotationY>-(270-diffAng))){
    if(container.contains(colsVec[i])){
    container.removeChild(colsVec[i]);
    } else {
    if(!container.contains(colsVec[i])){
    container.addChild(colsVec[i]);
    Could anyone help me as I'm out of ideas!

    Hi, well, unfortunately asking help from forums is my last option, there really isn't many people around anymore, who'd use Flash!
    Also, I couldn't find neither free or payed scripts or examples online, that could do this - so, it's just me and forums.
    I really do appreciate that you've tried to help me- I just need a bit clearer reference (as I'm just not really used to use AS), so that I could try to search and/or figure out how to solve that problem.
    By "call doRotate() and pass the difference between the current rotation and the desired rotation.", did you mean something like this:
    private function onEnter(e:Event):void {
    if (rotate){
    this.doRotate(1);
    if(    //so, here I should use something that would locate the desired position, so something like currentFrame or would you have any better ideas?
    // should I also add something like doRotate.stop(); here?
    this.removeEventlistener(Event.ENTER_FRAME,onEnter);
    Or am I going the wrong way?

  • Help needed for photo gallery

    Hi,
    I downloaded a applet for a rotating flash photo gallery.
    However, I can't see any instructions for how to modify the
    actionscript...There are a few comments, but they dont seem to be
    sufficient.
    Here is the script a part of the gallery:
    // prototype function for fixing the scaling and position of
    images
    movieclip.prototype.do_me = function () {
    var w = 540;
    var h = 400;
    var k = this._width / this._height;
    if (k > 1.35) {
    this._width = 540;
    this._yscale = this._xscale;
    this._y=0-(this._height/2);
    this._x=0-(this._width/2);
    } else {
    this._height = 400;
    this._xscale = this._yscale;
    this._y=0-(this._height/2);
    this._x=0-(this._width/2);
    var ap="{parameterstorage}";
    var ts="{timestamp}";
    var panel=parseInt("{panel}",10);
    var radius=parseInt("{radius}",10);
    var ysens=parseInt("{ysens}",10);
    var xsens=parseInt("{xsens}",10);
    var mousespeed=parseInt("{mousespeed}",10);
    var minspeed=parseInt("{minspeed}",10);
    var breakfactor=parseInt("{breakfactor}",10);
    var zoomtime=parseInt("{zoomtime}",10);
    var zoomamount=parseInt("{zoomamount}",10);
    var sbg = parseInt("{sbg}",10);
    var square = parseInt("{square}",10);
    var urls="{urls}";
    var target="{target}";
    var cmode = parseInt("{cmode}",10);
    var backgroundcolor=parseInt("{backgroundcolor}");
    var bgi="{backgroundimage}";
    var width=parseInt("{width}",10);
    var height=parseInt("{height}",10);
    var maxitems=parseInt("{maxitems}",10);
    var ts=-1;
    var maxitems=5;
    var panel=22;
    var radius=250;
    var ysens=100;
    var xsens=10;
    var mousespeed=60;
    if (minspeed<=0) {
    minspeed=5;
    minspeed/=100;
    if (Math.abs(breakfactor)>10) {
    breakfactor=10;
    breakfactor/=10;
    if (zoomtime<0) {
    zoomtime=2;
    zoomtime*=50;
    var zoomamount=2;
    var urls="
    http://www.mandomartis.com/|http://www.effectmaker.com|http://www.yahoo.com||";
    var target="_self";
    var backgroundcolor=0xffffff;
    var width=640;
    var height=480;
    var lm = "{lm}"; var lmxy = "{lmxy}";
    var lm = lm.split("|");
    var lmxy = lmxy.split("|");
    for (i=0; i<lm.length; i++) if (lm
    .length>3) {
    attachMovie("lom", "lm" add i, i+6+maxitems);
    var xy = lmxy.split(",");
    setProperty("lm" add i, _x, xy[0]);
    setProperty("lm" add i, _y, xy[1]);
    eval("lm" add i).loadMovie(lm
    function initApplet() {
    moviearea._x=width/2;
    moviearea._y=height/2;
    activated=true;
    var today=new Date();
    activated=true;
    //url's initialisation
    urls=urls.split("|");
    // bgnd activation
    bgnd._x=-width/2
    bgnd._y=0;
    bgnd._width=width;
    bgnd._height=height;
    bgndColor=new Color(bgnd);
    bgndColor.setRGB(backgroundcolor);
    if (sbg>0) bgnd._visible = true; else bgnd._visible =
    false;
    if (bgi.length>0)
    bgholder._x=-width/2;
    bgholder._y=0;
    bgholder.backgroundimage._width=width;
    bgholder.backgroundimage._height=height;
    bgnd._visible=false;
    // duplicating main clip
    for (var a=0;a<maxitems;a++) {
    newarea = "area"+a;
    duplicateMovieClip ("moviearea", newarea, a+5);
    this[newarea].item_num=a;
    this[newarea].theta = a*360/maxitems;
    this[newarea].panel = panel;
    this[newarea].radius = radius;
    this[newarea].gotoAndPlay(2);
    if (square==0) this[newarea].control._alpha=0;
    // moviearea._x = -1000;
    // moviearea._visible = false;
    moviearea.gotoAndPlay (2);
    this._x = (width/2);
    initApplet();// prototype function for fixing the scaling and
    position of images
    movieclip.prototype.do_me = function () {
    var w = 540;
    var h = 400;
    var k = this._width / this._height;
    if (k > 1.35) {
    this._width = 540;
    this._yscale = this._xscale;
    this._y=0-(this._height/2);
    this._x=0-(this._width/2);
    } else {
    this._height = 400;
    this._xscale = this._yscale;
    this._y=0-(this._height/2);
    this._x=0-(this._width/2);
    var ap="{parameterstorage}";
    var ts="{timestamp}";
    var panel=parseInt("{panel}",10);
    var radius=parseInt("{radius}",10);
    var ysens=parseInt("{ysens}",10);
    var xsens=parseInt("{xsens}",10);
    var mousespeed=parseInt("{mousespeed}",10);
    var minspeed=parseInt("{minspeed}",10);
    var breakfactor=parseInt("{breakfactor}",10);
    var zoomtime=parseInt("{zoomtime}",10);
    var zoomamount=parseInt("{zoomamount}",10);
    var sbg = parseInt("{sbg}",10);
    var square = parseInt("{square}",10);
    var urls="{urls}";
    var target="{target}";
    var cmode = parseInt("{cmode}",10);
    var backgroundcolor=parseInt("{backgroundcolor}");
    var bgi="{backgroundimage}";
    var width=parseInt("{width}",10);
    var height=parseInt("{height}",10);
    var maxitems=parseInt("{maxitems}",10);
    var ts=-1;
    var maxitems=5;
    var panel=22;
    var radius=250;
    var ysens=100;
    var xsens=10;
    var mousespeed=60;
    if (minspeed<=0) {
    minspeed=5;
    minspeed/=100;
    if (Math.abs(breakfactor)>10) {
    breakfactor=10;
    breakfactor/=10;
    if (zoomtime<0) {
    zoomtime=2;
    zoomtime*=50;
    var zoomamount=2;
    var urls="
    http://www.mandomartis.com/|http://www.effectmaker.com|http://www.yahoo.com||";
    var target="_self";
    var backgroundcolor=0xffffff;
    var width=640;
    var height=480;
    var lm = "{lm}"; var lmxy = "{lmxy}";
    var lm = lm.split("|");
    var lmxy = lmxy.split("|");
    for (i=0; i<lm.length; i++) if (lm.length>3) {
    attachMovie("lom", "lm" add i, i+6+maxitems);
    var xy = lmxy.split(",");
    setProperty("lm" add i, _x, xy[0]);
    setProperty("lm" add i, _y, xy[1]);
    eval("lm" add i).loadMovie(lm);
    function initApplet() {
    moviearea._x=width/2;
    moviearea._y=height/2;
    activated=true;
    var today=new Date();
    activated=true;
    //url's initialisation
    urls=urls.split("|");
    // bgnd activation
    bgnd._x=-width/2
    bgnd._y=0;
    bgnd._width=width;
    bgnd._height=height;
    bgndColor=new Color(bgnd);
    bgndColor.setRGB(backgroundcolor);
    if (sbg>0) bgnd._visible = true; else bgnd._visible =
    false;
    if (bgi.length>0)
    bgholder._x=-width/2;
    bgholder._y=0;
    bgholder.backgroundimage._width=width;
    bgholder.backgroundimage._height=height;
    bgnd._visible=false;
    // duplicating main clip
    for (var a=0;a<maxitems;a++) {
    newarea = "area"+a;
    duplicateMovieClip ("moviearea", newarea, a+5);
    this[newarea].item_num=a;
    this[newarea].theta = a*360/maxitems;
    this[newarea].panel = panel;
    this[newarea].radius = radius;
    this[newarea].gotoAndPlay(2);
    if (square==0) this[newarea].control._alpha=0;
    // moviearea._x = -1000;
    // moviearea._visible = false;
    moviearea.gotoAndPlay (2);
    this._x = (width/2);
    initApplet();
    sorry for the long post; basically I fairly new to flash and
    not familair with actionscript at all. I figure that most of what
    is need is number signifing the speeds. Which i added by removing
    the curly brackets and adding a number,
    i.e var maxitems=parseInt("10",10);
    but I dont know how to insert my images....I've tried
    various things but i only end up with empty spinning boxes.
    If someone could start me off with where i put the images i
    may be able to complete it myself , but the more help the better
    really as I dont really have a clue and I dont know where to look
    for basic knowledge on actionscript language.
    Thanks alot in advance,
    Liz

    Have you tried in Acrobat: Tools->Print Production->Convert Color?

  • Please, help with AS2 / CS3

    In this zip file, I replaced the images, with blank photos, with the image titles, to make it easier to see the problem.
    (download files) http://www.pbsjbuzz.tv/site_flash/site_flash.zip
    (view online) http://www.pbsjbuzz.tv/site_flash
    Thank you !
    Hello, actionscript experts,
    Please, help me, if you have the time. The company that I am doing some flash design work for, bought a template, from templatemonster.com. The template ID that they purchased, is 20643. I usually work more on the design/creative side, but I know a little of simple actionscript. Although, I can not figure out why this is not working, after some simple modifications. I believe that it is an issue with the actionscript, somewhere, in the "pages2/sub_menu2" part or somewhere, in the "pages2/gall_main2" part, in the .fla file. I am 99.99% finished with this site and I would greatly appreciate any of your help, in any way, possible. This site is currently online, for you to view, at your earliest convenience.
    http://www.pbsjbuzz.tv/site_flash
    NOTE: (Additional Information):
    Sorry, about so much info!
    This template originally came with 4 main menus (PORTFOLIO / ABOUT US / OUR NEWS / CONTACT US).
    The PORTFOLIO section has 3 submenu links (INTERIOR / LANDSCAPE / ANIMALS).
    I changed the 3 submenu links from, (INTERIOR / LANDSCAPE / ANIMALS), to (AVIATION / EDUCATION / FEDERAL).
    Those work fine.
    Now, I have added 4 additional submenu links. (LEISURE SERVICES / SUSTAINABLE DESIGN / TRANSIT / ARCHITECTURE ENGINEERING).
    So, I now have a total of 7 links, within the PORTFOLIO section, named (AVIATION / EDUCATION / FEDERAL / LEISURE SERVICES / SUSTAINABLE DESIGN / TRANSIT / ARCHITECTURE ENGINEERING).
    My first 3 links work perfect, but the other (4-7) links are not working, correctly.
    They seem to link to the correct category, but do not load correct image, until you click on a thumbnail, then the big image loads, as it is supposed to do, but the thumbnails still have the wrong images loaded.
    I have checked every word for word of the actionscript, but I still can not figure this out.
    I believe that this is a simple solution, surely consisting of only 1 letter, word or sentence of code being wrong, somewhere, in the actionscript, within the flash (fla) file. I have the files, available to download, if anyone willing to help me needs them.
    Thank you, for all of your help.
    <!--
    My friend looked over the files and sent me this:
    _parent["item"+_root.main_gall_num].gotoAndPlay("s2");
    _root.main_gall_num = num;
    _parent.gall.play();
    Where are those "item1", "item2", defined?
    The functionality of the submenu is fine, but it seems the elements are missing. I tried changing a different "num", and it loaded that
    so i guess you are missing the element on the parent symbol.
    -->
    In the main .fla file, this actionscript, is on the first frame:
    Stage.align = "MC";
    Stage.scaleMode = "noScale";
    url = "tfile";
    _root.cacheKiller="true";
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) { //This fhunction gets called as soon as the XML loads and gets parsed.
    if (success_boolean) {
    //trace (1);
    play();
    stop();
    var parsed_obj = {}; //We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash= new Date().getTime();
    if (_root.cacheKiller=="true") {
    fileToLoad=url+"_main.xml?cacheKiller="+unCash;
    fileToLoad=url+"_main.xml";
    else {
    fileToLoad=url+"_main.xml";
    XMLParser.load(fileToLoad, onFinish, parsed_obj);
    _root.emp.useHandCursor = 0;
    ///forplayer
    _root.mus = 1;
    _root.n = 1;
    _root.num = 1;
    In the main .fla file, this actionscript, is on the second frame:
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, gallery_obj, xml) { //This fhunction gets called as soon as the XML loads and gets parsed.
    if (success_boolean) {
    play();
    //system settings
    // frame number where readMore movieClip is situated   
    pagesReadMoreFrame=5;
    // frame number of the first content page
    firstPageFrame=1;
    //system settings
    #include "gs/dataTransfer/xmlFunctions.as"
    //_root.link=_root.getMenuSystemOrder(0);
    In the main .fla file, this actionscript, is on the third frame:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    function pic_movs(my_x) {
    var name1:MovieClip = _root.pages.gall.gall.thumbs;
    myTween = new Tween(name1, "_x", Strong.easeInOut, name1._x, my_x, 25, false);
    When the "PORTFOLIO" page loads, this actionscript, is on the first frame:
    _root.main_gall_num=1;
    _root.gall_num=1;
    item1.gotoAndStop(15);
    Each "sub_menu" link (AVIATION / EDUCATION / FEDERAL / LEISURE SERVICES / SUSTAINABLE DESIGN / TRANSIT / ARCHITECTURE ENGINEERING), has this actionscript, on each link, the only difference is the num = 1 (AVIATION), has num = 2 (EDUCATION), num = 3 (FEDERAL), etc, etc, through num = 7, for (ARCHITECTURE ENGINEERING):
    onClipEvent (load) {
    num = 1;
    this.title1.gotoAndStop(num);
    this.title2.gotoAndStop(num);
    on (rollOver) {
    if (_root.main_gall_num<>num) {
    this.gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    if (_root.main_gall_num<>num) {
    this.gotoAndPlay(_totalframes-_currentframe);
    on (release) {
    if (_root.main_gall_num<>num and _root.gall_animation == 1) {
    _root.gall_animation = 0;
    _parent["item"+_root.main_gall_num].gotoAndPlay("s2");
    _root.main_gall_num = num;
    _parent.gall.play();
    In the section where the photos load, each frame has a different category of photos that loads on that frame.
    The actionscript, on frame 1, is:
    _root.gall_num=1;
    Then, frame 2 has:
    _root.gall_num=2;
    frame 3 has:
    _root.gall_num=3;
    frame 4 has:
    _root.gall_num=4;
    frame 5 has:
    _root.gall_num=5;
    frame 6 has:
    _root.gall_num=6;
    frame 7 has:
    _root.gall_num=7;
    I added all of the extra images, to the xml file.
    The original xml file came with only 3 categories, of images (12 small and 12 big, in each category).

    did u try something like that :
    for (var iii:uint=1; iii<5; iii++) {
    root["item"+iii].addEventListener(Event.ENTER_FRAME,
    mover1);
    root["item"+iii].addEventListener(MouseEvent.ROLL_OUT,
    itemOut1);
    root["item"+iii].addEventListener(MouseEvent.ROLL_OVER,
    itemOver1);
    root["item"+iii].buttonMode=true;
    }

  • CS4 problem with Web Photo Gallery Plug-in

    I have googled answers to the question of how to get Web Photo Gallery back into Automate for CS4. I put the Content disc in, and went to Goodies-Adobe Photoshop CS4 Extended-Optional Plug-ins-Automate. There are three files there (ContactSheetll.plugin, PhotomergeUI.plugin, and WebContactSheetll.plugin. When I click on each of the files, I get the message: Could not complete your request because Photoshop does not recognize this type of file. This has happened with both the content disc goodies and the Adobe download that was recommended. Has anyone experienced this problem, and are there any solutions?

    If anyone is still following this thread....I having the same problem. I downloaded the CS4 plugin and copied the folder to C:\Program Files\Adobe\Adobe Photoshop CS4 (64 Bit)\Presets\Web Photo Gallery but it doesn't show / appear when I go to file / automate / in CS4. Does anyone have any siggestions? Do I have to "turn on" the feature somehow in ver 11?
    Thanks,  Airpix

Maybe you are looking for

  • How Do I Transfer Clips From One Project To Another?

    I have what is probably a basic question. I have two projects that I'm working on, and need to transfer a set of clips from my first project to my second. How would I do that.

  • March 2015 TechNet Guru Awards! See who's boss in Azure! It could be YOU!

    The results for March's TechNet Guru competition were posted! http://blogs.technet.com/b/wikininjas/archive/2015/04/17/the-microsoft-technet-guru-awards-march-2015.aspx Below is a summary of the medal winners for December. The last column being a few

  • Aspect ratio from AE to FCP

    Hey guys Im trying to find out how i can import a quicktime file from FCP in AE for color correction then render it back out to the same frame size and ratio. at the moment when i open it back up in FCP its not the same. the file from FCP is 720x576

  • Trying to connect wifi with Directv

    I'm trying to sync my AT&T U-Verse router with my Directv internet adapter/router but it appears the WPS (Wifi Protected Setup) has been disabled! Does anyone know how I can connect directv to my internet, I've tried about everything so far!! Thanks

  • Help me please, problem with image transition

    Hi everybody, For the past few months I have started teaching myself how to use dreamweaver. So far I have had a couple problems my limited knowledge just cant figure out and hoped somebody out there could shed a little light on it. I am currently ma