Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-02-2012, 06:10 PM   #1
blueskadoo
Registered User
 
Join Date: Mar 2012
Posts: 5
Default [AS2] Flash 8 Scrollpane help

ok im working on making a site with drop downs that play when you scroll over a menu, and my main content will be in a scroll pane with the instance name of "info" menu bar has 3 buttons that are just buttons on the first frame of the main timeline, and the actionscript in them works to change my scrollpane content as follows

on (release) {info.contentPath ="sponsors.swf";

}

but the 2 drop downs i created using a movie clip that when rolled over displays more buttons, the buttons in this movie clip when using that code will not change the content of the scrollpane... what am i doing wrong or why does this not work? please help thanks!
blueskadoo is offline   Reply With Quote
Old 03-02-2012, 06:14 PM   #2
tacos
Grrrrrrrrreat!
 
tacos's Avatar
 
Join Date: Apr 2007
Location: Montréal, Québec
Posts: 5,473
Default

You don't have enough posts to attach files or post links...

Upload your .fla to http://www.tinyupload.com and then provide here the link to download it... Since you can't really post links either, omit the http://www part when posting it...
__________________
WHO I WAS...
BANDS OF THE 80's
tacos is offline   Reply With Quote
Old 03-02-2012, 06:19 PM   #3
blueskadoo
Registered User
 
Join Date: Mar 2012
Posts: 5
Default

s000.tinyupload.com/index.php?file_id=79844924989450654145&gk=transfer
blueskadoo is offline   Reply With Quote
Old 03-03-2012, 12:33 AM   #4
tacos
Grrrrrrrrreat!
 
tacos's Avatar
 
Join Date: Apr 2007
Location: Montréal, Québec
Posts: 5,473
Default

Syntax should be...

ActionScript Code:
on (release) {     this._parent.info.contentPath = "players.swf"; }
__________________
WHO I WAS...
BANDS OF THE 80's
tacos is offline   Reply With Quote
Old 03-03-2012, 04:17 AM   #5
blueskadoo
Registered User
 
Join Date: Mar 2012
Posts: 5
Default

thanks a bunch!
blueskadoo is offline   Reply With Quote
Old 03-03-2012, 04:22 AM   #6
blueskadoo
Registered User
 
Join Date: Mar 2012
Posts: 5
Default

but one last info, the team page has 5 buttons to load all of the players profiles into the scroll pane, the code you gave me fixed the buttons, but what would it be to make a button in a movie clip in the scrollpane change the contents of the pane to say "profile1.swf"
blueskadoo is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:30 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.