Be a Supporter!
Flash CS3 with dual monitors? Posted September 20th, 2011 in Game Development

I just picked up a second monitor for coding purposes, and so I thought I'd try it with Flash as well. However, I can't figure out if I can have 2 Actionscript files open at the same time in different monitors. Anyone with experience in this got advice on how to set dual-monitor stuff with CS3 up?


If I use a font on my copy of Flash that's not one of the standard fonts (Times, Arial, etc) do I need to embed it into the program for others to see it? If so, any links or advice on how to do that?

Response to: Disabling editing keys when testing Posted June 26th, 2011 in Game Development

At 6/26/11 03:27 PM, Attila0413 wrote: Control -> Disable Keyboard Shortcuts, in the test player

Aha! I knew it was something obvious that I was missing. Thanks!


Is there a way to disable shortcuts within Flash while testing a movie? My game that I'm working on uses the z key, but doing so during the test switches to the magnifier tool. Can I disable this?


Is it possible to have an AS3 class that can be used with multiple MovieClips? I could just copy and paste the class into a new file with the name of the other graphic, but I feel like there's an obvious variable or something that I'm missing.

Response to: Learning AS3 from Java Posted April 27th, 2011 in Game Development

Alright, thanks. Yeah, now that I've done a little bit with it, I can see how it's very similar. Does anything like JavaDocs exist for AS3, or should I just use normal comments? I'm promising myself that I'll be good and actually comment my code.

Learning AS3 from Java Posted April 26th, 2011 in Game Development

A few years ago, I made a couple of small games in AS2. I want to go back now and learn AS3 to make some better games, and I've learned a lot of Java over the past couple of years. Just doing a couple of the basic tutorials, it seems pretty similar, but should I approach it differently than I would a Java program? Also, how hard will it be to learn in general?

Response to: Testing MCs distance Posted March 4th, 2009 in Game Development

Use the distance formula:
http://www.purplemath.com/modules/xyplan e/dist07b.gif

Response to: Unlockable levels, characters, ect. Posted February 21st, 2009 in Game Development

You would probably want something like
if(_root.score>=whateveryouwant)
{
_root.reward.unlocked=true;
}

Response to: Static text dissapearing? Posted February 21st, 2009 in Game Development

Oh, well, never mind. I realized that for some reason the preloader I was using didn't work, and so when I put the Newgrounds one in, everything was solved.

Response to: Static text dissapearing? Posted February 21st, 2009 in Game Development

At 2/21/09 11:09 AM, shmasmasnash wrote: Here's it in the .fla:
http://img144.imageshack.us/img144/2129/
dotfla.jpg

Here's it while testing:
http://img89.imageshack.us/img89/1111/do tswf.jpg

Oh, and I forgot to mention that the dynamic text boxes still display text when I run the program, and the movie clips off to the side don't disappear when I move them onto the stage.

Response to: Static text dissapearing? Posted February 21st, 2009 in Game Development

Here's it in the .fla:
http://img144.imageshack.us/img144/2129/
dotfla.jpg

Here's it while testing:
http://img89.imageshack.us/img89/1111/do tswf.jpg

Response to: Static text dissapearing? Posted February 21st, 2009 in Game Development

At 2/21/09 02:10 AM, echeese wrote: Is the text rotated at all?

No.

:is only a portion of the text disappearing or the entire thing
The entire thing.

Now this is getting weirder - some of the movie clips are disappearing when I go into test mode. Hold on, let me get a screenshot...

Response to: Static text dissapearing? Posted February 20th, 2009 in Game Development

At 2/20/09 10:07 PM, fluffkomix wrote:
are you sure you didnt put it on a masking or motion guide layer?

Yeah, I'm just making a semi-simple game.

Response to: Static text dissapearing? Posted February 20th, 2009 in Game Development

Oh, and if it's of any consequence, I'm using CS3.

Static text dissapearing? Posted February 20th, 2009 in Game Development

Although I have static text in my .fla, when I preview the movie or look at the .swf, the text is gone. However, the text is there when I put on debug mode. Any idea what could be happening?

Response to: An if() problem Posted February 19th, 2009 in Game Development

Second, you were using "=" which ASSIGNS something, to check if they match, use "=="

-.- Agh, that's the second time that I've done that in two days. Thanks!

An if() problem Posted February 19th, 2009 in Game Development

For some reason, when I try to compile my flash, the following two statements return errors:
if(_root.currProj>1&&_root.currBase!=4&&
_root.currBase=5)
and
if(_root.currProj<3&&_root.currDisplay!=
0&&_root.currBase!=4&&_root.currBase=5)

The error returned is
Left side of assignment operator must be variable or property.
Anyone know what it could be? Thanks!

Response to: Concatenation in AS2? Posted February 17th, 2009 in Game Development

Ah, so it seems. The error was in a different part of the code. -.- Thanks!

Concatenation in AS2? Posted February 17th, 2009 in Game Development

If I have an int and a string and I want to condense the two into one string, how would I do that? For example,

projectileCount=10;
nm="proj" + projectileCount;

I want to get nm to equal proj10. I'm sure there's some obvious way to get this with parsing that I'm missing. Thanks!

Efficiency in AS2 Posted February 16th, 2009 in Game Development

Which would use up the least resources when trying to determine a collision - a hitTest between two movie clips, or using the distance formula? Thanks!

Response to: Pokemon style game in as2 Posted February 15th, 2009 in Game Development

Would it be something like
if(character.isInGrass())
{
i=Math.random();
if(i<something)
{
fight()
}
}

Response to: Flash Actionscript Pay Tutorials Posted July 8th, 2008 in Game Development

I'd reccommend Beginning Flash Game Programming for Dummies if you're new to learning Flash.

Flash Ninja Clan's Email Posted July 8th, 2008 in Game Development

I've been searching for a while on the Flash Ninja Clan website, but I can't seem to find a 'Contact Us' page. Does anyone know his email adress? Thanks!

Response to: Right-Clicking in Actionscript 2.0 Posted July 1st, 2008 in Game Development

Oh, thanks! I checked the key-code library on a site, but it didn't include that. -.-


Does anyone know how to detect a right-click in Actionscript 2.0? Thanks!

Response to: Holy Crap! Posted May 5th, 2008 in General

Oh... my... gawd...

Response to: Is someone smart enough to solve... Posted May 5th, 2008 in General


Is 1923458237602398012476893591238475634895 736879124581273547625978562346 divisible by 16?

I could continue giving you large chains of numbers and ask if they're divisible by 16, and you wouldn't even have to know what the divisor is to know it.

It's divisible by 16, but the answer isn't an integer.

Response to: For those of you computer builders Posted May 5th, 2008 in General

Okay, what do you suggest I change?


Do you think that this is a good build? I have a budget of around 1400.
https://secure.newegg.com/NewVersion/Wis hList/PublicWishDetail.asp?WishListNumbe r=11392307