Start a new topic

Adobe edge animate CC (html drawable)

Adobe edge animate CC (html drawable)


hi

i did an html drawable created by adobe edge , buttons animation and everything,and working great in chrom

the problem is that when the html.drawable shows ,some of the features dont work..

like blur and click on buttons to call or to email using location.href ="tel:13131313131" , it worked on chrom but not wikitude

 

another question , does the AR element appearing above the target makes the target hard to be detected ? cuzing the the AR element to bounce a couple of time untill it stop bouncing, sometimes it causes the app to close

how to make the scene goes on even if the target is out of vision ?

 

thanks :) 

Hi,

To your html question: it might happen that some features are not working correctly due to the different webview componentes on the Android and iOS OS. Also, on Android it might happen that the widget rendering differes from device model to model.

To your second questions - you'll need to detect the target image so that you display your augmentation. Then you can work e.g. with our snap-2-screen functionality.

Greetings

Nicola

second question

        var brohtml = new AR.HtmlDrawable({

            uri: "assets/edge2/index.html"

        }, 0.7, {

            scale: 1,

            viewportWidth: 550,

            viewportHeight: 774,

            offsetX: -0.348,

            offsetY: +0.5,

            horizontalAnchor: AR.CONST.HORIZONTAL_ANCHOR.LEFT,

            verticalAnchor: AR.CONST.VERTICAL_ANCHOR.TOP,

            clickThroughEnabled: true,

            allowDocumentLocationChanges: false,

            onDocumentLocationChanged: function onDocumentLocationChangedFn(uri) {

                AR.context.openInBrowser(uri);

            }

        });

...

 


this.pageTwo = new AR.Trackable2DObject(this.tracker, "brouchor-final", {

            drawables: {

                cam:

            },

            onEnterFieldOfVision: function onEnterFieldOfVisionFn() {

            World.pageTwo.snapToScreen.enabled = false;

},

            snapToScreen: {

                enabledOnExitFieldOfVision: true,

                snapContainer: document.getElementById('snapContainer')

            }

            });

 

this is inside World variable
Login or Signup to post a comment