Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-22-2002, 02:46 PM   #1
lbower
Registered User
 
Join Date: May 2002
Posts: 157
Default form in scrollable region?

Can you place a form that has comboboxes and radio buttons in a scrollable region?
lbower is offline   Reply With Quote
Old 08-23-2002, 03:12 AM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

Good question. The answer is yes, but you have to be tricky. When you first add the nested components the scroll pane doesn't work because the fonts used in the child components aren't embeded in the Flash file, and the scroll pane can't mask non-embedded fonts. The solution is to edit the FLabel smartclip in the Global Components folder which appears in your library when you drag a component onto your movie. Open it up and embed the font in the field. See attached.
Attached Files
File Type: zip nesting_components.zip (62.4 KB, 1146 views)
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 08-23-2002, 03:16 AM   #3
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

http://www.actionscripts.org/showMovie.php?id=534
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 08-23-2002, 01:56 PM   #4
lbower
Registered User
 
Join Date: May 2002
Posts: 157
Default

I'm not sure if I'm understanding you correctly. I compared the code in the FLabel clip from the .fla file you sent me to the code of a new file I created myself, and I could find no difference. Would you mind clarifying a bit more what exactly it is that I need to edit?

I've also noticed most of my problems seem to occur when I try to use comboboxes inside scrollpanes. I've attached a file below to demonstrate this.
Attached Files
File Type: zip test_nestingcomponents.zip (86.7 KB, 1233 views)

Last edited by lbower; 08-23-2002 at 02:02 PM.
lbower is offline   Reply With Quote
Old 08-23-2002, 02:35 PM   #5
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

If you open up the library and go Flash UI Components > Component Skins > Global Skins there is an FLabel item. Edit it and embed your font in the field and it will work. But only to a certain extent. When you drop down the combo box, if any part of it is out of the scroller it appears regardless. Can't think what to do there exactly...
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 09-16-2002, 07:03 PM   #6
lbower
Registered User
 
Join Date: May 2002
Posts: 157
Default

Jesse,

Thanks so much for your help. I've played around with the file you attached, and it works great. But I still have no idea what it is that you did to the FLabel item. When you say "edit it and embed your font in the field" - how exactly do I do that? What exactly am I editing?

Once again thanks so much. You don't know how much you've already helped. I've been struggling with this thing for about three months, and you've been the only one to at least show me that it is possible to place comboboxes inside of scrollpanes.
lbower is offline   Reply With Quote
Old 09-16-2002, 07:39 PM   #7
lbower
Registered User
 
Join Date: May 2002
Posts: 157
Default

Okay, I'm stupid. But just in case there is someone else out there reading this who has no idea what is going on, here's what you do:

As Jesse said, open the FLabel item. Then in the Properties window, click Character. Then just select any option other than No Characters.

Jesse, I must still once again express my undying gratitude for showing me this. You have no idea how much this has helped.
lbower is offline   Reply With Quote
Old 09-18-2002, 01:05 PM   #8
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

No problems. Sorry I didn't answer your post above. Been busy.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 09-23-2002, 03:58 PM   #9
duffi
****************
 
duffi's Avatar
 
Join Date: Jan 2002
Location: dublin / on my bike
Posts: 35
Post

Hi,
can anyone confirm that this happens on their machine : when you click on the swf of the example file above once they have saved it to their own machines...all the contents that should be contained in the scrollpane are visible on the screen.

I ask this because i am having a similar issue..please see thread

scrollpane component appearing above everything else in projector

Thanks all,

duffi
duffi is offline   Reply With Quote
Old 06-11-2004, 10:24 AM   #10
bigflannel
Registered User
 
Join Date: Jun 2004
Location: NYC
Posts: 2
Default thank you

I have been trying to work this out and this thread helped me tremendously.

many thanks
Mike
bigflannel 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 09:18 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.