|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Articles
Join Date: Apr 2001
Posts: 0
|
Discussion thread for Flash Script - Scrolling Menu With A Scrolling Background
This is a dedicated thread for discussing the SitePoint article 'Flash Script - Scrolling Menu With A Scrolling Background'
|
|
|
|
|
|
#2 |
|
SitePoint Community Guest
Posts: n/a
|
Great script. I have one question about the parameters passed in the function call:
// call function xpos x_pos = xpos(950,.75); Specifically, why use 950 as the bar length when the object we want to move is ~1045 in length? Thanks for any comments on this! -Seth in Austin, TX. |
|
|
|
#3 |
|
SitePoint Community Guest
Posts: n/a
|
Okay I basically edited this scrolling menu with what i needed it to look like, and when I open the SWF file it works great. But when I import it into my other flash presentation, it shows, but doesnt move. Please advise.
|
|
|
|
#4 |
|
SitePoint Community Guest
Posts: n/a
|
How can the images that have been put onto the menu movie be turned into buttons and link to other scenes. Tried it and failed when texted scene. Need urgent help please
|
|
|
|
#5 |
|
SitePoint Community Guest
Posts: n/a
|
Is there a way to extend the length of the pictures movie clip (so more pics can be added) and extend the scroll length? Also, is there a way to loop it, so it keeps scrolling up or down around and around, repeating?
|
|
|
|
#6 |
|
SitePoint Community Guest
Posts: n/a
|
Is there a way to make it scroll up and down only when the person puts his/her mouse over it and moves up and down?
...Does anyone answer these questions? |
|
|
|
#7 |
|
SitePoint Member
Join Date: Sep 2004
Location: india
Posts: 0
|
this is a nice one,but i think it will be more effective if,you give button option in two sides.
|
|
|
|
|
|
#8 |
|
SitePoint Community Guest
Posts: n/a
|
to make the scroller verticle simply change the action script to this;
ym = 0; //function to set the ypos of the movieclip function ypos(bar_height,mul) { vpos = 420; scroll_height = 420; incr = bar_height/scroll_height; ym = _ymouse; if(_ymouse <= 10){ym = 10;} if(_ymouse >= 400){ym = 400;} scroll_y = vpos - ym; scroll_y = scroll_y * mul; y_pos = scroll_y * incr; y_pos = y_pos + vpos; return y_pos; } _root.onEnterFrame = function () { // call function ypos y_pos = ypos(700,.20); with (bg) { _y += (y_pos - _y)*.4; } // call function ypos y_pos = ypos(950,.75); with (menu) { _y += (y_pos - _y)*.4; } } After you have rotated all instances and set the document properties to 9px x 420px. |
|
|
|
#9 |
|
SitePoint Community Guest
Posts: n/a
|
What does mul mean?
|
|
|
|
#10 |
|
SitePoint Community Guest
Posts: n/a
|
mul = multiply ?
|
|
|
|
#11 |
|
SitePoint Community Guest
Posts: n/a
|
The menu mc is 1046 pixels wide, so I'm curious how you came up with the "950" and ".75" when you called the ypos function. I'm trying to use this technique with a dynamically-generated menu-type mc and I'm having trouble dynamically generating mul because I don't quite understand the reasoning behind it..
|
|
|
|
#12 |
|
SitePoint Community Guest
Posts: n/a
|
If I wanted to make those squares into clickable buttons would I just re-create the image in flash as a movie clip with those squares as buttons?! I think this would work, but I'm not sure!!! Any help would be appreciated!!
|
|
|
|
#13 |
|
SitePoint Community Guest
Posts: n/a
|
1. how can I extend or shrunk the movie clip size (more or less photos)
2. I want not to move when the cursor is not on that area thx |
|
|
|
#14 |
|
SitePoint Community Guest
Posts: n/a
|
how do i make a scroller like on ootie.blogspot.com/2009/02/scrolling-menu-system.html
How do I make that? |
|
|
|
#15 |
|
SitePoint Community Guest
Posts: n/a
|
When you said; "Create a movie clip that 1045... ", shall I make the menusqueers?
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 14:42.







Linear Mode
