Visual Composer: Timer: Automatic transition between layers

Hi,
I have created a model with 3 layers - users can click on any layer (transition) to switch layers. Now I want to automate the transition so that every 10 seconds or so the visible layer changes automatically (and refreshes the data) without any user interaction.
I tried to use a timer outside the layers, inside the source and target layer but regardless - the tick event is not picked up by the guard condition of the second layer.
Any ideas how to automate the transition?
Thanks
Norman Ruppert

Try the following:
1.) Set a storage variable containing your transition value (e.g. layer_ID). Set the default value to 1.
2.) Bind the variable to your timer to update it to value + 1 (layer_ID = Layer_ID + 1) when the timer tick event fires. Add formula logic to allow value to set back to one (IF layer_ID > max_layers, 1, layer_ID = Layer_ID + 1) if you want it to reset itself.
3.) Set a gaurd condition on the timer to traverse to the next layer using formula logic to enable.

Similar Messages

  • Adding a Timer (Automatic Transition)

    Hello I'm new to this forum so I hope someone may be able to help me. I'm trying to add an automatic transition to this Image Gallery that uses and XML data file. I have everything the way I like it, but now I need to have the images and the dynamic text field to rotate like a slide show. I'm really struggling with this so any help would be greately appreciated.
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import fl.transitions.Tween;
    import flash.utils.*;
    var xml:XML;
    var featureIds:Dictionary = new Dictionary();
    var link:String;
    var loader:Loader = new Loader();
    addChild(loader);
    loader.x = 0; //where the main image sits from left
    loader.y = 0; //where the image sits from the top
    var text:Loader = new Loader();
    addChild(title_tf);
    var desc:Loader = new Loader();
    addChild(description_tf);
    description_tf.condenseWhite = true;
    var xmlLoader:URLLoader = new URLLoader(); //URLLoader loads the contents of any URL.
    var url:URLRequest = new URLRequest("ImageGallery.xml"); //loading the XML file, must be in the same file
    xmlLoader.load(url); // tells URLLoader to start loading from the URLRequest
    xmlLoader.addEventListener(Event.COMPLETE, onXmlLoad); //we can act upon the loaded data once it has fully loaded.
    function onXmlLoad(e:Event):void //this function turns the text data into an XML object.
    xml = new XML(xmlLoader.data);
    var picElements:XMLList = xml.pic;
    var len:int = picElements.length();
    var btn:ActiveButton_2;
    //var btn:ActiveButton;
    for (var i:int = 0; i < len; i++) //repeats the button based on the number of XML images
      //btn = new ActiveButton();
      btn = new ActiveButton_2();
      btn.x = 10 + i * 25; //from left and distance part
      btn.y = 290;
      addChild(btn);
      btn.name = "btn" + i;
      this.buttonMode = true;
      //btn.alpha = 0.4//fade on the buttons
      btn.addEventListener(MouseEvent.CLICK, onButtonClick);
      var picElement:XML = picElements[i];
      var idString:String = picElement.@id;
      var id:int = parseInt(idString);
      featureIds[btn] = id;
      if (i == 0)
       btn.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
    function onButtonClick(me:MouseEvent):void
    var id:int = featureIds[me.target];
    var picElement:XML = xml.pic.(@id==id)[0];
      title_tf.text = picElement.title.toString();
    description_tf.htmlText = picElement.description.toString();
    link = picElement.link.toString();
    loader.load(new URLRequest(picElement.image.toString()));
      new Tween(loader,"alpha",Strong.easeOut,0,1,2,true); //2 seconds to 'fade-in'
    new Tween(title_tf,"alpha",Strong.easeOut,0,1,1,true);
    new Tween(description_tf,"alpha",Strong.easeOut,0,1,1,true);
    description_tf.addEventListener(TextEvent.LINK, onTextLink);
    function onTextLink(te:TextEvent):void
    navigateToURL(new URLRequest(link));
    Here is my XML file:
    <images>
    <pic id="1"> //Attribue, associates an id number to the image element
      <link>http://www.google.com</link>
      <image>full_images/image.jpg</image>
      <title>Title Here</title>
      <description>
      <![CDATA[<p>Description is here!</p>
      <p align="right"><font color="#ffffff"><a href="event:link"><u><b>Visit link</b></u></a></font></p>]]>
      </description>>
    </pic>
    <pic id="2">
      <link>http://www.google.com</link>
      <image>full_images/image2.jpg</image>
      <title>Title 2 Here</title>
      <description>
       <![CDATA[<p>Description is here!</p>
       <p align="right"><a href="event:link"><u><b>Visit Link. </b></u></a></p>]]>
      </description>
    </pic>
    </images>
    thank you.

    I would be happy to help you out
    Here are some instructions for an example where a door moves down and up to reveal different contents:
    1. On Page1 draw a red circle and a green circle
    2. Group the circles (I found a bug, this is a work around, so I will explain later)
    3. Hide the green circle by toggling the eyeball in the Layers panel
    4. Click "Duplicate state". You are now in Page2
    5. In Page2, hide the red circle by toggling the eyeball in the Layers panel
    6. On Page2 draw a brown square (the door). Make sure the door is big enough to cover both circles
    7. Position the door up high above the stage
    8. Go to Page1 and toggle the eyeball for the door to make it visible in Page1 as well
    You have have two pages. The door is visible and in the same place in both pages. The door is also up above the stage. One circle is visible in page2 and another circle is visible in Page2
    9. Select the Page1 > Page2 transition in the Timeline panel
    10. Select the door on the stage and click Add Action > Move in the timeline. Do this again so you have two Move bars in the timeline for the door
    11. Position the Move bars so one occurs after the other
    12. Notice there is a Fade bar for each of the circles since they are fading in/fading out. Drag these bars so that they fade right at the junction between the two move effects
    13. Now we need to define how the door moves. Select the first Move bar and change the X, Y values in the properties editor to be x=0, y=600
    14. Select the second Move bar and change the values to be x=0, y= -600
    15. Create a button that navigates to Page2 when clicked
    I have attached an example FXP file
    Note: the bug I found was this. If I did not group the circles then during the animation one of the circles would appear above the door. I logged this bug and it should be fixed in the next beta. I found grouping the circles avoided the problem
    Ty

  • Does Encore CS6 have automatic transitions between menus ?

    I have Encore CS3 presently and if I want to do fades between menus I have to do them in After Effects and import them into Encore.
    On my MAC I have DVD Studio Pro which does menu transitions for you automatically when you set them up.
    My question is:   can Encore CS6 do automatic transitions/fades now?

    No. Feature request here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Automatic Transitions

    I'm having a slight problem with automatic transitions in my projects. iMovie doesn't add a transition between the first two clips for some reason. I can easily add one when I'm done adding clips, but it bothers me that I have to do this and I wonder if I'm doing something wrong.

    What you are doing, or attempting, is what I need to do. You are a few steps ahead but if I can catch up I try to assist. Critical bit I don't know is how to assign a transition to another slide at the end of a build. How did you do that? How can you set automatic transitions between slides? I felt like I read about it somewhere but cannot find it now.
    Best
    Alastair

  • Difference between web reports created in WAD & Visual Composer

    Hi All,
    Can anyone tell me
    1.The Difference between web reports created in WAD & Visual Composer.
    2.The Webreports created in Visual Composer is availble for normal users(users not having Visual composer).
    3.how to create web reports & Publish using Visual composer.
    Waiting for results.
    ThanKs in Advance,
    Basava Raju

    hi james..
    Check these.
    WAD: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    VC: http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c2ba7f545e3116e10000000a1553f7/frameset.htm
    Visual Composer is a model-driven development tool that allows business experts to create and adapt analytical and free-styled applications without writing code. Visual Composer 7.0 is the General Availability (GA) release; Visual Composer 6.0 introduced the freestyle model-to-code creation of analytical appli- cations and it was intended as a preview tool for evaluation purposes.
    Visual Composer now connects to SAP NetWeaver BI via a Remote Function Call (RFC) rather than a Web service connection. The resulting communication between the portal and SAP NetWeaver BI works faster, especially in cases of large query results. With these added functionalities, users can create more user-friendly, powerful analytical applications using Visual Composer, such as Executive Dashboards.
    Visual Composers Features -
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101
    New Features of Visual Composer 7.0
    Visual Composer 7.0 is part of SAP NetWeaver Portal in SAP NetWeaver 2004s. This release focuses on SAP Analytics and offers significant changes from the previous Visual Composer release. The most notable changes include:
    Visual Composer now runs on the Java 2 Platform, Enterprise Edition (J2EE) Engine of SAP NetWeaver Application Server (SAP NetWeaver AS). Therefore, you no longer need Internet Information Services (IIS) 5, Microsoft SQL Server 2000, and Microsoft .NET Framework.
    Visual Composer now can generate iViews for Web Dynpro (the SAP NetWeaver programming model for user interfaces) and Adobe Flash Player 8 or higher in SAP NetWeaver Portal. You can create Internet applications by integrating Adobe Flex Server and Web Dynpro.
    Visual Composer now integrates BI content from SAP or non-SAP systems using BI Java Connectors (part of BI Universal Data Integration 7.0).
    /message/3240694#3240694 [original link is broken]
    /message/2958672#2958672 [original link is broken]
    These are the links which i followed.
    https://www.sdn.sap.com/irj/sdn/visualcomposer
    http://www.sap.com/platform/netweaver/components/visualcomposer/index.epx
    http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
    VC - Install and Configure guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1d55042e-0c01-0010-e3a3-b009c445ee23
    Preparing to Use Visual Composer
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/429c8b709914bce10000000a155369/content.htm
    hope it helps..

  • Timer Event in Visual Composer

    Hi,
    I want to refresh a bapi each 12 sec so that it fetch me the latest data.
    So i have attached a timer to the input port of the bapi and a table to out port.
    So now when i deploy i am able to see the data in the table but after 12 sec when again the event is fired, no data is displayed in the table.
    The same senario works perfectly well for other bapis, but i am not able to understand why its not working for a particular bapi.
    So what should i do so as to overcome this problem.
    Regards
    Paresh.

    Hi Paresh,
    just some hints:
    - does the output of the bapi, i.e. what is deliverd to the table,  differ from time to time?
    - change the flag "dynamic port" of your data service, maybe this helps?
    - make sure that the data that is channeld to the bapi by the timer is correct (maybe when the timer fires it delivers a wrong input value? Leading zeroes maybe?)
    - have a look at <a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i">Marcel Salein's blog</a> for ABAP-VC-Debugging hints
    In order to give detailed hints, we need more specific information.
    Best regards,
      Benni

  • Select every lines of a tabe in one time, with Visual Composer

    Hi experts,
    I am using Visual Composer, but I meet some issues. Does any one know how to select every lines of a tables in a same time? do I need a buitton for this?
    thank you for your reply
    regards,
    Pierre

    hi Jhansi,
    thank you very much for your response.
    nevertheless, this is not what I wanted to do (perhaps I should explain better).
    In fact, what I want is is to do as if I clicked on every single line of my table, but in one time (without cliking on them one by one...)
    I do not want to short them with color, I reall want to select every one of them, but in one time.
    thanks a lot
    regards,
    pierre

  • My MacBook Pro recognizes which of my three printers is plugged in (USB), but can it automatically use that printer or do I have to select that printer from the list each time I switch between printers?

    My MacBook Pro recognizes which of my three printers is plugged in (USB), but can it automatically use that printer or do I have to select that printer from the list each time I switch between printers?

    My MacBook Pro recognizes which of my three printers is plugged in (USB), but can it automatically use that printer or do I have to select that printer from the list each time I switch between printers?

  • Every time i switch between patches they automatically mute?

    Hi I've recently started using Mainstage 2 and i've got my basic set up sorted and some sound i like. However every time i switch between the patches, it automatically mutes it which makes it pointless for me to use live as i'll have to keep going back to my laptop to unmute the sound and I like the idea of being able to let the previous patch ring out over the new patch.
    Any suggestions?
    Sam

    Hi
    Not exactly clear what you mean...
    a) Software Instrument patches normally do allow the sound of currently playing notes to carry over, unless you have specifically selected "Instantly silence previous patch' in the Patch attributes Inspector.
    b) Audio channels default to having a 20 second 'overlap'.. see Preferences:Audio
    c) or maybe you mean that when you change a patch, the previous patches channel strips are actually Muted?? This could be that you (accidentally) saved them that way, and the MS preferences are set to revert to the Saved state (Preferences;General:On Patch Change)????
    HTH
    CCT

  • Is there a way to make the transition between tracks seamless on iTune purchases of through-composed music? Please advise.  Thanks

    Is there a way to make the transition between tracks seamless on iTune purchases of through-composed music? Please advise.  Thanks

    Thanks for answering Chris. You clearly have much more experience than I do in these matters, and I don't mean to challenge... but that's not been my experience. If I choose shuffle for a list of all songs and listen continuously for many hours, I really do (and will) hear repeats.

  • For Making iDVDs: How to do I set my videos so they automatically transition to the next video instead of going back to the main menu every time?

    Hello out there!
    Im trying to create a magic iDVD and I have some difficulty navigating my options. Some of my video's that I'd like to add are very short clips and I'd like view them back to back without having to go back to the main menu everytime after every short video clip. For example: a 1:08 minute video of my daughter's birthday and then a 3 minute video of her bithday...how do I make it so the 1:08 minute video automatically transitions to the 3 minute video without me having to go back to the main menu to manually select the next video?
    Please advise! Thank you so much
    citule

    You can't.  But (there's always a but) if you have enough room (i.e. playing time) available in the project you can create a slideshow in iDVD
    and add all of the videos to it.
    If you do that set the Slide Duration time to anything except Manual or Set to Music.  Also do not select an transition.
    When you click on the Create Project button in Magic Movie you'll be able to use the "+" button to add the slideshow to the top menu. 
    OT

  • How to show BPM Reporting values in Visual Composer

    Hi everybody,
    i add a Reporting Activity to my current BPM Process. My purpose is to show the report in Visual composer.
    Unfortunately i don't know how to import the BPM Reporting Activity into VC?
    Could anybody help me with a how-to-guide or a detailed description?
    Best regards,
    Sid

    Hi,
    Helpful information on this topic:
    The whole subtree: Performing Process Analytics
    Some quotes from the help.sap.com documentation:
    Real-time analytics enables you to report against an operational system without using a BW system. Real-time analytics allows reporting on a subset of both generic process data and process context data. When performing real-time analytics, data is consumed and reports are displayed directly in the Visual Composer of the local system.
    Reporting data is provided as DataSources to VC and you use the VC BI Kit to display the data.
    Discovering BPM DataSources in Visual Composer:
    3. Choose: View -> Task Panel -> Search to search for BPM DataSources. The Search dialog appears.
    4. From the Select provider dropdown menu, select BI Data Sources.
    5. From the System destination dropdown menu, select BI (Sql) Portal.
    ...but per my understanding, in order to be able to select "BI Data Sources", because all BPM Data Sources can be accessed from this choice only, you need to have BW, and you need to configure the connection between your BPM and BW??
    Also, your own custom BPM Data Sources can be created only with the "Reporting Activity" in NWDS, Process Development perspective??
    Similar-helpful thread: Using Visual Composer from NWDS - CE as BI Data Source (BPM tables)
    Regards,
    David

  • Visual Composer: Date Range in Query

    Hi,
    While working in Visual Composer, I have come across the need to re-use the same query 20 times, but with slightly different date ranges. One way would be to create 20 copies of the same query and change the selection dates as needed on each of them. However, is it possible to provide date ranges in a query in Visual Composer? Right now its only letting me enter single values.
    Thanks
    Adeel

    Problem can be resolved by using a colon between the dates. Furthermore, the DSTR function in the expression editor can be used to form the desired dates.

  • Last Data Update in Visual Composer and Web App Designer

    Hello,
    We want to show the last data update in query result and we used 2
    differents ways to do it: throught Web Application Designer (SP 12) and
    Visual Composer (SP 10).
    In query result of Web Application Designer, the last data update came
    in GMT0 and in visual composer came ok (GMT - 3, that's our time zone).
    This value (ROLLUPTIME) is taken out of the RSMDATASTATE table and this is used in SAPLRSMDATASTATE program, that is called by Web App Designer.
    Why does the difference exist between: Web App Designer and Visual Composer for last data update?
    So, I need more information how the Visual Composer brings the correct value (in our time zone) and Web App Designer in GMT0.
    Best Regards,
    Pablo Moraes

    Hi Mario,
    Yes, i used the same user and the same query to access the information. But, how can i check the mapping from my VC user to the BI user?
    Regards,
    Pablo Moraes

  • Navigation in Visual composer

    Hi,
    I am very new to visual composer. i have two issues.
    1.  I have an RFC to execute in Visual composer, the Input form of RFC to be shown as a first view, once he click on submit, i need to navigate to another view which will show the result as an table.
    I am able to execute the RFC , by showing the input form and table in the same page.but i need to navigate to the table view after submit.
    I dont want to use the navigations like wizard,accordian or tab.....
    2. My RFC Out put is a table and an export parameter of type Flag ('x' or ' ') , based on this export parameter i need to hide/display some of the table columns.
    Regards,
    Naga

    Hi,
    1. For the first requirement you need to have two layers in your model.
    In the first layer put your input form and in the second layer put your table view. Now connect these two layer, to connect click on the fist layer you will get a small green circle on the top of that layer click on the green circle and drag till there is a connection between two layers.
    Once you have connected the layers you need to select the event for that connection, this event should be the submit. i.e. when ever you press submit in input form there will be a navigation to second layer.
    2. For this you need to select the cofiguration for table view, in the table view select those field you need to hide based on the flag and set a condition in the display properties to hide that particular column.
    before this you need to store the value of the flag in a form which is hidden.
    hope this helps,
    Rk.

Maybe you are looking for

  • Acrobat 8.1.2 crashes Word 2003

    I'm running Acrobat 8.1.2 on Windows XP Pro SP 2. It used to work fine (had it for over a year) scanning in documents, running OCR and exporting to Word, but suddenly and for no discernible reason Word freezes if I try to scroll past the first page o

  • Changed Lion Login Background Image No Longer Works

    Following instructions posted in various communities, I was able to substitute my own image for the dull gray Lion login background image (replacing the file NSTexturedFullScreenBackgroundColor.png).  But since upgrading to OS X 10.7.4 the other day,

  • Getting Migration Assistant to work, Macbook Pro to Macbook Pro

    I just bought a new (2011) Macbook Pro and want to transfer info from my 2009 Macbook Pro to the new one. I have tried repeatedly to do this via my wireless network with Migration Assistant, and constantly get the error message on the old Macbook tha

  • Using Acrobat Designer 7

    I've created multiple forms, using Designer 7.0; however.... the digital signature fields will not function when the recipient (submitter) of the forms trys to click on the signature fields. Nothing happens, kinda frustrating. I was under the impress

  • Footnotes in Page Layout

    I have a newsletter that I'm creating in the Page Layout mode. I would like to use a colored background for the entire document. The newsletter is for viewing on the internet so the colored background looks nice - the colored background covers the en