Re: [Flashcoders] flash game source code

2010-06-05 Thread Karina Steffens
I actually wrote one from scratch a year ago for a client. My first AS3 project. Never got paid for it, though :-( Karina On 5 Jun 2010, at 04:20, Michael Stocke mikesto...@hotmail.com wrote: Good evening everyone. I would like to make a space invaders clone using AS3. I don't have

Re: [Flashcoders] setting variable

2010-06-05 Thread tom rhodes
var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip; ... then later... myContent.myVar = something; On 4 June 2010 18:46, Lehr, Theodore ted_l...@federal.dell.com wrote: What would it's instance name be? my last line is: addChild(loadEvent.currentTarget.content);

Re: [Flashcoders] setting variable

2010-06-05 Thread Henrik Andersson
tom rhodes wrote: var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip; It is never a good idea to just cast to MovieClip. Cast to the real class of the object. Or at least an interface that you know that it will implement. Do note that there are complications regarding

Re: [Flashcoders] flash game source code

2010-06-05 Thread Kurt Dommermuth
Got it ! Sent from somthing that's difficult to type on. On Jun 5, 2010, at 4:43 AM, Karina Steffens kar...@neo-archaic.net wrote: I actually wrote one from scratch a year ago for a client. My first AS3 project. Never got paid for it, though :-( Karina On 5 Jun 2010, at 04:20,

Re: [Flashcoders] flash game source code

2010-06-05 Thread Kurt Dommermuth
I have no idea how this email got sent to flashcoders Sent from somthing that's difficult to type on. On Jun 5, 2010, at 9:40 AM, Kurt Dommermuth k...@kurtdommermuth.com wrote: Got it ! Sent from somthing that's difficult to type on. On Jun 5, 2010, at 4:43 AM, Karina Steffens

[Flashcoders] If a URL starts with “http:// ” will clip always be loaded into REMOTE sandbo x?

2010-06-05 Thread Pavel Repkin
Seems to be a question for a Flash security guru. Suppose we are loading an external SWF movie with MovieClipLoader.loadMovie(url:String) Is it safe to assume that if url starts with http://;, the movie will be loaded in REMOTE sandbox? We need to tell local SWFs from remote ones to close a

Re: [Flashcoders] If a URL starts with “http: //” will clip always be loaded into REM OTE sandbox?

2010-06-05 Thread Henrik Andersson
Pavel Repkin wrote: Seems to be a question for a Flash security guru. Suppose we are loading an external SWF movie with MovieClipLoader.loadMovie(url:String) Is it safe to assume that if url starts with http://;, the movie will be loaded in REMOTE sandbox? Yes

Re: [Flashcoders] flash game source code

2010-06-05 Thread Kerry Thompson
Karina Steffens wrote: I actually wrote one from scratch a year ago for a client. My first AS3 project. Never got paid for it, though :-( Yeah, I've had a couple of those in my career, too. Sometimes it's worth the effort to go after them, but usually not. I think I've had about US$4,000-5,000