Potential of AR and MR with a Futuristic Immersive Tech in Heathcare Domain

Lady using Virtual reality headset
Business photo created by pch.vector – www.freepik.com

My article on Xoriant blog sites, which talk about my experiment with a solution for healthcare industry with the help of Adobe AERO. In real world, scenario is changing as new advancements in hardware and software technologies by Mixed Reality (MR), Virtual Reality (VR) and Augmented Reality (AR) are being harnessed for various retail and commercial applications across manufacturing, education, healthcare, remote support.

Check my complete article on XORIANT BLOG, and let’s share your views on this topic…

Previously we also talk about another design thinking case study which you can check on this links https://www.suvratkotia.com/design-thinking-case-study/

TechSmith Camtasia: How to downgrade to older version.

Camtasia header image

If you are looking for converting your TechSmith Camtasia project in latest version to older version, that is possible. In TechSmith Camtasia: How downgrade to older version, we are going to talk about How to downgrade Camtasia version 2021 file to Camtasia 2018 version. Register and subscribe to our website and get a SUVRATOONS comic book FREE.

Continue reading “TechSmith Camtasia: How to downgrade to older version.”

Microsoft Team – How to generate code to join a meeting room

Image by Stefan Coders from Pixabay

Now a days many parents are using Microsoft Team for their kids’ online classes. With technologies comes issues, and during such issues no one is available to help you except GOOGLE.

Here I am discussing unique problem. It’s for Microsoft Team desktop app (issue is same for mobile as well), let see:

Continue reading “Microsoft Team – How to generate code to join a meeting room”

Adobe Captivate issue of displaying Failure text box.

Adobe Captivate is a software which is very famous in the eLearning domain. It is useful in creating eLearning content. It has few issues, and while doing research about one such issue I had not found any proper answers on the internet, so thought to share the solution I found out during my research. We are discussing the latest version of Adobe Captivate 2019 Release. Hope you have intermediate/Advance knowledge about Adobe Captivate.

Figure 1.1: Click box with Success and Failure messages

Issue: “Failure” display is not working in “Click box” object from the “Interactions” menu.

Case: It’s a very weird problem, it seems a bug in the software itself.

When you place two text boxes as right and wrong answers, to activate it, we need to place ” Click box” from “Interactions” menu. With this “Click box” comes three text cum click areas which are “Success”, “Failure” and “Hint”.

When someone clicks on “Click box”, as per standard functionality of “Click box” one/two objects should show up (Success-Hint or Failure-Hint etc.)

But you just want to show “Success” or “Hint” then it’s fine because it will work fine. But if you want to show the “Failure” text message after clicking on “Click box” your problem starts, it will not show the “Failure” message.

Solution:

Figure 1.2: Hint box spread over Text box which we want to show as a wrong answer, and Click box on the right side of the same Text box.
  1. Very simple solution but little weird…..when you want to show “Failure” message, just use the “Hint” area to click and reduce the “Click box” to the minimum (don’t delete it completely)…Whoa!!! problem solved 🙂
  2. Don’t forget to select “Success”, “Failure” and “Hint” options as per your choice from Property area on the right. Check Figure 1.3.
  3. For “Sucess”, just place “Click box” on the text box which you think will be the correct answer. After someone clicks on this “Click box” success text will appear.
  4. Check Figure 1.2 and Figure 1.3 for more understanding.
Figure 1.3: Hint box spread over Text box which we want to show as a wrong answer, and Click box on the right side of the same Text box.

Note: Above procedure is for students/professional/users with intermediate knowledge of Adobe Captivate 2019 and not for beginners.

Flash ActionScript – getURL in AS3

Flash ActionScript

After a long time I am writing something…during my project I found out something interesting in Flash and JavaScript function. This will be useful for people with basic knowledge in Actionscript. So let’s discuss it here.

First we will discuss about the difference between AS2 and AS3 script on Flash button. Previously in AS2 it’s very easy to write script on Flash button.

AS2 script on Flash button:

on(release){

//Write your action

trace(“Button has been pressed”);

}

And function should be like this (this should be placed on the keyframe of timeline (make actionscript layer) :

function myFunction(){

//Write your action

trace(“Hello”); //write trace option

}

Above example was quiet easy with AS2, now let’s see same example with AS3:

Important point to remember is that in AS3 you can’t write script on button. Just write it on keyframe in timeline (make actionscript layer). And give instance name to your button e.g. HelloButton. Now write the button script on keyframe of timeline:

AS3 script for Flash button:

HelloButton.addEventListener(MouseEvent.CLICK, myFunction);

Here, we have use button name i.e. HelloButton. And a function i.e. myFunction

In AS3 function is written as:

function myFunction (event:MouseEvent):void{

                trace(“Hello”);

}

In above function, remember to add “event:MouseEvent” and “:void” as compare to AS2, which tells that on which mouse event this function should execute.

Now let’s discuss about simple script of “getURL”. Previously it was easy to open a webpage on click of a Flash button. You just need to put this script on Flash button. See example:

on(release){

                //getURL(“http://www.google.com”, _blank);

                }

After clicking this button it will open an http://www.google.com link in new window.

But now if you just put this script on Flash button and publish HTML, you will find that it’s not working….don’t worry this is just a simple glitch within your HTML…….try to find out this param tag…in HTML:

<param name=”allowScriptAccess” value=”always”/>

Make sure that….value=”always”….if you want to run getURL script on Flash button….Now your Flash button works perfectly in HTML.

Now learn something interesting, capture Flash button event in Javascript of HTML page. Check AS2 and AS3 versions:

AS2 version:

On Flash button write this script:

on(release){

               getURL(“javascript:myfunction()”);           

}

In above script, “myFunction()” is a javascript function which is present in HTML.

In HTML, where you are going to run this Flash button, just write javascript function “myFunction()” in <body> section. Check this:

JavaScript Function in HTML

<script language=”JavaScript”>

function myfunction(){

alert(“Hello World”);       

}

In the object tag for the SWF file in the containing HTML page, set the following parameter:

<param name=”allowScriptAccess” value=”always” />

Now check above scenario in Actionscript 3:

AS3 version:

import flash.external.ExternalInterface;

Instead of “getURL”, in AS3 we should use “ExternalInterface” classes. For more details check link: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html

import flash.events.Event;

HelloButton.addEventListener(MouseEvent.CLICK, myFlashFunction);

Above code is for Flash button with instance name: “HelloButton”, and when someone press this button it execute “myFlashFunction”(JavaScript function).

 

function myFlashFunction (e:Event):void{

     ExternalInterface.call(“myfunction”, HelloButton.name);

};

myFlashFunction is a Flash function which runs javascript function(i.e. myfunction) in HTML file.

 

And in HTML, place this javascript function:

<script language=”JavaScript”>

function myfunction(){

alert(“Hello World”);       

}

In the object tag for the SWF file in the containing HTML page, set the following parameter:

<param name=”allowScriptAccess” value=”always” />

 

Now run HTML file in Internet Explorer (browser). And when you press Flash button in SWF file in the containing HTML page, javascript code catch the Flash button event. This way you can catch any Flash event in javascript and use for many purposes. Hope this will be helpful for those who want to understand basic event catching with JavaScript from Flash.

Share via