Be a Supporter!
acess xml data in button Posted November 6th, 2013 in Game Development

The problem is that I can't access the xml data within the mouse function!
how do I declare it for a button function?

function nexth(e:Event):void{
var myXML= new XML(e.target.data); 

/*This Code Provide This Error:
ReferenceError: Error #1069: Property data not found on flash.display.SimpleButton and there is no default value.
	at rooms_info/nexth()*/
.
.
.

also when I use: e.target.data rather than new XML it still give me the error when I use the code for this code!
how do I declare it for a button function if I am here?

location_txt.text="Location: " +e.target.data.ROOM[j].@LOC;

/*This Code Provide This Error:
ReferenceError: Error #1069: Property data not found on flash.display.SimpleButton and there is no default value.
	at rooms_info/nexth()*/
Response to: Need a free 2D animation pogram Posted November 6th, 2013 in Animation

At 11/3/13 04:18 PM, dianinhas wrote: I want to start learning on how to do animation, and the best way to learn

download adobe flash and find a crack ! that will solve your need for tutorial!

Response to: Animation tests. Posted November 6th, 2013 in Animation

At 11/6/13 12:19 AM, BagamCadet wrote: So i'm one month in to my animation school semester.
Here are two tasks i was requested to do:

http://bagam.deviantart.com/art/Turret-411795983
http://bagam.deviantart.com/art/Jumping-Present-411795218

What do you guys think? :)

nice even though it doesn't contain anything wrong to hide it under nudity ! :P

Response to: The Halloween Collab 2013 Posted November 5th, 2013 in Collaboration

At 11/5/13 08:50 AM, Fat-Footy wrote:

icons slider which contains a bunch of coding mistakes, so here check...

what does it suppose to do? because all it do right now is sliding ! to the right and left!

Response to: The Halloween Collab 2013 Posted November 5th, 2013 in Collaboration

At 11/4/13 05:42 PM, Fat-Footy wrote: I don't select them randomly, Flash picks them up for me, but still it doesn't want to be added with 19.5MB left :(

Larraynachos's loops was placed in two place was that on purpose ?

Response to: The Halloween Collab 2013 Posted November 1st, 2013 in Collaboration

http://www.mediafire.com/download/9ac1mv9zfudu44w/halloweencollab+helpy_CS5.fla

if anyone want to fix the .fla file !

Response to: The Halloween Collab 2013 Posted November 1st, 2013 in Collaboration

It's actually completed but there are 3 entries that doesn't play!
http://www.newgrounds.com/dump/item/76505041f724f79764686d58952e6ae4

if anyone know how to fix this

Response to: The Halloween Collab 2013 Posted November 1st, 2013 in Collaboration

At 11/1/13 03:10 AM, Fat-Footy wrote: I'll be downloading CS5 today, and I'll make it works before the week-end ends...
But now I have exams to deal with so I can't skip them like I did with classes, sorry :'(

come on skipping classes wouldn't do anything good XD

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 03:40 PM, Newbie97 wrote:
At 10/31/13 03:17 PM, A-Genius wrote: Vlikevince part have been add !

2 more parts and everything will be done!
Is one of them mine? I can at least try to help whoever's got it open with finding my stop(); actions.

there is no stop();

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 03:40 PM, Newbie97 wrote:
At 10/31/13 03:17 PM, A-Genius wrote: Vlikevince part have been add !

2 more parts and everything will be done!
Is one of them mine? I can at least try to help whoever's got it open with finding my stop(); actions.

I will find your stop(); actions

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 03:31 PM, Fat-Footy wrote:
At 10/31/13 01:03 PM, A-Genius wrote:
I have been able to add them all together in one flv file should I send them back?!
I hope you've meant FLashVersion because if not all the fun and the easter eggs will be gone, we're waiting for an SWF file to publish not an FLV video still your help is appreciated so thanks :D

yes the .swf but I just don't know where to add the script for the Vlikevince and Kembry!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

now to show VaguelyWonderful see what to do next!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 03:17 PM, A-Genius wrote: Vlikevince part have been add !

2 more parts and everything will be done!

Done

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

Vlikevince part have been add !

2 more parts and everything will be done!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 02:09 PM, VaguelyWonderful wrote: Getting fairly desperate now

it's ok really I will fix everything I just got the files!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 12:51 PM, VaguelyWonderful wrote:
At 10/31/13 12:49 PM, A-Genius wrote:
At 10/31/13 11:11 AM, VaguelyWonderful wrote:
I found a the problem is with vlikevince dave days file you need to add his part layer by layer! that worked will with me
ah great

I think i attempted that already but it may just have been an issue with my pc

I have been able to add them all together in one flv file should I send them back?!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 11:11 AM, VaguelyWonderful wrote:

I found a the problem is with vlikevince dave days file you need to add his part layer by layer! that worked will with me

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 11:11 AM, VaguelyWonderful wrote: If anyone thinks they can help please contact me as soon as possible

I will see how I can deal it!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 08:12 AM, VaguelyWonderful wrote: trying my hardest to solve it

- other than that everything is working and looking good

have you tried to put them in another scene? or add them part by part?!

Response to: The Halloween Collab 2013 Posted October 31st, 2013 in Collaboration

At 10/31/13 08:12 AM, VaguelyWonderful wrote:
Any news??! If I can help, just let me know :)
All that needs to be done is placing two more animations in the project
flash keeps crashing on me whenever I add them in :(

trying my hardest to solve it

- other than that everything is working and looking good

can I try to resolve the problem? I have cs5 and cs6!

Response to: Can anyone animate in a anime style Posted October 30th, 2013 in Animation

At 10/26/13 11:50 PM, ZE13 wrote: Cuz I got this short story ( 5 mins) that id like someone to animate for me in a anime way any takers?

I already got the audio and story

how complex is the animation?!

Response to: Project needs a manager! Posted October 30th, 2013 in Collaboration

At 10/28/13 11:20 PM, TungstenMessiah wrote: Ok, so, I'm part of a project that is desperately in need of organization. It has all the talent, but none of the members have

If you are interested, simply reply with a PM, and we will talk over skype. There, I will supply with details about this project.

what is your role in all of this? you should do the management work your self!

Response to: Sindicato!union! Help For Every One Posted October 29th, 2013 in Collaboration

At 10/29/13 07:57 PM, bichi wrote: sorry for the bad english tough
i just move it :P

lol your wasting your time!

Response to: How Do I Make My Own Art?! Posted October 29th, 2013 in Art

At 10/20/13 03:22 PM, Kkylimos wrote: Depends. Most commonly they sell their souls to the devil in exchange of art skills.

That's right !

Response to: What do think Posted October 29th, 2013 in Animation

At 3/31/13 01:10 PM, hummerh14 wrote: Here's a link to a preview of my upcoming sonic unleashed flash. Although I haven't gotten really far. Feel free to leave feedback. http://www.newgrounds.com/projects/movies/621160/preview

it look really interesting indeed!

Response to: User Login Problem Posted October 23rd, 2013 in Game Development

At 10/22/13 11:07 PM, milchreis wrote: When you change your code, post the new code.
Make sure you use the code tags this time.
stop();

//Declear Array
var UserArray:Array = [];
var PassArray:Array = [];

//Declear Flag
var Flag:Boolean = false;

//Declear Your URLLoader
var UserDataLoader:URLLoader = new URLLoader  ;

//Declaer Your URLLoade as to read as Variable
UserDataLoader.dataFormat = URLLoaderDataFormat.VARIABLES;

//Declear EventListener for your URLLoader
UserDataLoader.addEventListener(Event.COMPLETE,onLoaded);
function onLoaded(e:Event):void
{

	UserArray = e.target.data.Username;
	PassArray = e.target.data.Password;
	trace("Your File have been Loaded");


}

//Load your file
UserDataLoader.load(new URLRequest("Users_Password_Data.txt"));


//Declear EventListener for your button;
btn_Login.addEventListener(MouseEvent.CLICK,LoginEvent);

//Declear Function for your EventListener;
function LoginEvent(e:MouseEvent):void
{
	trace("The Login Button was clicked");	
	for (var i:Number=0; i<=UserArray.length; i++)
	{
		trace(Flag);

		
		if (user_textbox.text == UserArray[i] && pass_textbox.text == PassArray[i])
		{
				Flag = true;
		}
		i++;
	
	}
	
	
	if (Flag== true){
		gotoAndStop(2);

	}
}
				


this.btn_Login.removeEventListener(Event.ENTER_FRAME,LoginEvent);
Response to: User Login Problem Posted October 22nd, 2013 in Game Development

At 10/22/13 11:08 AM, MSGhero wrote:

I fixed the previous but that didn't change the fact that the actual problem is that:

if (user_textbox.text == UserArray[i] && pass_textbox.text == PassArray[i])
{
Flag = true;
}

this condition never satisfied ! even thought the value of the textboxs equal to the arrays

Response to: User Login Problem Posted October 22nd, 2013 in Game Development

At 10/22/13 11:08 AM, MSGhero wrote: Put the flag part in the loop instead of in the for statement, you're probably confusing yourself.
At 10/22/13 01:51 PM, milchreis wrote: Just set a breakpoint and debug your code. Stop the guesswork.

Thanks for the help everyone!

Response to: (collab) The Room - [due Oct 28th] Posted October 22nd, 2013 in Collaboration

At 10/21/13 10:46 PM, ReklessCreati0n wrote: - Rekless ( WIP )

I really liked it XD evil!

Response to: User Login Problem Posted October 22nd, 2013 in Game Development

At 10/22/13 08:31 AM, kkots wrote: If the flag becomes true in your for loop, it will run infinitely.

why it will run infinitely?! wasn't the for loop tells me if the condition is satisfied then exit the loop?!