header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
David
Points:0
Posts:0

5/12/2010 1:23:54 PM

Title: Creating scrollable non-text interactive flash content- Flash CS3 Professional


How do I create a flash object (movie clip?) which will allow me to create buttons (interactive) within a scrollable frame similarly to the scroll function of a web browser. This needs to be incorporated into an existing Flash document as my website is 100% Flash.

Thanks,

David



1
Michael
Points: 250
Posts:0
5/12/2010 1:47:29 PM



if you are using flash cs then use scrollPane component. Create your movieclip and export it for actionscript using properties in library. Use its export class name as source for scrollPane. This movieclip can contain anything interactive , buttons, other movieclips , animations etc. Scrollpane will create the scrollbars if the movieclip exceeds the size of scrollPane.Delete the movieclip from stage since the scrollPane will pick it from library.

2
Rayan
Points: 700
Posts:0
5/12/2010 2:22:44 PM



in flex using rawchildren property to add movieclip to any container will not show scrollbar. The hack could be that you can add another flex container inside main container of the same size equal to movieclip and change the x,y position of movieclip by capturing the horizontalscrollbar and verticalscrollbar events of main container.

3
David
Points: 0
Posts:0
5/18/2010 2:20:58 PM



I'm using Flash CS3 Professional. I don't have Flex, I don't think. Can I do the scrollbar if I am using ActionScript 2.0? I can't get it working. If I switch to 3.0, I can't use behaviours which I have used for the navigation links (I don't like writing scripts much).

Thanks.

4
Inder
Points: 2980
Posts:0
5/18/2010 9:29:33 PM



Hi david you can use the scrollpane component Flash cs3 with actionscript 2.0 . There is no actionscript involved in this. To ScrollPane go to menu Window ---> components and Component inspector. From components drag the ScrollPane component to stage. Now select ScrollPane and in the "Component Inspector" Window there is an option for content path. Here you need to enter the Identifier of the Movieclip which you wan to show as scrollable content. Your Movieclip will contain all the content (text, buttons, Graphics etc).
To give identifier right click on the movieclip in library select properties and In the properties window enter name in Identifier field.
The size of ScrollPane can be changed. The ScrollPane will show scrollbar if the area of movieclip exceeds the size of ScrollPane component.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions