Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 14th, 2004, 02:16 PM
joewood86 joewood86 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 joewood86 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 27 sec
Reputation Power: 0
Scrollbars with falsh

Hi Everyone

I'm developing a website with Macromedia Flash MX and have seen website where part of the page scrolls and the rest remains static.

What I want to do is have a vertical scrollbar down the side, which scrolls a section of the page (a bit like an iframe with HTML).

Can anybody tell me how it's possible to acheive this?

Thanks in advance for your help/comments.

Joe

Reply With Quote
  #2  
Old January 14th, 2004, 02:48 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, check this out:

Using the ScrollPane component
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old January 14th, 2004, 03:41 PM
joewood86 joewood86 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 joewood86 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 27 sec
Reputation Power: 0
Thanks Tan

I've also been looking at a tutorial which seems to be the type of thing I'm looking for but doesn't seem to work with Flash MX 2004 Pro, http://www.cbtcafe.com/flash/index.html. If you go to this link and select the top tutorial (Scrollpane componant) you will find the tutorial I've been working through.

The problem seems to be that I can't actually make a scrollpane from the compnants menu.

Can some please tell me why this is and if there is a way around it?

Thanks again

Joe

Reply With Quote
  #4  
Old January 14th, 2004, 03:41 PM
joewood86 joewood86 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 joewood86 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 27 sec
Reputation Power: 0

Reply With Quote
  #5  
Old January 14th, 2004, 04:13 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, I dont use mx2004 so I dont know what built in options you have. You could always download the MX components for 2004 and use them.

Flash MX Components for Flash MX 2004, V1.5.0

Reply With Quote
  #6  
Old January 14th, 2004, 04:29 PM
Hilton Hilton is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Atlanta
Posts: 1 Hilton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
scrollbar

Hi Joe,

I had to solve the same problem last week. I use MX 2004 (not the pro version). The solution we used does not display a scrollbar, but it does display intuitive buttons and the text does, in fact, scroll.

This is how we did it:
1. Set the text type to "Dynamic".
2. Name the instance (say, scrollText).
3. Resize the text field.
4. Put a scroll up button next to the text field.
5. Use the following code in the Actions for the button:

on(release) {
scrollText.scroll -=1
}
6. Put a scroll down button next to the text field.
7. Use the following code in the Actions for the button:

on(release) {
scrollText.scroll +=1
}

Good luck!

Reply With Quote
  #7  
Old January 16th, 2004, 11:25 AM
joewood86 joewood86 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 joewood86 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 27 sec
Reputation Power: 0
Thanks Hilton

I've followed your instructions, which have semi-worked. I have a Flash file with two very simple buttons and a text box which goes below the scroll down button. However, when I publish the exe file, the text is all in a horizontal line and part is missing. Clicking the buttons has no effect but if I click on the text and drag to the right it moves right.

I've uploaded the .fla file to here. COuld you please have a look at it and tell me if there is anything wrong with it?

Thanks very much

Joe

Reply With Quote
  #8  
Old January 16th, 2004, 11:30 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, you might have the text box set to singleLine instead of multiline. Check the text box properties.

Reply With Quote
  #9  
Old January 16th, 2004, 01:03 PM
joewood86 joewood86 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 joewood86 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 27 sec
Reputation Power: 0
Thanks everyone

I had the text set to single line rather than multi line. However, now when I click the down button the text moves down one line and then clicking the button has no effect. Is there a way of solving this so that the scrollbar can be clicked more than once?

Thanks again for your previous posts and in advance for any in response to this.

Joe

Reply With Quote
  #10  
Old January 16th, 2004, 05:34 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, I'm not at a machine with flash installed right now so I cant look at your .fla file. If it's in 2004 format I can't anyway. The code that Hilton posted should of worked. You could try changing the relevant parts i.e.

scrollText.scroll -=1;

to:

scrollText.scroll = scrollText.scroll - 1;

That shouldn't really make a difference but it's worth a try.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Scrollbars with falsh


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT