First image in gallery is stuck

I'm working with an image gallery and the first image in the transition ends up stuck near the bottom of the file, but the remaining images fly right into place.
I have a sneaking suspicion it may have something to do with my positioning somewhere or with my tweening. I added a global variable thinking it may have something to do with garbage collection causing my tween to partially stop, but that didn't solve the problem. It's just that first image when it transitions onto the stage. After that, everything works perfectly. Even the click transition.
This is part of my final project and given that I get this fixed, everything will finally be working. Everything is built using as3, so you could just copy and paste it, if you'd like. Except, of course, for the url button which is imported from the library and the text format which can be faked with any embedded font and exported as Myriad.
var fileNameArray = new Array();
var urlArray = new Array();
var targetArray:Array = new Array();
var titleArray = new Array();
var descArray = new Array();
var i:Number;
var iTmb:Number = 0;
var imgTween:TweenLite;
var tweenDuration:Number = 0.4;
var tmbTotal:Number;
var dataXML:XML = new XML();
var photoFolder:String = "imgs/png/galleryImgs/";
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("scripts/xml/gallery.xml"));
xmlLoader.addEventListener(Event.COMPLETE, xmlComplete);
var tmbGroup:MovieClip = new MovieClip();
tmbGroup.x = 400;
tmbGroup.y = 165;
addChild(tmbGroup);
var txtFace:Font = new Myriad();
var headingFormat:TextFormat = new TextFormat();
    headingFormat.font = txtFace.fontName;
    headingFormat.color = 0x0099cc;
    headingFormat.size = 14;
    headingFormat.align = "left";
    headingFormat.bold = true;
var bodyTxt:TextFormat = new TextFormat();
    bodyTxt.font = txtFace.fontName;
    bodyTxt.color = 0x333333;
    bodyTxt.size = 14;
    bodyTxt.align = "left";
// Text Fields
var headingTxt = new TextField();
    headingTxt.condenseWhite = true;
    headingTxt.autoSize = TextFieldAutoSize.LEFT;
    headingTxt.selectable = false;
    headingTxt.defaultTextFormat = headingFormat;
    headingTxt.wordWrap = true;
    headingTxt.width = 409;
    headingTxt.height = 21;
    headingTxt.x = 196;
    headingTxt.y = 355;
var urlTxt = new TextField();
    urlTxt.condenseWhite = true;
    urlTxt.autoSize = TextFieldAutoSize.LEFT;
    urlTxt.selectable = false;
    urlTxt.defaultTextFormat = bodyTxt;
    urlTxt.wordWrap = true;
    urlTxt.multiline = true;
    urlTxt.width = 490;
    urlTxt.height = 21;
    urlTxt.x = 196;
    urlTxt.y = 375;
var descTxt = new TextField();
    descTxt.condenseWhite = true;
    descTxt.autoSize = TextFieldAutoSize.LEFT;
    descTxt.selectable = false;
    descTxt.defaultTextFormat = bodyTxt;
    descTxt.wordWrap = true;
    descTxt.multiline = true;
    descTxt.width = 490;
    descTxt.height = 150;
    descTxt.x = 196;
    descTxt.y = 401;
var urlTxtTarget = new TextField();
    urlTxtTarget.condenseWhite = true;
    urlTxtTarget.autoSize = TextFieldAutoSize.LEFT;
    urlTxtTarget.selectable = false;
    urlTxtTarget.defaultTextFormat = bodyTxt;
    urlTxtTarget.wordWrap = true;
    urlTxtTarget.multiline = true;
    urlTxtTarget.width = 490;
    urlTxtTarget.height = 21;
    urlTxtTarget.x = 196;
    urlTxtTarget.y = 5000;
var urlBtn:URLBtn = new URLBtn();
    urlBtn.x = 196;
    urlBtn.y = 375;
addChild(headingTxt);
addChild(urlTxt);
addChild(descTxt);
addChild(urlTxtTarget);
addChild(urlBtn);
urlBtn.visible = false;
function xmlComplete(e:Event):void {
    dataXML = XML(e.target.data);
    tmbTotal = dataXML.thumbnail.length();
    for( i = 0; i < tmbTotal; i++ ) {
        fileNameArray.push( dataXML.thumbnail[i][email protected]() );
        urlArray.push( dataXML.thumbnail[i][email protected]() );
        targetArray.push( dataXML.thumbnail[i][email protected]() );
        titleArray.push( dataXML.thumbnail[i][email protected]() );
        descArray.push( dataXML.thumbnail[i][email protected]() );
    generateTmbs();
function generateTmbs():void {
    var tmbRequest:URLRequest = new URLRequest( photoFolder + fileNameArray[iTmb] );
    var tmbLoader:Loader = new Loader();
    tmbLoader.load(tmbRequest);
    tmbLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, tmbLoaded, false, 0, true);
    iTmb++;
function tmbLoaded(e:Event):void {
    if( iTmb < tmbTotal ) {
        generateTmbs();
        descTxt.text = "Loading " + iTmb + " of " + tmbTotal + " gallery images.";
    else {
        headingTxt.text = titleArray[0];
        descTxt.text = descArray[0];
        urlTxt.text = urlArray[0];
        urlTxtTarget.text = targetArray[0];
        var photoContainer:MovieClip = MovieClip( tmbGroup.getChildAt(tmbTotal-2) );
            photoContainer.addEventListener( MouseEvent.CLICK, transitionOut, false, 0, true );
        imgTween = new TweenLite(photoContainer, tweenDuration, {rotation:0,
                                            ease:Expo.easeInOut});
        urlBtn.visible = true;
        urlBtn.addEventListener(MouseEvent.CLICK, goto_URL, false, 0, true);
    var photoBmp:Bitmap = new Bitmap();
    var photoBack:MovieClip = new MovieClip();
    photoBmp = Bitmap(e.target.content);
    photoBmp.x = - photoBmp.width * 0.5;
    photoBmp.y = - photoBmp.height * 0.5;
    photoBmp.smoothing = true;
    var photoBGWidth = photoBmp.width + 16;
    var photoBGHeight = photoBmp.height + 16;
    photoBack.addChild(photoBmp);
    photoBack.graphics.lineStyle(1, 0x999999);
    photoBack.graphics.beginFill(0xFFFFFF);
    photoBack.graphics.drawRect( - photoBGWidth * 0.5, - photoBGHeight * 0.5, photoBGWidth, photoBGHeight );
    photoBack.graphics.endFill();
    photoBack.x = 200;
    photoBack.y = 365;
    photoBack.rotation = 45;
    photoBack.name = "gallery " + tmbGroup.numChildren;
    imgTween = new TweenLite(photoBack, tweenDuration * 2, {x:Math.random() * 20 - 10,
                                        y:Math.random() * 20 - 10,
                                        rotation:Math.random() * 20 - 10,
                                        ease:Expo.easeInOut});
    tmbGroup.addChildAt(photoBack, 0);
function transitionOut(e:MouseEvent):void {
    var photoContainer:MovieClip = MovieClip(e.target);
        photoContainer.removeEventListener( MouseEvent.CLICK, transitionOut );
    imgTween = new TweenLite(photoContainer, tweenDuration, {x:220,
                                        y:180,
                                        rotation:45,
                                        ease:Expo.easeInOut,
                                        onComplete: transitionIn});
function transitionIn():void {
    var photoContainer:MovieClip = MovieClip( tmbGroup.getChildAt(tmbTotal-1) );
    var photoContainer2:MovieClip = MovieClip( tmbGroup.getChildAt(tmbTotal-2) );
    var slideNum:Number = parseInt( photoContainer.name.slice(8,10) ) + 1;
    if(slideNum == tmbTotal) slideNum = 0;
    imgTween = new TweenLite(photoContainer, tweenDuration, {x:Math.random() * 20 - 10,
                                        y:Math.random() * 20 - 10,
                                        rotation:Math.random() * 20 - 10,
                                        ease:Expo.easeInOut,
                                        onComplete: photoClick});
    imgTween = new TweenLite(photoContainer2, tweenDuration, {rotation:0,
                                        ease:Expo.easeInOut});
    tmbGroup.addChildAt( photoContainer, 0 );
    headingTxt.text = titleArray[slideNum];
    descTxt.text = descArray[slideNum];
    urlTxt.text = urlArray[slideNum];
    urlTxtTarget.text = targetArray[slideNum];
function photoClick():void {
    var photoContainer:MovieClip = MovieClip(tmbGroup.getChildAt(tmbTotal-1) );
        photoContainer.addEventListener( MouseEvent.CLICK, transitionOut, false, 0, true );
function goto_URL(me:MouseEvent) {
    navigateToURL(new URLRequest(urlTxt.text), urlTxtTarget.text);
Here's the xml
<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
    <thumbnail filename="photoNumber01.jpg"
        url="http://www.barnesjewish.org"
        target="_blank"
        title="Barnes-Jewish"
        description="The dedicated heart transplant team members at Barnes-Jewish and Washington University focus only on patients undergoing transplant and those with congestive heart failure. Each person on the transplant team is an expert in a different area of transplantation. Together, they bring their expertise, knowledge and understanding to each patient in our program." />
    <thumbnail filename="photoNumber02.jpg"
        url="http://www.utsouthwestern.edu"
        target="_blank"
        title="UT Southwestern"
        description="UT Southwestern Medical Center's Heart Transplant Program continues to rank among the best in the nation in survival rates for post-transplant patients." />
    <thumbnail filename="photoNumber03.jpg"
        url="http://www.mayoclinic.org/heart-transplant/"
        target="_blank"
        title="Mayo Clinic"
        description="The Mayo Clinic Heart Transplant Program encompasses heart, heart-lung and lung transplant, as well as the use of ventricular assist devices for infants, children and adults." />
    <thumbnail filename="photoNumber04.jpg"
        url="http://www.jeffersonhospital.org"
        target="_blank"
        title="Jefferson Hospital"
        description="As a heart care patient at Jefferson, a knowledgeable and skilled team of physicians, surgeons, nurse coordinators, psychologists, pharmacists, dieticians, researchers and staff with robust expertise and state-of-the-art resources will support you." />
    <thumbnail filename="photoNumber05.jpg"
        url="http://www.massgeneral.org"
        target="_blank"
        title="Massachusetts General Hospital"
        description="The Heart Transplant Program draws on state-of-the-art technology, leading-edge medical and surgical interventions and more than two decades of experience to provide patients with individualized care before and after their heart transplant." />
</thumbnails>

Here I thought I was using OOP. Apparently, I need to do more research into OOP and practice more on the structure.  If you think that's hard to look through, you should see the project it goes with. It's awful in there.
You guys are happy and concluded this is a good code, so that's all good - but just FYI this is a procedural code and worth noting there is another way, namely OOP, which would have prevented your problem in the first place!  Yes I can imagine how "awful" the whole thing would be... Anyway definitely I'd recommend looking into OOP if you're into more complex stuff in the future. It will save you a lot of time and headaches.
(And do not use those parallel data arrays if you can - that's truly "awful" )
Kenneth Kawamoto
http://www.materiaprima.co.uk/

Similar Messages

  • Embedding gallery in PDF only displaying first image?

    Hi, I am embedding a web gallery made in Bridge as a PDF through Acrobat.
    The gallery works fine when opening the index.html that Bridge creates with the resources file.
    However when I embed everything as a PDF, the gallery opens and will only display the first image, yet it will still say "Image 1 of 6" for instance. All the other thumbnails and images are missing.
    Here's how I've been embedding it as followed by a Lynda.com class. It has worked a few times before but has suddenly stopped working.
    1. Create new pdf from file; select "gallery.swf" in the resources folder
    2. Check "Show Advanced Options"
    3. Under Launch Settings tab and in the Activation Settings change "Enable When:" to "The page containing the content is opened"
    4. Under the resources tab click Add Directory... chose the "resources" folder
    5. Under the SWF tab, copy and paste the FlashVars value from the index.html and change '+startImg to "-1"
    baseRefUrl=resources/&groupxml=group.xml&stylexml=style.xml&localText=localText.xml&livePr eview=false&startImg='+startImg
    6. Hit OK to create the PDF and save
    Where am I going wrong and how do I fix this?

    This doesn't sound wrong, or anything you can fix. Pages with interaction controlled by JavaScript do not carry the JavaScript into PDF, and simply take the current view.

  • Kinetic image scrolling gallery on iPad

    I'm struggling with this a bit.  I'm trying to build a image scrolling gallery which allows you to flick through a horizontal list of images.  If you select a pic it will load in a window which sits above the horizontal list.  I'm developing this for the iPad.
    I keep getting hung up on where to start with this since it's using touch.  Not seeing any clear tutorials online.  I don't think I want to use any sort of a tweening class.
    Has anyone out there done something like this?  I'm probably missing something really simple and appreciate any help.
    Thank you.

    I just make such a 'flick scroll gallery' for iPad.  But I still have a problem on its performance.
    I have made many of such swfs for PC.  First, I deploy it to iPad using PFI but it did not work well ... too heavy for iPad.  So I am improving its performance now.  It becomes much better than before, but it is still heavier than iPad's native apps (like 'Photo app').
    For your reference, my design for the gallery is a 'train' made from three images side-by-side.  The train is masked to see only the image at center, and is draggable for horizontal direction.  When flick to left ended (for example), if x-position of the train exceeds certain pixels from zero (center position) then the train moves to 'minus width of image' by tween class with 'easeOut' easing.  If not, then the train moves back to zero by tween.
    When tween is end, if the train's position is NOT zero, switch three images on the train and back to zero immediately.  ...Can you imagine? (Sorry for my terrible English.)  Of course, you can improve the movement considering flick velocity, etc.
    If you or anyone know how to achieve SPEEDY flick scroll (as iPad native apps) by PFI, I will appreciate it very much!

  • Not able to view images in gallery, when they are ...

    Hi,
    The file explorer was showing two default images folder and I was unable to delete one of them as I was unable to view images via gallery. Then i installed X-plore and deleted one of the images folder. Now, when I click images and select memory card as storage space, I cannot view them via gallery and view them only via X-plore. Please suggest how can I correct this issue.

    Maybe I am stupid but if you delete the imagefolder, it will be gone. You can set your default imagefolder: goto Media-> Camera-> Settings-> Use Memory-> Card. You can also backup your card to PC, reformat the card in your phone, because it makes default maps for images, video, audio,.........and then copy your images back to the specific folder.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Anyone having a problem with iMovie in Mavericks v 10.9.3 ? when previewing the a slideshow the colors all disappear after the first image.

    Anyone having a problem with iDVD in Mavericks 10.9.3? When previewing a slideshow all color is lost after the first image.

    Is your problem with iMovie as the title suggests or with iDVD?

  • Replacing images in Flash presentation but slideshow stays on first image

    I have used this slideshow for few projects and all I've done in the past is import new images (about 100k) and publish.
    The image are bit map of type (png) not big about 100k size.
    Without saving the file I do a "test movie".
    Instead of doing the slideshow it displays the first image but doesn't loop through the rest.
    I'm at a bit at a lost here. The path to the image in bitmap properties on the origanal file in imported is relative but when I select a new image its full path.  This my be a problem, my not.
    Any help here is help.
    Thanks,
    ..../Ernie

    There are likely hundreds of ways to design slideshows.  How is your slideshow designed?  What code does it use to loop thru images?

  • Can a script be written to take the next 2 files in a folder and place them on a background image..then saving with the first images filename..?

    Hello all, I hope you can help.
    In Photoshop I have a problem to overcome and have delved into the world of scripting..
    If there is a quick way to produce the following could someone help me with some pointers?
    Here is my situation..
    I need to produce a photograph proof card, these are for a double image option so cause me a headache compared to just creating an action..
    This proof card really is just a set of two different photographs placed onto a background image.
    I would produce two different images of the same person and name them exactly the same except they are suffixed with an A or B to keep them together, these would be in a folder with approx 500 other images for example (250 x two of each person)
    My preference for the process would be done in the following sequence:
    1/ Open the background file jpg (which is sized at 2400 x 1800 pixels @ 300dpi)
    2/ Load the first image from the batch file and place this.
    3/ Get the filename of the first image and create it as a text layer and write it below the image at 10 point text size.
    4/ Create another copy of this layer and change the font to 3of9barcode font, however the font needs an asterisk before the text then again after it. e.g. *filenameA*
         Only the first image has the need for a barcode as they are for the same person. This is at 18 point.
    5/ Load the next sequential image from the batch file and place this.
    6/ Get the filename for the second image and as Item 3/ create a text layer below at 10 point text size.
    7/ Place a png overlay with my copyright information over the images (I need to do this twice, once for each image)
    8/ Flatten the images and save the file in a new folder with the same filename as the first image.
    I can do this in Lightroom with the exception of putting the barcoded text, and the filenaming, this is because the background image is used as the identity plate and the filename is not based on the data from either photograph..
    Can anyone shed some light on where to go from here?
    Kind regards
    Bryan

    Photoshop Scripting-wise this seems fairly "easy".
    But I would recommend creating a template file (that already combines background image, png overlay and the Type Layers).
    Maybe data driven graphics would also be an option …
    Photoshop Help | Creating data-driven graphics

  • Bridge CS4 has LONG delay in opening the first image

    Photoshop CS4 upgrade was my Christmas present this year. I've been fighting this annoying "problem" ever since then...
    I DO see this "problem" on my desktop PC, which is a Dell XPS-400 PC (with 2 GB of memory) running Windows XP (Media Center Edition) with SP3 installed. I DO NOT see this "problem" on my laptop, which is a Dell XPS-1530 (4 GB of memory) running Windows Vista SP1. I installed the Photoshop CS4 software exactly the same way on both machines, and I have the preferences set the same in both Photoshop and Bridge (and Camera Raw) on both machines.
    Here's the situation: I first open Photoshop CS4 and then click on the Bridge icon in the Application Bar to open Bridge. When I use Bridge to open a photo, by either double-clicking the thumbnail, or right-clicking on the thumbnail and choose "Open" from the context menu, there is a 42 second delay before Photoshop opens the file. This long delay only occurs when opening the very first file.
    Once that first image file is opened, double-clicking any thumbnail in Bridge will have it open in Photoshop CS4 in about 2 seconds. There will never be another long delay in having Bridge pass a file to Photoshop (or Camera Raw) again - until I close the applications and restart them. Once I restart the applications, the first photo takes 42 seconds to open....
    This delay does not occur in opening the first image file if I right-click on the thumbnail in Bridge CS4 and choose "Open With" and manually choose Photoshop CS4.
    Even if that is how I open the first (or several) image file(s), the first time I try to open a file from Bridge by double-clicking on a thumbnail (or right-click on a thumbnail and choose "Open") there will be that annoying 42 second delay before it opens.
    It does not matter what the file format the first image file is (JPG, PSD, TIFF, or DNG), or what the file format of any subsequent image file is. As long as I do not close the Bridge and Photoshop applications, any subsequent file will be passed from Bridge to Photoshop in only a couple of seconds.
    I have manually set the File Name Extensions in Windows XP, and in the Preferences in Bridge. Both have been set to open the file types listed above with Photoshop CS4.
    I have uninstalled CS4, and have used two seperate Registry cleaners (CCleaner and jv16 Power Tools) before re-installing Photoshop CS4. This had no effect on this situation. I've run "chkdsk C: /r" several times, with no problems reported.
    I have been searching through these forums for over 2 weeks now, and I have not seen anyone else report such a problem. I use my XP desktop much more than my Vista laptop, so I'd really like to fix this situation, but I don't know what else to try.
    Gregg Mack

    Don,
    Thanks for all of your suggestions. I tried them all, but the problem remains exactly as it was. To properly document my efforts:
    In Bridge's Preferences, I Purged and Compacted the Bridge Cache, then changed it's location to D:\Bridge_Cache (D:\ is a second physical internal SATA drive).
    I can not tell the exact size the Cache is set to, but the slider in Bridge's Preference is very close to the left end (10,000) of the slider.
    The Windows Page File is set to 3072 MB min and 4096 max, and it is entirely on the D:\ drive. (I have 2GB of physical RAM in the PC.)
    I defragmented the C:\ drive using Diskeeper 2008 Pro Premier, and even ran a Boot Time Defrag.
    Rather than set some exclusions for Norton Anti-Virus, I jsut disbled that Virus checking program for all of my experiments.
    I deleted the Bridge Preference File by holding down the Ctrl key as Bridge was restarted.
    I even deleted the entire contents of the C:\Windows\Prefetch folder. I then rebooted the PC - twice. I then re-disabled Norton Anti-Virus.
    The PC is approaching 3 years of age, but it is a 3.2 GHz Pentium D machine with 2 GB of RAM and two internal SATA drives. Every other application that I run on this machine responds reponsively. Again it is only the FIRST image file that I have Bridge hand off to Photoshop (or Camera Raw) that takes forever. The second and subsequent image files take a second or two.... That doesn't sound like it's an "old hardware" problem to me.
    I'm willing to try anything else that you, or anyone else would like to suggest.
    Thanks
    Gregg Mack

  • When I export my Indesign document to an epub why is the first image smaller than the rest?

    All of the images are intended to be full page, and appear so in Indesign, however when I export the document to an epub, and view it on the iPad, the first image displays at about half the size of the other images.
    When creating the images in photoshop I ensured that they were all the same size and have not had this problem with any of the other epubs that I have made so far. Am I missing something? Any advice would be gratefully received! I work for a very small not-for-profit organisation that publishes books for people with learning disabilities and we are still feeling our way when it comes to producing ebooks!
    Thanks in advance,
    Hannah

    HI Hannah,
    May i know what are your cover page settings while exporting...?
    Is your document facing or non facing pages.
    Hope there are no size related settings done to the first image in Object Export Options under objects sub-menu.
    Because these are the prime settings that can affect it somehow.

  • Only the first image of table appears

    Hello,
    my problem concerns dynamically added images in templates designed with Template Builder 5.6 Build 45 for Word 2002 (10.4219.4219) SP-2 and Oracle E-Business Suite 11.5.10.2.
    My template includes a simple table with an image field containing an URL. I created a dummy image with alternative text like url:{image_field}. The URL itself exists and works in the browser. Running now the report with example data as XML publisher admin, only the first image appears, followed by all other rows showing the same image. It’s always the first one that is repeated (of course I made sure that each element contains its specific URL). I also tried to use the concatenated string for building the specific URL at runtime, but in vain.
    Is there anybody out there with a good idea?

    I'm not sure what's going on, but I'm having a similar yet different issue with slideshow images.  I have a full screen slideshow on a tablet site with 2 slides in it, but one of them shows up white/blank in preview.  I've ensured both images are in the layers and assets and I've deleted the slideshow and started from scratch twice already.  What's interesting is that if I move the images' order within the slideshow widget in the layers panel, I can see either one, but not both in rotation in the slideshow.  I just did this same slideshow for the mobile version and that works fine, so I'm stumped.

  • Nokia N85 - Images in Gallery sometimes are blurre...

    In my Nokia N85, images in Gallery sometimes are blurred, out of fucus and some are broken. I have no idea how to fix this. Can anyone help, please?
    Thank you
    Steiner

    and what's about the broken photos?
    i have bee in a vacation for a week and i took 150-200 photos with my N85 bot when i came back home and looked in the photo gallery - i saw that almost all of the pictures i got - are broken (bad file- briken photo symbol).
    so i took out the memory stick and checked if there is dust or something inside the phone but it was ok.
    when i had the memory stick back in - i saw that all the pictures that were broken - are now gone... and i cant see them in the gallery or in the folder manager / explorer...
    what can i do? i really need those pictures...
    thanks.

  • Video goes back to first image

    Hello all
    I have a prob with a video mpg4 that plays in the first page of my stack, i have added a jpg sequence to play automatically at the end of the video, to stop the video that play inside the page (1024/768)
    It plays well
    but as soon as i swipe down and navigate into the below page (read other video and scrollable text), then when I come back the first page of my stack the video has go back to its first image (rather than stay with the last image of the seuquence image)
    I hope I am clear
    I have try everything, even use a whole animation in jpg sequence (which is more heavy than a MPG4) but here again it goes back to the first image as soon as I navigate to the below page
    Any idea?
    BTW it works well in the desktop viewer

    The problem here could be related to the MSO timing issues that are fixed in the Viewer Builder viewers but not in the store iPad viewer. If you can create a custom Adobe Content Viewer, it should work. Or, wait for the store viewer to be approved (any day now).
    You might want to look at Keith Gilbert's article about stopping a video on the last image: http://blog.gilbertconsulting.com/2011/09/dps-stop-video-at-last-frame.html

  • How can user return to main scene on a portion of an image that is 20 inches wide, rather than being sent to the first image all the time.

    I have a 24 inch wide image in the main scene, which is cut up into six smaller images, all clickable. When a user clicks on one of these smaller images they are taken to a second screen. However, when they click on the Go Back, they are always sent to the first image, not on the image that was clicked on. How can I get the Go Back to actually go back to the image clicked on?

    Actually, that's AS1 that you're using. You have an enterframe function running as code in the frame. In AS2 it might go something like this:
    stop();
    // you need two variables that exist outside of the functions...
    var tempX:Number;
    var diff:Number = 0;
    // this function will loop on frame one and control the movement of the large movieClip
    // I simplified the code from what you provided
    this.onEnterFrame = function() {
        if (_xmouse>750) {
            diff = (_xmouse-750)/2;
        if (_xmouse<50) {
            diff = (50-_xmouse)/2;
        if (_xmouse<=350 && main_text._x<=0) {
            main_text._x += diff;
        if (mouseX>=450 && main_text._x>=-1200) {
            main_text._x -= diff;
        if (main_text._x>=56) {
            main_text._x = 56;
        } else if (main_text._x<=-2300) {
            main_text._x = -2300;
    // when you click on the large movieClip, the current position is stored in a variable...
    main_text.onRelease = function() {
        tempX = main_text._x;
        gotoAndStop(3);
    // this is the for the button to return, it will position the large movieClip using the stored value from the variable...
    goBack.onRelease = function() {
        gotoAndStop(1);
        main_text._x = tempX;

  • First image in Image sequence

    I made an Image sequence into InDesign CS6, Folio Overlays.
    But when I look at the result, I still see the first image at the back of the sequence.
    This is what I tried:
    1) Select the option: Show first image initially.
    But offcourse that wouldn't help.
    2) I deselect the option Show first image initially and placed another image into the (empty) frame.
    Also did'nt work.
    3) Placed an image not in the image sequence frame, but on top of it.
    Also doesn't work.
    How can I fix this problem?

    You're right Bob.
    This is the first time I used an non geometric form (shape).
    I first used the standard tin can.
    Now where are talking about standard Photoshop (3D) shapes, there is another thing:
    In Photoshop CS5 I created from a rectangle an tin can, that was nice.
    When I use the same (.psd) file and the same standard 3D shape (tin can) I get a total different result.
    Do you know why Adobe changes this option in Photoshop CS6?
    And how I can get the same result as I got in CS5?

  • Opening First Image Takes forever

    Hey guys.
    Just as the title says, every time i start photoshop CS2 (latest update) (windows xp) the first image always takes a long time to load (e.g. 30 seconds) no matter the image or how long i give photoshop to load first.
    Any images after that load basicly instantly.
    Any ideas?

    switch your default system printer to something local. anything. just not a network printer.

Maybe you are looking for

  • Mid-2010 MacBook Pro Safari/Graphics issue??

    Hi. Below I've posted a picture of what I've been experiencing on my mid-2010 MacBook Pro that is running Mac OS X Lion (10.7.1). Usually, my screen stays like that for a few seconds, then those little things go away. However, when I took the screens

  • Cant open meeting.ics invites

    Suddenly my iPhone, iPad and Macbook can't add meeting.ics invites to the iCloud calendar. Anyone else seen this? Was working fine a week or two ago. Running iOS 8.1.3 and Yosemite.

  • What is going on for Ruby and RoR at OOW?

    http://db360.blogspot.com/2008/08/what-is-goign-on-for-php-and-ruby-on.html

  • Camera Connector Kit and SONY Digital camera MP4 files

    Using the Camera Connector Kit I am able to copy SONY Digital camera MP4 files. I am unable to play it on the iPad. I have tested this on 4.2 and 4.3GM of iOS. With more and more people using iPads this type of functionality should be working.

  • With a UNION query my drill downs disappear

    Hi all, When a make a query in the query generator of SBO, all my drill downs or arrows vanish when I make a union of two or more queries. When I keep the queries separate, the drill downs are there. Has anybody experienced the same phenomenon? Has t