Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash 4. Help needed with 3 things

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
1) I want to know how to make something dragible. I know how but I want the button to move with it and I can get the button to move.
2) How do I get the flash thing to fit the page? It is just the regulair size that takes up about the left half of the screen. How do I get it to fit the screen?
3) Is there any way I can get a text area where people can type in on the flash thing?
Thanks -marsman2015>(::O>
 
Please post the reply too! Sounds like some good info....thanks!
 
1>> select you button on the stage and press F8 to cerate a movie-clip symbol which contains your button. Give your new mc an Instance name (click on it on the main stage and press Ctrl+I). Now you can action the button to drag the mc containg the button in the same way you drag another mc.

2>>Go to File?Publish Settings and check the HTML box. Select the HTML tab and change the 'Dimensions' to 'percent'. Then change the width and height to 100%. If you don't want borders around your movie when it is viewed on the internet, then add the following to the body tag in your HTML source code, after you have published it in flash:

<BODY...........marginwidth=&quot;0&quot; marginheight=&quot;0&quot; topmargin=&quot;0&quot; leftmargin=&quot;0&quot; rightmargin=&quot;0&quot; bottommargin=&quot;0&quot;>

If you don't want a scrollbar insert the following to the above: scroll=&quot;no&quot;

3>> Click on the 'A' text tool button, then click on the 'ab|' button which appears at the bottom of the toolbox. Create your text-field on the main stage. Right-click your text-field and select 'properties' from the pop-up menu. Now give your textfield a variable name so that you can use it in any actions.

FAQ250-600 contains information on text-boxes as well as dragging.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top