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

Using iFrame

$
0
0

I am trying to get an iFrame to show up on my stage. Saw from another post the code, but just want to make sure my code is right, here is what the example was

 

So, let's say you have a symbol mySymbol, an instance of this symbol called mySymInstance, and a Rectangle within the mySymbol symbol definition.


sym.getSymbol("mySymInstance").$("Rectangle").html("<iframe src="http://myurl/"></iframe>");

 

and this is what i put to test it

 

sym.getSymbol("products").$("productFrame").html("<iframe src=''http://myurl/"></iframe>");

 

Am i thinking right?

 



Viewing all articles
Browse latest Browse all 9897

Trending Articles