Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

* VERY URGENT *Adding a Scroll Bar

Posted on 2004-04-28
22
Medium Priority
?
179 Views
Last Modified: 2010-08-05
All I need is to add a normal scroll bar.  This one only has end arrows, I need the middle drag part.  This is VERY urgent. Go to the following link and download the zip
www.jasonkoscho.com
0
Comment
Question by:mtb007
  • 10
  • 5
  • 5
  • +1
22 Comments
 
LVL 22

Expert Comment

by:rascalpants
ID: 10940220
why not just use a component?

rp
0
 
LVL 1

Author Comment

by:mtb007
ID: 10940250
a component scroll bar? i tried, and i cant get it working
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 10940428
it is probably because you are using Flash 4 code...   if you want this project to work, then you need to use proper coding format...  

all you need to do is add a scrollbar component, and use the dynamic text field as the scroll target...  you need to give the text field an instance name first...


rp
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:mtb007
ID: 10941137
I did do that, and it dosent work still.  I dont have the time to figure out how to recode this, nor the skill.  Is there anyway that I can use the scroll component with this code?
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 10941602
I couldn't tell you...  at the moment I am not sure why it is not working...

here are some things to check...

- you have given your scrollbar component an instance name
- you have given your dynamic text box an instance name
- you are targeting the instance name of the text box for the scrollbar


other than that, I am not too sure what else to do...

rp
0
 
LVL 19

Expert Comment

by:Montoya
ID: 10941904
I'll put something together for you
0
 
LVL 1

Author Comment

by:mtb007
ID: 10941925
THANK YOU!!! you are a life saver!
0
 
LVL 19

Expert Comment

by:Montoya
ID: 10942240
Well, It's done, but I have no way of sending it to you, and I have no access to my server right now. They frown upon sharing of email addresses and contact info, so we can't break the rules. I can give you the info here, if you like, it doesnt take long.

1:  Inside the controlmenu movieclip l(I deleted the scrollbar you had, and the scrollbar component you had before)

2: I used the texttool to create a dynamic textfield and sized it to the size of the box you were representing before.

3. I named the new textbox "mybox" (no quotes)

4. I drag a scrollbar component from the stage onto the right margin of "mybox". The scrollbar component should pick up the name of the textbox, but if it doesnt, make sure it says "mybox" under the target.

5. make sure the dynamic text box html property is set to "true". You can do this by clicking on the button that looks like <> in the property panel, or you can the code

mybox.html=true;

6. Add the following code (after line 5)
mybox.htmltext='<a href="http://www.microsoft.com">First link</a>'+"\n";
mybox.htmltext+='<a href="http://www.macromedia.com">Second link</a>'+"\n";

if you want it to be bold, just add the <b> tag as you would in html
the "\n" gives you a new line
please take note of the quotes.. I start and end with single quotes and quotes in between those are double quotes.

I assume you know where to put your asfunction code..

Good luck!

I have a file for you, but will not be able to post until much later this afternoon or early tonight.

0
 
LVL 1

Author Comment

by:mtb007
ID: 10942261
ok, thanks, ill try this and check this post again later tongiht.!!! THANK YOU!
0
 
LVL 1

Author Comment

by:mtb007
ID: 10942353
Yeah, ill check this out later tonight.  Thanks! Again.
0
 
LVL 19

Expert Comment

by:Montoya
ID: 10945300
0
 
LVL 1

Author Comment

by:mtb007
ID: 10948789
Yeah that works, but it dosent use the sort and search function, kind defeats the purpose of having it.
0
 
LVL 19

Expert Comment

by:Montoya
ID: 10949615
to add those functions, change the method by which the text field is populated, and populate the form with text references, the way you did it originally.

0
 
LVL 1

Author Comment

by:mtb007
ID: 10949665
I didnt do that. it was a tutorial from flashkit.com.  Its old crappy code, and i dont have the skill to transfer that info along to what you sent me
0
 
LVL 19

Expert Comment

by:Montoya
ID: 11106120
hmm... after all that work. :)

0
 
LVL 1

Author Comment

by:mtb007
ID: 11107384
I appreciate all of your work Iammontoya, but it didnt work the way I needed it to.  And in my time constraints, I had to find someone local to help me.

Thank you for everything & sorry.

mtb007
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 11107967
Jason,

It is your own fault for trying to use an example that was written for Flash 4 and you wanted it to have Flash MX and above capabilities.  That is like trying to modify an old 486 computer to run like a 2GHz machine of today...  or trying to put a monster truck engine in a Chevy Nova.

I don't think you can expect experts to help you out if they don't receive some type of recognition for their efforts...

In my case, I don't need the points, but others would...

just something to think about before you try to use legacy code again...


rp
0
 
LVL 1

Author Comment

by:mtb007
ID: 11108045
I understand your point, and its a good one, but im not going to give full credit to someone for something that doesnt work. I dont mind giving out the points, but I was under the impression that you give points to the person who did what you asked.  I think in this case since he did make a working example i can give him half of the points.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 11108740
the grade is what gives the multiple of points...

if a question is worth 100 points, then a grade of an A gives the person 400 expert points...  B gives 300, C gives 200.

In this case, I would recommend an A or B, because a C is typically no a good thing to give or receive...  sometimes an A is awarded for effort...


rp
0
 
LVL 1

Author Comment

by:mtb007
ID: 11108777
I did not know that. i thought you only recieved points depending on what was offered. thanks for clearing this up.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11147453
PAQd, 325 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

886 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