Forums

ForumsProgramming Forum

Anyone Wanna Help me improve my code?

Posted Feb 26, '13 at 4:24pm

weirdlike

weirdlike

937 posts

Moderator

yes,and thank you

 

Posted Mar 2, '13 at 11:14pm

pirateplatypusgames

pirateplatypusgames

40 posts

I will insert bolleans into an array, when you an item[s] it makes a bollean[s] true.


Rather than doing that, you should use a Vector if you know that all of the members of the array are of the same data type. I'm assuming you're using AS3, I don't think that AS2 had the Vector class.

AS3 Livedocs: Vector Class
 

Posted Mar 3, '13 at 12:49pm

cheese123

cheese123

20 posts

I was using AS2. I think AS2 is outdated though, I think I'll move onto AS3 now.

 

Posted Mar 6, '13 at 9:25am

pirateplatypusgames

pirateplatypusgames

40 posts

You definitely should. In fact, I think Adobe recently axed AS2 support from the new versions of the Flash IDE. And AS2 sucks in comparison.

 
Reply to Anyone Wanna Help me improve my code?

You must be logged in to post a reply!