Click here to Skip to main content
16,021,172 members
Home / Discussions / Game Development
   

Game Development

 
QuestionMy first released game Pin
Thomas.D Williams21-Jul-11 5:18
Thomas.D Williams21-Jul-11 5:18 
AnswerRe: My first released game Pin
Richard MacCutchan28-Jul-11 3:41
mveRichard MacCutchan28-Jul-11 3:41 
GeneralRe: My first released game Pin
Thomas.D Williams28-Jul-11 6:06
Thomas.D Williams28-Jul-11 6:06 
GeneralRe: My first released game PinPopular
Richard MacCutchan28-Jul-11 6:10
mveRichard MacCutchan28-Jul-11 6:10 
GeneralRe: My first released game [modified] Pin
Rakesh Meel6-Sep-11 1:53
professionalRakesh Meel6-Sep-11 1:53 
GeneralRe: My first released game [modified] Pin
CDP180229-Aug-11 22:47
CDP180229-Aug-11 22:47 
GeneralRe: My first released game Pin
Richard MacCutchan8-Sep-11 7:18
mveRichard MacCutchan8-Sep-11 7:18 
QuestionPlease don't laugh - Flash MX 2004 attachMovie problem Pin
EvScott28-Jun-11 15:42
EvScott28-Jun-11 15:42 
Hi - I know. Don't ask me why! It's all I can afford right now.
However, more to the point, I've a problem that is really weird. I'm trying to attach a movie using the following code:

//this code is associated with the button:
on(press){
_root.attachMovie("MyOldMovieClip", "MyNewMovieClip"+level, level);
_root["MyNewMovieClip"]+level._x = int(Math.random() * 500);
_root["MyNewMovieClip"]+level._y = int(Math.random() * 450);
level++;
}

I've got a movie clip symbol, and a button symbol in the library. The button only is on the stage.

//This code is associated with the stage:

level = 0;
stop();

Pressing the button produces nothing. However when I run a trace i.e.
trace(int(Math.random() * 500));
random values appear.

Please put me out of my misery.
AnswerRe: Please don't laugh - Flash MX 2004 attachMovie problem Pin
enhzflep28-Jun-11 20:48
enhzflep28-Jun-11 20:48 
Questionproblem Pin
Member 803844227-Jun-11 0:09
Member 803844227-Jun-11 0:09 
AnswerRe: problem Pin
Pete O'Hanlon27-Jun-11 0:54
mvePete O'Hanlon27-Jun-11 0:54 
AnswerRe: problem Pin
Dalek Dave27-Jun-11 2:19
professionalDalek Dave27-Jun-11 2:19 
AnswerRe: problem Pin
CDP180227-Jun-11 2:43
CDP180227-Jun-11 2:43 
AnswerRe: problem PinPopular
enhzflep28-Jun-11 9:23
enhzflep28-Jun-11 9:23 
GeneralRe: problem Pin
Thomas Krojer4-Jul-11 21:05
Thomas Krojer4-Jul-11 21:05 
GeneralRe: problem Pin
kevinnicol8-Jul-11 8:09
kevinnicol8-Jul-11 8:09 
AnswerRe: problem Pin
Pravin Patil, Mumbai28-Jul-11 3:07
Pravin Patil, Mumbai28-Jul-11 3:07 
AnswerRe: problem Pin
expert_babaji16-Sep-11 5:43
expert_babaji16-Sep-11 5:43 
QuestionGreat forum, but not much going on... Pin
CDP180223-Jun-11 10:39
CDP180223-Jun-11 10:39 
QuestionRe: Great forum, but not much going on... Pin
AspDotNetDev23-Jun-11 10:58
protectorAspDotNetDev23-Jun-11 10:58 
AnswerRe: Great forum, but not much going on... [modified] Pin
CDP180223-Jun-11 13:03
CDP180223-Jun-11 13:03 
AnswerRe: Great forum, but not much going on... Pin
AspDotNetDev23-Jun-11 13:48
protectorAspDotNetDev23-Jun-11 13:48 
GeneralRe: Great forum, but not much going on... Pin
CDP180223-Jun-11 16:07
CDP180223-Jun-11 16:07 
GeneralIf it is of any interest... Pin
CDP180224-Jun-11 11:38
CDP180224-Jun-11 11:38 
AnswerRe: Great forum, but not much going on... Pin
Dalek Dave23-Jun-11 13:19
professionalDalek Dave23-Jun-11 13:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.