Dynamic runtime shared libraries in Flash


runtime shared libraries in flash seem work if there direct import link file wishes use shared library item. why can't main swf dynamically load shared.swf containing shared library items , therefore allow child swf's loaded after event access items? or why can't load shared.swf containing shared library items requesting file on fly , grant access items requesting file way? creating direct import links shared libraries in child flash documents annoying in larger applications!

ideally should work this...


  1. all cross domain security issues have been dealt with.
  2. i have main container.swf.
  3. the main container loads remote shared library swf contains shared library items.
  4. after load, main container loads swf files need access shared library items.
  5. one of loaded child swf's contains textfield style sheet attached. need have access shared font shared.swf library enable set embedfonts true , have textfield render correctly. unless import link shared library created manually within child swf containing textfield, textfield not render text embedfonts set true.

    this seems case when dynamically attaching shared move clips linkage id's stage. unless direct import link shared library created within requesting file or should file running script, script fails. seems libraries kept isolated 1 another, stop linkage id confliction etc. same way _global scope isn't shared between swf's originating different domains.

    using like, libraryname.linkageid combat this, need know if i'm wasting time...


i hope makes sense. there wasn't solution last time checked, it's been awhile , hoping out there has come solution @ stage or knows official word on subject.

is possible adobe?

cheers,

derek.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums