473,394 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Noob, Scrollable 800x1100 pixel background with Inputs on it?

Hi, my Flash app's size 800x600, but i want to use a Scrollable 800x1100 gif background, with inputboxes on it, so user can scroll up-down this long form.
Which way should i set this 800x1100 background? ScrollPane doesnt seem to work for this, and cant find in www any tutorial that covers this.

Best Regards,
Fred

PD: i guess i'm expecting an InnerFrame in my Flash, where i can scroll up-down form
Jun 7 '07 #1
2 1344
ronnil
134 Expert 100+
make an empty movie clip, put all of your content inside that.

this is how it would be done in pure actionscript

Expand|Select|Wrap|Line Numbers
  1. import flash.geom.Rectangle;
  2. var empty_mc:MovieClip = _root.createEmptyMovieClip('container',_root.getNextHighestDepth());
  3. rect_w = 800;
  4. rect_h = 600;
  5. rect_x = 0;
  6. recty=0;
  7. var rect:Rectangle = new Rectangle(rect_w,rect_h,rect_x,rect_y)
  8. empty_mc.scrollRect = rect;
  9.  
  10. //make your movieclips and soforth downhere and attach it to empty_mc
  11.  
Keep in mind you need to make buttons to scroll your mc up/down

You could also try working with the layer mask function (or whatyamightcallit) instead

btw, this is for actionscript 2.0. Haven't been working with AS3.0 yet
Jun 7 '07 #2
thanks, i got the idea now :)
a Symbol (MovieClip) is like an innerFrame, so i create symbol, make my form in it and then scroll symbol up down... something like that

cheers!!
Jun 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Muralidhar | last post by:
Hi, I'm having a jsp page which is having a table and a div tag.The heading such as a radio button,Name , Age etc. are fixed.Only the data under it is scrolling. So i've set one table for header...
7
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header |...
0
by: Geoff B via .NET 247 | last post by:
I have a form that displays images using a picturebox. Theseimages are usually too large to fit in the entire screen so iwould like to panel to be scrollable with the mouse. On my form I have 2...
3
by: pmud | last post by:
Hi, I have a web page (asp.net, code:c#). I havean html table with text boxes. Based on the user input , records are displayed in the data grid below it. Now the datagrid has a large no. of...
2
by: Ben H | last post by:
Hello all I'm using a listview in my app but I want to scroll the listview programatically as I hate the look of the standard scrollbar. So, the listview is scrolled programatically using...
33
by: Dave (DreamIsle) | last post by:
Hello. I'm working on a layout that I need to be pixel specific. How can I get the font to stay precisely the height I need? Specifying line-height or font-size in px doesn't yield the results I...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
9
by: raylopez99 | last post by:
After refering to the below thread, I take it for C# Forms 2.0, there a way to draw a 1 pixel by 1 pixel rectangle, which I was able to do just now successfully. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.