Jump to content
Search Community

Search the Community

Showing results for tags 'as3 swf class library'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Basically what the title says. How would I access a library movieclip from an externally loaded swf with swfloader? The following is from a tutorial: var loader:SWFLoader = new SWFLoader("path/to/file.swf", {name:"coupons", container:this, alpha:0, onComplete:completeHandler}); addChild(loader.content); loader.load(); function completeHandler(e:LoaderEvent):void{ TweenLite.to(e.target.content, 1, {alpha:1}); var librarySymbol:Class = loader.getClass("splashes"); var myInstance:MovieClip = new librarySymbol(); addChild(myInstance) } However that gives me the following error cannot convert splashes@5adcdc1 to flash.display.MovieClip. Thanks.
×
×
  • Create New...