Share Posted July 6, 2011 I want to create a video player that will play a video, according to which thumbnail is clicked. I don't want to use LoaderMax to load all the videos, but to load the video the user will choose by clicking the image. Is there any other way to load the video than creating the new VideoLoader instance? If not, won't it cause memory leak if I create new instance whenever the user clicks the image to load the video? Thx in advance for any hints. Link to comment Share on other sites More sharing options...
Share Posted July 7, 2011 you can use the unload() method to unload your content. you can also dispose() a loader to make it elegible for garbage collection give those a try http://www.greensock.com/as/docs/tween/ ... ml#unload() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now