Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Embed a web page into Animate

$
0
0

I've seen questions about embedding Animate into a web page, but I've got the opposite issue. I want to embed an external HTML page into my Animate project's Stage (a container called PageContainer).

 

I tried this, but couldn't get it to work:

 

var page= $("<iframe/>");

sym.$("PageContainer").append(page);

page.attr('type','text/html');

page.attr('width','720');

page.attr('height','363');

page.attr('src','http://www.pageurl.com'); 

page.attr('frameborder','1');   // 1 | 0

page.attr('allowfullscreen','0');   // 1 | 0

 

Any ideas would be appreciated.

Thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>