download a lot of files awp
Hello Liao!
I am experiencing difficulty when I load many files awp.In the example I see the code download a file and I can not get e.asset.name and consistently forced to download these files .I'm an example for how to do this for multiple files or multiple ParticleGroup.
I also want to ask you to add the ability to embed textures in awp :)
I would be grateful to you for the answer .
...You must Sign up as a member of Effecthub to view the content.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
2223 views 1 comments
You must Sign up as a member of Effecthub to join the conversation.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
Easiest way to take ParticleGroup from AssetLibrary is using namespace. Go inside AssetLibrary.getAsset(), put there breakpoint and you can see dictionary with all assets and how its grouped there.
So for example you can create Particle group like this:
var iterator:AssetLibraryIterator = AssetLibrary.getBundle().createIterator(AssetType.CONTAINER, "particles/"+name+".awp");
var particleGroup:ParticleGroup = ParticleGroup(ParticleGroup(iterator.next()).clone());