Re: [Flashcoders] ScrollRect and masking

2010-07-12 Thread Omar Fouad
What about extending movieClip and overriding the height property to return the mask height On Mon, Jul 12, 2010 at 12:14 AM, Glen Pike postmas...@glenpike.co.ukwrote: currentModule.myMask ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] ScrollRect and masking

2010-07-12 Thread Omar Fouad
Well I will do as Glen suggested, the first option. In my custom class that implements an IModuleConteiner interface, I will add a get fixedHeight():Number function. Thanks everyone for the help On Mon, Jul 12, 2010 at 11:41 AM, Omar Fouad omarfouad@gmail.comwrote: What about extending

Re: [Flashcoders] ScrollRect and masking

2010-07-11 Thread Glen Pike
You should possibly roll your own class which is the list + mask that reports it's height and width as that of the mask. Alternatively, if you are feeling lazy, make the mask a symbol give it an instance name in the IDE, or do it programmatically and access the width / height of that in your

Re: [Flashcoders] ScrollRect and masking

2010-07-10 Thread Omar Fouad
No one? On Thu, Jul 8, 2010 at 10:34 AM, Omar Fouad omarfouad@gmail.com wrote: Thanks for the reply. I'm already doing that, as the list loads its data upon added to stage On Thu, Jul 8, 2010 at 8:25 PM, Ktu ktu_fl...@cataclysmicrewind.comwrote: you could try positioning it before

[Flashcoders] ScrollRect and masking

2010-07-08 Thread Omar Fouad
Hello, I'm working on some project where I have a big container Sprite and based on what I need, I add some ui inside of it. Once I add this ui, and I make sure that everything is there on its place, I align this container sprite to fir in the center of my stage: private var

Re: [Flashcoders] ScrollRect and masking

2010-07-08 Thread Ktu
you could try positioning it before you add the 'list' to the displayList of the container. Ktu; On Thu, Jul 8, 2010 at 12:49 PM, Omar Fouad omarfouad@gmail.com wrote: Hello, I'm working on some project where I have a big container Sprite and based on what I need, I add some ui inside

Re: [Flashcoders] ScrollRect and masking

2010-07-08 Thread Omar Fouad
Thanks for the reply. I'm already doing that, as the list loads its data upon added to stage On Thu, Jul 8, 2010 at 8:25 PM, Ktu ktu_fl...@cataclysmicrewind.com wrote: you could try positioning it before you add the 'list' to the displayList of the container. Ktu; On Thu, Jul 8, 2010

[Flashcoders] scrollRect....bad idea?

2006-08-11 Thread Chris Hill
Last night I learned about how cool scrollRect is. It made things a lot simpler, and faster, for basic rectangular masking. I was pretty stoked. So stoked that I decided to replace my mask within my BaseComponent class with a scrollRect. This worked ok for a bit, until I used a class that drew

Re: [FlashCoders] scrollRect

2006-02-24 Thread JesterXL
: Thursday, February 23, 2006 4:28 AM Subject: Re: [FlashCoders] scrollRect Hello Jester, I apologize for taking S long to reply. Thank you very much for the information you provided! When I was asking you how you handle alpha I meant alpha values. Like when having a few movieclips on top of another

Re: [FlashCoders] scrollRect

2006-02-23 Thread Dimitrios Bendilas
- From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 16, 2006 5:11 PM Subject: Re: [FlashCoders] scrollRect BitmapSprites extend Bitmap. Bitmap is an internal class, and extends DisplayObject. DisplayObjects' have

Re: [FlashCoders] scrollRect

2006-02-16 Thread Dimitrios Bendilas
but increases performance? Thanks! Dimitrios - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 15, 2006 3:53 AM Subject: Re: [FlashCoders] scrollRect I oringally wrote this in Flash 8, and ported

Re: [FlashCoders] scrollRect

2006-02-16 Thread JesterXL
: [FlashCoders] scrollRect Hi Jester, Thanks for the url. It seems very interesting. There is one thing that bothers me, aside the fact that I'would have to re-write a lot of stuff from scratch, if I used a model like this. How do you know in what depth to draw everything? How do you handle _alphas

[FlashCoders] scrollRect

2006-02-14 Thread Dimitrios Bendilas
Hi all, I'm trying to make a very basic prototype to test parallax movement with Flash 8. Is movieclip.scrollRect what I should be using? I tried this: var bg:MovieClip = _root.attachMovie(bg, bg, 2); var y:Number = 0; _root.onEnterFrame = function():Void { bg.scrollRect = {x:0, y:y--,

RE: [FlashCoders] scrollRect

2006-02-14 Thread Thomas Wester
://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html Good Luck. -Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: Tuesday, February 14, 2006 1:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [FlashCoders] scrollRect

Re: [FlashCoders] scrollRect

2006-02-14 Thread JesterXL
, February 14, 2006 4:55 PM Subject: [FlashCoders] scrollRect Hi all, I'm trying to make a very basic prototype to test parallax movement with Flash 8. Is movieclip.scrollRect what I should be using? I tried this: var bg:MovieClip = _root.attachMovie(bg, bg, 2); var y:Number = 0; _root.onEnterFrame

Re: [FlashCoders] scrollRect

2006-02-14 Thread Sascha Balkau
Message - From: Dimitrios Bendilas [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 14, 2006 4:55 PM Subject: [FlashCoders] scrollRect Hi all, I'm trying to make a very basic prototype to test parallax movement with Flash 8. Is movieclip.scrollRect what I should

Re: [FlashCoders] scrollRect

2006-02-14 Thread JesterXL
://diesel.avlux.net/svn/ u: public p: public - Original Message - From: Sascha Balkau [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 14, 2006 10:26 PM Subject: Re: [FlashCoders] scrollRect JesterXL, I'd be interested in see