AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Adobe animate for web1/3/2024 Swapping an image is one of the simplest things you can do in the canvas, so providing you have the hit regions defined for each page that the user can visit, it should work. instead of trying to render the html page, you could use an image of the page, and place 'hit' regions over the relevant html elements that you wish the user to interact with. Your 2.x workflow would have to be modified, (I don't know if this would be satisfactory). The problem is that the canvas element cannot parse any html/css/js used in a web page, so nothing would show. Not what I would call an elegant solution - but I think this could fool the user into thinking that the HTML page is in fact part of the web-app as developed in Animate. not in Animate) called showFloatingWindow(x1, y1, x2, y2) passing in the coordinates that correlate with the shape location as defined within the Animate canvas.Ģ.3 the showFloatingWindow() function causes a floating DIV/Frame etc to appear at the specified coordinatesĢ.4 the DIV will then display the HTML page content When I want to display the web page I do the following:Ģ.1 get the x1, y1, x2, y2 coordinates of the rectangle shape (as defined in step 1)Ģ.2 call a javascript function (that resides on the web page - i.e. Create a rectangle shape/symbol within Animate and place that over the region I want my HTML page to appearĢ. I think what I will do is the following (and IMO this is a hack at best!)ġ. Unfortunatel I am not using Air - so I guess I need to use a different approach.
0 Comments
Read More
Leave a Reply. |