Search:
Type: Posts; User: Ralgoth
Search:
Search took 0.10 seconds.
-
I like Apple, but I never had any intention of buying an iPhone/iPad until Adobe announced that Flash CS5 would be able to publish iPhone apps. For that past four years I've been developing a game...
-
you created a button. The tutorial uses a MovieClip, because it's storing the URL inside of it. You'll need to change your button into a MovieClip for this to work.
Either that, or create a new...
-
that's because the reference "my_loader" is declared inside the function. It doesn't exist outside of it, so each time the function finishes it discards whatever references only exist within it.
...
-
try adding a rectangle over the whole stage with an alpha of 0, or a transparent button if that doesn't work.
-
so you don't know the message or what it's supposed to be. My only assumption is that you shouldn't be meddling with it.
If you need a way to encode/decode your own messages, then here's a...
-
I just unescaped the above code...
A virus alert stopped it.
-
really though, you should setup the .htaccess file in the site's root directory to redirect any url without a subdomain to www.yachtvid.com
just google htaccess redirects
-
yup, it's a sandbox error. what cancer said should work... Either that or setup a crossdomain.xml
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:...
-
you'll need to create a Boolean variable to let you know whether or not the sound is playing
This doesn't check to see which key is being pushed, which may cause problems with the KEY_UP event if...
-
This will drag everything that's a descendant of the Sprite class.
stage.addEventListener(MouseEvent.MOUSE_DOWN, dragIt);
stage.addEventListener(MouseEvent.MOUSE_UP, dropIt);
function...
-
trace(Jolly);
trace(Jolly.jollyFindOutMore);
if either one returns as undefined, then there's your problem.
I have a feeling that you're trying to assign the click event while Jolly is on...
-
If your enemies are the only thing in the display list, then yeah that will work. If you have other objects in the same display list that you don't want to test against, then you'll be wasting...
-
You'll need to figure out a method for detecting a collision first. The best method may vary depending on how your game plays (3d, 2d, side-scrolling, tilemap, etc...). I usually assign a radius to...
-
-
function isNumeric(s:String):Boolean
{
var regex:RegExp = /^[0-9.]*$/;
return regex.test(s);
}
-
ENTER_FRAME listeners don't work that way. Once you set one, it fires repeatedly until you tell it to stop. The frequency is dependent on your project's frame rate. So if your project is set to 30...
-
it's probably worth mentioning that you should never store passwords in flash. All someone needs is a swf decompiler and they'll be able to access whatever it is you're trying to protect.
-
on(release) and getURL are both actionscript2 code. Is your project set to actionscript2 or actionscript3?
If its as2, are you putting this code directly on the button? Also, the password is...
-
though, it would be best if you could have the timer in your AS file. What happens when you try?
-
lets say that your code is on frame 1. your timer is declared and the listeners are applied. if you go back to frame 1, you will be declaring a new timer, leaving the old one to continue its duties...
-
In full-screen mode, is there a way to determine how far the user attempted to move their cursor once it reaches the edge of the screen?
All that as3 seems to provide is the stageX and stageY. I...
-
you could give each button a name that's identical to the timeline label. Then when you click a button, go to that frame...
Btn1.name = 'label1';
Btn2.name = 'label2';
Btn3.name = 'label3';
...
-
you already have your if statement...
if(_currentMatches >= _totalMatches)
for the score, use myTimer.currentCount;
for the game over, add a timerComplete listener to the timer;
-
Please start a new thread.
Your question has nothing to do with this topic.
-
I don't know that it's good practice to have a super class reference an extended class, but you can fix your problem by assigning the class during instantiation if it's not already set...
...
|
Click Here to Expand Forum to Full Width
|