How do you horizontal scroll a movie clip?

Can anyone suggest any resources for horizontal (left to right) scrolling a movieClip? I want to be able to scroll through a movie clip that has pictures in it. I can't find any good ones that explain the code. FYI, I do not want the user to use a scroll bar to scroll through. They should be able to touch the screen (on the movieClip) and scroll left or right. I looked at the ThrowPops plugin example on Greensock's website but the code is not explained very well.  So I need a basic description of how to scroll a movie clip.

google: as3 beginner tutorial flash ios movieclip scroll

Similar Messages

  • I have 3 consecutive movie clips that I am trying to drop into the drop zone but it only recognizes the first one and only produces the firts one in a DVD. How can I drop all three  movie clips into one drop zone

    On IDVD, I have 3 consecutive movie clips that I am trying to drop into the drop zone to create a DVD but it only recognizes the first one I dropped and only produced the first one in a DVD. How can I drop all three  movie clips into one drop zone.

    I have had some luck doing the following: Export each clip from imovie as a quicktime clip. Open iDVD and create a new project. Import a few stills into iDVD and then click on the button that gets created to get into the screen where the individual slides appear. Drag each quicktime into that screen and arrange in the order you want. You can then delete the stills. The button that appeared when you dropped in the stills will launch a complete show.

  • How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    JasonFromSK wrote:
    With the newest Airport firmware (7.6.1), it seems I should be able to do this.
    Really? I need to check that out!
    You should certainly be able to add content by reference to itunes from such a disk (even before the update) - so long as itunes knows the location of the file (set Preferences not to copy to local library when adding the media) it will stream it to AppleTV if the disk is available.
    I hope you're right, but I'd be surprised if current Extremes can be upgarded to provide a full Home Sharing service - marvellous if they can but I'd be surprised as i've long said we need an Apple media server either based on TC or AE to do this kind of thing.
    AC

  • Premier After Effects... How does one places the whole movie clip into AF?

    After years of using Premiere, I’m looking at using After Effects. Premiere does most of what I need (I don’t need moving graphics and titles) but the masking and rotoscoping seems to be better in After Effects. I’ve started a great video by Tom Green at school. This is probably silly question- I don’t understand is how does one places the whole movie clip into AF? I only see 30 seconds or so of the 5 minute clip on the timeline in AF.

    Ahh, thanks. I simply add more minutes (the length of the clip) into the "new composition".
    A new problem: When I try a dynamic link with premiere AE says “Failed to connect to adobe Premiere Pro Dynamic Link”, but PP will link with AE. I just installed AF last week. Do I need to uninstall and reinstall them (along with the rest of the Creative Suite)?

  • HT1539 How do you download the digital movie to your iPad?

    How do you transfer a Digital movie copy onto your iPad?

    By syncing with iTunes, the same way you sync any other content.
    http://support.apple.com/kb/HT1386
    If you're having difficulty, let us know where things are breaking down for you and I'm sure someone can help.
    Regards.

  • How do you easily find the movies that are on sale?

    How do you easily find the movies that are on sale?  I can't seem to easily find any of the $9.99 HD movies or the $5- $6 non-HD movies.

    Go to Settings>iTunes & App Store and turn Videos off under Show All.

  • HT201301 How do you delete a purchased movie from an ipad 2

    How do you delete a purchased movie from n ipad 2

    I expect the same as on the original iPad.  Open the Videos app and display all movies.  Touch "Edit" in the upper right corner and then touch the "X" for the movie you wish to remove.

  • How do you delete a rented movie from an ipad

    rented movies from the ipad.  it has been past the 24 hour rental period, but can't remove from the ipad and it is taking up significant space.  How do you deleted a rented movie from an ipad?

    Tap and hold the movie's thumbnail until a circled X appears.  Tap the X to delete.

  • How do you export photos and movies from iPhoto to your iPhone? I synced the device and noticed that some photos and some movies from iPhoto on my laptop were not transferred to my iPhone.

    How do you export photos and movies from iPhoto to your iPhone?  I synced the devices and noticed that some photos and movies on my laptop iPhoto were not transferred to my iPhone?

    I am not sure, which answer you found - so just in case:
    If you sync your iPhone with the iPhoto library, the photos will only stay on the iPhone until the next sync and they are not in the Camera Roll. If you transfer using the Photo Stream, they will only be vidsible in the stream, until they are replaced in iCloud by newer content.
    So, if you want to transfer the photos permanently, save them to the Camera Roll.

  • Mavericks: How can you deactivate scrolling like you could with Mountain Lion? I mean shut off, nothing else.

    Mavericks, mouse: How can you deactivate scrolling like you could with Mountain Lion? I mean shut off, nothing else, and I need it for photoshop. PS: Apple people: Mavericks is not satisfying - why turn good things bad? Urs Keller, Switzerland

    Open System Preferences then type scrolling in the search field top right corner of that window.
    There may be more than one way to do this for you.

  • HT5731 How do you recover an interrupted movie download on Apple TV?

    How do you recover an interrupted movie download on Apple TV?

    if you have a second generation appletv, it will appear on your movie list in "computers".
    if you have a first generation appletv it will appear in "my movies"

  • How do you disable text cursor movement when scrolling horizontally with a tilt wheel or touchpad; or rather, how do you make these horizontal scrolling actions only scroll horizontally and nothing else?

    Frequently when I use a touchpad or tilt wheel mouse to scroll horizontally, the web page does not scroll at all. Instead, the text cursor moves left or right. If the text box is off-screen, the page will jump to it, losing the spot on the page I was reading. This happens way too often given the sensitivity of touchpads and tilt wheel mice.
    I'd like to just disable the cursor movement function of the horizontal scroll. I don't feel that it is useful and it actually hurts my web browsing experience. I do not want to disable horizontal scrolling though; I just want it to always scroll horizontally and do nothing else.

    You would make this a little easier if you posted a link to the page.
    Most of the jump seems to be some extra padding or margin between the tabs  when you rollover, but I am not able to find it.  Is there any other css that is governing this page? I did remove a couple of <p></p> set of tags you had  and it improved the jump, but it is still there.
    If the page is live, run it through the validator http://validator.w3.org/ , fix whatever errors it finds, if you still have the jump, post a link to the page and the issue might get found.
    Gary

  • 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.

  • Deadline: 22 May 08H00 Help ME Please Scrolling a movie clip from the Centre

    Hi
    It has been a while since I have been here I am in need for
    some serious help, I am so frustrated.
    What I want to do is pretty simple, I am building a DJ
    website and the navigation is a pitch controller, similar to what
    they have on a mixing board anyway, when you drag the pitch
    controller I need the movie clip symbol to scroll either up and
    down, so technically the pitch controller will have to start from
    the center, but I have no idea what I am doing.
    I have been going through tutorials for 15 hours but all they
    show you is how to create a normal scroller that starts at the top
    and srolls down. I am in desprite need as I have a deadline to meet
    for tomorrow morning. HELP

    ok this is the code I got from a tutorial that i was woking
    from, but I dont really understand it in detail what I do know is I
    dont need the arror buttons in this code becuase all I need is a
    the scroller.
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number =
    maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number =
    scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number =
    (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
    var currPos:Number = this._y;
    startDrag(this, false, left, top, right, bottom);
    this.onMouseMove = function() {
    dy = Math.abs(initPosition-this._y);
    contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
    stopDrag();
    delete this.onMouseMove;
    btnUp.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y+speed<maskedView._y) {
    if (scrollFace._y<=top) {
    scrollFace._y = top;
    } else {
    scrollFace._y -= speed/moveVal;
    contentMain._y += speed;
    } else {
    scrollFace._y = top;
    contentMain._y = maskedView._y;
    delete this.onEnterFrame;
    btnUp.onDragOut = function() {
    delete this.onEnterFrame;
    btnUp.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y-speed>finalContentPos) {
    if (scrollFace._y>=bottom) {
    scrollFace._y = bottom;
    } else {
    scrollFace._y += speed/moveVal;
    contentMain._y -= speed;
    } else {
    scrollFace._y = bottom;
    contentMain._y = finalContentPos;
    delete this.onEnterFrame;
    btnDown.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onDragOut = function() {
    delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
    scrollFace._visible = false;
    btnUp.enabled = false;
    btnDown.enabled = false;
    } else {
    scrollFace._visible = true;
    btnUp.enabled = true;
    btnDown.enabled = true;
    scrolling();

  • As 2.0 class objects- how to swap depths of a movie clip

    How do you bring an object to the top? if it's just a movie
    clip, I could do a swapdepths, but if it's a movieclip that's part
    of an AS 2.0 object, how do you swap depths of the whole object?
    I create 2 objects (same class) which each have a movieclip
    within them. The movie clip is created on a unique level with
    getNextHighestDepth().
    I have a button which tries to swapDepths of the 2 objects,
    but I can't get it to work. Can anyone help?
    here's the detail:
    1. create a symbol in the library called "someShape_mc" and
    put some shape in it - a circle, a square, whatever - this symbol
    is exported for action script, and has an AS 2.0 Class of
    "ClassObject" ( I also put a dynamic text field in the shape to
    display the current depth - it's called "depth_txt")
    2. create a button called "swap_btn" on the stage.
    Frame 1 has the following actionscript:
    var BottomObject:ClassObject = new ClassObject(this,100,150);
    var topObject:ClassObject = new ClassObject(this,110,160);
    // for the button add this:
    Swap_btn.onRelease=function() {
    // try it with the full path:
    _root.BottomObject.__LocalMovieClip.swapDepths(_root.topObject.__LocalMovieClip);
    // try it with with just the objects:
    BottomObject.__LocalMovieClip.swapDepths(topObject.__LocalMovieClip);
    // try it with the object as a movieclip
    BottomObject.swapDepths(topObject);
    trace("Did it Swap?");
    // try it with a method in the class....
    BottomObject.swapIt(topObject.__LocalMovieClip);
    BottomObject.swapIt(topObject);
    trace("nope... no swapping going on...");
    ================================
    here's the AS file: "ClassObject.as"
    class ClassObject extends MovieClip{
    var __LocalMovieClip;
    var __Depth;
    function ClassObject(passedIn_mc:MovieClip,x:Number,y:Number)
    __Depth = passedIn_mc.getNextHighestDepth();
    __LocalMovieClip =
    passedIn_mc.attachMovie("someShape_mc","__LocalMovieClip",__Depth);
    trace("made a shape at " + __Depth);
    __LocalMovieClip._x = x;
    __LocalMovieClip._y = y;
    __LocalMovieClip.depth_txt.text = __Depth;
    public function swapIt(targetMc) {
    __LocalMovieClip.swapDepths(targetMc);
    __LocalMovieClip.depth_txt.text =
    __LocalMovieClip.getDepth(); // no difference.
    trace("Tried to swap from within the class...");
    ========================
    so- the goal is to bring the "bottom" Class object on top of
    the "top" object. The button tries various methods of swapping the
    depths of the movie clips - but there is not one that works. What
    am I missing?
    tia
    ferd

    Thank you for your response - and here I have included the
    code I reworked to show how it works, and doesn't work. you're
    right about not needing the extra containers, but this example is
    part of a bigger thing...
    I'm confused - it works ONLY if I attach the movie outside
    the class, even though the "attachment" occurs, I'm thinking, at
    the same scope level, that is, _root.holder_mc, in both examples.
    it seems that the advantage of having a class is defeated
    since I have to do the extra coding for each object that will be
    created. It's like the class can only have a reference to the
    movieclip outside itself, and not have a clip INSIDE that is fully
    functioning. am I right about this? Is there someplace good I can
    learn more about class objects and movieclip usage?
    also, my class object IS a movieclip, but " this.getDepth() "
    is meaningless inside the class object. hmmm...
    This one works..... attaching the movies at the root level
    (to a holder_mc)
    // Frame 1
    tmp1 =
    holder_mc.attachMovie("someShape_mc","tmp1",holder_mc.getNextHighestDepth());
    var BottomObject:ClassObject3 = new
    ClassObject3(tmp1,100,150);
    tmp2 =
    holder_mc.attachMovie("someShape_mc","tmp2",holder_mc.getNextHighestDepth());
    var topObject:ClassObject3 = new ClassObject3(tmp2,110,160);
    // for the button add this:
    Swap_btn.onRelease=function() {
    BottomObject.swapIt(topObject);
    trace("clicked button");
    // ClassObject3.as
    class ClassObject3 extends MovieClip{
    var __LocalMovieClip:MovieClip;
    function
    ClassObject3(passedInMovieClip:MovieClip,x:Number,y:Number) {
    trace(" this class object is at ["+this.getDepth()+"]");
    __LocalMovieClip = passedInMovieClip;
    __LocalMovieClip._x = x;
    __LocalMovieClip._y = y;
    public function swapIt(targetMc:MovieClip):Void {
    trace("do the swap in the class");
    trace("===========================");
    trace("target type :" + typeof(targetMc));
    trace("__LocalMovieClip type :" + typeof(__LocalMovieClip));
    __LocalMovieClip.swapDepths(targetMc.__LocalMovieClip);
    This one does NOT work..... attaching the movies within the
    class object...
    // Frame 1
    var BottomObject:ClassObject2 = new
    ClassObject2(holder_mc,100,150);
    var topObject:ClassObject2 = new
    ClassObject2(holder_mc,110,160);
    // for the button add this:
    Swap_btn.onRelease=function() {
    BottomObject.swapIt(topObject);
    trace("clicked button");
    // ClassObject2.as
    class ClassObject2 extends MovieClip{
    var __LocalMovieClip:MovieClip;
    function
    ClassObject2(passedInMovieClip:MovieClip,x:Number,y:Number) {
    __LocalMovieClip =
    passedInMovieClip.attachMovie("someShape_mc","stuff1",passedInMovieClip.getNextHighestDep th());
    __LocalMovieClip._x = x;
    __LocalMovieClip._y = y;
    public function swapIt(targetMc:MovieClip):Void {
    trace("do the swap in the class");
    trace("===========================");
    trace("target type :" + typeof(targetMc));
    trace("__LocalMovieClip type :" + typeof(__LocalMovieClip));
    __LocalMovieClip.swapDepths(targetMc.__LocalMovieClip);

Maybe you are looking for

  • CS2 Quits constantly, new machine, same old problem

    Hello. my g5 quad was replaced by apple with a 3.0GHz MacPro and while running certain apps hard, like CS2, Adobe Camera Raw, or Adobe Bridge, they will quit unexpectedly just as they did on the defunct g5 we had. I have tried everything, just as i d

  • Tree Component with incremental auto-refresh?

    Is there a free (preferably) or commercial JSF tree component with a general AJAX-based incremental auto-refresh? Essentially when dealing with a tree of data which can lose or add nodes at any time, it would be nice to have an optional polling mecha

  • Can not close a website that popped up

    This site popped up and now I can not close it. http://visitorssurveygroup.com/g/winner/prize_ns_p.php

  • Facing problem in formatting

    hi, m having pavilion dv6 6186tx laptop, m facing problem in formatting my lappy i had ordered windows 7 cd ( the genuine OS which was allotted to my lappy by hp ) from HP, i received 3 cd's 2 of my OS and 1 for the drivers, when i start formatting m

  • Need  to find the class type for a material

    Hi all, i need to find the class type for the material. is there any FM or the table where i have both MATNR and KLART fileds. Kindly reply asap. Thanks Sri