How to value objects on the load

I read through some of the messages on the progress of Actions with conditional statements, but I couldn't find an answer.

Very simple what I need: when the user clicks on one of the days of the week tab, I want the content to be placed in the Middle.

I created a variable called 'day', but how I put "Monday" or "Tuesday" on the load so that when the user clicks the appropriate button I can run a conditional statement: If "day" = Monday then show 'content Monday. Is it possible to assign a variable without user interaction? as when loading a slide.

I'm sure it's super simple, but I want to do th

2016-04-10_22-11-29.jpg

My apologies.  As I said, I wasn't sure I was understanding your intent.

Looks like you need to have a number of text captions or Smart Forms hidden on the slide where you want the content to appear.  These objects will contain the relevant information for a given day.  But, you set all these objects to occupy the same space on the slide, one above the other, and their Visible in the OFF output value (so that they are initially invisible to the learner) and group together them.  Simply by going in a group makes it easier to HIDE with a unique action line.

When your user clicks one of the buttons at the bottom which corresponds to a given day, this button comes to perform a Standard action that has two lines of action. The first line must HIDE the Group (so that all the visible objects of clicks on the back button are immediately hidden) and then SHOW the caption or the form chip that is the day the user has clicked.

Unless you plan to do something else with the variable, there is no need to have a variable has a value just to achieve the interaction that I described above.  However, if you later NEED to know what day the user clicked (maybe to use it in a conditional Action) then you can add an action to the line that assigns the value of the variable.

Which is closer to what you want?

Tags: Adobe Captivate

Similar Questions

  • How can I speed up the load time of my site?

    Hello

    How can I speed up the load time of my site hosted on BusinessCatalyst.

    http://www.PW-energy.co.UK

    Is there a way to compress?

    Any help much apprecated.

    Thank you

    Hello

    The page/site seems to load very well at the moment.

    However if want to inspect what could slow down the loading of your page I recommend using 'firebug' and select the 'network' tab to follow every chronology file loading.  Then you can see which file takes more time to load to help make adjustments accordingly.

    http://getfirebug.com/

    Kind regards

    -Sidney

  • How to 'Allow smoothing' for the loaded XML .jpg?

    I have a thumb wheel image that loads a bunch of jpg. They are be enlarged rollover in 1,05.

    I've seen pixelated at scale 1 x 1 as well as expanded.

    I'm happy prettey how Flash renders the images with "Allow smoothing" on.

    How would I do it for the loaded xml jpg? Would it be as a script in the main folder or in the xml file?

    Here's how to load images in AS3:

    function completeHandler_AppPopUps(e:Event):void{
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete
    
              //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);
    
              TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version
    
              TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded
    
    
    }
    
    

    I don't want to complicate things more than necessary, but just in case it's needed here is the complete code for the edification of the wheel section:

    /////Parse XML
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
              trace("build Scroller");
    
              for (var item:uint = 0; item<imageList.length();item++) {
                        var thisOne:MovieClip = new MovieClip();
    
                        //outline
                         var blackBox:Sprite = new Sprite();
                        blackBox.graphics.beginFill(0xFFFFFF);
                        blackBox.graphics.drawRect(-1, -1, 62, 92);//-1,-1 places rectangle 1px left and up.62, 92 draws rectangle 1px wider on all sides of placed image dimenstions of 60x90
                        blackBox.alpha = thumbFadeOut;//setting Border Tweens
                        thisOne.addChild(blackBox);
                        thisOne.blackBox = blackBox;//setting Border Tweens
    
                          thisOne.x = thisOne.myx = (60 + padding) *item;//replaces the line above for scale tweenw roll over calculation. "myx" is a made up term which defines the position. 61 is the width of the thumb
                        thisOne.itemNum = item;
                        thisOne.title = imageList[item].attribute("title");
                        thisOne.link = imageList[item].attribute("url");
                        thisOne.src = imageList[item].attribute("src");
                        thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
    
                        //Loading and Adding the Images
                        //image container
                        var thisThumb:MovieClip = new MovieClip();
                        //add image
                        var ldr:Loader = new Loader();
                        //var url:String = imageList[item].attribute("src");
                        var urlReq:URLRequest = new URLRequest(thisOne.src);
                        trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
                        ldr.load(urlReq);
                        //assign event listeners for Loader
                        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler_AppPopUps);//tells us when the loading is complete
                        ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler_AppPopUps);//tells us if there are any typo errors when the loading is complete
                        thisThumb.addChild(ldr);
                        thisOne.addChild(thisThumb);
    
                        //create listeners for this thumb
                        thisOne.buttonMode = true;//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem_AppPopUps);//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem_AppPopUps);//traces the title when the mouse is over the bounding box in the Output Panel
                        thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem_AppPopUps);//traces the title when the mouse is out the bounding box in the Output Panel
    
    
    
                        //add item
                        scroller.addChild(thisOne);
              }
              scroller.addEventListener(Event.ENTER_FRAME, moveScrollerThumbs);//adding movement on mouse position
              trace("termination of build scroller");
    
    }
    
    
    

    in your listener to full charge, enable the property smoothing to the content of your charger (expressed as a bitmap).

    function completeHandler_AppPopUps(e:Event):void{

    Bitmap(e.currentTarget.loader.content).smoothing=true;
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete

    //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);

    TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version

    TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded

    }

  • How to get rid of the loading bar in the address bar

    The loading bar that appears below the address bar really distrubs me. Any way to remove it?
    Here is a picture:
    http://img810.imageshack.us/img810/9409/gaysg.jpg

    Thank you

    This is a feature of the extension of the State-4-Evar.

    You can check the options in tools > Modules > Extensions (progress > URL bar)

  • How to value multiples in the like clause

    I want to create a select statement in which I use AS clause. In this type, I have several options like this

    Tab where col like ' the % ' or 'kl %' select col

    How to write this in the correct format. I just wrote a prototype of my requirement here.
    Thakns.

    I guess this will clear all your doubts

    http://www.sqlsnippets.com/en/topic-11741.html

    Published by: PBin July 4, 2010 01:05

  • How to test and remove the loader object?

    Hello

    I am trying to load an object swfLoader on the scene and vimeo player (which I do with great success) and then delete them when I click on a button. I can remove it each separately, but when I put them in the same function I get an error. I think I need to test to see if they are on the stage with an if statement before I try to remove them, because I am getting an error NULL when I click the button. The problem is that I don't know how to test for them. I got as far to put the name of the variable in the condition. Can someone help me please?

    In an effort to keep the code as simple as possible, I do not understand the code where variables are declared and the swf loader and loader vimeo are instantiated on the stage. But if I need more for the problem to make sense, please let me know rather than pass on my request for help.

    Thank you.

    closePortfolio_but.addEventListener (MouseEvent.CLICK, onClickClose)

    function onClickClose (e:MouseEvent) {}

    If {(moogaloop)

    moogaloop.parent.removeChild (moogaloop);

         }

    If (swfLoader) {}

    swfLoader.parent.removeChild (swfLoader);

         }

    }

    closePortfolio_but.addEventListener (MouseEvent.CLICK, onClickClose)

    function onClickClose (e:MouseEvent)

    {

    moogaloop.parent.removeChild (moogaloop);

    swfLoader.parent.removeChild (swfLoader);

    }

  • How coordinate values to change the rotation?

    I need to know how the pixels coordinates change when they are turned by a certain angle.

    Or suggest a few VI which will give the new values of coordinates after rotation...

    Pls answer

    Recorded in LV 8.2. Screenshot attached.

    Andrey.

  • How Lock/disable fields during the loading screen?

    Hello

    I'm looking to 'lock' or 'disable' everything on the screen whenever I call setStatus(). The concept behind this is I want to use setStatus() to tell the user when loading the screen is. While it is loading, I don't want the user to be able to do anything. Is there a specific way to do this?

    Thank you!

    crush the onClose returns true, this will disable the closing screen. no need for the navigationclick or the keychar then.

  • How to hide objects outside the window of the scene?

    Using Flash Mx 2004. I created a few objects that are outside of my scene and slip into the stadium. The only problem is that they are visible when I publish the flash movie. In other words, I don't want to see them until they are in the stage space. Is there a way to make my objects disappear or be seen only in the stage area and not outside of it?

    Thank you

    Walter,

    Forget it, I thought about it. Works like a charm. Thanks again!

  • How to animate objects on the screen on certain events

    I want to clown dance when he grabs a hat (I have a Tween to this), which is otherwise just standing, basically, I need to animate objects on certain events and then stop, I see so many manufacturers of games doing that, I don't know anything about, tried many things on my own but without success

    a simple example:

    You can download it here: http://www.flashdersi.com/flash/diger/adobeforum/hittest.fla

    import flash.events.Event;

    addEventListener (Event.ENTER_FRAME, fCheck);
    var bMove:Boolean = false;
    function fCheck(evt:Event)
    {
    If (! bMove)
    {
    If (mcHandClown.hitTestObject (mcHat))
    {
    bMove = true;
    mcClown.gotoAndPlay (2);

    }
    }
    if(mcClown.currentFrame==1)
    {
    bMove = false;
    }

    }

    mcHat.startDrag (true);

  • How can I stop the loading of a swf file that is still ongoing.

    I have three buttons on the stage (btn1, btn2, btn3)

    When I click on the first button swf starts loading

    While the swf file loads if I press the 2nd key

    the first swf won't stop loading and the two rulers begin to play

    But if the first swf is fully charged then everything workes very well.

    so please let me how can know I stop the loading of a file that is still ongoing.

    var _contentSWF:ContentSWF

    var _content

    Btn1.addEventListener (MouseEvent.CLICK, handleClick)

    btn2.addEventListener (MouseEvent.CLICK, handleClick)

    btn3.addEventListener (MouseEvent.CLICK, handleClick)

    function handleClick() {}

    {if(_content!=undefined)}

    _contentSWF.removeContent)

    removeChild (_contentSWF);

    _contentSWF = null;

    }

    _contentSWF = new ContentSWF()

    _content = addChild (contentSWF);

    _contentSWF.init (from path.swf)

    }

    ContentSWF.as

    private var _path:String

    private var swfLoader:Loader

    private var _content

    SerializableAttribute public class ContentSWF extends Sprite {}

    public void init (path) {}

    {if(_content!=null)}

    _content. Content.RemoveEventListener (Event.COMPLETE, completeHandler)

    _content.removeChild (myMc)

    _content = null

    }

    swfLoader = new Loader();

    _path = path

    swfLoader.load (new URLRequest (path));

    swfLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, swfLoaded);

    }

    public void removeContent() {}

    swfLoader.contentLoaderInfo.removeEventListener (Event.COMPLETE, swfLoaded);

    swfLoader.unloadAndStop)

    }

    private void swfLoaded(e:Event) {}

    _content = addChild (mymc)

    }

    }

    Use your charger's close() method.  but don't try and apply only if nothing is currently responsible or, I think, you will trigger an error.

  • Error determining responsible for image size: the loading object is not sufficiently loaded to provide this information.

    Hello

    I am trying to load and image and determine its dimension immediately after loading.  I use a Loader object and check the width when the object of the loader's contentLoaderInfo Event.COMPLETE event is triggered...

    myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, onLoadComplete);

    Then:

    public void onLoadComplete(event:Event)

    {

    trace (myLoader.Width); 0

    trace (myLoader.contentLoaderInfo.Width); Error: The loading object is not sufficiently loaded to provide this information.

    }

    I tried something similar with the event of Event.INIT but same result.  Any ideas on the best way to solve this problem?

    Thank you!

    Moshe

    I think it's the answer to your question:

    trace(event.currentTarget.width);
    
  • How get/set the value of the DataObject object in the task of the API?

    How get/set the value of the DataObject object in the task of the API?

    Are there examples of code availible?

    Hello

    You are here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_worklistcust.htm

    Antonis

  • How to get the values of the shape of the object in the form of process field?

    Hello

    I created the resource object and it has the shape of the object that are associated with him. When the user self praying for this user RO add information in the form object field ho can I get these values as a process?

    How to get the values of the shape of the object in the form of process field?

    Hello

    If you want to map the form field Number in the form of process field go process definition - Data Flow Mapping tab you can add the field map.

    Thank you
    Patricia

  • HOW TO SOLVE: OBJECT VARIABLE OR BLOCK VARIABLE NOT THE VALUE

    Please, I'm trying to snap the passport of students using my pc webcam to a program that I use to register candidates for the exam. But as I break their passport, I had this object variable of error message or with block not set. Please tell me how to configure object variable or block variable. Tell em how to fix this error.

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you get an error message.

    I suggest you to refer to the Microsoft Help Article below and check if that helps.

    https://msdn.Microsoft.com/en-us/library/5szkzs17.aspx

    You can also check:

    https://msdn.Microsoft.com/en-us/library/aa264506 (v = vs. 60) .aspx

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

Maybe you are looking for