AS3 Creating Side Scrolling Thumbnails?

I'm creating a gallery page for my site, and I need a side
scrolling thumbnail display.
Basically it would have several thumbnails that would keep
scrolling for ever (some how duplicating the content in a mask). If
anyone has anything like this or any links that would be great.
Cheers!
Parallels.fm

Six different examples here:
http://robdillon.com/flash.html

Similar Messages

  • Tutorial on creating a scrolling thumbnail menu in AS 3.0

    I've found several good tutorials in AS2.0 on creating a scrolling thumbnail menu bar for adding to a photo gallery, but nothing in AS3.0.  Anyone have a tutorial or code they'd like to share?

    A solution using tilelist component
    import fl.controls.TileList;
        import fl.controls.listClasses.ImageCell;
        import fl.data.DataProvider;
        import fl.events.ListEvent;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.display.Loader;
        import flash.net.URLRequest;
    var loader:Loader;
    var dp:DataProvider = new DataProvider();
    dp.addItem({label:"IMAGE 1",source:"images/image1.jpg"});
    dp.addItem({label:"IMAGE 2",source:"images/image2.jpg"});
    dp.addItem({label:"IMAGE 3",source:"images/image3.jpg"});
    dp.addItem({label:"IMAGE 4",source:"images/image4.jpg"});
    dp.addItem({label:"IMAGE 1",source:"images/image1.jpg"});
    dp.addItem({label:"IMAGE 2",source:"images/image2.jpg"});
    dp.addItem({label:"IMAGE 3",source:"images/image3.jpg"});
    dp.addItem({label:"IMAGE 4",source:"images/image4.jpg"});
    dp.addItem({label:"IMAGE 1",source:"images/image1.jpg"});
    dp.addItem({label:"IMAGE 2",source:"images/image2.jpg"});
    dp.addItem({label:"IMAGE 3",source:"images/image3.jpg"});
    dp.addItem({label:"IMAGE 4",source:"images/image4.jpg"});
    tilewindow.width=500;
    tilewindow.height=100;
    tilewindow.dataProvider = dp;
    tilewindow.rowCount=1;
    tilewindow.addEventListener(ListEvent.ITEM_CLICK,loadImage);
    function loadImage(event):void{
    loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,oncom);
    loader.addEventListener(IOErrorEvent.IO_ERROR,onerr);
    loader.load(new URLRequest(event.item.source));
    function oncom(event):void{
    container.addChild(loader.content);
    loader.content.width=500;
    loader.content.height=250;
    function onerr(event):void{
    trace(event);
    complete source can be found here  http://www.4shared.com/file/zeOd0Dey/tileListcomponent.html

  • Scrolling Thumbnails - Dynamic List

    Can you point me to a source for creating a scrolling
    thumbnail movie where the images in the movie are either populated
    from a database, or from a file structure?

    OK, so I've tracked down the code that's causing it. I use
    attachMovie to attach the thumbnails to their holder clip. What is
    causing the glitch with the gradient mask is the code on the border
    of the thumbnail. The problem is the _visible=true code. It's in
    onEnterFrame, so _visible=true is called on each frame iteration,
    and each time it's called, it applies the mask again (resulting in
    a solid block because the gradient mask is applied so many times.)
    If I just remove all the _visible references, it works fine, so it
    seems like a bug with gradient masks when you set masked content's
    _visible state. Here is the code on my thumbnail's border: (I
    realize there are many ways to do this more efficiently, but the
    point is that calling _visible=true shouldn't reapply the gradient
    mask to the masked contents.)
    onClipEvent (load) {
    _alpha = 0;
    _visible = false;
    onClipEvent (enterFrame) {
    if (curProjectThumb == _parent.id) {
    _visible = true; // every time this is called, it reapplies
    the gradient mask to this thumbnail
    if (_alpha<100) {
    _alpha += 20;
    } else {
    _alpha = 100;
    } else {
    if (_alpha>0) {
    _alpha -= 20;
    } else {
    _alpha = 0;
    _visible = false;

  • How do I create a scrolling slideshow in iMovie?

    So I know how to make a basic slideshow in iMovie, but I'd like to create a "scrolling/sliding" slideshow (see link: http://www.youtube.com/watch?v=CXit8kxCCTg). That video uses videos, however, I'm using still pictures. The pictures can all just be side by side too, they don't have to stack like one on top of the other (I'll edit all my photos before hand to make them the same height). I'm using iMovie '11. I'll probably have 150-300 pictures all together. I'd also love to add a timeline to the bottom of the pictures to scroll with the pictures...should I just add that in to each individual picture before hand, and then put it all into iMovie, or can I do it all in iMovie? Also, towards the end of that youtube video, it all starts scrolling backwards....is there a way to do this???
    Basically, I'd like to create a scrolling picture timeline with continuous text scrolling across the bottom that I can also play in reverse. Is this even possible in iMovie? Any help with this would be GREATLY appreciated. This is time sensitive. I really need to know how to do this by Friday. THANKS!!!!!

    I agree with John that you could do this in Final Cut Pro X and Motion, but there is probably a plugin that you can purchase that would do the hard work in Motion for you.
    I think it might be technically possible to do this in Motion and export out in a file that iMovie can import, but in the video example, there is a lot more going on such as multicam syncing that would require Final Cut Pro X. Motion's strength is not to use it as a video editor. It is best used as a way to create a special effect that you can then use in a FCPX project.  (just my opinion)
    Here are some example of FCPX plugins. There are hundreds more.
    http://www.fcp.co/final-cut-pro/news/1065-animated-panel-transitions-with-the-pa nel-pop-plugin-for-final-cut-pro-x
    http://www.fcp.co/final-cut-pro/news/1011-pixel-film-studios-release-final-cut-p ro-x-plugin-proslice-for-split-screen-work

  • XML scrolling thumbnail, image loader, & Buttons [halfway works]

    Intro:
    I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch.
    For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of flash expired and only recently was I able to purchase the Adobe Web Suite CS4 as well as a new computer which could run the apps.]
    Last Friday saw a bump in the road in the development of my site as two, rather straightforward task, turned into something short of a nightmare as I have been unable to get past these two, seemingly, relatively simple task.
    I have posted in 4 other flash forums the issues, in detail, that I am facing - and have quite a bit of interest/views in the topic as the numbers suggest - yet no response/answer as of yet. [Which confirms other messages I have seen which seem to state that working with buttons has become increasingly difficult with the newer version of flash - something Im a bit surprised with actually from Adobe. - I would have thought there would be a palette where you could set parameters...]
    Screenshot of Site/Timeline:
    Before getting into the two questions I have, I would like to post an image of the site as it looks whenever an swf file is saved out, as well as a piece of the timeline in the back for reference.
    Issue #1
    As of now when the swf file is saved out you get exactly what you see above:
    a: A scrolling thumbnail
    b: ...which loads a large image when clicked on it - PEFECT...
    BUT...
    1a: I need for the buttons to load in this action, not for it to just load on its own.
    [i.e., the silk_paintings gallery is what is open, so I need the "silk_paintings" button to call up this action]
    note: Initially I had attacked this problem by taking out the actions layer you see above and applying it directly to the individual buttons with some crude MouseEvent Listener/Handerls... that did not work - at all.
    Im sure it may be "easier" to make an array out of it, but with my coding level it may be "easier" to apply it to the buttons.
    1b: How I currently see it, I would take the xml-list and duplicate it for the number of galleries I have.
    [I would then re-name the xml-list to reflect the name of the galleries they are to represent, i.e. "silk_paintings"]
    [also, I would have to rename the folders to "thumbnails1,2,3, etc., & "images 1,2,3, etc"
    From there I would duplicate the actions and paste it into the buttons, changing the xml-list name to that of "silk_paintings", etc., as well as write in the MouseEvent listener Handler to make it work. [ah, ha, but what is that magic phrase, I have tried to implement various code from other tutorials, and all in vein.]
    Issue #2
    At this point I would be tickled pink just to get this to basic function to work.
    However, once the buttons are working and calling up the xml, etc., then I need the buttons to stay on the semi-transparent blue color it is whenever in the 'hit' state. [note: NOT pictured above.]
    With the way the buttons are currently set up, and with wanting to use scripting to get them to interact with the thumbnail gallery, it will have to be some miraculous code to tell that button what color to stay as whenever its clicked, and of course it going back to white when another button is clicked.
    Conclusion:
    Since this is an Adobe Forum I would like to make a few additional statements in hopes that the developers, etc. may take heed.
    Adobes products are not cheap, and when I went to purchase the websuite I went in as a designer needing a program as not to need to program.
    I understand the flexibility that coding gives, but something as simple as linking buttons should not be in the realms of rocket science. [yes, for many its not...but my brain just does not operate that route despite all the tutorials thrown at me.]
    Again, it would seem that there would be a button panel where you could drag options like scrolling thumbnail slider, loader, and then parameters would come up. [much like Apples iWeb. - but before the argument of one being pro and the other for non-pros, I see it differently. Software should not be the limiting factor in how flexible you can design, or rather ones lack of programming shouldnt be. With all the talented, and I say this in all humility and honesty, programmers working for Adobe, Im sure something could be programmed like what Im asking for.]
    note: Director is a good example, back in 1997 I knew nothing of multimedia and in one week I had assembled a portfolio, clicking buttons, speech, movies, and all. - and no, I dont have the money to buy more software!
    At this moment I am at the mercy of someone who reads code like its a nighttime tale they are telling their kids, and who can see the exact issue I have and can share the appropriate, correct code. [as I have noticed, it has to be on target - naturally - but this target changes with just a slight change in the design.]
    Thank you,
    peace
    Dalen
    p.s.
    The actionscript: [note: This is only the current working/good code that Im trying to get the buttons to call up.]
    stop();
    fscommand("allowscale", false);//keep SWF display at 100%
    var x:XML = new XML ();//Define XML Object
    x.ignoreWhite = true;
    var fullURL:Array = new Array;//Array of full size image urls
    var thumbURL:Array = new Array;//Array of thumbnail urls
    var thumbX:Number = 25;//Initial offset of _x for first thumbnail
    x.onLoad = function(){ //Function runs after XML is loaded
        var photos:Array = this.firstChild.childNodes;//Defines variable for length of XML file
         for (i=0;i<photos.length;i++) {//For loop to step through all entry lines of XML file
              fullURL.push(photos[i].attributes.urls);//Each loop, adds URL for full sized image to Array fullURL
              thumbURL.push(photos[i].attributes.thumbs);//Each loop, adds URL for thumbnails to Array thumbURL
              trace(i+". Full Image = "+fullURL[i]+"  Thumb Image = "+thumbURL[i]);         
              var t = panel.attachMovie("b","b"+i,i);//Each loop, Define local variable 't' as a new instance of 'b' movie clip, given unique instance name of 'b' plus the index number of the For loop
              t.img.loadMovie(thumbURL[i]);// Each loop, load thumbnail image from XML data into variable movie clip
              t._y = 0;//Set Y coordinate of variable movie clip
              t._x = thumbX;//Set X coordinate of variable movie clip based on variable thumbX
              t.numb = i;//Set sub-variable 'numb' inside variable t to hold index number
              t._alpha = 75;//Set the Alpha value of the variable movie clip to 75% - for onRollOver highlight action
              thumbX += 55;//Increment thumbX value so next thumbnail is placed 125 pixels to the right of the one before
              t.onRollOver = function () {//define onRollOver event of the variable movie clip
                   this._alpha = 100;//Set thumbnail alpha to 100% for highlight
              t.onRollOut = function () {//define onRollOut event of the variable movie clip
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              t.onPress = function () {//define onPress event of the variable movie clip
                   this._rotation += 3;//rotates thumbnail 3 degrees to indicate it's been pressed
                   this._x += 3;//Offset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y -= 3;//Offset Y coordinate by 3 pixels to keep clip centered during rotation
              t.onReleaseOutside = function () {//define onRelease event of the variable movie clip
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during rotation
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              t.onRelease  = function () {//define onRelease function to load full sized image
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during
                   this._alpha = 75;//Reset thumbnail alpha to 75%
                   holder.loadMovie(fullURL[this.numb]);//Load full sized image into holder clip based on sub-variable t.numb, referenced by 'this'
         holder.loadMovie(fullURL[0]);//Initially load first full size image into holder clip
    x.load ("silk_paintings.xml");// path to XML file
    panel.onRollOver = panelOver;
    function panelOver() {
         this.onEnterFrame = scrollPanel;
         delete this.onRollOver;
    var b = stroke.getBounds(_root);
    function scrollPanel() {
         if (_xmouse<b.xMin||_xmouse>b.xMax||_ymouse<b.yMin||_ymouse>b.yMax) {
         this.onRollOver = panelOver;
         delete this.onEnterFrame;
         if (panel._x >= 740) {
         panel._x = 740;
    if(panel._x <= (thumbX-10))  {
              panel._x = (thumbX-10)
         var xdist = _xmouse - 830;
         panel._x += -xdist / 7;
    The xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <slideshow>
    <photo thumbs="thumbnails/i_brown_fairy.jpg"  urls="images/brown_fairy.jpg"  />
    <photo thumbs="thumbnails/i_blonde_fairy.jpg"  urls="images/blonde_fairy.jpg"  />
    <photo thumbs="thumbnails/i_flower_fairy.jpg"  urls="images/flower_fairy.jpg"  />
    <photo thumbs="thumbnails/i_red_fairy.jpg"  urls="images/red-fairy.jpg"  />
    </slideshow>
    Attached is a link to the file I made named "index".
    https://rcpt.yousendit.com/706233226/5e7b4fe0973dacf090b5cbae32c47398
    I would have liked to have included the following files but was limited due to "you-send-it" not uploading folders.  Files not included: [but functioning] : xml list - images [folder] - thumbnails [folder]
    Again, Thank you
    Dalen

    The issues with the buttons calling up the scrolling thumbnail panel have been resolved, as well as keeping the buttons in their hit state once clicked, thanks to Rob.
    Those that have been following this thread, or stumble upon it in their searches later, may appreciate to see the final solution to this particular issue.
    [Hopefully I will be able to update this thread with a url in the future to show the site in operation, which may help somebody with their project in the future if its set up similarly.]
    Alas, it would be nice if future versions of flash had a more direct, flexible, user friendly method for creating navigation.
    [We may see development beyond the flash ads which everyone seems to loathe... and more creativity with flash in terms of games, web interactivity, &  animation.
    Below are 2 sets of code:
    a] the first is located within the first frame of the first button, and has some extra variables in it that the additional buttons call upon...
    b] the second is the code applied to every other button.
    stop();
    fscommand("allowscale", false);//keep SWF display at 100%
    var x:XML = new XML();//Define XML Object
    x.ignoreWhite = true;
    var fullURL:Array = new Array();//Array of full size image urls
    var thumbURL:Array = new Array();//Array of thumbnail urls
    //  .......  CHANGE
    var thumbX:Number;// = 25;//Initial offset of _x for first thumbnail
    // make an array of all of the instance names of each button object...
    // only do this once
    var buttonsList:Array = new Array(shadesOfGrey, silkPaintings);
    shadesOfGrey.isLatched = false;
    // the rollover function... repeat for each button
    shadesOfGrey.onRollOver = shadesOfGrey.onDragOver=function ():Void {
         if (!this.isLatched) {
              this.gotoAndStop(2);
    // the rolloff function... repeat for each button
    shadesOfGrey.onRollOut = shadesOfGrey.onDragOut=shadesOfGrey.onReleaseOutside=function ():Void {
         if (!this.isLatched) {
              this.gotoAndStop(1);
    // the mouse press function... repeat for each button
    shadesOfGrey.onPress = function():Void  {
         resetAllButtons();
         this.isLatched = true;
         this.gotoAndStop(3);
    shadesOfGrey.onRelease = function():Void  {
         x.load("shadesOfGrey.xml");// path to XML file
         thumbX = 25;
    function resetAllButtons():Void {
         for (b in buttonsList) {
              buttonsList[b].isLatched = false;
              buttonsList[b].gotoAndStop(1);
    x.onLoad = function() {//Function runs after XML is loaded
         //  resets the position of the panel on each new load
         panel._x = 740;
         //  .......  CHANGE  removes the existing movieclips from the panel before any new load...
         for (c in panel) {
              if (typeof (panel[c]) == "movieclip") {
                   removeMovieClip(panel[c]);
         var photos:Array = this.firstChild.childNodes;//Defines variable for length of XML file
         for (i=0; i<photos.length; i++) {//For loop to step through all entry lines of XML file
              fullURL.push(photos[i].attributes.urls);//Each loop, adds URL for full sized image to Array fullURL
              thumbURL.push(photos[i].attributes.thumbs);//Each loop, adds URL for thumbnails to Array thumbURL
              //trace(i+". Full Image = "+fullURL[i]+"  Thumb Image = "+thumbURL[i]);
              var t = panel.attachMovie("b", "b"+i, i);//Each loop, Define local variable 't' as a new instance of 'b' movie clip, given unique instance name of 'b' plus the index number of the For loop
              t.img.loadMovie(thumbURL[i]);// Each loop, load thumbnail image from XML data into variable movie clip
              t._y = 0;//Set Y coordinate of variable movie clip
              t._x = thumbX;//Set X coordinate of variable movie clip based on variable thumbX
              t.numb = i;//Set sub-variable 'numb' inside variable t to hold index number
              t._alpha = 75;//Set the Alpha value of the variable movie clip to 75% - for onRollOver highlight action
              thumbX += 55;//Increment thumbX value so next thumbnail is placed 125 pixels to the right of the one before
              t.onRollOver = function() {//define onRollOver event of the variable movie clip
                   this._alpha = 100;//Set thumbnail alpha to 100% for highlight
              t.onRollOut = function() {//define onRollOut event of the variable movie clip
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              t.onPress = function() {//define onPress event of the variable movie clip
                   this._rotation += 3;//rotates thumbnail 3 degrees to indicate it's been pressed
                   this._x += 3;//Offset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y -= 3;//Offset Y coordinate by 3 pixels to keep clip centered during rotation
              t.onReleaseOutside = function() {//define onRelease event of the variable movie clip
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during rotation
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              t.onRelease = function() {//define onRelease function to load full sized image
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during
                   this._alpha = 75;//Reset thumbnail alpha to 75%
                   holder.loadMovie(fullURL[this.numb]);//Load full sized image into holder clip based on sub-variable t.numb, referenced by 'this'
         holder.loadMovie(fullURL[0]);//Initially load first full size image into holder clip
    // this one function scrolls the panel for all of the buttons, it gets the
    // size of the panel when the images are loaded by any given button...
    stroke.onEnterFrame = function() {
         if (this.hitTest(_xmouse, _ymouse, false)) {
              if (panel._x>=740) {
                   panel._x = 740;
              if (panel._x<=740-panel._width+mask._width) {
                   panel._x = 740-panel._width+mask._width;
              if ((panel._x<=740) && (panel._x>=740-panel._width+mask._width)) {
                   var xdist = _xmouse-830;
                   panel._x += -xdist/7;
    Of note is the change to how the movie clips are measured... this change in and of itself has really helped to make the thumbnail panels operation more efficient.
    Below is the script for each additional button: [Having issues with the forums not letting me post additional code, so I will put the remaining code in a reply below.]
    cont.

  • FAQ: How can I create a scrolling gallery of images?

    You can use Flash Catalyst to create galleries, for example a scrolling list of thumbnails that display larger images when clicked. Here are some tutorials that explain how:
    Create a photo gallery (using list interactions), on the FlashCats blog
    Create a data list component -- Don't let the title scare you, a "data list" is a really powerful component to get to know better; it enables creation of very creative visual things like galleries. When you need repeating items, consider using a data list.

    Hi there,
    You can create a scroll motion where the image will fade out on scrolling, you need to use the Opacity tab under Scroll Effects Panel.
    If you particularly need the image to be blur out, then you need to edit that image in any image editing program and make one copy of that image as blurred, then place both images (actual and blurred) on that page and use scroll motion or fade option to replace images.

  • Side-scrolling photo gallery on iweb????

    I have created a site on IWeb, and have several pictures on the site (www.sharonrai.com)
    and I would like to make a side-scroll on the side with all my pictures from each section on it, so you can view all the pictures in a glance on the side, and if you want to look at one, click on it, and it becomes big...
    Anyone know how to do this?
    Thank You.

    If you are publishing to .mac, create a new site in iWeb for each folder you would like password-protected and enable password protection for that site. Repeat the process however many times you need a new site (folder) with unique username and password. You have to do all of this manually however, the process is not dynamic where the user could register on your site and create their own username/pw and have their username be their folder location on your site. Can't do that with iWeb and/or .mac but you can do the manual creation in iWeb as mentioned.

  • Scrolling thumbnails

    Hello:
    Does anyone know how I can create scrolling thumbnail images that then link to an enlarged version of the image...without using frames?
    take a look at this link:
    http://www.carmencicero.com/image_display.php?category=figurative_exp
    Can someone point me in the right direction on how to do this?
    Thanks
    Vincent

    Have a look at AutoScroll at http://www.actionscafe.com/Features_Folder/AutoScroll/asfeatures.html. It's commercial software but it will do the job for you. Run the Quicktime MPEG-4 demos to see it in action.

  • Slider with scrolling thumbnails

    Is there a way within Muse to have a slider/gallery with scrolling thumbnails? Currently I am using a third party gallery to accomplish this, but I'd rather stay within Muse itself.

    You can try using compositions and then slideshow within composition.
    In composition target container insert the slideshow and as set of slides create different slideshows for separate composition containers.
    It would similar effect.
    Thanks,
    Sanjit

  • ITune side scroll bars won't scroll when up or down arrow held

    This is a problem, only in iTunes. My side scroll bars stopped working. When I push arrow up or down, they barely budge. I have to manually slide the bar.
    I want my scroll bar function back. Thanks for your help.

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Optimisation help needed (2D side scroller)

    Hi
    I'm trying to develop a small side scroller. At the moment I'm having problems with the rendering.
    I can't get it to render fluently. Every two seconds it jitters.
    It would be great if someone could have a look and give me a hint.
    I have striped the code down so you only have what is needed.
    local.game.Main.java -- starting point of the app. 100 entities are created and saved in a layer
    local.game.GameController.java -- (Contructor) window, bufferstrategy creation.
    local.game.GameController.java -- (run()) game loop
    local.game.GameController.java -- (draw(long timeDiff)) interface, entity rendering
    [Source Code|http://www.speedshare.org/download.php?id=482AF5D511]

    A few things.
    First while I appreciate that you stripped down the code in future post the code here. Do not post it as a zip somewhere else. Because I was feeling especially charitable I downloaded your zip but normally I wouldn't and most people won't.
    Second I noticed two things right away about your code.
    1) Do you know that Swing is double buffered already? Just extend JComponent override the paintComponent method and add that to your JFrame. Bang done no more buffer fooling around with.
    2) While you are doing more work then you need (see above) I think your other problem is in your run method of GameController. By the way is this class Runnable in your non-stripped down version? Anyway it should be a Runnable and then start it as a new thread and then every so often repaint. So how to do every so often? You can sleep or you can use a SwingTimer. Either way really.
    The way you appear to be doing it is VERY CPU intensive and... well wrong. And I think you have a math problem somewhere as well. So that's why it gets the jitters.

  • XML based scrolling thumbnails

    IMPORTANT: My first time with flash and actionscript but am a computer science student so code is ok.
    that said I wanna build a xml based scrolling thumbnails in an horizontal bar.
    each pic should have some effect when the mouse is over it +
    the scrolling bar should scrol left or right depending on the mouse pos+
    the bar stops when am over a pic (with some conditions)
    I think this i all
    PS: I have only two days to do it :s
    I know it would be better if I do it from scratch this is how I do normaly but here am completly snowed under
    plz help thx

    Your best bet for getting a solution handed to you is to do a Google search for "AS3 scrolling menu tutorial"  Since code isn't an issue for you, you should be able to modify whatever you find to suit your detail needs once you understand how it is designed.

  • Side scroll in games?

    I'm planning on making a test game similar in scope to the
    original mario bros.
    what I'm wondering is what type of code you would use to
    implement a side scroll? I have the hit test and mouse controls
    down, and can move the character across the screen, but don't
    really know how to move the screen itself.
    Thanks!

    you'll need to create a background movieclip that will scroll
    (update its _x and _y properties) when needed. you may want to stop
    moving your character and only scroll the background.

  • Side scroll on touch screen monitor

    I'm a newbie in Director, and I am now in the process of making an interactive timeline history. I just want to ask how to code the side scroll effect in Director because almost all tutorials I see on the internet only involves clicking and not scrolling. I'll be putting this program on a touch screen monitor.
    Thanks to anyone who can help.

    Here's a very simple movie to show you one way that you might achieve this.
    In the Message window of Director, type:
    go movie "http://nonlinear.openspark.com/tips/filmloop/SideScroll.dir"
    Run the movie and drag towards the left. If you look in the score, you will see that there is only one sprite on the Stage in the first section. This is a film loop which contains all the content. The content may be interactive and animated.
    You can find more details on how to create and use film loops here.

  • Magic mouse problem - side to side scrolling...

    Is anyone else having a problem with mouse partially working? I can scroll up and down, zoom in, and swipe with 2 fingers but can't scroll horizontally or 360. Also I can only use the scroll up and down feature with 1 finger if the web page has a side scroll bar. So for instance I can only use mouse in the traditional way on the imac front page or on a web page without a scroll bar. This is driving me nuts!
    I can't understand how it's half working. Do I need to send it back? On os 10.6.2 and showing up in pref box with all options ticked. Have only had imac a couple of weeks so any suggestions would be great - thanks.

    red72 wrote:
    […] can't scroll horizontally or 360.
    It seems obvious that you can't scroll horizontally unless the page you're visiting, or your document, is larger than the width of your window.

Maybe you are looking for

  • How do I stop PDF's from Opening inside Safari

    Several versions back of Safari, I found out how to make PDF's download to the downloads folder or other preferred location (desktop for me) instead of opening inside a Safari window. As I recall, it actually had something to do with a setting in Ado

  • Standard SAP report for variance analysis of SD and MM

    Dear All, I want the standard SAP report for the vendors and customer varaiance analysis for the posting done in MM and SD with the GL balance in FI .It should be same as the report we get from the transaction code MB5L. Thanks in advance Meruta

  • How do i download photoshop elements to my computer?

    So my dog destroyed the disk that came in the box for adobe photoshop elements 12 and adobe premiere elements 12 and was wondering if there was a way to download the software to my computer.

  • Where do I find Lens Correction filters for old lenses - like the Pentax 28mm shift?

    Using different lenses for photographing buildings, I found that the lens correction filter options in Photoshop CS6 work GREAT. Simply brilliant for the the Sigma  EX 10-20mm 4.5-5.6 wide angle zoom. But where would I find af filter for corretcing m

  • Can't export ColorMode or ICCProfile values

    I have had good luck exporting file metadata with JavaSCript so far, but there are two properties that keep returning "undefined"; photoshop:ColorMode and photoshop:ICCProfile. Other photoshop properties export just fine, but nothing I've tried works