Search:
Type: Posts; User: lightspeed10
Search:
Search took 0.01 seconds.
-
Need opinions from people who have undertook this sort of work before!
How much would you charge for the sitelock of a game you've already made, including a full re-skin. The graphical/audio...
-
Surely if you want to disable double clicking; you only want the button to be clickable once. Then after that one click, it would be disabled. That's what my code will do.
If you look at the code,...
-
Double clicks don't technically exist in flash unless you code them in..
If you mean to disable a button once it's clicked:
on (release) {
my_button.enabled = false;
}
-
-
Easy peasy mate. The code would be the same, just change pieMC._currentframe to:
_root._currentframe
That will return the current frame of the main timeline.
- Chris
-
You can still use true/false with the _visible property mate.
-
The only way around it is to choose a different key. No matter what you do in flash, explorer will always be listening for the F4 keypress as well.
-
Awesome, I've been wondering how to do that!
-
I looked at doing this, but array.sort() will sort the numbers based on the first character of element..
So if you have the array:
var Array = [0,9,7,2,1,500];
Sorting this array would give...
-
Forget that, I'm talking rubbish.. that won't always work.
-
To return the largest number of an array, surely you could just use the sort() method and then get the last element. Surely more efficient than the loop etc.
So if I had:
var arr =...
-
The shared object should work online, that's the idea of it. I've used it in most of my games. You must make sure the flash player settings are set to allow them though. (Right click - Settings)
...
-
movieClip.onRollOver=function(){
//stop all other tweens
};
movieClip.onRollOut=movieClip.onDragOut=function(){
//start tweens
};
-
You can use myTween.stop();
and
myTween.resume();
So maybe have all the tweens in an array or something, don't know how you've got it set up but shouldn't be too hard. Depends how many...
-
AS2, and I would imagine pressing the "P" key, haven't decided yet!
-
Wondering if there's anyway this can be done? Or is there anyway you can return the time elapsed since the last function call?
Reason being that I'm using it in a project that really requires the...
-
The description they've put of it looks like something a 12 year old would write.
-
My bad, I only followed the link Chris posted.
-
iTunes can't find the game on either the UK or US store so I think it's been removed mate..
-
No worries, sorted it! Wrote a tween script from scratch.. and it worked :\
function walkTo(newX, newY) {
var xMove:Object = new Tween(girl, "_x", Regular.easeOut, girl._x, newX, 10,...
-
I thought about using the tween class, but didn't know if it would be the most efficient way.
I gave it a go, and it returned this beastly error! :\
**Error** C:\Documents and...
-
Your welcome!
I'm hardly an expert mate! I haven't made the plunge myself to be honest, been thinking about it but just haven't had the time to do it. You should do it before you get too "deep"...
-
Put this on your first frame:
var saveData = SharedObject.getLocal("pie");
if(saveData.data.pieframe!==undefined){
pieMC.gotoAndStop(saveData.data.pieframe);
btn.onRelease = function() {...
-
Just tried to take a look mate but I'm using flash 8 so it wouldn't open.
If you're using the save code inside a movieclip, make sure you set the path correctly. So from inside the pie movieclip...
-
Ooh, and use
saveData.clear();
to clear the data saved.
|
Click Here to Expand Forum to Full Width
|