PDA

View Full Version : Creating a Form Application just with Actionscript 2.0 ?


rivella50
03-28-2005, 02:48 PM
Hi there,
I'm about to build a form based application. Since I want to reduce the
use of the Flash MX 2004 stage as much as possible (and therefore write
the whole project with Actionscript 2.0), my question is: Do I have
to set up the planned forms by using the screens panel of the Flash IDE,
or can I set up the forms (I do not mean the relating forms classes!) also
in Actionscript ?
The tutorials I've found so far do all go the way of setting up the forms
with the screens panel.

Thanks for your support.
rivella50

Xeef
03-28-2005, 03:47 PM
how do you mean this ?

i mean you can draw anithing whit AS but it will by hard to draw a shadowed buton :p

rivella50
03-28-2005, 04:48 PM
ok, i just want to do something like attaching movieclips, but with forms, so that i finally have them located under _root.application.myform1 and so on, without using the screens panel to put my forms on the stage.
know what i mean now ?

Xeef
03-28-2005, 05:01 PM
--->
MovieClip.attachMovie()
Availability
Flash Player 5.

Usage
my_mc.attachMovie(idName:String, newName:String, depth:Number [, initObject:Object]) : MovieClip

rivella50
03-28-2005, 07:07 PM
ok, Xeef, of course i know how to attach movie clips, but is there a possibility to add/attach forms to the stage just with actionscript ?
although the form class is a sub-class of the movieclip class there certainly have
some other things to be done in order that an attached form would be treated
properly. or can i just write
_root.application.attachMovie("Form", "_myform", 1);

and then _myform is the first sub form of application and everything is ok ?

regards
rivella50