PDA

View Full Version : form in scrollable region?


lbower
08-22-2002, 03:46 PM
Can you place a form that has comboboxes and radio buttons in a scrollable region?

Jesse
08-23-2002, 04:12 AM
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.

Jesse
08-23-2002, 04:16 AM
http://www.actionscripts.org/showMovie.php?id=534

lbower
08-23-2002, 02:56 PM
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.

Jesse
08-23-2002, 03:35 PM
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...

lbower
09-16-2002, 08:03 PM
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
09-16-2002, 08:39 PM
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.

Jesse
09-18-2002, 02:05 PM
No problems. Sorry I didn't answer your post above. Been busy.

duffi
09-23-2002, 04:58 PM
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 (http://www.actionscript.org/forums/showthread.php3?s=&threadid=16113)

Thanks all,

duffi

bigflannel
06-11-2004, 11:24 AM
I have been trying to work this out and this thread helped me tremendously.

many thanks
Mike

nevpan
01-29-2005, 01:06 AM
Although this thread is really helpful, I still cannot seem to get this flash form in a scroll pane to work properly. Can someone PLEASE HELP ME!!! It's driving me CRAZY :eek: !

The attachment manager on this site gives me an error when I try to attach a .zip file - I can email it to you though if you send me your email. Thanks in advance for your expert assistance - I really appreciate it!