Question about scrolling and Movie Clips Loaded from the Library

I hope I am posting this in the right forum.
Ok, I'm using actionscript 2.0, and I am trying to make a scrolling image gallery. I have a movie clip with three layers. the first contains a movie clip used as a scroll bar. The second is a mask used to hide the overflow content, and the third contains movie clip thumbnails. when I click one of the thumbnails, it loads a symbol containing a larger version of the picture over top of the thumbnails on the same layer. My problem is, the large image is added at the very top of the movie clip, even when it is scrolled out of sight. I want it to appear in sight, so the user doesn't have to scroll all the way back up to the top to see it. This is annoying and confusing. Is there a way to do this?
Here is the code I used to create the scroll effect (there is actually a whole lot more to the code but it is very long, so I am not adding it now. I will if it is needed though) 
(Oh, and there is no text involved in this. I just got this code off a tutorial and I haven't changed the variable names yet)
    var scrollUpper:Number = 58;
    var scrollLower:Number = 309;
    var textLower:Number = 60;
    var textUpper:Number = -179;
    var scrollRange:Number = scrollLower - scrollUpper;
    var textRange:Number = textLower - textUpper;
    var startY:Number = imagesHolder_mc.thumbs_mc._y;
    function scroll(){
       var moved:Number = imagesHolder_mc.scroller_mc._y - scrollUpper;
       var pctMoved:Number = moved/scrollRange;
       var textMove:Number = pctMoved*textRange;
       imagesHolder_mc.thumbs_mc._y = textLower - textMove;
    imagesHolder_mc.scroller_mc.onPress = function(){
       this.startDrag(false,this._x,scrollUpper,this._x,scrollLower);
       this.onMouseMove = scroll;
    imagesHolder_mc.scroller_mc.onRelease = scroller_mc.onReleaseOutside = function(){
       this.stopDrag();
       this.onMouseMove = null}

Thanks for your reply. I'll try to explain it better. I have a long, vertically scrolling movie clip. This movie clip contains lots of thumbnails. When I click a thumbnail, the full sized image is loaded from the library and displayed within the same movie clip. when I click the full size movie clip, it disappears again, and I can click another thumbnail to display another full size image. So I'm not just adding more and more stuff to the gallery if that's what you were thinking. I'm just clicking thumbnails to display the full size image so I can look at it, closing it, and moving on.
But the full sized image is fixed at the very top of the scrolling movie clip, so if I click a thumbnail at the very bottom, I have to scroll all the way back up to the top to see the full size image. I just want the full size image to appear on screen no matter how far down I have scrolled to click a thumbnail.
I made my basic gallery useing this tutorial:
http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash- 8/
if you want to take a look at that, to get an idea of what I'm talking about.
Now I'm just trying to add some scrolling functionality, which wasn't included, but I don't really understand actionscript well enough to do this easily on my own.
Sorry for the long reply. I hope this is clearer.

Similar Messages

  • I rented a movie and it downloaded but the movie skips and i can hear the words but the picture does not? and now the movie is gone from the library and i only rented it an hour ago? what do i do?

    I rented a movie and it downloaded but the movie skips and i can hear the words but the picture does not? and now the movie is gone from the library and i only rented it an hour ago? what do i do?

    I'd report the problem to the iTunes Store. 
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • I have a iPod Nano, when it is connected to my laptop all my songs and books are there but when it is disconnected from laptop, some books and songs are missing from the library

    I have a iPod Nano, when it is connected to my laptop all my songs and books are there but when it is disconnected from laptop, some books and songs are missing from the library

    I have a simlar issue like this when loading my movies to my iTouch. iTunes says that all of your wanted content is sync and your iPod says that all content wasn't synced, is that what you are saying?

  • Search clips removed from the library

    Hello!
    Faced with such a problem in iMovie: made ​​a movie, left him in the draft program. Then, after a time, to sync my iPhone with iTunes deleting the album with the songs, which were used in the project iMovie.
    Now I can not import my project as window provides that "the project contains clips deleted from library " smartphone. I returned to this album again when synchronizing, but iMovie does not recognize the songs. In the old version of iMovie has been a possibility in such a situation to find these files on the iPhone if they were moved . The new version of this possibility, unfortunately, no or I do not see how to use this option.
    Help resume the project, a lot of time and effort has been spent on it, do not want to start all over again .
    Thanks for the help!
    P.S. I apologize for my English, do not know much of it. 

    I have a new problem.
    I redid all the songs again in my project, did everything as it was, but exports still not available. Wrote that "Export is not possible. This project contains clips deleted from your library", but absolutely all audio tracks, I replaced the existing library. There are no more icons with error (exclamation mark in a yellow triangle) in the project.
    What do I do? When playing back a project, all good, all the video and audio то бе played, but does not want to export

  • How do I separate short movie clips loaded from my digital camera to iPhoto 11 at the same time pics are downloaded and how do I get those video clips to a dvd that will play on a dvd player

    When loading pics to iphoto 11 from my camera, occassionaly it will include some video clips with the description of Movxxxx. I wonder if someone could direct me to some straight forward instructions as to how to transfer these video (movie) clips, which now exist in iphoto, to a dvd that will play on a dvd player as one might  expect to see a video play, including the audio that was captured at the time of filming.
    Thanks in advance for any assistance you can offer this novice.

    You need to open iMovie and it will have a event library called iPhoto Videos, click on that and the videos will load in the window next to it, then you make a new project in iMovie.  Then open iDVD and make a new project then import the movies to the program then burn to a DVD..

  • Mask - movie clip loaded from .swf

    Hi!
    I have made an application where a movie clip (map_mc) is
    masked by another movie_clip (map_window_mc:
    map_mc.setMask("map_window_mc");
    This works fine until I try to load an "external" .swf into
    map_mc:
    map_mc.loadMovie("Testmap.swf");
    Then the mask does not work anymore......
    Any suggestions?
    (The testmap.swf is also displaced from map_mc.........)
    I use Flash 2004 MX pro
    terjem

    terjem,
    > My problem is probably that I really don't know wath
    event
    > handler I should use...
    Depending on the approach you're using, there may not even
    be an event
    handler when the external SWF loads. If you're using the
    MovieClipLoader
    class, there will be. If you're using a
    MovieClip.onEnterFrame loop, there
    won't be.
    > Here is the first ("non-automatic") code that works:
    Okay.
    > map_mc.loadMovie("Testmap.swf");
    > trace("Loading started!");
    > this.onEnterFrame = function() {
    > if (
    > map_mc.getBytesLoaded() > 0 &&
    > map_mc.getBytesLoaded() >= map_mc.getBytesTotal()
    > ) {
    > trace("Loading complete!");
    > trace("File width: " + map_mc._width);
    > delete this.onEnterFrame;
    > } else {
    > trace("File width: " + map_mc._width);
    > }
    > };
    Okay. So far, so good. When bytes loaded is greater than
    zero and
    greater than or equal to bytes total, you'll know the
    external SWF has fully
    loaded. You'll know, because the "Loading complete!" trace
    will be visible
    in your Output panel. Well, that means the place in this
    script that
    represents "where to put additional code" is right were your
    trace()
    functions are. Not in the "else" clause, but the first one
    this.onEnterFrame = function() {
    if (
    map_mc.getBytesLoaded() > 0 &&
    map_mc.getBytesLoaded() >= map_mc.getBytesTotal()
    trace("Loading complete!");
    trace("File width: " + map_mc._width);
    [delete these trace() functions, if you like]
    [add your masking code here]
    delete this.onEnterFrame;
    // etc.
    > The code below does not work (the positioning of the
    > map_mc works, but not the setMask):
    Your problem may be right here ...
    > map_mc.setMask("map_window_mc");
    ... because "map_window_mc" is in quotes. Yes, the
    ActionScript Language
    Reference says the parameter of setMask() may be a string,
    but leave the
    quotes out and see what happens. In any case,
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • I DOWNLOADED A NEW ITUNES VERSION AND MY PODCASTS DISAPPEARED FROM THE LIBRARY

    When I downloaded the second to last version of iTunes to a Windows PC, my podcasts disappeared from my iTunes library and seem to be elsewhere in my computer. Yet iTunes still says I have 80 podcasts. And podcasts still download to somewhere in my computer and sync to my iPod. However, there are some that are on my iPod that I can't find on my computer so I can't delete them. I don't know where to look other than the search function, which hasn't shown me all the podcasts that are stuck on my iPod.
    I tried uninstalling and reinstalling iTunes a couple of times. No luck. A new version of iTunes came along and I downloaded that. No luck. Don't know what else to do.
    Any help appreciated.

    Try and force iPad into Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.

  • Songs wont load from the Library in ITues to the IPod!

    I am new to this. I bought a IPod and instlled everything correct. I downloaded songs and they are in the library. So i checked the song that I want to send into the IPod and go to file and Update Songs To Ipod and the Ipod on the screen turns red for a second and the screen tells me Updating songs, but nothing happens! What am I doing wrong! I am about to take this back to the store and tell them I dont want it anymore. Can someone please assist me? Thank you
    Liz Q

    Some Songs Do Not Transfer To iPod
    And you might take a few minutes with this iPod 101 page,
    the section on "Crank up the Tunes" is about moving iTunes songs to the iPod.
    http://www.apple.com/support/ipod101/

  • Question about scrolling through clip images

    This may be an iMovie and iDVD question, or more of an iMovie.
    In the scene menu, when I'm making menu buttons and want to use a clip 'photo' rather than a motion clip, I know I uncheck the movie box, and move the cursor to get the picture. That said, it seems there are at least several seconds between these clips, and I can never stop on or find the exact image I want for the chapter. This seems to be the case in iMovie, too, when I'm bookmarking chapters.
    Is there a way to fine-tune the scroll so I can see move seens rather than having the gaps? I've looked all over the place for a way to do this, so sorry if it is something obvious that I missed.
    This is a great forum, and a huge help for a very recent PC to Mac convert.

    Thanks for your reply. I'll try to explain it better. I have a long, vertically scrolling movie clip. This movie clip contains lots of thumbnails. When I click a thumbnail, the full sized image is loaded from the library and displayed within the same movie clip. when I click the full size movie clip, it disappears again, and I can click another thumbnail to display another full size image. So I'm not just adding more and more stuff to the gallery if that's what you were thinking. I'm just clicking thumbnails to display the full size image so I can look at it, closing it, and moving on.
    But the full sized image is fixed at the very top of the scrolling movie clip, so if I click a thumbnail at the very bottom, I have to scroll all the way back up to the top to see the full size image. I just want the full size image to appear on screen no matter how far down I have scrolled to click a thumbnail.
    I made my basic gallery useing this tutorial:
    http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash- 8/
    if you want to take a look at that, to get an idea of what I'm talking about.
    Now I'm just trying to add some scrolling functionality, which wasn't included, but I don't really understand actionscript well enough to do this easily on my own.
    Sorry for the long reply. I hope this is clearer.

  • Indesign won't let me drag in files from the library

    I did this fine on a mac, but on my windows Vista using CS4, I cannot drag with my mouse from the .indl library file.  I get the locked symbol when I try.
    I have restarted Indesign and reset my preferences but still no luck.  I have no idea why this is happening.  Can anyone help me?

    The first question is: can you use Place Item from the Library panel to place the same items?
    If not, there's something wrong with your library file.
    If so, there's something wrong with dragging/dropping.
    Could it be that you have two copies of the same library open? That can happen after a crash. It can result in this kind of mysterious behavior.
    Dave

  • When i sync my music from com to my Iphone and movie clips I can't play them. It look likes it is in iCloud. Next to the music and movie clips there is a download sign (circle with a dot inside)

    When i sync my music from com to my Iphone and movie clips I can't play them. It look likes it is in iCloud. Next to the music and movie clips there is a download sign (circle with a dot inside)

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

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

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

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

  • HT201303 i have tried to perchase a movie and it keeps coming up with questions about my past thet i dont remember the answer to. how do i find out the answers? i have never come across these questions until now

    i have tried to perchase a movie and it keeps coming up with questions about my past thet i dont remember the answer to. how do i find out the answers? i have never come across these questions until now

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Quick question: what is the difference between graphic and movie clips?

    What is the difference between the two symbols: graphic and movie clips? They both contain frames..?

    movie clips can have
    instance names : so they can be controlled via actionscript
    filters applied : drop shadow, glow, blur, color adjust etc
    blend modes applied : difference, screen, lighten, darken, etc.
    3d transformations
    graphics:
    none of the above
    the only real practical reason to use a graphic is the reason jdehaan stated. a graphics internal animation can be scrubbed via the main timeline. graphics will only advance when the main timeline advances. when the main timeline stops.. graphics stops.
    movieclips on the otherhand are said to run independent of the main timeline. so you can have a MAIN timeline with one frame only and the movieclip's interior animation will run constantly.
    also via the properties panel you can tell a graphic to stay stuck on a certain frame or loop a set number of times.
    always use movieclips unless you have a reason not too. as kglad said it will save you and others a lot of hurt in the future.

  • Basic question about storage and safety in iMovie '11

    A very basic question about storage and safety:
    I want to keep a backup of my raw footage on my external hard drive prior to begin working on the movie in iMovie. I want to do this:
    1. Upload the digital files from my camcorder to my Desktop *(as opposed to iMovie)*
    2. Duplicate that footage/clips.
    3. Put the duplicate clips/footage into a folder labeled with the name of that footage (like "Fun At the Dentist" or "Jimmy Learns How to Yodel").
    4. Drag the folder with the footage/clips into my external hard drive into a pre-existing folder titled "Backups/duplicates of all of my raw footage/clips." This big granddaddy folder will house all of the child folders of different movies.
    5 Then, open up iMovie '11 and import the raw footage/clips from my Desktop rather than from my camcorder.
    6. Then I want to make a duplicate of my finished movie and put it in my external hard drive in a "Finished Movies" folder.
    I know that the original raw unedited footage will always be in iMovies '11 but I want the original to also exist immediately accessible in my external hard drive.
    QUESTION:
    Is this viable? Is it wise? (I know it goes an extra unnecessary step, but aside from that.)
    *Do you have any precautionary advice?* Should I do something in my iMovies '11 preferences? What?
    In earlier years with iMovie '04 or '06 (cannot recall) I made many novice errors and ended up losing audio to my finished movie. I also lost footage.
    This time around with iMovie '11 I don't to make such novice, ignorant errors.
    Thanks so much for any comments to this question.
    -L

    Yes I'm sure it will work great for you.
    The iFrame format is something Apple has come up with. The reason for its existence is unknown to me so I can only speculate. But it seems to me that Apple "invented" this format in order to have devices such as Ipod/Ipad/Iphone/Ixxx create clips that are editable on consumer hardware such as already mentioned devices but also standard Mac computers, without the need for format conversion.
    iMovie converts most input formats during import, which takes a lot of time, and this need for conversion often comes as a surprise to most people new to home video editing.
    iFrame has a resolution of 960x540 which is long way from the common standards of 1920x1080 and 1280x720. If your end target is YouTube however, this may not be too bad though. However if you intend to go with YouTube HD, you may find iFrame footage to look wrong since they are effectively upscaled to a higher resolution.
    Technically iFrame uses the H.264 algorithm, a smaller frame size (960x540) and a rather low compression scheme. This will result in large files, but the plus side is that the files are ready for editing without the need for any conversion and iMovie will natively edit the files.

Maybe you are looking for

  • Adding one more participant to approve the task in workflows

    Hi All, I'm having a requirement of adding the adding one more workflow user for approving the task. How to add one more workflow user in the human and allow him to approve the task which has been already approved by another workflow user, means it i

  • Lost ability to lock phone after dealing with desktop

    I didn't realize that I selected the desktop to restore my phone until too late. Now I lost the lock icon to lock the phone. Any suggestions? Solved! Go to Solution.

  • Using tableView in PCR

    I'm developing a Personnel Change Request (PCR) and want to use a tableView to display search results from a search page.  Normally, in a JSPDYNPage program, the tableView doNavigate event processor is coded within the JSPDYNPage, however, within the

  • File disappears when trying to export with "share" in FCP X...

    I have FCP 10.1.3 running on a macbook pro running 10.9.4; attached to an external 8 tb drive with over 6 tb of free space. When I try to export a project using "share," the file will start to save to my destination, but then just disappear at exactl

  • Daily reminders keep disappearing

    The daily reminders keep disappearing (since ios7) how do I stop this? I have to keep re-entering them which defeats the object of setting a daily reminder Why did they change the reminders app. It is totally useless now