Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Controlling Content Height In The Scrollpane Component



I'm using the scrollpane component to display content, within the content movie clips, are swf animations that are being imported using targets. Some of the animation's parts go far beyond the height of the stage, causing the scrollpane to adjust for the height of the imported swf, as opposed to the height of the content movie clip. How can I fix this?



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-31-2008, 12:00 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Controlling Content Height In The Scrollpane Component
I'm using the scrollpane component to display content, within the content movie clips, are swf animations that are being imported using targets. Some of the animation's parts go far beyond the height of the stage, causing the scrollpane to adjust for the height of the imported swf, as opposed to the height of the content movie clip. How can I fix this?

Need More Height For Content Displayed In ScrollPane
I'm using a scrollPane component (in Flash MX2004) to display and scroll content contained within another movie clip. The scrollPane works great, except that I've started to encounter problems with the height available tow work with within a movie clip. Some of the content is quite long, so does not fit within a movie clip.

Does anyone have an idea of how to work around this problem, besides creating the MC at 1/2 size and then rescaling it?

Any ideas or advice is appreciated.

Scrollpane Component And (limited) Height Of MC Within It
Does anyone know if the height of a movie clip loaded into a scroll pane component can be set...it appears to be limited?

I have a movie clip which contains dynamic content based on the results of searching loaded text files, the problem is that i can only set the height of the movie clip to a certain level, after that it just won't scoll any further...which limits the amount of search results that can be displayed.

Basically I'd like to know if the loaded MC can be of unlimited height or is it governed by the size of the _root movie?

thx,

duffi

[MX04] Scrollpane: Controlling Content
Hi there,
I am on a little project and I'm testing some components I'd like to use. One of the me is the scrollpane.

I have managed to display the MovieClip called "mcContent" inside the scrollpane.

What I'd like to do, but didn't work, is to
Controll the mcContent itself (alpha etc.
and to add some additional content within the mcContent

When you look inside my code I'm using the code


Quote:




myScrollPane2.mcContent._alpha = 33;




which does not work at all. Please see attached file.

So how exactly do I have to write to access the methods and properties of a content inside a scrollpane?

Thanks for your help.

How To Update Scrollpane Component Scrollbar When Mc Has Changed Height?
Hi guys

i've got a scrollpane component that loads in a movieclip.
that movieclip itself loads in data and changes height.

How can I tell the scrollpane to update the scrollbar height once the movieclip has loaded in properly?

Any ideas gratefully appreciated

Joe

Controlling The ScrollPane Component
Hello,

I have a simple ScrollPane component with some text (see attached). What I want to do is have another button set the level that it is scrolled to.. sort of like an anchor point.

Is it possible to control that parameter with ScrollPane?

Any help appreciated as always,
fg

Content Of Scrollpane Component
I have this code i my scrollpane content movieclip:

for (i=1; i<=12; i++) {
attachMovie("linkname", "att"+[i], i);
setProperty("att"+[i], _x, i*80);
loadMovie("picture.jpg", "att"+[i])
}

OBS!! "att"+ is "att"+ [ i ] ...

I want the code to generate 12 movie clips called att1 to 12, all of them containing the 'picture.jpg'

And the scroller it self should only be able to display 5 instenses at a time.

When I do this, - I get NO scrolbars eventhough they are both set to 'auto'

Can anybody help me please??


Regards

Godowsky

Getting That Content Into The Scrollpane Component
Okay, - I try this question again...

Maybe this time I'm able to make it simple.

I have a contentmovie clip that is 'linked' to the scrollpane component, - in properties of the component Scroll content has the name of my contentmovie clip.


Okay, - If I place 5 movieclip instences in the contentmovie clip I get a perfect scroller, - BUT if I want to place the 5 movieclips dynamically, - it doesn't work.

SO my question is:

Who do I dynamically place content (movieclips) in the contentmovie clip of my scrollpane component.


Thanks

Godowsky

Scrollpane Component With Dynamic Content
Hi, - can anybody tell me how to dynamically load content, - in this case jpegs into the scrollpane component.

Lets say I have a variable called x=3, -
then I want 3 jpegs etc.

I have this code on frame 1 in the scrollpanecontent movieclip

for (i=1; i<_root.data4.length+1; i++) {
attachMovie("minipicture", "minipictureholder0"+[i], i+1);
setProperty("minipictureholder0"+[i], _x, -115.2+(i*83));
setProperty("minipictureholder0"+[i], _y, -20.1);
setProperty("minipictureholder0"+[i], _width, 48);
setProperty("minipictureholder0"+[i], _height, 30);
}
for (i=1; i<_root.data4.length+1; i++) {
loadMovie(_root.data4[i-1].image, "minipictureholder0"+[i]);
}
stop();

data4 is an array

the property sruff is for placement in the movieclip and also for size

So in my book this is what I'm dooing:

I have the array of data, and I want a pictue for each item in the array

So I loop through the array and with
attachMovie("minipicture", "minipictureholder0"+[i], i+1);

I make an instance of minipicture (has been linked in the liberay) and change the name for each loop and also the level.

So I have my container called minipictureholder01,02,03 etc.

Now I want to attach an image to these containers so I run through the loop again (I could properly be doing this in the same loop!!)

loadMovie(_root.data4[i-1].image, "minipictureholder0"+[i]);
}

takes the first of our holders and attach the image which are in the _root.data4[i-1].image array.

Well, - it doesn't work!!! WHY?????????

P.S. if I place say 10 containers called minipicureholder01, 02 etc. on stage without actionscript it works???!!?? But I need it to bee dynamic!!

Regards

Godowsky

ScrollPane Component - Content Alignment
Hi everyone,

I'm using the ScrollPane component to scroll a movie clip. I understand that the ScrollPane aligns the movie from the top left of the centre point. Is there anyway to change where the ScrollPane aligns the movie?

The problem is, my movie clip is vertically long and I have run out of space at the bottom of the actual document and so I need to move the entire content of the movie clip vertically; but this obviously means the ScrollPane currently displayes the moving clip from about a third of the way down.

Thanks kindly for your help.

Lyle

ScrollPane Component Content Problem (MX)
I've used a ScrollPane Component to display a movieclip from library. The movieclip containes around 100 buttons. But at the running time the buttons background is not getting properly. The movieplays in a browser that is working properly. When convert to a projecter exe it is not diplay properly. Sounds very strage.

Actually i want to use it for an offline application. any idea why things are going like this..

Content Property Of ScrollPane Component
iI have tried ur below mentioned code (copied from ur tutorial - "Dynamic Movie Clips and the ScrollPane") in one of my project. But the "scrollPane.content" is not showing the path to the movieClip. And also the scrollPane is not showing any movieClip attached to it. Even it is not showing the vertcal scrollbar. It is blank

scrollPane.contentPath = "scrollMovieClip";
mcMain = scrollPane.content;


Please help me !

thanks
Aneesh Babu

ScrollPane Component Content Problem (MX)
I've used a ScrollPane Component to display a movieclip from library. The movieclip containes around 100 buttons. But at the running time the buttons background is not getting properly. The movieplays in a browser that is working properly. When convert to a projecter exe it is not diplay properly. Sounds very strage.

Actually i want to use it for an offline application. any idea why things are going like this..

Scrollpane Content Out Of Component's Boundaries
I've used a scrollpane to scroll a movieclip that I've in exported for Actionscript in the library. It really scrolls the content of the movieclip but unfortunately it shows all the movieclip's content even out of the scrollpane boundaries. Anyone experienced this and knows a workaround?
Thank you.

Using ScrollPane Component To Scroll Embedded Content
I havent found any legit way to specify embedded/dynamic object in ScrollPane, so I ended up with this hack:
Code:
pane.addEventListener (Event.COMPLETE, foo);
pane.load (new URLRequest ("blank.swf"));

//import fl.containers.ScrollPane;
function foo (e:Event):void {
//var pane:ScrollPane = ScrollPane (e.target);
DisplayObjectContainer (pane.content).addChild (mc);
mc.x = 0; mc.y = 0; pane.update ();
}
but I was wondering maybe someone knows cleaner way to do this...

Controlling Actions Window Height In Cs3: Less Height Plz
hey there,

ive recently switched to flash cs3, but there is one seemingly little quirk that is driving me nuts, and hopefully its fixable.

in flash 8, you could have the actions window the same height as the properties window and group them. In cs3, the actions window always takes up about half my screen with its height whenever it is opened (the shortest i can get it is still more than double the height the properties window is). In cs3 you can still obviously group them, but the box keeps on changing size depending on which tab you choose (properties vs actions).

Maybe its just me, but i find it annoying to my work flow. Is there some sort of preference i can set for this (customizable min height for actions window?), be cause i certainly have not found it:S Would be greatly appreciated!thanks!

Swapping Scrollpane Content With Button Outside Scrollpane
Hi,

I'm terribly new to flash which is probably why I couldn't solve this with any tutorial out there.

I've got a scrollpane, and outside that I have a few buttons working as a nav bar. I want these buttons to load a different movieclip (which isn't in the stage, it's in the library) to the scrollpane.

Using the tutorial on this site (the one where you add or remove a blue movieclip to the scrollpane) I got as far as adding the movieclip to the scrollpane. Problem is, I need the buttons to unload the current movieclip before loading the new one.

(So for example, if the movieclip called "home" is loaded in the scrollpane and I click on the button "Patterns & Textures" I want that button to unload "home" from the scrollpane and load the movieclip "patterns")

My code so far looks like this:



Code:
scrollPane.setStyle("borderStyle", "none");

var i:Number=0;
var mcMain:MovieClip;
function init() {

scrollPane.contentPath = "home";
mcMain = scrollPane.content;
trace(mcMain);

}
init();

brushes_btn.onRelease = function() {

mcMain.attachMovie("brushes", "brushes"+i, mcMain.getNextHighestDepth(), {_y:50*i+5, _x:5});
i++;
scrollPane.invalidate();

};
Taken from the tutorial.

I'm pretty sure I don't need the + i part because I won't have more than one mc in the scrollpane at once, but I don't know how to remove it without screwing it up.

I'd greatly appreciate any help!

Scrollpane Content Not Limited To Scrollpane
I am using the scrollpane component in flash mx. I have content loaded into the scrollpane via actionscript. The content loads up, but the scrollbars scroll it past the edges of the scrollpane. The content then overlaps the rest of my movie(outside the scrollpane. How can I fix this? shouldn't there be a mask there? thanks for your help, garrett

Scale Scrollpane Content Not Scrollpane
Friday arvo, fantastic.

Any way I can scale a externally loaded clip sitting in a scrollpane.

I can scale the scrollpane no probs using a slider but I want the scrollpane to be static and the swf inside the scrollpane to scale.

cheers in advance.

H

Postioning Content In Scrollpane Without Using Scrollpane
Hi guys.
Not sure if this is possible. i had a look through the help files but had no luck I have 2 questions so here goes.
i am using V2 components in particular the scrollbar component.
I am attaching an mc to the scrollbar the mc contains several lines of text.
Is it possible to use a button elsewhere in the movie to set the postion of the mc in the scrollpane. Essentially moving the content up or done without using the scroll pane buttons or track bar?
How on earth do i change the colour of the scrollbar track button?

thanks
Paul

Scale Scrollpane Content Not Scrollpane
Friday arvo, fantastic.

Any way I can scale a externally loaded clip sitting in a scrollpane.

I can scale the scrollpane no probs using a slider but I want the scrollpane to be static and the swf inside the scrollpane to scale.

cheers in advance.

H

Scrollpane Height
Hi,

I'm using a scroll pane to load a clip from the library that has server frames with in it.  A stop() is on each frame.  on the root time line I have serveral frame and each of this frames tells the scrollpane to go to frame with in the library clip.  okay that all work fine.
However, each from in the libarary clip content content that is a different height and the pane does no resize based on this new height.

anyone run into this before?

jef

Scrollpane And Scroller Height
Is it possible to have the vertical scroller of a scrollPane shortter than the whole ScrollPane it self?
If yes how can you do that?
using vScroller._height or something like that?
thanks

ScrollPane Width And Height
Hi, im having problems with the scrollpane width and height not being reflected in its parent DisplayObjectContainer.

Example:


Code:

package{
import fl.containers.ScrollPane;
import flash.display.*;
public class ScrollPaneDimensionsTest extends Sprite{

public function ScrollPaneDimensionsTest(){
var sp:ScrollPane = new ScrollPane();
sp.setSize(200, 200);

var sprite:Sprite = new Sprite();
sprite.addChild(sp);

trace(sp.width); //prints 200
trace(sp.height); //prints 200
trace(sprite.width); //prints 115!?!?!?!
trace(sprite.height); //prints 115!?!?!?!
}

}
}
Any ideas why this is printing 115 instead of 200?

Skinning Scrollpane, How To Set The Dragbar Height?
Hello,
i am trying to modify the look of a scrollpane, the problem is that the dragbar is beeing autoresized, deppending on the content it changes the height distorting the image i inserted.
Any ideas on how to avoid that dragbar autoheight would be appreciated

Thanks for reading

Custom Scrollpane + Determine Thumb Height
Hi I have my own custom scrollpane I would like to know how I determine how long the thumb scroll should be in relation to content and scrollstep interval.


Any suggestions - know I have to find difference between track height and content height - stuck after that though

Sizing A ScrollPane To Fit Its Contents' Width And Height
Hi,
I have a MC loaded into a ScrollPane and have attempted to detect the MC's width and height and use that to set the size of the scrollPane per the documentation at Adobe Live Docs. I am probably not adapting the code correctly (well, duh), but what I have isn't working and I don't know why. Does anyone around here have a clue? Thanks in advance.







Attach Code

createClassObject(ScrollPane, "spRules", 10, {_x: 1800, _y: 500});
with(spRules){
contentPath = "operValMC";
setSize(operValMC.content._width, operValMC.content._height);
}

Content Height Problem
Hi all,
Just now i faced a Crazy problem....

When The flash content height is Over than 4000 My content is not displayed correctly ... Say for example, i am having a Strip with a Dynamic Text not more than that... I am displaying something in the Strip dynamic text.... Well, i am duplicating the MovieClip to generate some more clips,,, upto some points it s working fine(With the same Code no change in the GUI also)

If the _y position exceed 4000 it creates problem, i can able to view the Dynamic text but not the strips.....
can any one guess what s the problem here

Dynamic Textfield-height And Content
I'm working on a webiste, and I'm creating textboxes with scrollbars. To make the scrollbars, I need to determine the height of the textfield I create. The textfields will load in text from a variable, so how do I now what height to set on the dynamic textfields.

thanks

Getting Height Of Display Content When Using ScrollRect?
Does anybody know how to get the height and width of the content in a display object when using scrollRect.

For example>


Code:
import flash.display.Sprite;
import flash.geom.Rectangle;

var circle:Sprite = new Sprite();
circle.graphics.beginFill(0xFFCC00);
circle.graphics.drawCircle(200, 200, 200);
addChild(circle);
//display object width and height is 200

circle.scrollRect = new Rectangle(0, 0, 100, 100);
//display object width and height is now 100
The code above creates a 200pix circle and sets the scrollRect for the circle display object to 100pix. So you can only see a quater of the circle.

The height and width of the display object is now the height and width of the scrollRect which is 100. However the height of content (circle) is 200 but I have no way of finding this out.

There is no contentHeight or contentWidth propertys so how am I ment to find out the height and width of the content if I don't know what it is beforehand?

I need to know the content height and width so I know what the max scroll positions are. I need a scrolling solution where the height and width of the display object does not increase when the size of the content increases beond certain values. scrollRect fits the bill perfectly but its all useless if I dont know what the dimentions of the actual content are!

I'm sure there is a solution, please enlighten me!

Masked Content Height Is Counted?
I'm building a new full-page flash site and I have a Flash Scrollbar setup to automatically enable itself when the page content exceeds the Stage.height. Pretty basic. The problem here is that I have some components of this website, such as a image gallery, that uses a "filmstrip" style display to show all of the thumbnails. Again, basic concept with the clip of the thumbnail images simply masked. The issue here is that the _height of those thumbnail clips are included even though the content is masked! So, if I load enough thumbnails, the masked content eventually gets long enough to cause the scrollbar to appear even though the content is masked and technically the scrollbar isn't needed! How can I stop this _height from being counted? Seems pretty stupid that the _height of that masked content is being counter. Any ideas at all? Putting checks into the system for every component with masked content to offset this problem would be very cumbersome. Any help is greatly appreciated!

-Jason Kringen
jason@kringen.org

Flash Content Height Problem
Hi all,
Just now i faced a Crazy problem....

When The flash content height is Over than 4000 My content is not displayed correctly ... Say for example, i am having a Strip with a Dynamic Text not more than that... I am displaying something in the Strip dynamic text.... Well, i am duplicating the MovieClip to generate some more clips,,, upto some points it s working fine(With the same Code no change in the GUI also)

If the _y position exceed 4000 it creates problem, i can able to view the Dynamic text but not the strips.....
can any one guess what s the problem here

Masked Content Height Is Counted?
I'm building a new full-page flash site and I have a Flash Scrollbar setup to automatically enable itself when the page content exceeds the Stage.height. Pretty basic. The problem here is that I have some components of this website, such as a image gallery, that uses a "filmstrip" style display to show all of the thumbnails. Again, basic concept with the clip of the thumbnail images simply masked. The issue here is that the _height of those thumbnail clips are included even though the content is masked! So, if I load enough thumbnails, the masked content eventually gets long enough to cause the scrollbar to appear even though the content is masked and technically the scrollbar isn't needed! How can I stop this _height from being counted? Seems pretty stupid that the _height of that masked content is being counter. Any ideas at all? Putting checks into the system for every component with masked content to offset this problem would be very cumbersome. Any help is greatly appreciated!

-Jason Kringen
jason@kringen.org

Masked Content Height Is Counted?
I'm building a new full-page flash site and I have a Flash Scrollbar setup to automatically enable itself when the page content exceeds the Stage.height. Pretty basic. The problem here is that I have some components of this website, such as a image gallery, that uses a "filmstrip" style display to show all of the thumbnails. Again, basic concept with the clip of the thumbnail images simply masked. The issue here is that the _height of those thumbnail clips are included even though the content is masked! So, if I load enough thumbnails, the masked content eventually gets long enough to cause the scrollbar to appear even though the content is masked and technically the scrollbar isn't needed! How can I stop this _height from being counted? Seems pretty stupid that the _height of that masked content is being counter. Any ideas at all? Putting checks into the system for every component with masked content to offset this problem would be very cumbersome. Any help is greatly appreciated! :)

-Jason Kringen
jason@kringen.org

URLLoader Has No Height Or The Mc I Am Loading The Content Into
I have a URLLoader load an image .. then I use addChild to add it to another movie clip called holder.. when i do trace(holder.height,holder.width) i get 0's i tried tracing the loaders width and height and its the same..

I havent done this for a while but i swear i did it before with as3 the same way.. anyone have any comments?

thanks

Variable Movie Height Depending On Content
Hi - I'm creating a Flash MX site, that is hooked up to a database, which spits out various bits of content.

Is it possible to set the Movie width as a fixed amount, but the height of the movie to scale depending on the amnount of the content that is applied to a dynamic text field or other element.

Say movie width 770px, but height would be in relation to an instance name???????

Please advise, as I really do not want to use a fixed size movie with scrollable elements.

Thanks

Help Finding Loaded Content Width/height AS3
I am loading an image in to this pre-made button class.
I would like to be able to retrieve width/height of the image from outside of this class. So when I add it to the stage, I can put another next to it programatically not hard coded.

ie: Code:

button2.x = button1.width + 5;

currently if I Code:

trace(button1.width) // 0

the reason I want to do this is so I can load on image for a left and right button and just rotate one of them. Right now when I rotate the button it's x/y coordinate up and to the left.

implementation Code:

var buttonRT:Button = new Button("arrow.jpg", false);

Code:

package
{
   import flash.display.SimpleButton;
   import flash.display.DisplayObject
   import flash.display.BitmapData;
   import flash.display.Bitmap;
   import flash.display.Loader;
   import flash.net.URLRequest;
   import flash.events.Event;
   import flash.filters.BevelFilter;
   import flash.geom.ColorTransform;
   import flash.geom.Matrix;
   
   public class Button extends SimpleButton
   {
      private var _content:DisplayObject;
      private var _isBeveled:Boolean;
      private var _bitmapData:BitmapData;
      private var _angle:int;
      
      
      public function Button(content:*, isBeveled:Boolean = true, angle:int = 0 )
      {
         _isBeveled = isBeveled;
         _angle = angle;
         if(content is String)
         {
            var loader:Loader = new Loader();
            
            
            loader.contentLoaderInfo.addEventListener(Event.COMPLETE, draw);
            
            
            var request:URLRequest = new URLRequest(String(content));
            loader.load(request);
            _content = loader;
         }else if(content is DisplayObject)
         {
            _content = DisplayObject(content);
            
            
               draw(null);
            
            
         };
      };
      
      private function draw(event:Event):void
      {
         
         var changed:Event = new Event(Event.CHANGE);
         
         var bitmapData:BitmapData = new BitmapData(_content.width, _content.height,
                              true, 0xFFFFFF);
         
         var matrix:Matrix = transform.matrix;
         var rotation:Number = 2 * Math.PI * (_angle / 360); // 60˚
         
         matrix.rotate(rotation);
         
         transform.matrix = matrix;
         
         bitmapData.draw(_content);
         var up:Bitmap = new Bitmap(bitmapData);
         var over:Bitmap = new Bitmap(bitmapData);
         var down:Bitmap = new Bitmap(bitmapData);
         if(_isBeveled)
         {
         var bevel1:BevelFilter = new BevelFilter(2);
         var bevel2:BevelFilter = new BevelFilter(2, 235, .6, 1, .2, .6);
         
         up.filters = [bevel1];
         over.filters = [bevel2];
         down.filters = [bevel2];
         }
         var colorTransform:ColorTransform = new ColorTransform(.9, .9, .9);
         over.transform.colorTransform = colorTransform;
         
         colorTransform = new ColorTransform(.7, .7, .7);
         down.transform.colorTransform = colorTransform;
         
         upState = up;
         overState = over;
         downState = down;
         hitTestState = up;
      };
      
      
   };
}

Change Stage Height Based On XML Content
Hey everybody.

I have a flash file that basically pulls the 5 most recent podcast episodes from a podcast xml file and displays them on a website. Now the text of the descriptions of each episode is always different, so if the descriptions are particularly short there is a lot of empty space at the bottom of the flash stage. Conversely, if they are long, the bottom gets clipped off. Is there a way to change the stage size based on the bottom of the text box?

If you want to see exactly what I'm talking about, go to http://www.agriculture.com and scroll down to the red bar that says "On the air" .

Thanks!

Dynamic Text Field Height Scaled To Fit Content?
The thread title is pretty self-explanitory... I am wondering if it's possible to get a dynamic text field's height to scale automatically to fit the content inside of it. I've seen some "brute force" solutions of calculating character width and line height, and number of characters per line, but that won't work for me, as I have a variety of CSS-styled text that wll be of varying size and position.

Any ideas? Thanks...

Content To Appear In Textarea Component Based Off Of ComboBox Component Selection?
Hello all:

I have a comboBox component with different values like so:

1-10
11-19
ETC.

Depending on what value is chosen from the comboBox, a certain value needs to appear in the text area. Do I need to use a listener for this? If not, any input would be appreciated. Thanks!

JPearson311

Loading Component Inside Scrollpane Component
Hello,

Can anyone help me out in adding a scrollpane on to the screen through actionscript and after that adding any component inside the added scrollpane component.

Thanks in advance.

[Component] Targeting Flash 6 ScrollPane Component
Hey All,

Been a while... hopefully somebody can provide some insight into what I am missing here.

I have a Flash 6 ScrollPane - yes, I know it's old, but it is also easy to do custom skinning. I had data loading into it from the library by using createEmptyMovieClip and then attachMovie to grab an MC from the library.

This all worked fine until I had to place the ScrollPane into a MC in the library, dynamically attach it to the stage and then assign the content. Now I can only get my content MC to display on top of the ScrollPane, not in it. Here is a sample:


ActionScript Code:
function showPop(popType) {
    popContainer = _root.createEmptyMovieClip("popWindow_mc", 350);
    popWindow = popContainer.attachMovie("pop", "pop_mc", 1);
   
    popWindow.pop_sp.boundingBox_mc._visible = false;
   
    popScrollClip = popWindow.createEmptyMovieClip("scrollClip_mc", 400);
    popScrollContent = popScrollClip.attachMovie("scrollMC_disclaimer", "scrollContent_mc", 1);
   
    popWindow.pop_sp.setScrollContent(popScrollClip);
};


"pop" is the linkage name of the MC that contains the ScrollPane and "scrollMC_disclaimer" is the linkage name of the MC that is the content to be scrolled.

Any ideas as to what I am missing? Any help is greatly appreciated. Thanks in advance!

Dynamically Change Stage Size Depending On Content Height
Hi guys

I'm asking myself how I resize (or tween-resize) the size of a flash movie depending on its content.

Take a look at: http://www.pierinc.com
When you click on a new page, the stage size resizes depending on how large the page is.

Do I have to use javascript to do this (because I can't find the javascript on the pier website to take a look at it).
Or can I do this with actionscript?

Thanks in advance
Arcko Drazen

Controlling ScrollPane
I have 2 mc's, one with a scrollpane (with district.swf loaded into it) and one with controls I want to control district.swf.

The main timeline loads the scrollpane with:

Code:
onClipEvent (load) {
scrollmain.loadScrollContent("district.swf");
}

How can I zoom the map inside the scrollpane with a button in the other mc.

Any help is greatly appreciated.

Controlling MC In ScrollPane
I'm trying to control a MC sitting inside a scrollPane from another MC sitting inside another scrollPane, and having some trouble with it. Can someone who has expertise on working with scrollPane give me some tips?
Thanks

Controlling 1 Scrollpane Through Another
Hey, I'm wondering if I can get a button in one scroll pane, to effect the contents in another. Both are on the same page etc, I want the top pane to act as a menu, and when a button is clicked, it brings up content into the bottom pane.
How do I do this?

Controlling MC In ScrollPane
I'm trying to control a MC sitting inside a scrollPane from another MC sitting inside another scrollPane, and having some trouble with it. Can someone who has expertise on working with scrollPane give me some tips?
Thanks

Controlling 1 Scrollpane Through Another
Hey, I'm wondering if I can get a button in one scroll pane, to effect the contents in another. Both are on the same page etc, I want the top pane to act as a menu, and when a button is clicked, it brings up content into the bottom pane.
How do I do this?

Add Content To Scrollpane
Is it possible to add content into a scrollpane (the component) with ActionScript?

Copyright © 2005-08 www.BigResource.com, All rights reserved