Hi, just found this... veeeery cool! Have been waiting for that for a
long time - since my math is not what it (never) used to be. So cool
that someone else does that for me! Have a little prob though. Have
tried out the examples and get an error in line 111 in the collision
detecting example:
function checkColl(e:CollisionEvent):void {
1046: Type was not found or was not a compile-time constant:
CollisionEvent.
Am I doing something wrong or?
Hi Klaus are you using the class files from the download in the .lib
folder? If you open the file with in the folder it should work. The
file is pointing to the class files in the .lib folder. You might be
getting the Collision event error becuase you using the current
official release alpha( .45 I think ). The collision event is new only
exist in svn trunk, the does that make sense?
On May 2, 9:25 am, "Klaus int. a" <kgrund...@gmail.com> wrote:
> Hi, just found this... veeeery cool! Have been waiting for that for a
> long time - since my math is not what it (never) used to be. So cool
> that someone else does that for me! Have a little prob though. Have
> tried out the examples and get an error in line 111 in the collision
> detecting example:
> function checkColl(e:CollisionEvent):void {
> 1046: Type was not found or was not a compile-time constant:
> CollisionEvent.
> Am I doing something wrong or?
Hi Andrew
Must admit that I never installed the APE, just saw it today and
immediately joined the group and downloaded the cornerstone
sourcefiles. I am running them directly from the unzipped folders, but
in Flash CS3. They all work when tested from within Flash (ctrl +
Enter) except from e4 the collision detection.
Are they not compatible with flash cs3 should I use Flex? I have
downloaded the demoversion of the Flex 3 is that compatible or should
it be Flex 2?
Have no experience with Flex, but have been wanting to get my fingers
on with for some time now...
Thanks for your help!
Got it to work now in the Flash IDE.
Publish Settings --> "Flash"tab hit settings button which opens
"Actionsscript 3.0 settings" - here I just changed the classpath to
point to the lib-folder in the downloaded code. Classpath was:
C:\Documents and Settings\AndrewGarrahan\Desktop\Work\dollemporiem
\vectors\ape_a045\source
Which might explain the error (think its somewhered on your pc
Andrew ;P)
The other examples the classpath is simply ./lib which also works for
this example.
Thanks again for the good examplefiles. I will now start the fun
process of learning by tweaking :)
BTW. checked out some of your work - COOL :) especially like the
Biomorphic Jelly Onslaught Game in the flashfriend.org page.
Your right the class path was off, thanks for pointing that out, I
will re-publish the file. You played the Biomorphic Jelly Onslaught
Game lol Cool, here is another game I just finished using the APE -
http://www.coronaryinvaders.com/coronaryinvader.php , this is the main
reason I got a chance to learn how to uses the engine. These demos are
just distilled bits of code from the game.
On May 3, 5:12 am, "Klaus int. a" <kgrund...@gmail.com> wrote:
> Got it to work now in the Flash IDE.
> Publish Settings --> "Flash"tab hit settings button which opens
> "Actionsscript 3.0 settings" - here I just changed the classpath to
> point to the lib-folder in the downloaded code. Classpath was:
> C:\Documents and Settings\AndrewGarrahan\Desktop\Work\dollemporiem
> \vectors\ape_a045\source
> Which might explain the error (think its somewhered on your pc
> Andrew ;P)
> The other examples the classpath is simply ./lib which also works for
> this example.
> Thanks again for the good examplefiles. I will now start the fun
> process of learning by tweaking :)
> BTW. checked out some of your work - COOL :) especially like the
> Biomorphic Jelly Onslaught Game in the flashfriend.org page.
> Your right the class path was off, thanks for pointing that out, I
> will re-publish the file. You played the Biomorphic Jelly Onslaught
> Game lol Cool, here is another game I just finished using the APE -http://www.coronaryinvaders.com/coronaryinvader.php, this is the main
> reason I got a chance to learn how to uses the engine. These demos are
> just distilled bits of code from the game.
> On May 3, 5:12 am, "Klaus int. a" <kgrund...@gmail.com> wrote:
> > Hi Andrew
> > Got it to work now in the Flash IDE.
> > Publish Settings --> "Flash"tab hit settings button which opens
> > "Actionsscript 3.0 settings" - here I just changed the classpath to
> > point to the lib-folder in the downloaded code. Classpath was:
> > C:\Documents and Settings\AndrewGarrahan\Desktop\Work\dollemporiem
> > \vectors\ape_a045\source
> > Which might explain the error (think its somewhered on your pc
> > Andrew ;P)
> > The other examples the classpath is simply ./lib which also works for
> > this example.
> > Thanks again for the good examplefiles. I will now start the fun
> > process of learning by tweaking :)
> > BTW. checked out some of your work - COOL :) especially like the
> > Biomorphic Jelly Onslaught Game in the flashfriend.org page.
The coronaryinvaders game is even more cool Andrew - A little scary
too.. maybe one should cut down on the fat!
Have some questions for you or other experts in here. I must say that
I am very new to actionscript 3.0 and the whole OOP concept so if some
of my questions has "Noob" written allover them thats why:
If I have skinned a particle and want to reskin it due to an event .
Like a collisionevent. What can I do? Have tried to use the
setDisplay() method but get an error because it is used on the
e.collidingItem in the eventfunction. Basically I just want to target/
scope the movieclip/sprite that is attached to the particle to be able
to count the number of times it has been hit and change the skinning
accordingly. Seems like e.collidingItem is just a reference that dont
give me the opportunity to alter the content (the sprite)
Thanks for any help provided!
You can't setDisplay after the object has been created, but you can
have different frames in a movieClip and then switch the frame. I'm
adding another demo over the weekend that will include this method.