Announcement

User registrations are currently disabled due to high spam traffic.

#1 27/06/08 6:01am

nothing
Moderator
Registered: 21/03/08
Posts: 389

Level Codes

Who here knows how to do level codes? I'm stuck.


[url=http://pspflashgaming.com/forum/viewtopic.php?id=1078]BioShock[/url] PSP|fPS-Factor Released|[url=http://www.p22server.hostwq.net/index.html]p22 Center[/url]

I'm starting p22 again.

Offline

 

#2 27/06/08 7:23am

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Level Codes

Ask Jfig111.

Oh wait, he's gone.


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#3 27/06/08 8:45pm

tenjimaru
Moderator
From: SD-CA
Registered: 30/03/08
Posts: 679

Re: Level Codes

like the ones in shyguy, i know how, ill post them as soon as i get on my pc.

heres the tutorial i used when i needed password input boxes:
http://www.webwasp.co.uk/tutorials/a22- … /index.php
(for flash MX 2004, but i think it works with all other flash versions)
Ps: you can download the Flash file

Last edited by tenjimaru (27/06/08 10:44pm)


[i]cookie Tenebra Crystallis.. Released!
Portable Fishing 2012 Released!
Find Them In The 'Flash Games' Section of The Forums[/i]

Offline

 

#4 28/06/08 12:49am

crimsonhotsun
Hardcore Member
Registered: 30/03/08
Posts: 96

Re: Level Codes

1) Place Input box on stage
2) Assign a name (I'm going to use input_txt)
3) Change type to Input Text
4) Add this code to the stage:

input_txt.onChanged = function(){
   switch(input_txt.text){
      case "lpcdx83e903":
         //do code here
         trace("level 1");
         break;
      case "4jidi0qik389":
         trace("level 2");
         break;
      default:
         trace("password is incorrect");
   }
}

Last edited by crimsonhotsun (28/06/08 12:53am)


[img]http://img101.imageshack.us/img101/9094/20707804nc6.png[/img]

My humble forums: [url=http://hologram.zxq.net/forums/]VirtualWorldForums[/url]

Offline

 

#5 28/06/08 4:04am

nothing
Moderator
Registered: 21/03/08
Posts: 389

Re: Level Codes

Thanks CHS, and tej, i'll ttry both. Thanks for responding so fast!


[url=http://pspflashgaming.com/forum/viewtopic.php?id=1078]BioShock[/url] PSP|fPS-Factor Released|[url=http://www.p22server.hostwq.net/index.html]p22 Center[/url]

I'm starting p22 again.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson