Loading Movie In A Scroll Pane
I did some searches and wasn't able to find the answer. Im close to tearing out my hair. I have a scrolle pane that is inside of a movie. Now i just want to be able to do a load movie in it. Is there any easy way to do this? Any help would be appreciated.
Frank
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-12-2005, 12:49 PM
View Complete Forum Thread with Replies
Sponsored Links:
Loading JPG Into Scroll Pane
Alright this is odd... I can load the image into the pane using loadMovie();, but I have to load it into tmp_mc, and set Scroll Content to the linked movie in the library.. say... movieIWantedToLoadItInto_mc. And in that mc I had to make a box the size of the image I'm loading. Plus the pane does not mask the image only scrolls it. Any thoughts are appreciated, cheers.
AV
View Replies !
View Related
Scroll Pane Loading Content But...
Scroll Pane is Loading my external swf but the vertical scroller doesnt work to scroll the content. Is there some AS involved in telling flash how big the external file is so that it knows how much to scroll?
any help would be great thanks.
-Nick
View Replies !
View Related
Automatically Loading Images To Scroll Pane
Hi I need my flash movie to automatically load .jpg images out of a folder and add them to the scroll pane.
For example I set my flash webpage and on the server I have a folder called pictures, I need the flash movie to automatically load all the jpgs in that folder and add them to the scroll pane (matching a certain size and expanding the scroll bar.
thx
View Replies !
View Related
Loading External Movies Into A Scroll Pane
Ive been messign around with scroll panes and on a site im designing i need to load external movies into a scroll pane on the man site. They will be loaded when the visitor clicks on a button. Any Ideas?
I was also going to try and figure out how to make the scholl bar custom colors aswell as the background of the scroll pane black.
Any Ideas
View Replies !
View Related
Dynamically Loading Jpegs Into A Scroll Pane. HELP
Alright, i need some help. I'm currently designing a website for my band and i need to know how to dynamically load an external jpg into the scroll pane.
i don't want to use a movieclip with export linkage for actionscripts. because that causes the final product to be larger and causes it to freeze up on my server. But, i can't figure out the code to make it load a picture from the same directory. It just wont seem to work.
can someone please just send me the code. (you can name the instances of your scroll pane and all that however you'd like and when i copy/aste the code i'll just switch it to mine. i just need to see an example of the code working.
thanks alot
View Replies !
View Related
[F8] Set Properties On Scroll Pane Prior To Loading?
I have scroll pane loading via actionscript which holds images. The scrollpane is reloaded anytime a selection is made in my combo box and it basically refreshes the images to reflect the selection made.
My problem is that I want to make the border around the scroll pane "invisible" so I have it set to make the border color the same as my background color. This works, but every time i click you can see the default grayish border pop up for a split second until the code changes it's color.
My question is, Is there a way to set properties on a dynamically created/loaded object at the time of creation vice after creating it?
Here's the code I have for my scrollpane:
Code:
_root.createClassObject(mx.containers.ScrollPane, "my_sp", -2000);
_root.my_sp.setSize(615, 420);
_root.my_sp.setStyle("borderColor", "0x000066");
_root.my_sp.setStyle("borderStyle", "solid");
_root.my_sp._x = 154;
_root.my_sp._y = 103;
trace (_root.my_sp._y);
_root.my_sp.contentPath = "thumbholder";
// Scroll 100 pixels when clicking on vertical bar.
_root.my_sp.vPageScrollSize = 100;
_root.my_sp.vScrollPolicy = "auto";
_root.my_sp.hScrollPolicy = "auto";
// Create listener object.
var spListener:Object = new Object();
spListener.scroll = function(evt_obj:Object):Void {
//trace("hPosition = " + _root.my_sp.hPosition + ", vPosition = " + _root.my_sp.vPosition);
};
// Add listener.
_root.my_sp.addEventListener("scroll", spListener);
Like I said, everything works fine, but I can see the default scrollpane prior to it changing the properties of it. Can anyone point me in the right direction? Thanks in advance.
View Replies !
View Related
Loading Internal MCs Inside Scroll Pane ?
help - im having an issue thats prolly easy to resolve - im just a dummy and dont know (yet)...
i have a thumbnail_mc inside of a scroll pane (named myScrollPane - which is on the stage and main timeline). thumbnail_mc consists of about 50 buttons.
when user presses a button, i would like an external SWF to load - like BJ_identitytheft_SWF
AND i want to load
the subtitles that i have transcribed (the external swf's are all videos i produced)
so when user presses button, i want to the external SWF movie to load and the text captioning to load - in the same place as the thumbnail_mc.
i would like the captioning to replace the thumbnail_mc as the movie is playing and when the movie is done, i want the thumbnail_mc to return.
so i thought it would be a simple action on the button to also load the captioning, but its not working.
the subtitles-captions are all scrolling dynmaic text boxes inside a movie clip - ie
BJ_email_text_mc consists of a dynamic text box with a scroll bar that would display the words of the BJ_email_SWF that is also being called with the button.
this is the action on BJthumbnail button #1 - which is name BJnameThNbutton
on (press){
_root.logoHolder_mc.loadMovie("Exported SWFs/BJ/BJ_identitytheft_SWF.swf");}
on (release) {
tellTarget(this._parent.BJ_companion_text_mc){
gotoAndPlay(1);}
}
this is the error i get:
Target not found: Target="undefined" Base="_level0.myScrollpane.spContentHolder"
this has something to do with my scroll pane i guess ?
why would the button let me refer to somehting outside the scroll pane - to load the movie - but to load an internal MC its giving me this error ??
basically - i need to know how to, and/or why i cant, call an internal movie clip
i have also tried this :
first i put this script on the first frame action of the main timeline, and then i tried it on the first frame action of the thumbnail_mc
BJnameThNbutton.onRelease = function(){
BJ_name_text_mc.gotoAndPlay();}
neither of them work.
so i have this function on a frame action, and the usual loadmovie action on the button.
all of my subtitle texts are internal movie clips. i can get it to work if i make them all external like my movie SWFs, but i didnt want to have to do that and im sure that there's got to be a way to get these to load internally.
ellare
View Replies !
View Related
Loading Internal MCs Inside Scroll Pane ?
help - im having an issue thats prolly easy to resolve - im just a dummy and dont know (yet)...
i have a thumbnail_mc inside of a scroll pane (named myScrollPane - which is on the stage and main timeline). thumbnail_mc consists of about 50 buttons.
when user presses a button, i would like an external SWF to load - like BJ_identitytheft_SWF
AND i want to load
the subtitles that i have transcribed (the external swf's are all videos i produced)
so when user presses button, i want to the external SWF movie to load and the text captioning to load - in the same place as the thumbnail_mc.
i would like the captioning to replace the thumbnail_mc as the movie is playing and when the movie is done, i want the thumbnail_mc to return.
so i thought it would be a simple action on the button to also load the captioning, but its not working.
the subtitles-captions are all scrolling dynmaic text boxes inside a movie clip - ie
BJ_email_text_mc consists of a dynamic text box with a scroll bar that would display the words of the BJ_email_SWF that is also being called with the button.
this is the action on BJthumbnail button #1 - which is name BJnameThNbutton
on (press){
_root.logoHolder_mc.loadMovie("Exported SWFs/BJ/BJ_identitytheft_SWF.swf");}
on (release) {
tellTarget(this._parent.BJ_companion_text_mc){
gotoAndPlay(1);}
}
this is the error i get:
Target not found: Target="undefined" Base="_level0.myScrollpane.spContentHolder"
this has something to do with my scroll pane i guess ?
why would the button let me refer to somehting outside the scroll pane - to load the movie - but to load an internal MC its giving me this error ??
basically - i need to know how to, and/or why i cant, call an internal movie clip
i have also tried this :
first i put this script on the first frame action of the main timeline, and then i tried it on the first frame action of the thumbnail_mc
BJnameThNbutton.onRelease = function(){
BJ_name_text_mc.gotoAndPlay();}
neither of them work.
so i have this function on a frame action, and the usual loadmovie action on the button.
all of my subtitle texts are internal movie clips. i can get it to work if i make them all external like my movie SWFs, but i didnt want to have to do that and im sure that there's got to be a way to get these to load internally.
ellare
View Replies !
View Related
Loading External Swf Into Scroll Pane Component Problem
Hi,
I'm trying to load an external swf into a scrollpane component. That works fine but the swf is behaving eratically when in the scroll pane. Alone, it works just fine. At first i thought it was a targeting problem withing the code in the external file but that doesnt seem to be it. Then i thought it may be problems with the slider that i am using but i havent been able to isolate it yet. Any help would be greatly appreciated. Thanks.
The files seemed to be too large to attach here so here is a link to a zip file that contains both .flas and a swf file.
http://www.united-fire.com/loadScrollTest.zip
View Replies !
View Related
Problem With Scroll Pane. (Loading Multiple Jpg In Movieclip)
Hi
I have a thumbnail gallery in a movie clip. When I put the moviclip directly into the main timeline the gallery works just fine.
When I tried to use a Scroll pane the gallery doesn't work anymore.
Any ideas???
Here is the code:
(Put this code in the first frame of a empty movie clip)
_global.ThumbnailManager = function(thumbnailPics, originalPics, loadingBarMC, loaderMC){
this.thumbnailPics = thumbnailPics;
this.originalPics = originalPics;
this.loaderMC = loaderMC;
this.loadingBarMC = loadingBarMC;
this.availDepth = 99999; // we need this depth number for attaching mcs
this.totalPicsNum = this.thumbnailPics.length; // number of all images to be loaded
this.loadedPics = new Array(); // no images loaded yet
this.currentPic = ""; // currently loading...
}
ThumbnailManager.prototype.drawRectangle = function(mc, rectWidth, rectHeight){
with (mc) {
lineStyle(0, 0, 0);
moveTo(0, 0);
beginFill(0,0);
lineTo(rectWidth, 0);
lineTo(rectWidth, rectHeight 0);
lineTo(0, rectHeight);
lineTo(0,0);
endFill();
}
}
ThumbnailManager.prototype.setTnXYOffsets = function(tnPicXOffset, tnPicYOffset){
this.tnPicXOffset = tnPicXOffset;
this.tnPicYOffset = tnPicYOffset;
}
ThumbnailManager.prototype.setTnXYDistances = function(tnPicXDistance, tnPicYDistance){
this.tnPicXDistance = tnPicXDistance;
this.tnPicYDistance = tnPicYDistance;
}
ThumbnailManager.prototype.setTnMaxSize = function(tnPicWidth, tnPicHeight){
this.tnPicWidth = tnPicWidth;
this.tnPicHeight = tnPicHeight;
}
ThumbnailManager.prototype.setTnNumPerRow = function(tnPicNumPerRow){
this.tnPicNumPerRow = tnPicNumPerRow;
}
ThumbnailManager.prototype.setLoadingBarColors = function(loadingBarLineColor, loadingBarFillColor,
loadingBarHousingLineColor, loadingBarHousingFillColor){
this.loadingBarLineColor = loadingBarLineColor;
this.loadingBarFillColor = loadingBarFillColor;
this.loadingBarHousingLineColor = loadingBarHousingLineColor;
this.loadingBarHousingFillColor = loadingBarHousingFillColor;
}
ThumbnailManager.prototype.setOrigXYOffsets = function(origPicXOffset, origPicYOffset){
this.origPicXOffset = origPicXOffset;
this.origPicYOffset = origPicYOffset;
}
ThumbnailManager.prototype.setOrigMaxSize = function(origPicWidth, origPicHeight){
this.origPicWidth = origPicWidth;
this.origPicHeight = origPicHeight;
}
// Private methods
ThumbnailManager.prototype.loadOriginalPic = function(pic){
// check if the image is loaded - if so don't start the loading bar
var len = this.loadedPics.length;
for (var i=0; i < len; i++) {
if (this.loadedPics[i] == this.currentPic) {
this.mainPicLB._visible = false;
this.mainPic.loadMovie(pic);
return 0;
}
}
this.mainPicLB._visible = true;
this.mainPicLB.reset();
this.mainPic.loadMovie(pic);
this.mainPicLB.setLoadTarget(this.mainPic);
this.mainPicLB.start();
}
ThumbnailManager.prototype.configureSystem = function(){
// original image holder
this.mainPic = this.loaderMC.createEmptyMovieClip("main", this.availDepth++);
this.mainPic._x = this.origPicXOffset;
this.mainPic._y = this.origPicYOffset;
this.mainPicLB = this.loadingBarMC.attachMovie("LoadingBar", "mainPic_lb", this.availDepth++);
this.mainPicLB.setSize(this.tnPicWidth/2, 12);
this.mainPicLB.setLocation(this.origPicXOffset + this.origPicWidth/4,
this.origPicYOffset + this.origPicHeight/2 - 6);
this.mainPicLB.setColors(this.loadingBarLineColor, this.loadingBarFillColor,
this.loadingBarHousingLineColor, this.loadingBarHousingFillColor);
this.mainPicLB._visible = false; // hide loading bar mc
// status textbox
this.loaderMC.createTextField("status_tb", this.availDepth++, this.origPicXOffset +this.origPicWidth/4,
this.origPicYOffset + this.origPicHeight/2 + 6, 200, 40);
this.statusTB = this.loaderMC["status_tb"];
this.mainListenerObj = new Object();
this.mainListenerObj.container = this;
this.mainPicLB.addListener(this.mainListenerObj);
this.mainListenerObj.onProgress = function(percentValue){
// work-around for NaN value : TODO - fix this with the next release
this.container.statusTB.text = isNaN(percentValue) ? "" : percentValue + "%
";
}
this.mainListenerObj.onLoadingDone = function(){
this.container.statusTB.text = "";
// add loaded pic to the list - if it is not yet added
var len = this.container.loadedPics.length;
for (var k = 0; k < len; k++) {
if (this.container.loadedPics[k] == this.container.currentPic) return false;
}
this.container.loadedPics.push(this.container.curr entPic);
}
// preloaders for thumbnails
var x = 0;
var y = 0;
for (var i = 0; i < this.totalPicsNum; i++) {
x = this.tnPicXOffset + ((this.tnPicXDistance + this.tnPicWidth) * (i % this.tnPicNumPerRow));
y = this.tnPicYOffset + ((this.tnPicYDistance + this.tnPicHeight) * Math.floor(i / this.tnPicNumPerRow));
this["rect_"+ i] = this.loaderMC.createEmptyMovieClip("rect"+ i, this.availDepth++);
this["loader_"+ i] = this.loaderMC.createEmptyMovieClip("loader_mc"+ i, this.availDepth++);
this["loader_"+ i]._x = this["rect_"+ i]._x = x;
this["loader_"+ i]._y = this["rect_"+ i]._y = y;
// draw an invisible rectangle for catching mouse events
this.drawRectangle(this["rect_"+ i], this.tnPicWidth, this.tnPicHeight);
// add an onRelease event handler for thumbnails
this["rect_"+ i].useHandCursor = true;
this["rect_" + i].container = this;
this["rect_" + i].targetPic = this.originalPics[i];
this["rect_"+ i].onPress = function(){
this.container.currentPic = this.targetPic;
}
this["rect_"+ i].onRelease = this["rect_"+ i].onReleaseOutside = function(){
this.container.loadOriginalPic(this.targetPic);
}
this["loadingBar_"+i] = this.loadingBarMC.attachMovie("LoadingBar", "lb_"+i, this.availDepth++);
this["loadingBar_"+i].setSize(this.tnPicWidth/2, 12);
this["loadingBar_"+i].setLocation(x + this.tnPicWidth/4, y + this.tnPicHeight/2 - 6);
this["loadingBar_"+i].setColors(this.loadingBarLineColor, this.loadingBarFillColor,
this.loadingBarHousingLineColor, this.loadingBarHousingFillColor);
}
}
ThumbnailManager.prototype.start = function(){
this.configureSystem();
// start loading the thumbnails simultaneously
for (var i=0; i < this.totalPicsNum; i++) {
this["loader_"+i].loadMovie(this.thumbnailPics[i]);
this["loadingBar_"+i].setLoadTarget(this["loader_"+i]);
this["loadingBar_"+i].start();
}
}
// implementation:: create 2 empty MC's for loaders and loading bars
// and pass them as parameter to the instance of the ThumbnailManager
var myLoadingBarMC = createEmptyMovieClip("_lbar", 10);
var myLoaderMC = createEmptyMovieClip("_loader", 20);
// pictures (jpegs) to be loaded simultaneously
// Change it with your pictures
var myThumbnailPics = new Array("t_photo1.jpg", "t_photo2.jpg", "t_photo3.jpg");
// images are entered in order so that every thumbnail matches the original one
var myOriginalPics = new Array("photo1.jpg", "photo2.jpg", "photo3.jpg");
// parameters
// thumbnailPics: the array holding the names of the thumbnail images
// originalPics: the array holding the names of the original images
// loadingBarMC: an empty mc
// loaderMC: an empty mc
var myTM = new ThumbnailManager(myThumbnailPics, myOriginalPics, myLoadingBarMC, myLoaderMC);
// tnPicXOffset: the x offset of the first image
// tnPicYOffset: the y offset of the first image
myTM.setTnXYOffsets(0, 0);
// tnPicXDistance: horizontal distance between images
// tnPicYDistance: vertical distance between images
myTM.setTnXYDistances(10, 15);
// tnPicWidth: maximum img width
// tnPicHeight: maximum img heigth
myTM.setTnMaxSize(82, 80);
// tnPicNumPerRow: the number of images per row
myTM.setTnNumPerRow(1);
// loadingBarLineColor, loadingBarFillColor, loadingBarHousingLineColor, loadingBarHousingFillColor
myTM.setLoadingBarColors(0x660000, 0xff9966, 0x660000, 0x660000);
// origPicXOffset: the x offset of the original image
// origPicYOffset: the y offset of the original image
myTM.setOrigXYOffsets(250, 95);
// origPicWidth: maximum img width
// origPicHeight: maximum img heigth
myTM.setOrigMaxSize(360, 240);
// start preloading the thumbnails first
myTM.start();
When I use the scroll pane the gallery never shows up.
Thanks for any help. This is driving me crazy
Sasa
View Replies !
View Related
Targeting A Movie Clip In A Scroll Pane
Hello mates.....i want to know how to target a movieclip which is in a scroll pane....i want to zoom in and zoom out the mc size in scroll pane. It would be great someone experiment with the fla and post the solution.
http://rapidshare.de/files/24533482/test.fla.html
View Replies !
View Related
Dragging Movie Clips Out Of Scroll Pane.
hi, i'm trying to figure out a way to get all these movie clips to drag out of the scroll pane. one of the problems is, i'm using a drag and drop component to add snapping and alpha to the drag. i've read all the other posts about how others have done this, but i just haven't been able to apply it to my problems here. any help out there? thanks.
here's just a sketch of what i'm trying to do with a scrollpane:
check it out here.
View Replies !
View Related
Load Movie/Scroll Pane Component
i am new to the ui components so if my question is confusing i am sorry. i'm building a video player and in order to properly display the movie list i thought i could use the ui scroll pane component. the only problem is it calls for an external .swf file to be loaded in. my concern is i don't know how to set up the load movie function from an external .swf loading into the root flash file. also is there a way to attach the ui component to a movie clip?
View Replies !
View Related
Scroll Pane And Attaching Movie Clips Inside It
Hi Guys. Does anyone know how to do this as its doing my head in
I have a scroll pane which is called 'mypane' on the main timeline. I then have a movie clip called mymc which I want to duplicate 5 times into the scroll pane and have it scroll vertically.
I can duplicate the mc's fine normally but cant seem to get them to duplicate inside the scroll pane and then allow it to scroll through them.
Can anyone offer some help?
Thanks.
View Replies !
View Related
Scroll Pane / Levels / Dynamic Movie ISSUES *$##@
Ok, lets see who can solve this one. I am a newbie to Flash MX. However, I have pretty extensive development and design knowledge. I am in the process of building a "datagrid" like component that allows for movieClips as well as text.
I have all of the duplicateMovieClip and the likes working fine. However, as soon as I try to insert the dynamically created movie in to the scroll pane, I only see the very first Element. Which happens to be at level0. The rest of the movies move from there..
So I am assuming that I am having level issues. Well being from a 2d world, I seemingly can not wrap my mind around the whole levels thing. Can someone please check out this code, and tell me what a crack head I am?
Code:
myarray = new Array();
myarray[0] = {jobtitle:"Creative Director", company:"PCMI, Inc", description:"This is the descirption"};
myarray[1] = {jobtitle:"Creative Assistant", company:"UN Printing", description:"This is the descirption"};
myarray[2] = {jobtitle:"Creative Assistant", company:"UN Printing", description:"This is the descirption"};
myarray[3] = {jobtitle:"Creative Assistant", company:"UN Printing", description:"This is the descirption"};
this.createEmptyMovieClip("container", 1);
for (i=0; i<myarray.length; i++) {
container.attachMovie("BCJobListElement", "name"+i, i);
container["name"+i]._y = this._y+i*61;
container["name"+1]._x = this._x;
container["name"+i].thisCompany.text = myarray[i].company;
container["name"+i].thisJobTitle.text = myarray[i].jobtitle;
container["name"+i].thisDescription.text = myarray[i].description;
trace(container["name"+i]);
}
mypane_sp.setScrollContent(container);
View Replies !
View Related
MX Scroll Pane Component And Duplicated Movie Clips
I have a movie clip, inside of which is a movie clip instance that i am duplicating many times (currently 116). my AS that duplicates the script creates rows and columns as it should just fine, but the MX scrollpane component that i've put on the stage is not reacting to the increased size of the MC - that is, it's not seeing extra vertical content and consequently not scrolling it. i thought maybe i could fix this by initially specifying the _height of the main MC in question, but that did nothing.
do i need to dynamically attach the scroll pane component once the main MC has been satisfactorily built by the AS?
Thanks a lot for your help.
View Replies !
View Related
Load A Movie Clip From An External.swf Into A Scroll Pane Component
Hi Guys
Is it possible to load a movie clip from an external.swf into a scroll pane component.
Therefore 2 different swf movies. 1 for the scroll pane and 1 for the content.
I am aware that I have to give the content of the scroll pane an identifier such as ‘scrollpanecontent’ or whatever, however how will I target the scroll pane when the content is in an external .swf (if this is possible)
Thanks for any help that can be provided
View Replies !
View Related
Scroll Pane Selection Puts Movie Instance On Stage?
I have a flash movie (Flash MX) where users can move furniture around and place it in different places to see how they want to arrange their room.
I have an autocad 2D file room layout as my main stage. Then I make furniture (individual movie clips) and place the clips on the stage in an arrangement that fits inside the room. After I place a movie clip on the stage, I put the following action on it:
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.startdrag(false);
}
}
onClipEvent(mouseUp) {
stopdrag();
}
onClipEvent (keyDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (Key.getCode()==Key.Right) {
this._rotation +=15;}
else if (Key.getCode() == Key.Left) {
this._rotation -=15; }
}
}
I want to take this to a more sophisticated level.
What I am wanting to do is make a scollable box where the user can select a piece of furniture, and then it pops on the stage with the drag/rotation action on it (the above code). That way, the user can use a piece of furniture as many times as they want and it is not dependant on what I put on the stage when I design it. The stage would be blank (except for the background as a autocad 2-d room drawing. currently, I just place the exact number of pieces on the stage and then the user can only move the clips I have put on the stage.
Is there a tutorial anywhere that can guide me?
Thanks in advance for the help.
View Replies !
View Related
Imbedded Dynamic Scroll Pane Movie Clip Wont Load - WTF
Hello group again,
Back with another scrol pane issue. So I got the dynamic scroll pane working - see the thread "Dynamic FScrollPane" but again have a loading issue, this time when I try to load a Library Movie Clip with the dynamically loading scroll pane onto a main timeline.
that is to say...I've created a scollpane that loads images via XML. To get that to work I had to build a loop to wait for the images to load before refreshing the scrollPane. Now I want to use that object as a library movie clip. However when I attach the Movie Clip the scroll pane does not load.
Seems the movie plays automatically when loaded (when I comment out the scroll pane the movie clip plays fine). But the scroll pane is not loading or not refreshing. Do I need another loop? Can I not imbed the scroll pane movie in another movie clip?
View Replies !
View Related
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
View Replies !
View Related
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
View Replies !
View Related
Scroll Pane Scroll Speed.
Can anyone tell me how to change the speed of scrolling for the scroll pane in MX? I have looked all over for it, but find nothing. When I am scroll it moves like half a line at at time...I'd like to see it faster.
Thanks
View Replies !
View Related
Scroll Bar - Scroll Pane Issue
I have a scroll pane issue that I can't seem to solve. The issue is, if I load my scroll pane with an image and then on mouseover of the scroll pane change my cursor, I can no longer use the scroll panes scroll bars with my new cursor. If I remove all of my zoom code and just change the cursor the result is the same.
this is my code:
Code:
this.zoom_in.onPress = function() {
var zoomin = false;
pictures.onRollOver = function() {
zoomin = true;
Mouse.hide();
this.attachMovie("mag_in", "cursor_mc", this.getNextHighestDepth(), {_x:this._xmouse, _y:this._ymouse});
};
pictures.onMouseMove = function() {
this.cursor_mc._x = this._xmouse;
this.cursor_mc._y = this._ymouse;
};
pictures.onRollOut = function() {
zoomin = false;
Mouse.show();
this.cursor_mc.removeMovieClip();
};
pictures.onMouseDown = function() {
if (zoomin=true) {
if (pictures.content.myLoader.scaleX>=1600) {
this.zoom_in.enabled(false);
bgSound.start();
} else {
pictures.content.myLoader.scaleX *= 1.5;
pictures.content.myLoader.scaleY *= 1.5;
trace(Math.floor(pictures.content.myLoader.scaleX));
}
pictures.invalidate();
}
};
};
View Replies !
View Related
Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.
And if possible how to simulate the scroll bar too.
thanks
View Replies !
View Related
Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.
And if possible how to simulate the scroll bar too.
thanks
View Replies !
View Related
Scroll Pane
Does anyone know how to use the 'scroll pane' component? I thought it was like the scroll bar, where you can drag it to the text field and it adjusts itself to the field. I read the scroll pane was drag and drop, but nothing I drag to it works. Am I doing something wrong?
yeffer
View Replies !
View Related
Scroll Pane
Hi all,
Is there any way to scroll down a scroll pane with a button? Or at least to jump for example 50px down within the Scroll pane.
Thanks!
Natsurfer
View Replies !
View Related
Scroll Pane
I am going to be creating a web site and I need a scroll pane on it. How would I go about doing an easy scroll pane that would match (so I can change colors). I just got flash and I dont understand the fancy actionscript talk, so the simplist chat would be the best for me. Thanks in advance !
View Replies !
View Related
Scroll Pane Help Please
i recently posted over the weekend about trying to use scroll bars for text and images and the moderator estudioworks was kind enough to point me in the right way by telling me to use scroll pane.
now the problem i have is:
a: text and images are exceeding the scroll bar boundries. by this i mean, say i have 600x600 stage and the scroll bars are defined at 300x300, the text and images start in the box but as soon as you start scrolling down, the text go beyond the scroll bar boundries (as opposed to "disappearing" and go over the background graphics.
b: i am also trying to customize the skins for the scroll pane which some pretty bad results. is there a tutorial out there someone can point me to?
c: lastly i'm also trying to get rid of the default white background the scroll pane uses, i'm thinking this is also a skin, but i can't seem to find it.
thanks in advance
lawrence
View Replies !
View Related
Scroll Pane
on a scrollPane.loadScrollContent where the image size is bigger than the scroll pane how do you set the scroll bars. not sure what's going on because even though it loads the jpg when i debug it the loadContent is undefined as are content hieght and witdth.
Code:
if (imagepath != "No Image Found For This Record" or undefined) {
this.attachMovie("FScrollPaneSymbol", "iBar", 10);
this.iBar._x = 575;
this.iBar._y = 0;
this.iBar.setSize(400, 250);
this.iBar.loadScrollContent(imagepath);
this.iBar.refreshPane();
}
any assistance is appreciated.
View Replies !
View Related
Scroll Pane Please Help
Hi,
First I create an mc that has basically a bunch of Thumbnails, which I attach from the library. Every Thumbnails has a text field associated to it. All of it get's created properly, but as soon as I set it to to scrollPane using setscrollcontent, The Text is there but the Thumbnail(attached .gif from the library is not visible.
Any Idea why? Is this not possible?
Thanks
View Replies !
View Related
MX Scroll Pane
Hi all,
Ever have one of those days where your head is just numb? Today is such a day.
For the life of me I can't do this-
dynamically load a jpg into a movie clip
dynamically Load this movie clip into the scrollpane
the idea is to create a slideshow with a scrollpane down the bottom with thumbnails that have been dynamically loaded from a folder into the scrollpane, then once you click on a thumbnail a large jpg will dynamically load into a movieclip on the stage.
I just can't seem to get my head around it today.
thanks in advance....
View Replies !
View Related
SWF In Scroll Pane
Hello All,
Hope somebody has an idea of how to fix this. I have the scroll pane component that has a SWF loaded into it when it loads. The SWF in the scroll pane has multiple frame labels on it's timeline.
I am trying to tell the SWF in the scroll pane to gotoAndStop() on a frame label that is pulled from an array.
Code sample:
PHP Code:
level0.content_sp.loadTemp.gotoAndStop(curPage_array[0]);
For some reason it will not reference it in any way.
Any ideas?
Any help is greatly appreciated.
Thanks,
Brian
View Replies !
View Related
Scroll Pane Help?
Hey. well, i am having some trouble. I am making a site in dreamweaver, and trying to use flasha s well, and i want to ahve a spot on the front page where i can post news and updates which are relative to my site. i am also trying to make my site so that you will never have to use the scroll bar to the far right in explorer, but only a flash scroll bar which will alwasy be in the middle ofa page, so that i an have every page looking basically the same except for the content in that particular scrollpane.
so, my problem i this. i can mke a 700 px X 350 px scroll pane, by dragging it in from the components list and resizing and whatnot, but cannot get the scroll buttons on it, and have no idea how to add content further down the scroll pane, that you will ahve to scroll down to to see it... i think that makes sense. can someone help me out?
View Replies !
View Related
Scroll Pane Help?
Hey. well, i am having some trouble. I am making a site in dreamweaver, and trying to use flasha s well, and i want to ahve a spot on the front page where i can post news and updates which are relative to my site. i am also trying to make my site so that you will never have to use the scroll bar to the far right in explorer, but only a flash scroll bar which will alwasy be in the middle ofa page, so that i an have every page looking basically the same except for the content in that particular scrollpane.
so, my problem i this. i can mke a 700 px X 350 px scroll pane, by dragging it in from the components list and resizing and whatnot, but cannot get the scroll buttons on it, and have no idea how to add content further down the scroll pane, that you will ahve to scroll down to to see it... i think that makes sense. can someone help me out?
View Replies !
View Related
Scroll Pane
Hi there, im trying to use the Scroll Pane UI component in flash MX to make a movie clip scrollable. Thing its the first time i have ttried this and the tutorials in flash were useless. I drag a pane onto the frame but dont know how to get it to display my movie clip inside. Can anyone help?
Thanks, ste.
View Replies !
View Related
Scroll Pane
ok this might sounds really stupid but how the hell do you use the scroll pane component?????? ive tried scripting it to control a movie clip, a graphic symbol you name it ive tried it it just displays as a white box in flash mx and doesnt scroll anything!
thanks for any help!
View Replies !
View Related
Scroll Pane
i have a scrollpane sitting inside a movie.
I have another movie with a paragraph of text and have exported it for actionscript
In the Scroll Content Properties of my scrollpane, i have given the linked name of my text movie. But but but..Why won't it work?
Is it the fact that the scrollpane is nested in a movieclip cos i've done it before without nesting it and it has worked?
View Replies !
View Related
Scroll Pane
I am using Flash MX and i am wanting to use a scrolling pane to handle the site that i am developing. I purchase a template, but i am having an issue of figuring out how i put the site into the pane, so that the viewer will have to scroll to the bottom and scroll left or right.
Is there a tutorial for this that anyone knows of, or if someone has time to briefly explain it to me, i would appreciate it.
Thanks everybody...
Ren
View Replies !
View Related
|