7 Replies Latest reply on Jan 14, 2014 10:57 AM by elainecc

    Using iFrame

    brex2040

      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?