[Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access variables from the main file, create a movie clip in the main file, and use BitmapData to draw shapes to the main file. However, I can't seem to attach a movie clip (a custom component, in fact) from

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
your stuff there. greetz JC On 7/13/07, Niclas Åberg [EMAIL PROTECTED] wrote: Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access variables from the main file, create a movie clip in the main file, and use BitmapData to draw shapes to the main file. However

[Flashcoders] GlowFilter and masks

2007-01-18 Thread Niclas Åberg
Hi, I want to use the GlowFilter on a movie clip containing a mask. However, when I apply it he filter behaves very weirdly and crops the mask out of the clip. It works fine for move clips without masks inside them. Does anyone know what I'm talking about, and know of a workaround or a

[Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Niclas Åberg
Hi all, I'm using the BitmapData.draw method, and I've bumped into a problem. I need to copy all the pixels from a movie clip, including the pixels which are on negative coordinates. I've only succeeded copying the ones on positive coordinates. Has anyone experienced the same thing, and,

Re: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Niclas Åberg
; clip._y = mc._y; clip.bitmap=clone_bitmap return clip; } [/as] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niclas Åberg Sent: 10 January 2007 13:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Copy