Re: [Flashcoders] Scrollpane and masking

2006-07-18 Thread Haikal Saadh
That didn't work, for some bizzare reason, after re-importing 
DateField(of all things) in to the library, it all just started 
magically working. Major wtf.


Oh, by the way, I'm attaching UIComponent to the scrollpane instead of a 
blank MovieClip.


Excuse me if I sound delirious.


Steven Sacks | BLITZ wrote:
Try this. 


Drop your scrollpane on the stage, select it and Press F8 to put it into
a Movieclip symbol.  Name the scrollpane instance inside that movieclip
something short and easy like sp.

Then, set up the linkage on that movieclip and attach it instead of the
scrollpane and target the scrollpane inside that movieclip.

See if that works.

BLITZ | Steven Sacks - 310-551-0200 x209

  

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Haikal Saadh
Sent: Monday, July 17, 2006 9:03 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Scrollpane and masking

It goes:

* Movie
  o Component (extends UIComponent)
+ Scrollpane
  # contents

The scrollpane is created by actionscript in Component's
createChildren(). The contents, which is a symbol instance that has


been
  

assigned a Linkage identifier, is then plugged into the scrollpane.

I haven't created a masking layer over the scrollpane, as I have read
that scrollpane is supposed to do it's own masking.

The scrollpane and it's contents are loaded and working; it shows up,
and you can drag the sliders around and everything. It's just that I


can
  

still see the stuff that has scrolled out of the ScrollPane.

Steven Sacks | BLITZ wrote:


How is your movie built?  Is the scrollpane component in a loaded in
swf?  If so, you must have the scrollpane component in the library
  

of
  

the root/loading swf.  Do you have the scrollpane embedded in
  

another
  

component?  Do you have the scrollpane masked?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Scrollpane and masking

2006-07-18 Thread Steven Sacks | BLITZ
Try this. 

Drop your scrollpane on the stage, select it and Press F8 to put it into
a Movieclip symbol.  Name the scrollpane instance inside that movieclip
something short and easy like sp.

Then, set up the linkage on that movieclip and attach it instead of the
scrollpane and target the scrollpane inside that movieclip.

See if that works.

BLITZ | Steven Sacks - 310-551-0200 x209

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Haikal Saadh
> Sent: Monday, July 17, 2006 9:03 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Scrollpane and masking
> 
> It goes:
> 
> * Movie
>   o Component (extends UIComponent)
> + Scrollpane
>   # contents
> 
> The scrollpane is created by actionscript in Component's
> createChildren(). The contents, which is a symbol instance that has
been
> assigned a Linkage identifier, is then plugged into the scrollpane.
> 
> I haven't created a masking layer over the scrollpane, as I have read
> that scrollpane is supposed to do it's own masking.
> 
> The scrollpane and it's contents are loaded and working; it shows up,
> and you can drag the sliders around and everything. It's just that I
can
> still see the stuff that has scrolled out of the ScrollPane.
> 
> Steven Sacks | BLITZ wrote:
> > How is your movie built?  Is the scrollpane component in a loaded in
> > swf?  If so, you must have the scrollpane component in the library
of
> > the root/loading swf.  Do you have the scrollpane embedded in
another
> > component?  Do you have the scrollpane masked?
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Scrollpane and masking

2006-07-18 Thread Haikal Saadh

It goes:

   * Movie
 o Component (extends UIComponent)
   + Scrollpane
 # contents

The scrollpane is created by actionscript in Component's 
createChildren(). The contents, which is a symbol instance that has been 
assigned a Linkage identifier, is then plugged into the scrollpane.


I haven't created a masking layer over the scrollpane, as I have read 
that scrollpane is supposed to do it's own masking.


The scrollpane and it's contents are loaded and working; it shows up, 
and you can drag the sliders around and everything. It's just that I can 
still see the stuff that has scrolled out of the ScrollPane.


Steven Sacks | BLITZ wrote:

How is your movie built?  Is the scrollpane component in a loaded in
swf?  If so, you must have the scrollpane component in the library of
the root/loading swf.  Do you have the scrollpane embedded in another
component?  Do you have the scrollpane masked?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Scrollpane and masking

2006-07-17 Thread Steven Sacks | BLITZ
How is your movie built?  Is the scrollpane component in a loaded in
swf?  If so, you must have the scrollpane component in the library of
the root/loading swf.  Do you have the scrollpane embedded in another
component?  Do you have the scrollpane masked?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Scrollpane and masking

2006-07-17 Thread Haikal Saadh

Hi all.

Having some problems with the v2 scrollpane.

I'm trying to pick up where this post: 
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-January/128299.html

leaves off.

Basically, the content 'outside' my scroll pane is not being masked off, 
and by reading the post above, I've got this bit of code:


   private function createChildren():Void {
  
   viewport = ScrollPane(createObject("ScrollPane","viewport", 
depth++));

   viewport.contentPath = "TimeLineBackground";
  
   viewport.addEventListener("complete", this);

   viewport.move(0,0);
   timeLineBG = viewport.content;
   timeLineBG._width = 600;
  
   viewport.doLater(this,"forceScrollPaneRefresh");
   viewport.addEventListener("scroll", this); 
   }
  
   private function forceScrollPaneRefresh(){

   viewport.invalidate();
   viewport.redraw(true);
   trace ("viewPort redrawn");
   }
  
   private function scroll(){

   viewport.doLater(this,"forceScrollPaneRefresh");
   trace("scrolled");
   }


This is all within a component that extends UIComponent.  I can see the 
events are getting fired and handled from the traces. Am I 
misunderstanding what I'm supposed to do?


Thanks./
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com