Jump to content
Search Community

Amplus

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Amplus

  1. Hi,

    I am loading my SVG file externally in an object tag because I wish to use gzip compression for my SVG. Because my SVG is now loaded separately, I can not select the elements inside the SVG with the default Greensock selector.
     

    https://greensock.com/forums/topic/11187-accessing-svg-paths-in-external-file/?do=findComment&comment=45132


    I have tried this solution, but I don't wish to wrap

    doc.getElementById('')

     

    around all of my selectors instead of the default Greensock ' ' selector.

     

    Is there a way to modify the TweenMax.selector so my selectors will be referencing that document?


    Thank you.

     

     

×
×
  • Create New...