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








Help With MP3 List-Scroolbar, Scrollpane Or Other?


I have used the tutorial http://www.kirupa.com/web/xml/examples/MP3playlist.htm to set up an mp3 player in my webpage. The problem is the example has less songs than I do. So the list of songs extends out of the movie clip that is set at h-160 x w-149 in Flash 8. How do I get the list to stay within these parameters and scroll from song to song. The tutorials for scrollpane and scrollbar do not seem to be the correct fix. I've search the interent, these forums and the tutorials on this web site to find something that works and I am not having any luck. Again I have the ubove example set up exactally except for the song choices. Any help on what to use and how to do it would be great.

Thanks




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-09-2008, 01:08 PM


View Complete Forum Thread with Replies

Sponsored Links:

Some Scroolbar Help
Ok here's what i need help with. I want to have text that scrolls. I know how to do it using a dynamic text feild and a component but the problem is that i want to use a special text within the text box. This will work fine if the font i used is installed on the computer you veiw the site on but if veiwed on a computer without the font it goes to a default font. this is understandable and i beileve it's the point of dynamic text field. I am just wondering if there is a way to use a scrollbar perhaps on a masked movie clip so i can use dynamic text that will display on all computers. Thanx for any help.
josh

View Replies !    View Related
Tutorial For Scroolbar
Hey

I wanna add a scroolbar to a very large image.

Does anyone have a tutorial or know where I can find one?

thanks

i might add that the pictures loads trough the loader component

View Replies !    View Related
List Of Property Name For Scrollpane
anyone know where i can get the list? ex:fontWeight, borderStyle, etc

thanx!

View Replies !    View Related
[F8] How Do I Make A Scroolbar With Pictures And Text In?
how do i make a scroolbar with pictures and text in?


Many Thanks
True Vision

View Replies !    View Related
What Is This? DataGrid, List, ScrollPane, TileList?
Another simple question.

http://www.flasherize.com/flashchat.php (just hit enter, choose any room)

What is the component on the right side for the user list?

View Replies !    View Related
ScrollPane Inside List Component
Hey alll...

How do I color the scroll bar inside the List Component. I know it's an instance of the ScrollPane class and I would use "scrollTrackColor" but I'm not sure how to implement it exactly.

for the List component, I have:

Code:

_global.styles.ScrollSelectList.setStyle("backgroundColor", 0x000000);
_global.styles.ScrollSelectList.setStyle("color", 0xffffff);
_global.styles.ScrollSelectList.setStyle("fontFamily", "OldSansBlack");
_global.styles.ScrollSelectList.setStyle("fontSize", 14);
_global.styles.ScrollSelectList.setStyle("borderStyle", "none");

View Replies !    View Related
Where Does A ScrollPane [source] Object Go On The Display List?
I am writing a display engine that uses sprites nested recursively in order to position and display content. I tried to integrate a custom scrollbar into this by creating a mask of the desired size of my sprite containing content, and then scrolling the content sprite underneath it. That works fine, however when the content sprite takes on a larger height than its parent (even though it is masked) then its parent stretches, in turn stretching its parent, all the way up the tree breaking my relative positioning! Is there some way to prevent this from happening? Is there a way to prevent a parent Sprite from stretching when its child Sprite becomes larger than it is?

I do not want to have to resort to using the ScrollPane component but i'm afraid I might have to, because this seems to circumvent this problem. When I add a sprite as the .source property of the ScrollPane, that sprite is removed from its parent's display list and so it doesn't break the layout. However -- where does it go? I can not find what new display list it has been added to. Does anyone understand how the ScrollPane works in terms of the display list?

Thanks in advance to anyone who has any thoughts on this. I'm sure it must have come up before, but I have not been able to find anything.

-egg

View Replies !    View Related
Where Does A ScrollPane [source] Object Go On The Display List?
I am writing a display engine that uses sprites nested recursively in order to position and display content. I tried to integrate a custom scrollbar into this by creating a mask of the desired size of my sprite containing content, and then scrolling the content sprite underneath it. That works fine, however when the content sprite takes on a larger height than its parent (even though it is masked) then its parent stretches, in turn stretching its parent, all the way up the tree breaking my relative positioning! Is there some way to prevent this from happening? Is there a way to prevent a parent Sprite from stretching when its child Sprite becomes larger than it is?

I do not want to have to resort to using the ScrollPane component but i'm afraid I might have to, because this seems to circumvent this problem. When I add a sprite as the .source property of the ScrollPane, that sprite is removed from its parent's display list and so it doesn't break the layout. However -- where does it go? I can not find what new display list it has been added to. Does anyone understand how the ScrollPane works in terms of the display list?

Thanks in advance to anyone who has any thoughts on this. I'm sure it must have come up before, but I have not been able to find anything.

-egg

View Replies !    View Related
Where Does A ScrollPane [source] Object Go On The Display List?
I am writing a display engine that uses sprites nested recursively in order to position and display content. I tried to integrate a custom scrollbar into this by creating a mask of the desired size of my sprite containing content, and then scrolling the content sprite underneath it. That works fine, however when the content sprite takes on a larger height than its parent (even though it is masked) then its parent stretches, in turn stretching its parent, all the way up the tree breaking my relative positioning! Is there some way to prevent this from happening? Is there a way to prevent a parent Sprite from stretching when its child Sprite becomes larger than it is?

I do not want to have to resort to using the ScrollPane component but i'm afraid I might have to, because this seems to circumvent this problem. When I add a sprite as the .source property of the ScrollPane, that sprite is removed from its parent's display list and so it doesn't break the layout. However -- where does it go? I can not find what new display list it has been added to. Does anyone understand how the ScrollPane works in terms of the display list?

Thanks in advance to anyone who has any thoughts on this. I'm sure it must have come up before, but I have not been able to find anything.

-egg

View Replies !    View Related
Problems With Custom Scroolbar And Updating Dynamic Text
I am currently creating an application that contains a Dynamic scroll bar through direction from Todd Lajoie Flv modification thread that plays a Xml video list. It works perfectly but now I want to take it a step further by having a dynamic text field in a header area change as the selections change.
I currently have it working to a point where the dynamic text field changes on the first selection but never changes if I select another option.
posted below is my code any help will be most appreciated.

Code:

var vlist:XML = new XML();
vlist.ignoreWhite = true;
var listClips:Array = new Array;
var whoIsOn:Number = 0;
var yBegin:Number = videoList._y;

vlist.onLoad = function() {
   var videos:Array = this.firstChild.childNodes;
   for(i=0;i<videos.length;i++) {
      var a = videoList.attachMovie("listEntry", "listEntry"+i, videoList.getNextHighestDepth());
      listClips.push(a);
      a._y = a._height*i;
      a._alpha = 10;
      loadMovie(videos[i].attributes.thumb, a.tHolder);
      a.vName.text = videos[i].attributes.track; 
      a.numb = i;
      a.urlLink = videos[i].attributes.url
      a.yLoc = (yBegin + (mask._height/2)) - (a._y + (a._height/2));
      a.onRelease = function() {
         getNewVid(this)
      }
      a.onRollOver = function() {
         if (this.numb <> whoIsOn) {
            this._alpha = 100;
            this.accent._alpha = 100;
            this.back._alpha = 0;
         }
      }
      a.onRollOut = a.onReleaseOutside = function() {
         if (this.numb <> whoIsOn) {
            this._alpha = 66;
            this.accent._alpha = 0;
            this.back._alpha = 100;
         }
      }
      a.onRelease = function() {
         if (this.numb <> whoIsOn) {
            getNewVid(this);
         }
      }
   }
   yEnd = yBegin - videoList._height + mask._height + 5;
   getNewVid(listClips[whoIsOn]);
   trackInfo.text = listClips[whoIsOn].vName.text
   
   
   
}
   
vlist.load("videos.xml");

videoList.onRollOver = scrollPanel;

function panelOver() {
   speed = 15;
   this.onEnterFrame = scrollPanel;
   delete this.onRollOver;
}

var b = mask.getBounds(_root);

function scrollPanel() {
   if (_xmouse<b.xMin||_xmouse>b.xMax||_ymouse<b.yMin||_ymouse>b.yMax) {
      this.onRollOver = panelOver;
      delete this.onEnterFrame;
   }
   
   var yDist = _ymouse - 350;
   videoList._y += -yDist/speed;
   
   if (videoList._y >= yBegin) {
      videoList._y = yBegin;
   }
   if (videoList._y <= yEnd) {
      videoList._y = yEnd;
   }
}

function getNewVid(who) {
   ns.play(who.urlLink);
   whoIsOn = who.numb;
   z = who.yLoc;
   if (z >= yBegin) {
      z = yBegin;
   }
   if (z <= yEnd) {
      z = yEnd;
   }
   easeList(z);
   for (i=0; i<listClips.length; i++) {
      if ( listClips[i].numb == whoIsOn ) {
         listClips[i]._alpha = 100;
         listClips[i].frame._alpha = 100;
         listClips[i].back._alpha = 0;
         listClips[i].accent._alpha = 0;
      }else {
         listClips[i]._alpha = 66;
         listClips[i].frame._alpha = 0;
         listClips[i].back._alpha = 100;
         listClips[i].accent._alpha = 0;
      }
   }
}

function easeList(where) {
   delete videoList.onRollOver;
   delete videoList.onEnterFrame;
   videoList.onEnterFrame = function() {
      yDist = (videoList._y - where)/7;
      videoList._y-=yDist;
      if ((videoList._y < (where+2)) && (videoList._y > (where-2))) {
         delete videoList.onEnterFrame;
         videoList.onRollOver = panelOver;
      }
   }
}

Thank you for your help.

View Replies !    View Related
Using List Inside ScrollPane - XML Loaded Text Won't Display.
Greetings all,
i'm working on a website that uses a ScrollPane which has pages that change inside of it. On one page there is a List component which has it's text dynamically loaded via XML. (each line also is a link to another site)

When i test just the scene with the List component, the text loads fine and everything is hunkydory...
but when i test the movie, the List text doesn't display - everything is just white, and i can click on where the text would be.
I'm using the Garamond font, which i thought i had embedded for another part of the site, but the text doesn't display.

could someone please explain to me how i get the text to display?

TIA!!!

View Replies !    View Related
Load Xml Data(list Of Names), Use List As Buttons In Flash Possible?
Hi, basically I have a quiz game that I made, the quiz is done but I want to keep track of how many times a person has failed the quiz. I have an XML file that has a list of names. I want to take those names, put them in a quiz game (at the beginning) as a "list" of some sort and let the user be able to choose their own name (which is of course already in the XML file). This name will be used to keep track of how many times they have tried the quiz.

I have successfully loaded the XML file (names) into an ARRAY in Flash but how can I output them to the screen AND let the user be able to choose those from the list? as a button? This will add the count after they clicked their name to +1 and then save it to somewhere(where is best?). I will attach the zipped files (there are 4, the fla,swf,2 XML files[quiz/names]). If anyone can help me ASAP it would be awesome.

View Replies !    View Related
Chnage The Font Of Selected Item Color In A List Mx:List
Hi,am Trying to change the font (bold and color) of a selcted item in List..But it is changing the complete list's font..

Here it is my code..
<mx:List id="businessFunctions" left="10" right="10" bottom="10" top="208"
dataProvider="{processList}"
itemClick="select();"
horizontalScrollPolicy="auto"
labelField="@name"/>


ActionScript COde:
private function select():void
{
businessFunctions.setStyle("textSelectedColor","#D 3E9F5");
businessFunctions.setStyle("fontWeight","bold");

var page:XML = businessFunctions.selectedItem.page[0];
var pageID:String = page.@id;
var processID:String = businessFunctions.selectedItem.@id;

server.submit(pageID, processID, RequestMessage.BEGIN);
}



Here i need toc hange the selected item color only..

View Replies !    View Related
[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.

View Replies !    View Related
Separate The List Items With The Separator And List Is Dynamic
Hi,
I am getting the list items dynamically ,and hv to draw a separator after the every group of list items.For this I have to embed a script function after every group.How can i do this Actionscrip 3.0 Any help?

Ex:

Group 1:

ABC
DEF
GHI

TODO-----Here we need to draw a line
Group 2:

123
456
789

TODO-----Here we need to draw a line
Group 3:


abc
def
ghi

Here I have da code:

for each(var group:XML in event.responseMessage.rawXML.group)
{
var pageSection:PageSection = new PageSection();

pageSection.text = group.@name;
pageContents.addChild(pageSection);
trace("***********Group Name: "+group.@name);

// once the section has been added, iterate through it's children and render each field.
// for each(var field:XML in server.currentPage..field)
for each(var field:XML in group.field)
{
var formElement:FormElement = AppCode.FieldRenderer.renderField(field, pageSection);
/* check for null, if for some reason we encounter an unknown control type
* the formElement will not be instantiated so we should skip over it.
*/
if(formElement != null)
{
/* formElement.field = field;
pageSection.addChild(formElement); */

formElement.setRuleDetails = this;
formElement.communicator = this.communicator;

if(event.responseMessage.pageType == PageType.UPDATE || event.responseMessage.pageType == PageType.ADD )
formElement.readOnly = false;

fieldList.push(formElement);
}


}
//Add Separator b/n groups

TODO...Here we need to call a function which draws a line.....}


Plz help me if u have any idea?

View Replies !    View Related
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

View Replies !    View Related
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!

View Replies !    View Related
Debug > List Objects + List Variables ...
I am testing my flash movie within the flash application. I go up to the toolbar while testing and select 'Debug > List Variables' and then 'Debug > List Objects'. This displays all the variables and all the objects in the trace window. Fairly straight forward!

What I want to do is access these variables and objects at runtime while viewing my flash movie within the browser. So I can make a text field in my movie and populate it with these variables and objects BUT how do I access these from the flash movie ? There must be a way to get the output from 'Debug > List Variables' and 'Debug > List Objects' at runtime and dump it all into a text field on screen.

Can anyone assist please,
Thanks,
Stephen.

View Replies !    View Related
Converting Bulleted List To Numbered List
I'm trying to put out a list of questions for a test. I'm also using a stylesheet to format the way the text is displayed. This is the way the list should look like:

1. question#1 text.............................................. ......

2. question#2 text.............................................. ......

If more than one line of text per question, it continue on the next line indented. The text for each question needs to be looking like a block of text. The same way a bulleted list displays.

This format can be created by using the <ol>, <li> tags in HTML. But Flash doesn't recognize any style formats for the <li> tag. Only a bulleted list is printed out. How can I format that list into a numbered list? or if not how can I create the same output, keeping in mind that I have to use a stylesheet? Thanks.

View Replies !    View Related
Debug > List Objects + List Variables ...
I am testing my flash movie within the flash application. I go up to the toolbar while testing and select 'Debug > List Variables' and then 'Debug > List Objects'. This displays all the variables and all the objects in the trace window. Fairly straight forward!

What I want to do is access these variables and objects at runtime while viewing my flash movie within the browser. So I can make a text field in my movie and populate it with these variables and objects BUT how do I access these from the flash movie ? There must be a way to get the output from 'Debug > List Variables' and 'Debug > List Objects' at runtime and dump it all into a text field on screen.

Can anyone assist please,
Thanks,
Stephen.

View Replies !    View Related
(Flash MX Or 8) List/List Component Issues
Hello all.

I recently completed Kirupa's "Creating a Listbox" tutorial, (http://www.kirupa.com/developer/mx/listbox.htm) but have been having a difficult time modifying the event attributes of each list item. Basically, I want to click on an item and have an object on the stage move to a unique xy coordinate. I can get the object to move already (object._x = object._x +10, but unfortunately ALL items on the list execute this script command. I've tried fooling around with the code to get each item to do a unique movement but...well, clearly I haven't succeeded yet.

I'm a Flash nooby and help in the form of specifics would be greatly appreciated. If you can provided modified code from the tutorial to move an object to a unique positions that's even better.

Thanks.

David

View Replies !    View Related
List Component. Help. Looked Everywhere. Button And List.
Trying to use a list component and a button. When user selects something from list component and clicks button it takes them to new page, if user doesnt select something from list and hits button, (this is where my question lies) I want it to do nothing and setFocus to list component.

Here is how I am going about it now: New if statement (however it still transfers user if nothing is selected from list component) How can I get it to not transfer? I have tried rewritting this many ways, searched all over the nets, and Nada.


Code:
var arUrl:Array=["/browsecategory.aspx?cat=1","/browsecategory.aspx?cat=2","/browsecategory.aspx?cat=3","/browsecategory.aspx?cat=4"];

var provider:Array=[{label:"Option 1",data:0},{label:"Option 2",data:1},{label:"Option 3",data:2},{label:"Option 4",data:3} ];

mcList.dataProvider=provider;
var obj:Object={};
obj.click=function(eo:Object)
{
var count:Number=mcList.selectedItem.data;
getURL(arUrl[count],"_blank");
trace("count="+arUrl[count]);
}
but.mcSubmit.addEventListener("click",obj);/////here is where I am sending off
if(mcList.selectedIndex == undefined) {
setFocus.mcList;
}
So this thing works perfectly, however if user hasnt selected anything how can I get it to not transfer and setFocus?

I have tried setting if to check it for - 1 (since starts at 0) set to 0? Any ideas please help. Thanks in advance MT

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
'list' Event Of List Component
oops i mean 'change' event of list component

Hi guys/gals. Ive made an xml/list component driven mp3 player as can be viewed at http://www.flashmatics.co.uk/blog/sa...mp3player.html

When someone selects a new song from the list that songs starts to play. Everything is working fine.

I now want to add an extra bit of functionality i.e When one song finishes i want the next song to start playing. But this means I have to tell the list component that a change has occured as well (even though there has been no user interaction to cause this 'change'). How would I go about this. Here is a snippet of relevant code.


Code:
mySound.onSoundComplete = function():Void{

//from here i need to tell the component a change has occured and to move it
//to the next song in the menu
}


//create a listener for the list component
var compListener:Object = new Object();
list_comp.addEventListener("change", compListener);

compListener.change = function(info:Object):Void{
//how do i get this to move to the next track?
}
Thanks for any help in advance. I dont actually need the whole code or anything but rather a point in the right direction..cheers

View Replies !    View Related
HELP Symbols List To Text List?
Is there a way to get a list of all the symbols in the library into a text file quickly and easily?
Thanks in advance!
-Ted

View Replies !    View Related
Loading XML List Into RMP List Component
I have several XML lists to load into a RMP List Component List Box.
I was told the code should be like:

myButton.onRelease=function(){
myList.load(String(search.text));
}

So I made a button and named the instance "myButton"
Add the list component called "myList"
The XML files are named test1.xml, test2.xml etc.

I tried variations of:

myButton.onRelease=function(){
myList.load(String(test1.xml));
}

Result....

Nota

I think I may need a Listener or I am not sure...
Can anybody please advise me what I am doing incorrectly?

View Replies !    View Related
List's "CellRenderer_upSkin" Displays In List Items (BUG?)
Hi Everyone,

I'm having a huge issue with with the CellRenderer_upSkin displaying on the a list component's items:

http://www.davestewart.co.uk/temp/combobox.gif

It's supposed to display a border round the entire list, but bizarrely, it's also used for each of the list elements... so effective end result is that the up state has a huge border.

I'm sure this shouldn't be happening. Has anyone else seen this behaviour?

This is my first production job using AS3, and I'm falling at the first hurdle which is very annoying.

Cheers for any help,
Dave

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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");
};

View Replies !    View Related
List Box To Control A List Box
hi guys and gals...here is my doubt...

// Sets the change handler for the Component named 'dropDown'.
listBox.setChangeHandler("SelectItem");
}

// This is the Change handler it tells the the movie what to do when someone clicks on an item.
function SelectItem(){
DataBox= listBox.getSelectedItem().data;
}

the above code is for the listbox change handler to display the code of an item whose clicked in the listbox.....heres what i want to do ....i want this item which is clicked to again query the msaccess database and return results from another table into a second listbox......
for eg...when blue is clikced in a listbox1..it should return types of blue in a second listbox2....pls help me to achieve this ......

thanx in advance

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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!

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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!!

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved