load the assets to your project
Follow these steps to load the assets to your project:
Download the parser source from http://www.effecthub.com/download/software/sparticleparser
Download the latest dev branch of Away3D lib on github https://github.com/away3d/away3d-core-fp11/tree/dev
Setup a as3 project with your favorite IDE(Flash builder, Flash Develop...), include the src directories of parser and Away3D lib downloaded just now as the project source path.
Set test.as in parser as your application entry, and copy your asset to your target directory.
Rename the "1.awp" to your asset name so that your application can access your asset, then run you application.
Now you can enjoy your asset in your project.
...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
11222 views 22 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
Easy Flux bags is outstanding amongst other Biodegradable and compostable Plastic Bags Manufacturers in India. We are driving best Biodegradable Bags in India. We are delivering the bags with best raw material using natural sources. If you are searching for the best Biodegradable Garbage Bags in India, then your search ends here with us. We are leading best Compostable Bags Manufacturers in India, material according to the Government has on petroleum-based plastic for more than 50 microns. Easy Flux bags are produced using cornstarch and are 100% compostable and biodegradable which has demonstrated to be the best option of the typical plastic which doesn't drains even in 300 years. We are offering with Biodegradable Pouches in India. We promote the eco-accommodating bags against the utilization of plastic bags.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
particleGroup = e.asset as ParticleGroup;
groupContainer.addChild(particleGroup);
particleGroup.animator.start();
particleGroup没有castsShadows属性,那怎么控制阴影的显示和不显示呢?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
particleGroup = e.asset as ParticleGroup;
groupContainer.addChild(particleGroup);
particleGroup.animator.start();
particleGroup没有castsShadows属性,那控制阴影的显示和不显示呢?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
1172: 找不到定义 away3d.loaders.parsers:ParticleGroupParser。
请问此问题应该怎么解决呢?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
ok,, so i got it working, which is cool - but 1 question...
i import the src folders for parser and away3d as described in your instructions.
the reason it wasnt working for me before is i was trying to use the away3d swc or 4.1.6 version. no work. so, with the dev away3d, it works but it is 10 times slower on ipad - big problem.
its not the sparticle that slows it, just using that dev version of away3d on a non-sparticle file slows way down on ipad/ios devices.
so the question is, will i ever be able to use sparticle with the current away3d swc, and not the dev version?
thanks in advance.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
more specifically, these two errors
C:\_000 sparticle\test.as, Line 97, Column 33 1046: Type was not found or was not a compile-time constant: LoaderEvent.
C:\_000 sparticle\test.as, Line 86, Column 34 1046: Type was not found or was not a compile-time constant: AssetEvent.
thanks,
andy
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
hello, nice work here!
im having trouble getting the test file to work-
lots of errors, things not found, etc.
i understand i need to add the away3d dev folder, and the parser folder-
but still not working...
thanks and keep up the cool work!
andy
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
Hello Liao,
Im trying to use the parser with away3D 4.1.6 and drops several errors:
Description Resource Path Location Type
1119: Access of possibly undefined property UV_CYCLE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 33 Flex Problem
1119: Access of possibly undefined property UV_SCALE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 47 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 69 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 71 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 74 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 83 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 85 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 88 Flex Problem
I've been trying to understand why works in your example code and i found you are using Away 4.1.4.
I was wondering if something could change so much to make the parser stop working.
Please download dev branch:
https://github.com/away3d/away3d-core-fp11/tree/dev
but not 4.1.6
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
Hello Liao,
Im trying to use the parser with away3D 4.1.6 and drops several errors:
Description Resource Path Location Type
1119: Access of possibly undefined property UV_CYCLE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 33 Flex Problem
1119: Access of possibly undefined property UV_SCALE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 47 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 69 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 71 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 74 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 83 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 85 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 88 Flex Problem
I've been trying to understand why works in your example code and i found you are using Away 4.1.4.
I was wondering if something could change so much to make the parser stop working.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
You can see this example:https://github.com/away3d/away3d-examples-fp11/blob/master/src/Basic_Load3DS.as
See mapUrlToData function :)
wow, great, thanks a lot!
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
Hi, Liao Cheng!
Is it possible to embed the .awp and all of it's dependencies into my project?
I need the effect not to be loaded from the web, but to use it as a Class, as we embed textures in Away3D, for example:
[Embed(source="../assets/textures/model2.jpg")]
public static var Model2Texture:Class;
Is there a tutorial how to make it?
You can see this example:https://github.com/away3d/away3d-examples-fp11/blob/master/src/Basic_Load3DS.as
See mapUrlToData function :)
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
Hi, Liao Cheng!
Is it possible to embed the .awp and all of it's dependencies into my project?
I need the effect not to be loaded from the web, but to use it as a Class, as we embed textures in Away3D, for example:
[Embed(source="../assets/textures/model2.jpg")]
public static var Model2Texture:Class;
Is there a tutorial how to make it?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
I'm getting lots of errors when I follow these steps. Is this still compatible with AWAY3d? I've tried their current swc and I've tried the latest branch as well and just getting lots of errors. Have posted on AWAY3D forums but getting no reply. http://away3d.com/forum/viewthread/5684/
Hello
It's compatible with the latest dev branch of Away3D:
https://github.com/away3d/away3d-core-fp11/archive/dev.zip
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
I'm getting lots of errors when I follow these steps. Is this still compatible with AWAY3d? I've tried their current swc and I've tried the latest branch as well and just getting lots of errors. Have posted on AWAY3D forums but getting no reply. http://away3d.com/forum/viewthread/5684/
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
@Liao Cheng is there a way to embed the effect into the project, instead of loading it from a external source?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
@Rafael Cardoso
Please download dev version of Away3D: https://github.com/away3d/away3d-core-fp11/tree/dev
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
I am having an Error message: "undefined method ParticleSegmentedScaleNode" on ParticleSegmentedScaleNodeSubParser.as(82), any clue on how to fix this, I just got the last version of away3d and the parser. Thanks
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
@aLager
See the Properties section in right panel of the editor, switch to "normal" tab. You will see "scale" button.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
very nice effects. thanks! are there any way to scale effects?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
To help you setup the environment, there is a template project:
http://www.awayeffect.com/download/software/templateproject