Make a Flash animation play only when it scrolls into view

I am designing a very long page. There will be a flash animation at the bottom of the page. I want this animation to play only when the user scrolls down and this flash object comes into view. How do I do this? I am quite familiar with flash and actionscript, so I just need some pointers.
I have seen that this is already being used for advertisements. If you visit www.amazon.com, there are ads that appear far below on the page. These ads play only when you scroll down and the ad appears within the browser window. This happens on many other sites as well.
Many popular sites also use something like this. On CNN, try opening a new tab that loads a flash video. The video begins to play only when you actually go to that tab. Until you open the tab and the contents become visible in your browser window, the video doesn't start. How is this done?
Thanks in advance,
  Kumar

Hmmm ... It looks like Amazon doesn't always run ads. I will give another example.
Take a look at http://digg.com/
There is a 300x250 ad at the top of the right-column. Ignore that.
In addition, there is a second 300x250 ad halfway down the page in the right column.
This second 300x250 ad appears when you scroll down.
The interesting thing is that the ad plays from the beginning when you first see it after scrolling down!
Most flash ads run for 15 seconds. After that the animation stops. When you see this second 300x250 ad, you will find it at the beginning of its 15 second animation. It plays from the beginning even if you wait for some time before scrolling down. This means that the ad is waiting for you to scroll down before it begins to play.
How is this done?
Thanks.

Similar Messages

  • Is there a way to make the bookmarks panel appear only when bookmarks are actually present? As in, I

    Is there a way to make the bookmarks panel appear only when bookmarks are actually present? As in, I'm looking for a global setting so that I don't always have to update the properties in each document.

    AFAIK, no.

  • How to make a link to play only part of a video

    Is there a way to make a link to play only a part of an embedded video (from timecode - to timecode)?

    Hello,
    You can achieve this by using the rectagle tool. You can create a rectangle and place it in the background and change the fill color of the rectangle to "None".
    It will make the rectangle transparent and you can also add a hyperlink to it.
    If you want to have different hyperlinks to different pages (like you mentioned you want to be linked to next page) then you should not use Master pages as you need to add these rectangles to the pages and not master pages.
    If you add the rectangles on Master Page then you can only add one link to it and that will not solve the purpose. And if you use Master page and add rectangle to page then the Rectangle will always be above the Master page content (Master page content is by default in the background and cannot be brought up).
    Another option is to add rectangle to master page background and duplicate your master page to create multiple copies of it. After that you can add required links to the rectangles in the master page and associate the pages to the corresponding Master pages.
    Hope this helps.
    Regards,
    Sachin

  • How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.

    How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.
    I know how to start the animation by scrolling down, but I simply want it to stay there after it. Could you help me please, guys?

    Hi Tom,
    There is no native feature in Muse to achieve this.
    Regards,
    Aish

  • IPod nano plays only when connected to PC

    My nano is a 3rd, I think. I bought it from Apple's iPod website 2 years ago. I was using the iPod on a Harley-Davison plugged into the iPod connection of a Jenson Marine radio. I had it in a little rubbery protecting case. This pas week I had to ride in the rain. While the iPod was protected from the rain moisture built up inside the case. Now it will play only when connect to the PC.
    When it is connected to the PC everything works normal. ITunes does not need to be running, only it needs to be connected via the USB. I plug the speakers directly into the iPod and it work normally. But, when I un plug it, it dies. Not only does it quit playing but none of the keys are active. It is just DEAD. The display remains as it was but not moving. Of course I have reloaded factory defaults and started all over. But it is dead if not connected via USB 04/01/09
    port.
    Hopefully someone can help. It was a $300 unit. I sure don't want to have to buy another.
    thanks,
    wayne

    It sounds like a battery issue to me. When you connect it to the PC it draws power from the computer and thus it is able to function. Apparently it doesn't have enough of its own juice anymore. You probably just need a new battery.

  • Why does safari freeze on Facebook whenever I scroll to a video? This only happens in Facebook and only when I scroll to a video.

    Why does safari freeze on Facebook whenever I scroll to a video? This only happens in Facebook and only when I scroll to a video.

    Hello,
    Most videos on the internet are played using the Adobe Flash plugin.
    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox are most probably caused by a recent Flash update and/or a malfunctioning browser plugin such as Real Player.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    * [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    * [[Flash 11.3 crashes]]
    * [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    * http://forums.adobe.com/thread/1018071?tstart=0
    * http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    I hope this helps. Let me know if not.

  • Red screen appears when Flash animation plays inside Captivate

    Has anyone experienced this problem? A Flash animation inserted into Captivate displays a red screen briefly when the animation plays. I've never had this happen before.
    Ideas?

    Hi there
    Someone else recently reported the same behavior in the thread linked below:
    Click here to view the thread
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to Prevent Flash Animation Playing?

    I have a flash animation that plays automatically when the user lands on the homepage of my site. It's part of the header, so it's present on every subsequent page of the site as well. However, I would like it to NOT play on the other pages. It should be visible, but only display the first frame or so of the animation, rather than playing automatically on every page.
    How do I stipulate that in the code? Is there a line I can add somewhere?
    Thanks for any help.

    the easiest thing to do, is to create two different swfs.  one for the home page (that you've already made) and one for the other pages which will be the same as the one you have now except you want to add a stop() to the swf's first frame.

  • How Can I Make a Flash Animation for TV?

    I'm learning flash animation and am wondering once I save the flash file to a dvd format, how does the end-user navigate when they put the dvd into their TV? Do I need to design and incorporate a menu for the end-user? If so, how does the TV remote control navigate through this menu that was created on a Mac computer? Thank you for your help, I really appreciate it.

    I don't know a lot about this subject but thought I'd give it a shot to answer.  You can use Adobe Encore to create menu systems for your DVD title screen.  As far as Flash is concerned I think you can import your animations into Encore's menu system though I'm not exactly sure how.  If you want to just make an animation that will be played back without interactivity you would just export your Flash animation as a Quicktime MOV file and import it into After Effects for further editing and finishing.  Once you render your mp4 (h.264) from AE you can bring this into Encore to author for your DVD.

  • A flash of white before animation plays on iPad in Adobe Content Viewer

    Hi Everyone, I'm creating Edge animations and importing the .OAM files into my layout in InDesign CS6 for the Mac, then using the Digital Publishing Suite to publish to iPads.
    On an InDesign page where I have solid color background, the frame where I have the .OAM file placed in always flashes white before it animates. I've colored the background of the Edge file, I've placed a PNG that has that color as a background in Edge, I've colored the background in InDesign, and I've given that graphic box the .OAM is placed in a color. The little spinning wheel I can live with, but the flash of white looks like I did somethign wrong. Is there a workaround?
    Thanks!

    Hi, I haven't implemented this myself yet but came across it in Apple's support documentation, complete page here http://support.apple.com/kb/ht5068
    This bit specifically:
    About opening the HTML widget
    Depending on how complicated your HTML Dashboard widget is, your readers may experience a flash during HTML initialization when they open the widget in iBooks. To avoid this flash, modify your Dashboard widget so it tells iBooks when to switch from displaying the Default.png file to displaying the running HTML widget.
    Make these three modifications to add this optional feature:
    Add a IBNotifiesOnReady item set to true in the Dashboard widget's info.plist file, so iBooks knows this Dashboard widget will tell it when to switch to displaying the running HTML widget:
    <key>IBNotifiesOnReady</key>
    <true/>
    Set your Dashboard widget to load the Apple javascript library:
    <script type="text/javascript" src="AppleClasses/AppleWidget.js"> </script>
    Set your Dashboard widget to let iBooks know when the HTML initialization begins, and iBooks can switch from showing the Default.png file to displaying the running HTML widget by calling (in javascript):
    widget.notifyContentIsReady()
    Important: If you choose to modify your Dashboard widget to avoid the flash, be sure to do all three of the above steps. You must compete all of the steps for this to function properly.
    I hope it fixes your problem!

  • Flash animation playing way to fast in slides

    Hello all,
    I imported a flash AS3 annimation in captivate 8, but the animaton plays faster than it should. Is there anyway that i could get it to the normal speed as when i play it in a flash palyer ?
    thanks in advance.

    Default speed in Captivate is 30FPS, check the framerate of your SWF animation, probably it is lower (default is 24fps). Either you change the framerate of the Flash animation up to 30, or you lower the framerate in Captivate to the same value as the animation before publishing. You can find the framerate in Preferences, Project, Publish Settings

  • How do I make a textured image appear only when the button is selected?

    I am trying to create a DVD menu that has a textured image (bulletholes) appear only when a button highlighted (ie, about to be selected).
    The only think I can work out is how to make the button appear as a sub-picture that has a solid colour appear on top of it when selected.
    In summary, here is what i am trying to achieve:
    1- there are 5 DVD menu items
    2 - the user can select any of those items
    3- as they move between each item, I want a I want a multi-coloured (textured) image to appear.
    I can not work this out.
    Any advice greatly appreciated.
    Richard.

    Thanks for this.  This is most surprising to hear!
    I have been using DVD Studio Pro for years and we have been able to do add textured or multicoloured buttons.
    Am I correct in understanding that in Encore, if a menu has 6 options, I need to create 6 different menus and import them all and use the auto activate state to make this work?
    Is there a workaround for making this work on a computer?

  • Edge Animation plays only after page refresh in Firefox

    There is an issue with animation playback in Firefox (I have the newest version - 27.0) - it works only after page reload or if you go to another page and come back to the home page.
    I've saved Edge animation as .oam package and placed into Muse. My animation is floating clouds right above roof on homepage.
    When I open html generated by Edge Animate in Firefox it works perfectly at once.
    Please help!
    I would appreciate any advice.
    Thanks!
    Here is my site http://www.digidom.kz.

    Same FF version here, your page loads fine here, upon first visit and subsequent visits.
    Have you tried clearing out browser cache; restart FF then reload/revisit your page.
    Darrell

  • Getting an Animation to start when you scroll to it on the page.

    Hi all,
    I have made an animation in edge, which I have then added into my Muse site. Is there anyway I can make the animation start when I scroll to it within the page.
    Cheers all.

    should work, the animation starts when the id Stage is visible.
    code at Stage action > creationcomplete :
    //http://stackoverflow.com/a/488073/52160
    function isScrolledIntoView(elem) {
    var docViewTop = $(window).scrollTop();
    var docViewBottom = docViewTop + $(window).height();
    var elemTop = $(elem).offset().top;
    var elemBottom = elemTop + $(elem).height();
    return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)
    && (elemBottom <= docViewBottom) &&  (elemTop >= docViewTop) );
      $(window).on("scroll", function(e) {
          if(isScrolledIntoView(sym.element)) {
              sym.play();
          } else {
              sym.stop();
    and this code there
    if that doesnt work, i could make you a template if you want

  • Can i make a button change anchor link when you scroll down the site?

    I am trying to make a scroll site.. and i have navigation buttons on the right, a full menu, but also a "1 topic up" button and "1 topic down" button.
    Is there any way that i can have those buttons change anchor link when you scroll down the site.
    Example:
    I am at home, then i press "1 topic down" and gets scrolled to the next topic on the website, but then i cant make the button change to link to the anchor below that, so the button becomes useless after that 1 press.
    Is that in any way possible in Muse to make it change link?

    Hi
    You can try to create different buttons on page positions where down scrolling will be active with separate button actions. For example you click on "I topic down" , page scrolls and there is another button placed with "Next Topic down" , on click this would scroll the page more and similarly along the length of page.
    Button with anchor link scrolling down the page cannot be used for different anchor links, creating different buttons with anchors is the solution.
    Thanks,
    Sanjit

Maybe you are looking for

  • Não é permitida a solicitação de autorização de eliminação para a NF-e

    Prezados, boa tarde. Muito provavlmente estamos com um problema gerado pelo usuário, não encontrei caso semelhante no forum. O usuário gerou uma Nf de devolução a fornecedor e entes da autorização da SEFAZ solicitou estorno. O status está parado no m

  • Need Advice with Syncing Contacts Please

    Hi, I was originally going to post a question asking "How can I transfer my contacts from my iPhone to my iMac Address Book (which is currently empty)?" However, after spending over an hour searching for an answer online, it sounds like there's no ea

  • Using HHP Builder under Win7

    Hi all, today I attempted to use the old "HHP Builder" tool on a Win7 (64bit) system. The program told me that it could not find csh.dll. Compatibility mode did not help. So I searched for this file and found it on my old computer (TCS2). I copied it

  • Best practice for error notification

    Rather than attach individual "send email" routines--or even a reusable scenario--to the "KO" step for every potential failure, is there some way I can generally notify an email address (like our production support group) that something blew up (or l

  • Retrieving protocol and connection address in runtime

    Hi, Im trying to Debug p2p video application in browser and I noticed some problems when using different rooms in my application. I need to figure out the actual protocol and node connection in order to identify the problem, the thing is that its onl