0 Replies Latest reply on Feb 1, 2011 6:51 AM by Wasim Khamlichi

    Cannot attach shared symbols using AcriptScript

    Wasim Khamlichi Level 1

      Hi,

       

      I'm trying to share symbols between different projects. I have created a shared_assets.swf with my shared object. I've selected the object to Export for runtime sharing and set the URL as http://localhost/flash/shared_assets.swf

       

      I've dragged the object into another flash project, set the object to Import for runtime sharing and set the same URL as above. Now when I drag these objects to the stage, they show fine, when I try to attach them using actionscript;

       

      var pasteURL_mc:MovieClip = _root.attachMovie("Paste_URL", "pasteURL_mc", _root.getNextHighestDepth());

       

      The object does not show. When I look at the properties of the object, I cannot Export for ActionScript if i'm already Importing for runtime sharing because the checkboxes grey out. Is there any way of attaching a shared object to the stage using actionscript?

       

      Thanks