Play OAM only when it is visible

Hi, is it possible I can do an overlay of folio with single game animation animate edge when people highlight the part

or only when they get to a certain defined pixel (so it plays when they scroll to the position 2345px for example)

Thank you

Automatic execution of the superposition of the 0.125 seconds web time-out.

Neil

Tags: Digital Publishing Suite

Similar Questions

  • button is active, but only when it is visible?

    Hello

    I try to get a few buttons to work I have in a timeline. These buttons are on each other and are called to be visible only when a certain image.

    My problem is the button in the foreground is the only asset, because all the buttons are "on", even if you do not see them.

    currently buttons are on alpha.0 at the beginning. I know there's a way for them to is active only when they are visible, but I can't find the documentation.

    Does anyone know this code and how?

    I have my code began as such:

    import flash.events.MouseEvent;

    import flash.ui.Mouse;

    bfButton.buttonMode = true;

    bfButton.useHandCursor = true;

    and I also have this:

    bfButton.alpha = 0

    While the buttons go up I bring alpha 1 over a period of time, but there is a trick for visibility and I can't understand it.

    any help would be GREATLY appreciated.

    Thank you!

    You can use combinations of things.  You can use the visible property as well as the alpha property.  You can also try using the property mouseEnabled with the alpha property.  In both cases, you must put true and false if necessary while still making your alpha interpolation.

  • is there an add-on to play videos only when the tab is active as chrome?

    Hello

    Flash block {web link} Never be annoyed by a Flash animation again! Blocks Flash so it won't get in your way, but if you want to see it, just click it

  • How to integrate an audio to a Muse image file so that the music plays only when you click on the image?

    Hello! I'm looking for a way to incorporate an audio file (mp3 or quicktime) into a still image in my Muse site. Ideally, the audio would play only when you click the image, so that each image can contain a separate audio file. So important is that the audio file is not visible on the site (so soundcloud, youtube and vimeo doesn't work here). Is there a way to do this? Thank you, AR

    Check out this edition of the month of 123Muse (www.123Muse.com). This is audio and video by Muse.

  • Acer 5920 no sound on HDMI port only when play Skyplayer

    Acer 5920 no sound on hdmi port only when playing sky player

    can help a whole I use sky player and can't get her off hdmi port tv program. When I check the hd it tests ok

    Thanks, I found problem not with the computer but with player sky so I paly any website or DVD sound transfer on tv, but does not when playing sky player

  • Slow laptop only when playing online games

    Hello
    So I noticed that my laptop has become suddenly very slow BUT! Slow down its only when I play online games, it's going to be ok for the 1st 5 minutes but after that it will really slow down, his strange since I can watch videos on youtube, etc and surf the web without problem. But if I try the game it will be slow.
    My specs are: Intel (r) Core (TM) i3 m350 2.27 GHz 2.26 GHz CPU
    RAM: 4 GB with 3.80 GB usable
    and the type of system is the 64-bit operating system
    I have windows 7
    And no, it's not a connection problem.
    Also my CPU usage when you play the game will no more than 54% (mainly bounces between 23% and 40%). and my ram is stable enough to 53%

    I use google chrome, I noticed he blames only when I use chrome, its fine with firefox.

    Going to uninstall chrome and download the latest version to see if that helps.
  • When I click on play now only the first track plays

    I downloaded a few albums but when I click on play now only the first track is playing. Why is this? play the entire album?

    OP - music play all

    Hello Terence,

    Thanks for posting your query on the Microsoft Community.

    We understand the inconvenience caused and we will try our best to solve the problem.

    To help you better, I would like to know; are you clicking on play now on the individual song or the whole album?

    As a first step, I suggest you try to play the entire album and check if it helps.

    If the problem persists, perform audit and resolution of the problems of the app if it helps.

    See the link below:

    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    For more information on the application of music, see the link below:

    http://Windows.Microsoft.com/en-us/Windows-8/music

    It can be useful, we meet with the status of your question. We will be happy to help you.

  • How to program the shift register to play only when a new user is detected user?

    Hello

    I'm currently developing a program of position control in labview. The program is quite simple, in which case the user will enter the distance on which he wants the table in the labview program and labview will send the signal to move a motor that will turn a ball screw to move a table horizontally to the targeted position. The criterion is that the profile of the engine depends on the distance to move, if a biphase (acceleration and deceleration) or three phase (acceleration, steady speed, deceleration) to reach the position of the target.

    The problem occurs when the user wants to enter a new entry second position) for the table, as the input by the user is the position that the table should be, but the necessary input to determine what profile the engine follows depends on the distance that the table moves to the target position. Therefore, I need a function to save the entry by the user temporarily and reminds that when a new user input is detected. Hereby, I would be able to use the difference of the input (input [n + 1] [n] input) and animal feed to determine what profile the engine follows and the entry by the user can be kept in the position he wants to the table to get (to compare with encoder).

    I thought to use for shift registers do, but I am not able to perform the deduction ([n + 1] - [n]) only when it detects a new entry. When I try to use registry to offset, it moves to the target location, and we only reached it will go to the original position. For example, when a user entry 90, this means that the table must be moved to the point 90. The shift register is initialized to 0, it will move to the point 90 (90-0 = 90), but arriving at 90, the shift register sends a signal of 90 (90-90 = 0) and the table back to its original position.

    Is it possible that I can delay the reading of the shift register only when a new entry is detected or there at - it another way for me to achieve what I want?

    I tried searching the forum site and neither discussion but could not find similar problems. Thank you for your help in advance.

    As I understand it, the use of shift registers with a structure of the event (to detect a user event when the user enters a new value) should solve the problem. Do not forget to post your request (or a version of it that isolates the issue) when you arrive at the lab, if we can get a clear visual of the issue you are facing.

  • Slide show ignores only when it is online

    Hi all

    I would really appreciate the help on this... I have a slide show that works quite well when it is on my machine, however, once he has published on the web, instead of having a smooth transition between external SWF, he jumps and shows a white background with a second charger... Not only when it is load the first time, but all the time... Any help in this would be SUPER APPRECIATED. Here is the code:

    I thank very you much in advance!

    package
    {

    IMPORT FLASH
    import flash.display. *;
    import flash.events. *;
    flash.net import. *;
    import flash.text. *;

    import flash.geom.ColorTransform;

    import flash.media.Sound;
    import flash.media.SoundChannel;
    import flash.net.URLRequest;
    import flash.media.SoundTransform;
    import flash.media.SoundMixer;

    Import fl.transitions.Tween;
    Fl.transitions.easing import. *;
    Import fl.transitions.TweenEvent;
    import flash.utils.Timer;
    import flash.events.TimerEvent;

    Import caurina.transitions.Tweener;

    //--------------------------------------------------------------------------------------- -------------
    //                                                                                             MAIN CLASS
    //--------------------------------------------------------------------------------------- -------------

    Slideshow/public class extends MovieClip
    {

    -YOU CAN CUSTOMIZE THE VALUES VAR!

    color for the original text is: 0xA28565 for bkg is: 0xECD7B2, at the border is: 0xC8B18F

    private var numberOfSlides:Number = 3;                                        number of slides, it's going to be a
    private var spacingBtn:Number = 25;                                            the distance between the buttons

    private var bkgColorStart:uint = 0xf2d0b0;                                    the first loading bkg color button
    private var borderColorStart:uint = 0xC8B18F;                                the border color of the button on the first load

    private var txtColorStart:uint = 0xA28565;                                    the color of text on the first load button

    private var bkgColorOver:uint = 0xffeddb;                                    the bkg on mouse over event color button
    private var borderColorOver:uint = 0xC8B18F;                                the border color of the button on the mouse on the event
    private var txtColorOver:uint = 0xA28565;                                    the text color of the button on the mouse on the event

    private var bkgColorOut:uint = 0xECD7B2;                                    the color of bkg button on the mouse of the event
    private var borderColorOut:uint = 0xC8B18F;                                    the event's mouse button border color
    private var txtColorOut:uint = 0xA28565;                                    the text color of the button on the mouse of the event

    private var bkgColorActive:uint = 0x1fbbfc;                                    When the bkg color button is active
    private var borderColorActive:uint = 0xffffff;                                the border color of the button when is active
    private var txtColorActive:uint = 0xffffff;                                    the text of the button when the color is active

    private var my_speed:Number = 8;                                            the next loading in swf format speed
    private var my_swfs:Array = new Array("swfs/one_btn.swf","swfs/two_btn.swf","swfs/three_btn.swf");

    //-------------------------------------------------------------------------------------   PRIVATE VAR

    private var slideBtn:_SlideBtn;                                                make new instance
    private var myBkgColorTransform = new ColorTransform();
    private var myBorderColorTransform = new ColorTransform();
    private var currentlyActive: *;
    private var activeSet:Boolean = false;
    private var slideButtons:Array;

    private var urlSong:String = "ocean2.mp3";
    private var urlSong2:String = "squeeak.mp3";
    private var song: SoundChannel;
    private var song2:SoundChannel;
    private var myTransform = new SoundTransform();
    private var myTransform2 = new SoundTransform();

    private var my_total:Number = numberOfSlides;
    private var my_preloader:TextField;
    private var my_timer:Timer = new Timer(my_speed * 1000);
    private var my_success_counter:Number = 0;
    private var my_playback_counter:Number = 0;
    private var my_loader:Loader;

    //--------------------------------------------------------------------------------------- -------------
    //                                                                                                   MAIN
    //--------------------------------------------------------------------------------------- -------------

    public void show (): void
    {
    init();
    }

    private function init (): void
    {
    slideButtons = new Array;

    for (var i: Number = 0; i < numberOfSlides; i ++)
    {
    slideBtn = new _SlideBtn();
    controlsContainer.addChild (slideBtn);
    slideBtn.x = 59 + (I * spacingBtn);
    slideBtn.y = 8;
    slideBtn.txt.text = String (i + 1);
    slideBtn.buttonMode = true;
    slideBtn.mouseChildren = false;
    slideBtn.useHandCursor = true;
    slideBtn.addEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
    slideBtn.addEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
    slideBtn.addEventListener (MouseEvent.CLICK, buttonEventsHandler);
    slideBtn.name = "slideBtn" + (i + 1);
    myBkgColorTransform.color = bkgColorStart;
    slideBtn.bkg.transform.colorTransform = myBkgColorTransform;
    myBorderColorTransform.color = borderColorStart;
    slideBtn.border.transform.colorTransform = myBorderColorTransform;
    slideBtn.txt.textColor = txtColorStart;
    slideButtons.push (slideBtn);
    slideBtn.urlPath = my_swfs [i];
    slideBtn.itsID = i;
    }

    setFirst();
    startSound1();
    startSound2();
    controlsContainer.play_btn.addEventListener (MouseEvent.CLICK, playSound);
    controlsContainer.stop_btn.addEventListener (MouseEvent.CLICK, stopSound);
    controlsContainer.go_btn.addEventListener (MouseEvent.CLICK, playTimer);
    controlsContainer.pause_btn.addEventListener (MouseEvent.CLICK, stopTimer);
    controlsContainer.play_btn.visible = false;
    controlsContainer.go_btn.visible = false;
    }

    private void changeColor(e:*,_bkgColor:uint,_borderColor:uint,_txtColor:uint):void
    {
    myBkgColorTransform.color = bkgColor;
    e.bkg.transform.colorTransform = myBkgColorTransform;

    myBorderColorTransform.color = borderColor;
    e.border.transform.colorTransform = myBorderColorTransform;

    e.txt.textColor = txtColor;
    }

    private function setFirst (): void
    {
    slideButtons [0] .dispatchEvent (MouseEvent (MouseEvent.CLICK)) of new;
    my_timer.addEventListener (TimerEvent.TIMER, timerListener);
    }

    //--------------------------------------------------------------------------------------- -------------
    //                                                                                        BUTTON METHODS
    //--------------------------------------------------------------------------------------- -------------

    private void buttonEventsHandler(e:MouseEvent):void
    {
    Switch (e.type)
    {
    case MouseEvent.MOUSE_OVER:

    changeColor (e.target, bkgColorOver, borderColorOver, txtColorOver);

    break;

    case MouseEvent.MOUSE_OUT:

    changeColor (e.target, bkgColorOut, borderColorOut, txtColorOut);

    break;

    case No. MouseEvent.CLICK:

    my_playback_counter = e.target.itsID;
    Loadimages() (e.target.urlPath);
    stayActive (e);
    my_timer. Reset();
    my_timer. Start();

    break;

    by default:

    trace ("no matches found for switch (e.type) '");
    }
    }

    private void stayActive(e:MouseEvent):void
    {
    changeColor (e.target, bkgColorActive, borderColorActive, txtColorActive);
    e.target.removeEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
    e.target.removeEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
    e.target.removeEventListener (MouseEvent.CLICK, buttonEventsHandler);

    If (Meridio73)
    {
    currentlyActive.target.addEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
    currentlyActive.target.addEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
    currentlyActive.target.addEventListener (MouseEvent.CLICK, buttonEventsHandler);
    changeColor (currentlyActive.target, bkgColorOut, borderColorOut, txtColorOut);
    }

    currentlyActive = e;
    Meridio73 = true;
    }

    //--------------------------------------------------------------------------------------- -------------
    //                                                                                          SOUND METHODS
    //--------------------------------------------------------------------------------------- -------------

    public function startSound1 (): void
    {
    var request: URLRequest = new URLRequest (urlSong);
    var soundFactory:Sound = new Sound();
    soundFactory.load (request);
    song = soundFactory.play ();
    song.addEventListener (Event.SOUND_COMPLETE, soundComplete);
    myTransform.volume =. 1;
    song.soundTransform = myTransform;
    }
    public function startSound2 (): void
    {
    var request2:URLRequest = new URLRequest (urlSong2);
    var soundFactory2:Sound = new Sound();
    soundFactory2.load (request2);
    Song2 = soundFactory2.play ();
    Song2.addEventListener (Event.SOUND_COMPLETE, soundComplete2);
    myTransform2.volume =. 7;
    Song2.SoundTransform = myTransform2;
    }
    private void soundComplete(e:Event):void
    {
    startSound1();
    }
    private void soundComplete2(e:Event):void
    {
    startSound2();
    }

    function playSound(event:MouseEvent):void
    {
    SoundMixer.stopAll ();
    controlsContainer.play_btn.visible = false;
    controlsContainer.stop_btn.visible = true;
    startSound1();
    startSound2();
    }

    function stopSound(event:MouseEvent):void
    {
    Song.Stop ();
    Song2.stop ();
    SoundMixer.stopAll ();
    controlsContainer.stop_btn.visible = false;
    controlsContainer.play_btn.visible = true;
    }

    //--------------------------------------------------------------------------------------- -------------
    //                                                                                     SLIDESHOW METHODS
    //--------------------------------------------------------------------------------------- -------------

    private void loadImages(thePath:String):void
    {
    var my_url:String = path;
    my_loader = new Loader();
    my_loader. Load (new URLRequest (my_url));
    my_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onComplete);

    If (holder.numChildren == 0)
    {
    holder.addChildAt (my_loader, 0);
    my_loader.Alpha = 0;
    Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear"});
    } Else if (holder.numChildren == 1)
    {
    holder.addChildAt (my_loader, 1);
    my_loader.Alpha = 0;
    Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear", onComplete: fact, onCompleteParams:[0]});})
    } Else if (holder.numChildren == 2)
    {
    holder.addChildAt (my_loader, 0);
    my_loader.Alpha = 0;
    Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear", onComplete: fact, onCompleteParams:[1]});})
    }
    function done(theNum:Number)
    {
    holder.removeChildAt (theNum);
    }

    my_preloader = new TextField();
    my_preloader. Text = "Loading";
    my_preloader. AutoSize = TextFieldAutoSize.Center;
    my_preloader.x = (stage.stageWidth - my_preloader.width) / 2;
    my_preloader.y = (stage.stageHeight - my_preloader.height) / 2;
    addChild (my_preloader);
    }

    private void onComplete(e:Event):void
    {
    var my_loaderInfo:LoaderInfo = LoaderInfo (e.target);
    my_loaderInfo.removeEventListener (Event.COMPLETE, onComplete);
    removeChild (my_preloader);
    my_preloader = null;
    }

    private void timerListener(e:TimerEvent):void
    {
    my_playback_counter ++;
    If (my_playback_counter == my_total) {}
    my_playback_counter = 0;
    }
    slideButtons [my_playback_counter] .dispatchEvent (MouseEvent (MouseEvent.CLICK)) of new;
    }

    private void stopTimer(e:MouseEvent):void
    {
    my_timer. Stop();
    controlsContainer.pause_btn.visible = false;
    controlsContainer.go_btn.visible = true;
    }

    private void playTimer(e:MouseEvent):void
    {
    my_timer. Reset();
    my_timer. Start();
    controlsContainer.pause_btn.visible = true;
    controlsContainer.go_btn.visible = false;
    }

    End of the course
    }
    }


    Not too many people will descend through all this code to try to figure out how it works and what part relates to your question.  Since the problem occurs online and not locally, it's probably a problem with loading times.  What you need to do if you have not already, is to wait until a file is fully loaded before add you it to the screen.  So if you use a charger and a COMPLETE receiver for this be, use the COMPLETE event handler function to add the file newly loaded to the screen.

  • I have a Flash Player plugin 'on demand' that supposedly save memory by launching flashplayer only when a video is launched. It gives me an "f" in the Middle

    I have a Flash Player plugin 'on demand' that supposedly save memory by launching flashplayer only when a video is launched. It gives me a 'f' icon in the middle of the video window, which I have to type. I had no problem with it, but now it won't allow me to play the video on Vimeo, however it works very well with Youtube. I can't find how to uninstall this page in firefox. Please tell me how to correct, update or reinstall so I can watch the videos on Vimeo. I need it for professional reasons, (teaching) tomorrow!
    THX. SP
    Retina, 10.8.5, Firefox 24.0 OSX MacBook.
    Recently updated Flash and Java.
    Flip4mac and Silverlight are the current versions

    Hi sgcpenny, Flash is by far the most common plugin. I think it is unlikely that the others work on the sites where you don't want to run. It does not hurt to try the setting and see if it works for you.

  • Y410P Nvidia GPU works only when plugged in?

    Hi all

    I know that this is a frequently asked question, and I also knew that the Nvidia GPU raised only when an application heavy 3D graphics is charged.

    This is the case. But I don't get a bad 3D rating (1 star or higher) during the game.

    I have configured the program updated Nvidia 3D well on a level of high performance battery. The notification bar of Nvidia is also show that the game is loaded using the Nvidia GPU.

    On the other hand, when the laptop is plugged in, I get a better mark 3D on the same game. How is that possible?

    It is not comfortable, due to the fact that I need to plug the laptop when I want to play the game to get the best performance.

    All solutions? Thanks in advance.

    Regardless of the number of parameters of high performance you activate, you will never get the same set of battery power that you can get plugged.

    The battery can not simply support the GPU for the amount of power he needs to play games. At best, you can play a mediocre performance.

  • Hide the drop-down list when you print only when "PLEASE SELECT" is selected (unused field).

    Our form has several drop-down lists that by default the option "Choose", and not all of them are used whenever the form is used.  When we print a copy of each document, we would like the (unused) field "Choose" to disappear when printing - to make a copy of paper filter.  Is there a script for this?  I tried to use only the general framework ' Visible but does not print ", but of course, the field prints any - we need to print only when there was one another option as the default"Select"is selected.  Thanks in advance for your help.

    Coleen

    You can use a custom validation script, something like:

    Event.Target.Display = event.value = "choose"? display.noPrint: display.visible;

    To put this into effect, you will need to make a different choice and place it back to "choose." Another option would be to place as a custom Format script.

  • I can't 6 Audition to play a file when loading, any suggestions?

    I can't 6 Audition to play a file when it is loaded. The play button lights up as if it is running, but there is no answer, he just sits there!

    You must go to preferences and make sure that your audio device is OK - it's the only thing that causes the transport does not to work. In this context, there are several parameters that can affect the results and even if it seems correct, things like sources of synchronization can still prevent from functioning - even if the default values are correct for most.

  • Captivate 8 - video integration problems. Video won't play Web server when published under the title of HTML5. When to play the video it works not embedded.

    Captivate 8 - video integration problems. Video won't play Web server when published under the title of course HTML5 and video is selected to play in the same screen. Play video it works only in a new window. The problem is the customer's requested integrated video and it shows as an option in Captivate 8. In addition, the video screen is not at the same place on the screen, the image moves to the top of the browser window in Internet Explorer. Graphics problems appear ONLY in IE and Chrome for PC. We have updated browsers, installed all updates to Captivate 8 etc.

    The issue seems to be with internet explore. The url is *.mp4, if IE browser opens Media player in a new window to read the files.

    Workaround solution:

    Instead of using the interaction of the Web object, you can use a Web object (objects-> Web) site in the menu object.

    After insertion, select the code incorporated in the style of the real property section. (Screenshot below)

    Encapsulate the url in an HTML video tag and use it as input.

    Input samples:

    https://{website-Address}/VIDEO1. MP4 type = "video/mp4" >

  • Flash Player plays that VIDEO when uninstalled!  Flash utility site times features when it is installed!

    On:

    Mac OS X 10.9

    2011 27 "iMac 16 GB of Ram

    Safari

    Firefox

    Crazy as it sounds, in addition to all of the sites I tried, it seems that Flash video content will play only when I have ONEinstall Flash Player.  But then, any other Flash content, such as Internet speed Test utility or the content like that, won't work.  When I install the Flash player updated once again, the opposite situation with the videos DO not play, (static area 'black screen' that does nothing, but I can with the right button to 'Preferences of Flash') while the 'other' content Flash works.

    I've had problems with Flash for many months now, while I've upgraded to OS X Mavericks, but I identified only recently that this crazy situation exists where content video only works when I have oneinstall Flash.  Curiously, there are a limited number of Flash videos that work independently, but most don't.  Even Adobe own video tutorials that I guess are integrated properly, behaves to the weird way to work only when Flash is uninstalled.

    I appreciate all the help, and I understand if it's too weird to think.

    Videos that work probably are HTML5 that requires no plugin.

    Search Spotlight "Flash Player.plugin" and trash EVERYTHING in the results.

    Go to: [user] / Library/Preferences (hold the "Option" key when you click on 'Go' in the Finder to access this folder menu)

    Trash the com.macromedia.Flash Player.app.plist file.
    Trash folder Macromedia of there also (the folder INTEGER).

    Go to: Mac HD/Library/Application Support/Adobe

    Trash the Flash Player folder and the folder Manager Installer of Flash Player .

    Go to: Mac HD/Library/Internet Plugins.

    Recycle Bin, the files flashplayer.xpt .

    Empty the trash.

    Download Offline Installer: http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac install_flash_player_11_osx.dmg and run it.

    If after all that, it still does not, you will have to watch you have other plugins that may cause a conflict.

    I have Safari, Firefox, Opera and Chrome, as well as a few "off brand" browsers and Flash Player works in each of them. End of 2012 Mini, Core15, 16 GB of RAM.

Maybe you are looking for