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




Loadmovie From Scrollpane



Hi All, I have some buttons inside a graphic that loads into a scrollpane. I am trying to load an external swf ("dan.swf") into an empty movieclip ("container") on the main timeline from these buttons.The script im using is:on (release) { _root.loadMovie("dan.swf","container");}But instead of loading the swf into the container and "floating" the animation over the top of the original interface it seems to be replacing it, so I get the new swf with a white background and nothing else!I have tested this with buttons not inside the scrollpane and it works like I expected, its just from inside the scrollpane that this happens!Any help with this would be greatly appreciatedThanks in advance



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 11-28-2006, 07:47 AM


View Complete Forum Thread with Replies

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

LoadMovie+scrollPane
Hello. I have created a .fla file containing a scroll window, scroll.fla. It works fine until I load it into my main move, main.fla. I have changed the path in the scroll.fla to incorporate the path in main.fla but that didn't work either. Any ideas are greatly appreciated. Thank you and best regards...

Can I Use LoadMovie To Set ScrollPane Content?
i'm trying to load external swf files into a scrollpane. i'm using the loadMovie command, but when i do , the content extends outside the scrollPane (no scrolling happens). how can i get around this in the simplest manner?

thanks.
morgan

LoadMovie : Loaded Movie Contains Scrollpane That Doesn't Work :(
I have a photo gallery which is divided into different sections chosen from a menu. The menu consists of several movieclips within a scrollpane. Each movieclip contains a button which will load a different gallery section into an empty movieclip (empty_clip) on the main stage. This works fine, I pasted the code below:

on (release) {
_root.empty_clip.loadMovie("g_030214.swf");
_root.empty_clip._x=207;
_root.empty_clip._y=112;
}


However, the loaded movieclip ("g_030214.swf") also contains a scrollpane with several thumbnails (buttons). Clicking the thumbnails will display larger versions of the images (each image is located in a different frame within the loaded movie). This is where I have a problem as I can't get this to work.

This is the code for one of the buttons:

on (release) {
_parent.gotoAndStop("feb03_11");
}

When I click the button, nothing happens. "feb03_11" is the frame label containing img11 from this section.

I am quite new to Flash and I suppose I'm just mixing up the terms here, but I really don't know how to sort this out. Can anyone please help me out?

Thanks

tori03

[F8] Button Inside Scrollpane, Cannot Control MC Outside Of Scrollpane?+emptymc
Hi, first look at the example of how it should work :

http://www.surfacingmedia.com/VIDEOPLAYER2.html
notice the Buttons in the scroller on the right tell the MC on the left to GOTO MC frame i want it too (each frame then holds Player for specific video.)
works great right?

Now when I load this into my main site into an empty movieclip i use for all section content it Does not work at all! sure it loads the first video but the buttons are disabled?
(use link below navigate to photo/video and selet video.)
http://www.surfacingmedia.com/

the code is the same just calls to the videoplayer MC and tells it to goto a certain frame.
it doesnt work when loaded into my empty MC. ?
any suggestions?
If kill the scrollpane altogether, buttons work fine then even loaded into emptyMC. seems once buried in scrollpane its too deep for buttons to work? which for me defeats the purpose kinda.
Note-Flash 8 (i am a code lightweight i used the BEHAVIORS commands gotoand stop on frame select the MC.)

Thanks in advance i will answer some posts while i am here that i can now.

ScrollPane Auto Scroll On Frames Within ScrollPane
Hi Guys,

I am using an instance of the scrollPane component to load in scrollable content, some of the items of content are .swfs that have separate navigation within them. I am wondering how I can get the scrollPane to adjust the amount it can scroll based on the content on each frame of the movie that has been loaded into the scrollPane. Ideally the scrollbar would also turn off when the content is small enough for there to be no need for the scrollbar.

Thanks,

-Jim

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

Loading Mc In One Scrollpane From Mc Clip In Another Scrollpane
I'm still stuck.

I have one movie clip with a whole bunch of buttons 'loaded' into scrollpane and I want each button to load a different mc into a different scrollpane when clicked.

I tried using "attachMovie" but I'm still very confused.

Is this what I use?

If so, do I go

on(release){
attachMovie("mc name", "frame label of loaded mc", "level not in use");

}


Any help is greatly appreciated.
Thanks in advance.

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 To ScrollPane Communication
I have a scene with two ScrollPanes. One ScrollPane contains a movieclip of thumbnails (used as buttons), the other ScrollPane contains larger pictures. Similar to a photo album. When each thumbnail is clicked, it is supposed to go to a specific frame label of another movie clip within the second ScrollPane.

This is the code I am using for the thumbnail buttons:

on (release) {
_level0.Ads-Scroll-Large.tmp_mc.gotoAndPlay("AD2");
}

I know it has to be something stupid...

Any help would be greatly appreciated!

Many Thanks,
Todd

Loading Mc In One Scrollpane From Mc In Another Scrollpane
I'm still stuck.

I have one movie clip with a whole bunch of pictures as buttons 'loaded' into a scrollpane and I want each button to load a different mc into a different scrollpane when clicked.

I tried using "attachMovie" but I'm still very confused.

Is this what I use?

If so, do I go

on(release){
attachMovie("mc name", "frame label of loaded mc", "level not in use");

}


Any help is greatly appreciated.
Thanks in advance.

One ScrollPane Scrolls Another ScrollPane?
Hi. I have 2 scrollPanes in 1 .swf. The left one loads in an mc with text and links. The right one is the main text content. I want users to be able to click on links in the left pane to vertically scroll the right pane.

Oh. And I need to publish this in Flash 6.

Thanks for any advice.

Calling From ScrollPane To ScrollPane
I am still pretty new to actionscripting...so please bare with me.
Here is what I have...
I have 2 scroll panes
Both of the following scroll panes are on the main stage (frame 1).

One scroll pane has an instance name of "scrollComponent". It is loading the movie "componentList_MC".
In the "componentList_MC" movie is a battery button with an instance name of "batteryBut_btn".

The second scroll pane has an instance name of "viewsScroll". It is loading the movie "viewsPanel_MC".
In the "viewsPanel_MC" I have a frame label of "full" and another label of "230-6368_Battery".
The inital state of the "viewsPanel_MC" is set so that it is on the frame label "full".

I am trying to get it to where when you click on "batteryBut_btn" that it will go to "viewsPanel_MC" and go to the frame label "230-6368_Battery".

Here is the code I have on frame 1 on the actions layer. This is what I have described above and is not working. Any thoughts or suggestions that someone could help me out with?

//12V Battery (230-6368_Battery)
batteryBut_btn.onRelease = function() {
_root.viewsScroll.viewsPanel_MC.gotoAndStop("230-6368_Battery");
};

Loading Dynamic Info Into Scrollpane -- Then Loading The Scrollpane Please?
hi,

i've been tearing my hair out trying to get this to work:

1:
dynamically load certain images and info by calling an xml file from within flash. this will create a timeline, which you can see works perfectly (i hope) in timeline.fla

2:
load that timeline.swf into a scrollpane (in this case, located in timeline_test.fla) by clicking on the chapter numbers on the bottom.

for the second part, i have gotten as far as loading timeline.swf into the scrollpane, but for some reason it only shows the last image in the timeline. there should be at least 3 more images that come before the one displayed. it also will not show the date and title of the image, which *does* show in timeline.swf. why is everything getting excluded? and how do i fix it?

also, i've tried to figure out how to get the chapter numbers to update the scrollpane, but with no luck. the best i can do is the ripped buttons from cyanBlue's code, which obviously i don't want in the final version.

i would be willing to take the code from timeline.fla and put it right into timeline_test.fla, although as to how i would do this, i have no idea.

i think i've read just about every tutorial and message post on scrollpane and loadMovie, but it's turning out to be a huge headache and nothing works the way i want it to.

please, if you can help me, i would IMMENSELY GRATEFUL.

thank you thank you,
chi_grl

How To Loadmovie The Place Iwant? I Have Loadmovie But It Just Take All The Screen
i load a swf and it just take all the space
and my buttoms and others are all been covered
here is how i do it

onClipEvent (enterFrame) {
ifFrameLoaded (1) {
loadMovieNum ("first.swf", 0);
}
}


i put this in the layer called middle where i have put a instance of a w700 h270 movieclip so i can try to loadmovie the same size of it but it just failed
did i miss anything else? i know i did
please tell me~~~~~~~~~~~~~~~~~~~~~

LoadMovie Target Vs. LoadMovie Level
can someone please explain to me why when I load an external movie as a target, the action scripting in the loadedmovie doesn't work.
But if i load the movie into a level it works fine. I want to load into a target beacuse I want it positioned in a specific co-ordinate.

thanks

LoadMovie Calling MC With LoadMovie Problem
I am loading a movie clip into a target MC on my timeline and it works fine, but the movie clip that I'm loading in is also using loadMovie to load a movie into a MC on it's own timeline. For some reason, the MC that is getting loaded doesn't load the MC it is calling on it's own timeline. It works fine when I test it out on it's own, but as soon as I load it in using the first MC, the loaded MC doesn't call the movie clip it's supposed to load.

Any suggestions?

-k

(I said "load" way too many times!)

LoadMovie/loadMovie From Loaded Movie?
I know I know .. messed up heading .. but ..

I have a button that loads a swf into an empty mc (sliderContainerMC)

(release) {
_root.sliderContainerMC.loadMovie("http://www.justinsteiger.com/flash/anims/sliderOpen.swf");
}

That works as advertised. The difficulty comes when I tell the button on that swf to load a new swf into the same MC (sliderClose.swf). Since the swf in the MC (sliderOpen.swf) isn't the same swf (loading into a MC in justinsflashsite.swf) do I need to change the path? Say to include something telling it to load the swf into the parent swf?

Eventually the swf that's called into the empty MC is going to have buttons that are supposed to call up other swf's that load in other empty MC's around the site. HELP?!

Thanks,
Justin
http://www.justinsteiger.com/flash/justinsflashsite.fla (Is the parent swf)

Loadmovie Inside Loadmovie Problem?
Hi,

I have a main movie which use's the loadmovie function to load up an external SWF. But then inside that SWF there is another loadmovie function to load another external SWF into that.

But the problem is that when the first movie is loaded all of its loadmovie commands are disabled.

Is there something i could do to rectify this?

Thanks,
T

Local Loadmovie Ok / Online Loadmovie Bad
I'm at my wit's end with this one. I have an swf that's loading fine locally but refuses to be loaded online. Here's the script. It's in the first frame of the root mc ....
code:
_root.createEmptyMovieClip("slideshow", this.getNextHighestDepth());
_root.slideshow.createEmptyMovieClip("container_mc ", 0);
slideshow_btn.onRelease = function() {
this._visible = 0;
this.gotoAndStop(1);
_root.slideshow.container_mc.loadMovie("temp.swf") ;
};


Loads no problem locally. Nothing when I upload it. I have lockroot set to true in the same frame as the above script. I also tried a simple test with ....
code:
_root.slideshow.loadMovie("temp.swf");

.... in a simple mc containing only a 'slideshow' mc. Works if I access the URL directly, doesn't if I put it in an html page. What mistake could I be making?

thanks
mark

[F8] Need To Change A Variable In A LoadMovie Mc While In Another LoadMovie Mc
So I have a shell mc that has 2 mc's loaded into it with loadMovie (let's call them project1 and project2). While I'm in project1...how do I change a variable in project2 to be true instead of false?

I thought I could do it like this (in Project1...):
myBtn.onPress = function()
{
_parent.dropZone_project2.myVar = false;
}

Nothing seems to be working. Any insight would be greatly appreciated.

Resize LoadMovie Container, Not LoadMovie?
I've searched and searched but haven't found what I'm looking for.

I'm wanting to load different sized .swf into the same field and I want the field to adjust (preferably some smooth transitions for the size change) to fit the size of each different .swf loaded. I've seen it done on quite a few sites but I haven't been able to find a tutorial of any kind addressing this specifically. Can anyone help?

I'm keeping it simple, i.e. thumbnails with titles above or off to the side; click one; the field where the .swf will play adjusts itself; .swf loads and plays. When completed, user can click another thumbnail and the previous .swf will "unload" then the field adjusts for the new .swf and the new one loads. Follow me? Just any tutorial you guys may know of would be great.

Here's the closest example I could find... cool site too. http://www.pollenation.org

Loadmovie Over Prev Loadmovie And Positioning Jpg
Hello, a little question and i have the feeling i am very close.

i use loadmovie to load an image into an movieclip.
that movieclip goes to the position x and y of the movieclip - the loaded image width/2

my problem is that when i load a new image the position is not correct.

my code:
--------------------------------------------------------------------------------------------------------------------
function nextImage1()
{
if (p < total - 1)
{
++p;
if (loaded == filesize)
{
trace(p);
trace("x van inst0"+litlimg_instance.ltlimgmc_instance0._x);
trace("y van inst0"+litlimg_instance.ltlimgmc_instance0._y);
litlimg_instance.ltlimgmc_instance0._alpha = 0;
litlimg_instance.ltlimgmc_instance0.holder.loadMovie(image[p], 1);

var maxWidth = 250;
var maxHeight = 200;

var myWidth = litlimg_instance.ltlimgmc_instance0._width;
var myHeight = litlimg_instance.ltlimgmc_instance0._height;
// Calculate percentage by which image will need to change to fit
if (myWidth > maxWidth){
var xscalePercent = (myWidth*100)/maxWidth;
}
if (myHeight > maxHeight){
var yscalePercent = (myHeight*100)/maxHeight;
}
// Multiply both height and width by the bigger percentage
if (xscalePercent>yscalePercent) {
litlimg_instance.ltlimgmc_instance0._width /= (xscalePercent/100);
litlimg_instance.ltlimgmc_instance0._height /= (xscalePercent/100);
} else {
litlimg_instance.ltlimgmc_instance0._width /= (yscalePercent/100);
litlimg_instance.ltlimgmc_instance0._height /= (yscalePercent/100);
}
var test=litlimg_instance._x-(litlimg_instance.ltlimgmc_instance0._width/2);
trace("width img:"+litlimg_instance.ltlimgmc_instance0._width);
trace("width:2 :"+litlimg_instance.ltlimgmc_instance0._width/2);
trace("x position must be:"+test);
trace("x position is:"+litlimg_instance.ltlimgmc_instance0._x);
trace("----------------------------------------------------");

litlimg_instance.ltlimgmc_instance0._x=litlimg_instance._x-(litlimg_instance.ltlimgmc_instance0._width/2);
litlimg_instance.ltlimgmc_instance0._y=litlimg_instance._y-(litlimg_instance.ltlimgmc_instance0._height/2);
slideshow();
} // end if
} // end if
} // End of the function


function slideshow()
{
function pause_slideshow()
{
clearInterval(myInterval);
if (p == total - 1)
{
p = 0;
firstImage1();
}
else
{
nextImage1();
} // end else if
} // End of the function
myInterval = setInterval(pause_slideshow, 4000);
} // End of the function

p = 0;
--------------------------------------------------------------------------------------------------------------------

what i do is i have an array with the image links.
on a interval i load an image. and if p has reached the number of loaded images i start over again.

i traced the following while testing a bunch of images:
-------

1
x van inst0-125
y van inst0-93.55
width img:250
width:2 :125
x position must be:-125
x position is:-125
----------------------------------------------------
2
x van inst0-125
y van inst0-93.55
width img:258.05
width :2 :129.025
x position must be:-129.025
x position is:-125
----------------------------------------------------
3
x van inst0-129
y van inst0-93.55
width img:140.3
width :2 :70.15
x position must be:-70.15
x position is:-129
----------------------------------------------------
4
x van inst0-70.15
y van inst0-93.55
width img:243.2
width :2 :121.6
x position must be:-121.6
x position is:-70.15
----------------------------------------------------
1
x van inst0-125
y van inst0-93.55
width img:250
width :2 :125
x position must be:-125
x position is:-125
----------------------------------------------------

It looks like he takes the position of the prev image or something like that.

Please some help here.

Greetz. Jacob

Ps: this was some code i posted.. i would like to know how you put it into such a nice code block on the forum so it becomes more readable.

Set LoadMovie Time, UnloadMovie, LoadMovie
in that order-

Put simply-
can anyone guide me to any resources that would explain how to do this?

1. Load 2 swf's into empty mc's (this part is already done)
2. Have those 2 swf's be on the stage for 3 seconds.
3. Unload those 2 swf's.
4. Then load a completely new swf once those have been unloaded.

LoadMovie Talks To Other LoadMovie
ok this is baffling me!

i'm using loadmovie (target movieclip) alot

*main.swf
contains
**buttons.swf

i need button.swf to tell main.swf to loadMovie "contents.swf" into another movieclip.

i thought it would be as easy as:

[this script on button in button.swf]

on(release) {
loadmovie("contents.swf", _root.contents)
}

but of course this loads "contents.swf" into level0 of the current .swf (buttons.swf)

do i use globals or something?

set up ALL scripts in main.swf...

LoadMovie In LoadMovie Won't Work...
So I've been trying to get this loadMovie within an loadMovie to work...with no luck at all...

// This code is in my main 'shell' swf file
myBtn.onPress = function()
{
dropZone.loadMovie("projects/project1.swf");
}

// This code is in the first frame of my project1 swf file in the 'projects' folder
dropZone2.loadMovie("content/contentPage.swf");


Anybody have any insight on this?

LoadMovie Inside LoadMovie
im trying to make a movie clip that loads another swf that in turn loads a movie;



I created A.swf, which contains a movieclip; inside it has a shortshort animation and then loads an image:

loadMovie("image.jpg",_root.Image.PlayerScreen);
//_root.Image is the movieclip

then i created B.swf, wich loads A.swf;

loadMovie("A.swf", _root.PlayerScreen);

the problem is that B.swf loads with no prob, it loads the animation in A.swf, but instead of getting the image, i get a purple square...

any idea what's wrong?

thnx!

Scrollpane
I'm trying to load a swf file in to a flash mx srollpane component I have been using the LoadMovie("filename.swf", level"). The movie loads but it dosen't load in to the scrollpane it loads over my other movie. what am I doing wrong. and I don't exactly understand what is needed in the level part of the code. I would appreciate any help some one could give.

Scrollpane
Problems with scrollpane...

Here's what happens :
I have a MC with text in and some rectangles to make some text more important. Nothing else in. The text is static cause I need to be able to make some centered, and some bold etc.

This MC is "in" a scrollpane.
When I play the movie, I can scroll the MC but it shows outside the scrollpane as if there wasn't a mask. What can I do ?

Also, I want the scrollpane to slide sidewards when the movie starts playing like it's entering the screen from the right. I applied a motion tween to it and stuff but when I play the movie the scrollpane doesn't move. Any idea ?

Cheers

Scrollpane
I have been trying to get the scrollpane working for a week now and I finally gave up and decided to ask you guys here if you can give me some hints.
I've tried using the setScrollContent funcion but I've failed. Can you please let me know how it works?

Thanks in advance

ScrollPane
I know this is a rookie question but. How do you get
your MC inside the ScrollPane component? I can not figure
this out. Any one know? Thanx.

ScrollPane
Hi

I want to scroll a combination of pictures and text. So I used the ScrollPane component and it works fine. But it looks bad.

Is there anyway that I can make the ScrollPane background invisible and remove the border so that you only see the scrollbar and bottens? Or is there another way to scroll a combination of pictures and text and maintain the (gradient) background?

I'm not all that good at actionscript code, so if the answer contains code please try to explain it in a simple way. Thanks.

ScrollPane In The *&%
I have dynamically created a columns and rows and want to have that in a scroll pane component.

When I bring in the movie clip with a linkage of mc_list,
and do a trace, it brings up temp_mc and my data is not scrollable.

Why is this.

Scrollpane Looks
Hello!

I'm currently working on a school flash project and still new at using flash mx. Right, question is how do we change how the scrollpane scrollbar and background looks?. I've tried changing the scrollpane's properties for its background (tried change colour to tint and advanced) but doesn't seem to be working cuz' when tried out i can't see the stuff i put in the scroll pane in the first place.

Oh yeah, how do we change the appearance of the scroll bars in the scroll pane?

Thanks!

Scrollpane
hey all,
i am using the scrollpane component in flash mx, i have costumized the skin, and i wan to know how to use a external file to be placed in the scrollpane. whether it be a .txt file or .hmtl explanation would be much appreciated. thanks

ScrollPane
Hello,

I have a ScrollPane that allows the user to scroll some text and pictures. I have two small problems with this ScrollPane.

#1... when the swf that contains this ScrollPane is loaded into my main movie, everything in my main movie freezes for about 3-5 seconds. Any ideas?

#2... the ScrollPane does not scroll my information very smoothly. It does not move the same as say a regular scroll bar in Internet Explorer. Can this be adjusted?

Thanks in advance for any advice.

ScrollPane
I have a movieClip in a ScrollPane. When the swf that contains this ScrollPane is loaded into my main movie, the main movie freezes for a few seconds. How do I avoid this. Each swf that is loaded into my main movie continues to loop through frames 1 and 2 until the entire movie is loaded. If the movie has been loaded then why still the pause from my main movie, as if it is waiting for the movieClip to load into the ScrollPane.

Hope someone can help.

Thank you very much for any help.

ScrollPane - HELP
Hi!
(first, sorry for my english! =) )
i have a problem with this component, someone could help me?
i load a .swf file in a scrollpane, but the scripts of this movie loaded don't work (but when i test it separately, it works correctly).
(maybe the error are in the paths, but i dont know what to use!!!)
here's the movie:
www.91fm.com.br/teste/Untitled-1.htm

* here's the code inside the main movie, in the first frame:
barra.loadScrollContent("RepLago2_deitado2.swf");


* here's the code inside the movie clip of the movie loaded

on (release) {
var i=1;
posposterior=this._X+10;
maxposterior=this._X+200;
while(i<=_root.n){
if(_root["MC"+i]._X>=posposterior and _root["MC"+i]._X<=maxposterior and _root["MC"+i]._visible==true and _root["MC"+i]._y==this._y){
this._X+=160;
_root["MC"+i]._X-=164;
break;
}
i++
}

TNX!!

Scrollpane Help
i want to remove the border from the scroll pane, is it a configurable option or do i have to edit the object itself. kinda new to the flash mx

Scrollpane
I've a combo box in a scrollpane. everything displays well untill I start scrolling the scrollpane. My combo box will disappear/_alpha = 0 on its own. I have to click on the combo box position to make it visible again. How do I solve this? I did not do any coding to it.

ScrollPane
Hi. I am using the Flash MX scrollPane in combination with a third party componenent called ZoomPane to make a scrollable zoomable movie. My code calls a Movie Symbol called "Floor". Both the ZoomPane and the ScrollPane call it as follows:

myZoom.snapTo(myScroll);
myScroll.setScrollContent("Floor");
myZoom.setScrollContent("Floor");
myScroll.setContentScale();

My problem is that I would like to alter a variable inside of the Movie "Floor" in the ZoomPane and not in the ScrollPane. This way the movie can be different but still use the same movie symbol.

Can anyone offer advice?

Thanks.

Scrollpane Help
I'm using the scrollpane component for the first time, and I have a question.

You can see what I'm doing by going here:
http://www.tcurranmusic.com/work/38.swf
and clicking on the slingshot icon to go to the studio page.

I have the scrollpane working properly, but I'd like to control the scroll using the little black buttons, not the gigantic windows-like scrolling bar that it comes with. I know how to turn it off, but I don't know how to configure my exisiting buttons to control the scroll.

Any help is much appreciated!

ScrollPane?
How do I add a scrollpane???

ScrollPane
THANK YOU so much. I can now see what I was doing wrong....amd I the complete or what!
Thanks again!

Scrollpane Mod
Hi all!

I am working on a menu system that uses the scrollpane component to scroll the various link objects inside. The text for these links are pixel fonts, and must be kept on whole integer x,y values to stay crisp.

The problem is that the very smooth scrolling of the scrollpane movement is making my text inside fuzzy.

Does anyone know how I could modify the scrollpane component so that it only scrolls in whole pixel increments? Thanks to anyone who could help!

Sincerely,
Derek
www.derekprospero.com

ScrollPane And TAB
I've got a scrollPane that is balls-ing up my tabIndex. Does anyone have an idea how to get round it?

Cheers

Mat

ScrollPane
Can you change the back ground color of a ScrollPane and if so how. I am fallowing this example . i have done it one way by making the base layer the color i want but is their another way?

Thanks
JOptionPane

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