Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dynamic Scrolling Text

Posted on 2002-05-06
11
Medium Priority
?
1,037 Views
Last Modified: 2011-10-03
I am designing a section for a site, and I what to know what is the best solution for the following:

I want a horizontal scrolling nav bar that uses variables to display the items in the menu.

- a selection of about twenty names will be inserted into a variable/variables, and displayed between two arrows that scroll them from left to right, or right to left

- I want to use a solution that can be maintained very easily, by being able to update a variable, or external text file on the server.

- After you scroll the nav bar and find what you are looking for, you would click on the menu item, and the appropriate information would be displayed directly below...

I am looking to change the content using only ActionScript and not by clicking on a button to launch a MC.

The most important thing about this .swf is that I can easily update the menu information and the description that will appear below...

a detailed responce is welcomed...

chill0123


P.S.  no need to hold anything back do to lack of experience
0
Comment
Question by:chill0123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 1

Author Comment

by:chill0123
ID: 6992050
forgot to mention that I am using Flash MX, but the .swf will be Flash 5 compatible...

c
0
 

Expert Comment

by:sanjuo
ID: 6992425
check the rayoflight.net you will find something what you are looking for
0
 
LVL 1

Author Comment

by:chill0123
ID: 6993924
sanjuno,

thank you for the very descriptive and informative posting, but I was looking for a little bit more than a link to a web site...  exactly where on that site do they implement the use of a horizontal scrolling navigation that uses text variables instead of buttons or MCs?

anyone else want a crack at this one?

c
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 6

Expert Comment

by:rootdir
ID: 6994092
I think, if you goto "REVERENCE" then you will find what sanjuo is saying.

Instead of top horizontal scrolling navigation, you can see bottom horizontal scrolling navigation. Choose year 2000 and see. I think he/she is creating menu dynamically.
0
 
LVL 1

Author Comment

by:chill0123
ID: 6994499
I saw that, but I need to know if it is possible to create a text/variables based navigation that sits in a scrollable environment... and also how it is done...

I know you can use limited HTML in a variable, but I want to control my .swf file by clicking on the menu items in the scrolling navigation...

and I want to be able (if I choose) to pull those text based variables from a txt page or database...

do I need to up the points on this one so I can attract more attention?

c


0
 

Expert Comment

by:indi_vid
ID: 7000340
If i understand u correctly

You want to make a column of buttons in a scrollable area as not all buttons can be shown on the screen at once.
Im assuming you mean vertical as well

each button of the scrollbar is made accordingly to making buttons no probs there.


then a new movie will be made that has 2 buttons for the up and down scrolling and the display scroll space with a mask to hide the extended parts of the scroll area.

place the buttons into this movie and setup the actions for the scroller buttons to move the position of the scroll area art element using the x position and increasing and decreasing it.
0
 

Expert Comment

by:indi_vid
ID: 7000342
aye sorry rereading your post you were more clear and the y position is best for horiszontal
0
 
LVL 1

Author Comment

by:chill0123
ID: 7001387
indi,

I have already built this project using the traditional scroller with the use of buttons to launch a new MC, but I am looking for a solution that uses text variables or some other way to dynamically maintain the scrolling menu...

here is an example of what I am trying to do:

I have twenty Companies that are partners with my company... I want to display then in a scrollable navigation menu where you can click an arrow(button) to the left and the scroll left, or click the other arrow and they move to the right...  When you have found the partner company that you are looking for, you click on them in the scroll bar and their logo and description is displayed below the scroll bar...

I want to be able to maintain the company names and the description in a text file on a server, an array, or just a variables in the .swf file...

I don't want to use buttons, because I want to be able to just edit some text, or have someone with no Flash skills to just edit, or add to a txt file on the server.

A simplified version of what I need done:

I have a text box that displays dynamic text from a variable.  I want to be able to click on that text in the swf and have another Movie Clip be placed on the stage...

If someone could tell me a way to do this, then I can figure out the rest...

I am increasing the points to 250.... If I don't have an answer soon, I will close out the question...

c  
0
 

Accepted Solution

by:
99grad earned 1100 total points
ID: 7001774
Hi Chill!

After you tried so nice to help me - I'll try to help you. Download this file: http://www.99grad.de/scroller.zip and see if it's what you imagined. I put it together in very short time without any comments, but if it's what you're looking for, I can help explain it to you!

99grad
0
 
LVL 1

Author Comment

by:chill0123
ID: 7002104
99,

I think it is something I can work with, but I will need your help...

I am having a problem understanding what you did with your code in this example...

If you would not mind putting some comments about what the code is doing in the .fla, I would appriciate it....  I am also giving you another 25 points for this...  

thank again...

c
0
 
LVL 1

Author Comment

by:chill0123
ID: 7002107
that was weird!  I just had a page come up with about 50 java errors!

I am not sure if you got the points or not...

let me know

c
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question