Scrolling pic thumbnails?

Ok I hope someone can or would help  me with a actionscript3.0 dilemma. I found this great tutorial on how to create a scrolling picture thumbnail in Flash. I am currently using Flash CS4 and i am using actionscript3.0. The script below is what the tutorials says I should use
_root.onEnterFrame = function(){
if(_root._xmouse<600){
        myVar=false;
        if(_root._xmouse>600){
        myVar=true;
    if(_root._ymouse<50 and myVar==true){
        imgBar.prevFrame();
        imgBar.prevFrame();
    } else{
        imgBar.play();
        if(_root._ymouse<1220 and myVar==true){
        imgBar.prevFrame();
        imgBar.prevFrame();
    } else{
        imgBar.play();
    if(_root._xmouse>50 and _root._xmouse<600 and myVar==true);
        imgBar.stop();
I would like to control the image bar with the mouse x,y coordinates. I also noticed that the _root is no longer used with actionscript is this a correct assumption? Any help would greatly be appreciated.

Yes, _root is no longer supported, and in many cases it is an overused crutch.  You may be able to just ignore including its AS3 counterpart.  In AS3, all events are dealt with using event listener/handler function pairs.  So for the case of the onEnterFrame code, you would need to have an event listener/handler pair...
function handleEF(evt:Event):void {
// all the rest of your code
stage.addEventListener(Event.ENTER_FRAME, handleEF);
As for the rest of your code, the only thing that stands out immediately is the use of _xmouse and _ymouse.  In AS3, that would be mouseX and mouseY.
So see what you can finagle with this information and try to figure out why it doesn't work if it doesn't.

Similar Messages

  • Scrolling lightbox thumbnails

    Hi
    Is it possible to create scrolling lightbox thumbnails that bleed off the left and right edges of a web page with Adobe Muse? The effect I'd like to recreate is something like here http://www.panpeninsula.com/world-capital.html
    and a screengrab below
    thanks

    Not at present, though scrolling and/or paginated thumbnails is a fairly common feature request.

  • Scrolling pic reel

    Hi I need some help please. I am trying to accomplish a
    scrolling pic reel exactly like the one on this website
    http://www.lomamedia.com/V1.html.
    I want it in a bottom, scrolling continously without any pause or
    break in between and so far i have came up with this code only
    onClipEvent(enterFrame){
    this._x += 3
    If someone knows the correct script please help. I can only
    use actionscript 1 that is what's compatible with my editor.

    you'll need to set-up your pic in the authoring environment
    so its left edge (the portion on-stage when its _x property is 0)
    appears identical to its right edge (the portion on-stage when its
    _x property is Stage.width-pic._width). you can then use:

  • Exclamation point comes up when trying to open pic thumbnail.  Can't open movies.

    When I try to enlarge a pic a fuzzy exclamation point comes up.  Also, I can't open any movies in Iphoto.  What's up with that?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or lter:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Scroll Bar Thumbnails gone

    I have Adobe Acrobat Pro 9 Extended.
    In Pro 8 I was able to view each page as a thumbnail as I scrolled using the scroll bar button. The thumbnail would appear immediately beside the scroll button on the right of the screen.
    I can't seem to get Acrobat Pro 9 to do this.
    Is there a setting that has to be set to get this to work?
    regards
    PeterH

    Bernd
    Thank-you very much - works well.
    PeterH

  • Very slow scrolling window thumbnails clips

    Very slow scrolling windows with thumbnail clips. The more files in the event, the worse it gets. It is very frustrating. Is in others it is the same? I have MacOookPro i7 early 2011, thunderbolt drives RAID0, 16GB memory, FCPX 10.0.7. After the hardware is decent.
    Give some feedback, thank you.
    P.S. I might add that this disadvantage are found from version 10.0.0.

    You might want to look at either booting from your install dvd (insert, restart and hold 'C' down) and running disk repair from Utilities. Alternatively, and I always suggest any Mac user should have at least one, a 3rd party disk utility like DiskWarrior (there are others) is extremely useful.

  • Music library not showing correctly in the scrolling pics

    ver 3 - when I open my computer and it loads my library - I am sitting at music, it keeps scrolling the same 3 pictures - is there a way I can make is scroll my albums correctly,  I have an extensive album collection and would like to see it scroll through them -

    Music is not synced to the cloud. In iTunes 11, yes. Music is stored online, but this is a function of the iTunes store, not the cloud.  Only purchased content from the iTunes store will be available on the cloud.  If a song is downloaded from the cloud to your computer, or already exists as a file on your computer, then it will show up as a song that is not on the cloud, but just on your computer.   However, if you remove these songs from itunes and from the computer, and then restart iTunes, they will show up as being "on the cloud".
    Cheers!

  • Cool Scrolling pic menu

    Hello, if anyone could point me in the right direction, I'd
    really appreciate it. I have a bit of code that scrolls a graphic
    depending on if your mouse is on the left or right of center of the
    graphic. I would like the scrolling to stop if the mouse is rolled
    off of the stage and if the graphic reaches its end. The code I
    have looks like so:
    _root.onEnterFrame = function(){
    bigrow_mc._x = bigrow_mc._x + (0.5 * Stage.width -
    _root._xmouse)/10;
    bigrow_mc is the name of my long, horizontal graphic that
    scrolls off the stage into oblivion. It goes forever. Really. The
    action works rather nicely, but how to get it to stop. I know I
    need an 'if' statement.... or a listener?
    var myListener:Object = new Object();
    myListener.onMouseOut = function() {
    stop();
    I know this is wrong, but I don't know where to go from here.
    I am new to Actionscript, but eager to learn. If there are any
    tutorials out ther that I could ber pointed to, I'd really
    appreciate it.

    My ultimate goal is to have a movie clip menu that scrolls
    when the mouse is over. I've seen it done a couple of times before,
    but never a complete tutorial...

  • Facebook Profile Pics & Thumbnail Loading Problem

    I am facing a weird problem with web browsers for Macbook Pro Retina running OSX 10.9.2.
    When I try to open Facebook with Safari or Google Chrome, the browsers do not load the thumbnails and profile pictures of people and pages.
    But it works perfectly fine if I connect through some VPN like Tunnel Bear. I do not understand the problem with my browsers.
    I have already tried clearing cache and deleting all website data but to no use. The problem still prevails.
    Please help me out.

    From the menu bar, select
     ▹ System Preferences... ▹ Network ▹ Advanced... ▹ DNS
    Under DNS Servers you should have one or more numerical addresses, such as “192.168.1.1” or “10.0.0.1”. What are those addresses?

  • BLANK PIC FRAMES ALONG WITH GOOD PIC.THUMBNAILS ?

    REBUILT LIBRARY AND A LOT OF THE THUMBNAILS SHOW IN WINDOW OKAY; BUT---ALSO QUITE A FEW BLANK THUMBS IN FRAMES. I DELETED THEM MANUALLY. WHY DID THE BLANK FRAMED THUMBNAILS SHOW UP ? HELP APPRECIATED SO I CAN UNDERSTAND THIS SITUATION !
    DICKSTER-------

    DELETED THEM MANUALLY.
    What exactly did you delete at that time and how? Do you have a backup of the library? Maybe from Time Machine?
    OT

  • Muse CC 2014 Slideshow Horizontal Scrolling Thumbnails (Possible?)

    Good afternoon Muse Forum: My name is Ira Bitner from NYC U.S.A.
    How are you? I have a question regarding slideshow and thumbnails in MUSE CC 2014.
    Q: In Muse is it possible to have a Slideshow with Scrolling Horizontal Thumbnails? In other words is it possible to build a slideshow where, for instance, maybe 30 thumbnails are used but only 5 or so are visible in a horizontal row under the main ("hero" image) and when an arrow is clicked the thumbnails advance horizontally to the left bringing up the new group of thumbnails that were, "hidden" on the original horizontal row? This allows the site to contain many more thumbnails than can "fit" on the page and at the same time not cause the extra thumbnails to be made to be stacked vertically all on the same page seen all at once?
    This is a very popular way to show a slideshow that advances the images. I have spent all night and hours and hours researching Muse in the forums, videos, tutorials web-wide and have not been able to find a way to achieve this kind of slideshow. I would have thought the actual slideshow widget would have made it very  evident if this was actually possible to build in Muse. Please help. If you need any website link as an example of the slideshow advancing thumbnail horizontally I'll add one, but it is very common and I can't believe Muse would not allow this to be built.  Thank you for your time and and any clarity anyone could shed on this for me.

    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

  • Horizontal Scrolling Thumbnails Slideshow (Are these possible in Muse CC 2014)

    Good afternoon Muse Forum: My name is Ira Bitner from NYC U.S.A.
    How are you? I have a question regarding slideshow and thumbnails in MUSE CC 2014.
    Q: In Muse is it possible to have a Slideshow with Scrolling Horizontal Thumbnails? In other words is it possible to build a slideshow where, for instance, maybe 30 thumbnails are used but only 5 or so are visible in a horizontal row under the main ("hero" image) and when an arrow is clicked the thumbnails advance horizontally to the left bringing up the new group of thumbnails that were, "hidden" on the original horizontal row? This allows the site to contain many more thumbnails than can "fit" on the page and at the same time not cause the extra thumbnails to be made to be stacked vertically all on the same page seen all at once?
    This is a very popular way to show a slideshow that advances the images. I have spent all night and hours and hours researching Muse in the forums, videos, tutorials web-wide and have not been able to find a way to achieve this kind of slideshow. I would have thought the actual slideshow widget would have made it very  evident if this was actually possible to build in Muse. Please help. If you need any website link as an example of the slideshow advancing thumbnail horizontally I'll add one, but it is very common and I can't believe Muse would not allow this to be built.

    Replied here :
    Muse CC 2014 Slideshow Horizontal Scrolling Thumbnails (Possible?)

  • Mouse no longer scrolls photos in 2 view modes

    In A2, if I hovered the mouse over the strip and used the wheel (Revolution MX) it would scroll the thumbnails. If I hovered it over the selected, large photo I could scroll through one-by-one. Same in Viewer mode-scrolling up or down went to the next or previous photo. Now it only works in Browser mode or in the strip in Split View. This has ruined my whole workflow of rating with my left hand while scrolling with the mouse in the right.
    I've checked the settings I know, such as Primary on or off, with no luck. Any help would be appreciated.

    Yes, it looks like scrolling has been changed as you describe.
    Dont forget that the arrows and numeric pad (if you have a full size keyboard) work very well. I find rating to be a one handed job using a thumb on the right arrow and a finger for the rating value. Its fast after a bit of practice.

  • Why is Lightroom 2.4 Thumbnail Rendering SLOOOOOOOOW...?

    For some reason Lightroom 2.4 is taking an enormous amount of time to render thumbnail previews and in spite of having my thumbnail cache set to 50 GB, it still re-renders the thumbnails every single time I use the scroll bar.
    Every other aspect of Lightroom performs just fine on my machine.  But the library is so slow that it is unusable.  Every time I touch the scroll bar I can see a somewhat darker preview of the thumbnails and then as soon as I stop scrolling, the CPU shoots up to 100% utilization and I watch as the thumbnails brighten and adjust one by one.  30 to 45 seconds later I can click on the thumbnails and navigate around just fine.  Performance is great in fact until I touch the scroll bar again.
    The basic question is this.  Why does Lightroom refuse to cache my thumbnails?  And why does it take soooo long to render them when Vista's explorer can render hundreds of thumbnails off even a flash card in seconds?  Even if thumbnail rendering was slow it would be fine if Lightroom would only cache them for me so it doesn't have to redo it every time I scroll back and forth.  Shouldn't there be an option to render thumbnails on import as well as 1:1 previews?
    I am running Vista 64 bit with 4GB of RAM with a Gforce 7600GT graphics card.  My library has about 18,000 images in it.  But I've also tried with a brand new small catalog.  I'm shooting and processing Nikon D300 RAW files.
    I've done all the standard performance tweaks that everyone talks about:
    1.  I render 1:1 previews and never expire them.
    2.  I have tried all the various nvidia card tweaks.
    3.  I've updated to the latest and greatest nvidia drivers.
    4.  I have my catalog on a separate drive from my images, and my thumbnail cache on yet a 3rd drive.
    5.  My machine has plenty of RAM, and in fact Lightroom is only using 1.5GB leaving me with well over 1GB remaining.
    6.  My machine is not swapping at all.
    I've been reading and reading for the past 24 hours about this issue but have yet to come up with an answer to it.  I did find this old thread from over a year ago that describes the EXACT same problem I am experiencing except his problem was with version 2.3:  http://forums.adobe.com/message/1395391#1395391
    Does anyone have ANY idea what can be causing this?  As is, I can't use Lightroom under these conditions.
    Thanks!

    So I spent all evening experimenting with different things in Lightroom to try and improve performance and found 1 solution that worked.  Although I'm not sure why.
    I understand that a design decision was made to render thumbs on the fly.  Fine.  But what I couldn't understand was why it took so incredibly long.  I mean the process was literally locking up my entire machine every time I touched the scroll bar.
    The ONLY thing I could get to clear up the problem was to select the top level folder in my catalog, and export the entire catalog as a new catalog.  For export I did NOT choose to export the image files or the previews since I only wanted to keep my database (image adjustments, keywords, etc).
    Upon opening this newly created catalog, of course everything was slow because there are no previews for anything.  Fine.  So I chose to render standard sized previews for a couple of the folders in the catalog (about 150 photos each).  And then lightroom became extremely fast for browsing and scrolling through thumbnails on those particular folders.
    What I can't undertand is why rendering standard sized previews on my old catalog (same photos, same folder) does not improve performance, yet doing it for the new catalog which should be an exact copy DOES improve performance.
    The only thing I can think of is that my original catalog must have either been corrupt or there may be some upper limit on how many previews Lightroom can handle gracefully?  Since I had standard previews for my entire catalog before.
    I'm going to try and render standard sized previews on my entire new catalog tonight and see if the performance remains snappy.  But something is definitely not right here.

  • Satellite P870 - Touchpad scrolling issues

    I have a P870 (PSPLFA-019001)
    I have been having trouble with the touchpad. If I move the touchpad anywhere the screen scrolls vertically (not just on the right scroll bar) and the mouse is stationary. When I touch the trackpad underneath the clickable buttons it somehow disables scrolling so I can move the mouse.
    I have gone to control panel mouse options and:
    * can not take off vertical scrolling [Pic|http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties_zps7d8e2841.png|Pic][Pic|http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties_zps7d8e2841.png|Pic Vertical Scrolling]
    * have disabled scrolling and most other trackpad gestures. [Pic|http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties2_zps40a5d713.png|Disabled Options]
    * I have tried F5 to disable/enable the mouse. no change
    I don't know what to do now. Please Help! I also uploaded a (bad) video to show you what's happening. It was hard to show one handed. [Video link|https://www.youtube.com/watch?v=8MEikPtlgcQ|Touchpad]

    The main thing is that problem is solved. Thanks for the feedback.

Maybe you are looking for

  • HP 19 All-in-One Screen Still Black

    Hi, I have a problem with my PC and I need help to get it fixed ASAP! I've had it for a little over a year, I've taken very good care of it and it has never given me problems before now. It was running, working normally, and I had left it for a littl

  • Oracle Reports Components list not available in BI Publisher

    I have configured the Oracle Report Security settings in oracle Business intelligence publisher, Add oracle report, when i try to ADD report in region, it didn't display Oracle Reports Components list. Pl suggest, what should i do Regards,

  • How to fade an object to transparent?

    I have an object in a layer. I would like the object to start out opaque, but fade gently away to transparent as I move from lower left to upper right. I assumed there was an easy way to do this in PE3, but I don't seem to be able to find it. Can any

  • Suggestion for Apple: MacBooks as terminals for the new Mac Pro

    Suggesting Apple to enable using MacBooks as terminals for the new Mac Pro if connecting through the thunderbolt. I am planning to get a new Mac Pro this month and use it as a 'portable' workstation since it weighs only 5kg. I am working on scienctif

  • Generating Duplicate Columns Names in CMP's

    Hi, We are having trouble with the automatic key generation of the CMP beans. We are using java.lang.Object as primary key class and the autogenerated col is ejb_pk but still it doesnt work. The Generated Class files show the insert and update statem