The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 Viewsso you want us to search our asses off together with you?
lock this thread!
this is not even for the flash forums!
go to the general section!
damn, I didn't see that! gotoandplay must be gotoAndPlay!
onClipEvent (enterFrame){
if (_root.hero.hitTest(_x, _y, true)) {
gotoAndPlay(3);
}
}
sorry for double post
here we go
onClipEvent (enterFrame){
if (_root.hero.hitTest(_x, _y, true)) {
gotoandplay(3);
}
}
its in the flash parameters of the html
can you see the LOOP="false" ? there we go
<EMBED SRC="swffile.swf" WIDTH="100" HEIGHT="100" PLAY="true" LOOP="false" WMODE="opaque" QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
like you said, its crappy...
now what do you want us to do?
is this just horizontal?
or 60 units around?
At 5/14/08 07:59 PM, flashash220 wrote: Coder... how about call them programmers
coder is fine, its widely used here in the flash forums
I would like to help but I can't, I'm still working on my game updates
I think AS2 still works on CS3
lolz we are the same,
my game was in the frontpage longer than yours during pico day,
but even now I only have $20 ,
we submitted in april, I got $7+ during that day, but was reset in May 1
so right now, $19.81....
my eCPM is really low ya know,
sometimes $0.01, but other times, its $4+
I hope NG will consider rolling over last month's earnings to the next month
if you want to implement the publish settings,
in the publish settings' check boxes,
check "override sound settings"
I think the Flash section is the best place to put this,
not on Where is/ how to... coz' im not asking, I'm suggesting
and its really connected to flash
In our submissions, in the authors comments,
should it have special formatting?
like bold, italic, underlined, links etc...
formatting is really useful if you want to emphasize things,
to link to update pages / official sites / walkthroughs
-today, if you put a URL in the author's comments,
then save it, it will be broken,
either a space or new line will be inserted in between
sorry i got something wrong
At 5/7/08 02:48 AM, dragonjet wrote: sample:
from scene 1, you want to goto a frame in scene 2
rename the destination frame in scene 2 as "hello" (just a sample)
then the event on frame 1, put
then the event on SCENE 1, put
gotoAndStop("hello");
i hope this helps
I think its in the gotoAndStop() or gotoAndPlay()
this usually happens when you have 2 or more scenes
it happened to me on my game portal TD,
it just went to the last frame and everything is not responding,
even the buttons are like - dont have onPress (but they really have)
so what I did was, I named the destination frames
and I gotoAndStopped or gotoAndPlayed at the frame name,
dont include the scene
sample:
from scene 1, you want to goto a frame in scene 2
rename the destination frame in scene 2 as "hello" (just a sample)
then the event on frame 1, put
gotoAndStop("hello");
i hope this helps
ah I know what you need, you need arrays!
Here are some helpful links:
AS: Main
AS: Main - Arrays
EXPLANATION
create a LoadVars Object
var send_lv:LoadVars = new LoadVars();
assign some values to any variable you want into the LoadVars object
send_lv.var1 = value1;
send_lv.var2 = value2;
then send it to the php file using this syntax
send_lv.sendAndLoad("http://url/of/the/phpfile.php", send_lv, "POST");
this function will receive if the sending was successful or not in the boolean parameter
then do what you want inside the ifs
send_lv.onLoad = function(success:Boolean) {
if (success) { trace("Yahoo!"); }
else { trace("oh no!"); }
};
create an empty movie clip that will eventually hold your variables temporarily
this.createEmptyMovieClip("loader_mc", this.getNextHighestDepth());
then load it using this syntax
target_mc.loadVariables("http://url/of/the/phpfile.php");
now assign the loaded variables in the loader_mc to your root variables
var1 = loader_mc.var1;
var2 = loader_mc.var2;
FOR ME:
sendAndLoad of the LoadVars class only sends the variavles to PHP,
the load there, is loading the result (the returning value ie: success/failure boolean)
SENDING TO PHP
var send_lv:LoadVars = new LoadVars();
send_lv.var1 = value1;
send_lv.var2 = value2;
send_lv.sendAndLoad("http://url/of/the/phpfile.php", send_lv, "POST");
CHECK IF SENT
send_lv.onLoad = function(success:Boolean) {
if (success) { trace("Yahoo!"); }
else { trace("oh no!"); }
};
I use loadVariables to actually load variable from flash to PHP
LOADING FROM PHP
this.createEmptyMovieClip("loader_mc", this.getNextHighestDepth());
target_mc.loadVariables("http://url/of/the/phpfile.php");
var1 = loader_mc.var1;
var2 = loader_mc.var2;
IMPORTANT NOTES:
In loading from PHP to flash, your PHP code must print a TEXT in this format:
var1=value1&var2=value2&var3=value3
you dont just need to learn arrays, i think you need to learn everything from start
At 5/5/08 11:08 AM, GustTheASGuy wrote:At 5/5/08 10:54 AM, ProfessorFlash wrote: What's wrong with the Math.min() command?You need the closest object, not the smallest number.
thats the same! smallest number and closest objects!
coz the numbers are the distances ob the objects d*mb*ss
At 5/5/08 11:57 AM, souled wrote: Yeah I have passwords for most of the accounts on Newgrounds, what's the username?
really? lolz
about the character animations,
they're right, it looks like he's using a hammer and a saw,
my suggestions are:
sorry cant understand the english, please explain further and if possible, try to add you codes in
At 5/4/08 03:09 PM, sasuke2910 wrote: i want to load an .swf in to a flash when i play it from my desk top it works fine but when i load it into flash now only does it take 5 minutes all it does is make... checking... 15000 blank key frames why?
oh and you got the URL wrong, here's the correct one
KAD.onPress = function() {
getURL("http://www.freewebs.com/faithlessdevotion/","_blank");
}
remove the onClipEvent and put thi8s code in the action of the frame
KAD.onPress = function() {
getURL("http://www.freewebs.com/fait hlessdevotion/","_blank");
}
remove the onClipEvent and put thi8s code in the action of the frame
i know the madness is on September, but when is clock day?
anyone know what the next newgrounds occasion with a contest?
when is it and what is it? thanks :)
At 5/1/08 09:27 AM, whatty wrote: Pico day suckx
thats not nice :(
anyways, I had a great update guys!
check out the game Portal Tower Defense!
its in the Featured games in the NG frontpage
a real GREAT update,
happy pico day everyone!
happy birthday to Tom!
do you give consolation prizes for those who didn't manage to enter the top 10?
how do we know the winners?
is it by score? or by NG staff pick? or nomination then voting?
thanks in advance
my newgrounds screen is just 1000x600
At 4/27/08 11:00 AM, Flatthead wrote: It was good but the voice acting not so much. You can hear your mic turning on and off. You should maybe get different voice actors with a better mic. Everything else was good though.
i agree, either get a better mic or avoid your mouth to be too near the mic