4 Replies Latest reply on May 30, 2009 8:43 PM by Sea4Me

    How can I make a form

    Sea4Me

      Hi!

       

      I have this:
      http://five3d.mathieu-badimon.com/gallery/keyboard/

       

      The Virtual Keyboard and I want that to be a form element and since I'm a newb I don't know how I can achieve this...

       

      I wanted it to be a part of a login...

       

       

      So I'm thinking of making it inside a form?

       


      Thanks!!!

        • 1. Re: How can I make a form
          kglad Adobe Community Professional & MVP

          use google to search for:  flash <your actionscript version> login

          1 person found this helpful
          • 2. Re: How can I make a form
            Sea4Me Level 1

            I know how to make a form but this piece of code is confusing me

             

            I think the form may already be made but I just can't figure it out after 8 hr.

             

             

            Any help would be greatly appreciated!

            • 3. Re: How can I make a form
              Ned Murphy Adobe Community Professional & MVP

              If you show the confusing code, along with the code you'd use for the form, someone may be able to help you.

              1 person found this helpful
              • 4. Re: How can I make a form
                Sea4Me Level 1

                The link I posted above the script I have...

                 

                I think these are the parts that create the form:

                 

                 

                          private function createField():void {
                              __field = new Shape3D();
                              __field.x = -478;
                              __field.y = -252;
                              __field.z = -192;
                              __field.rotationX = 90;
                              __field.graphics3D.beginFill(0x999999, .6);
                              __field.graphics3D.addMotif([['M',[32,0]],['L',[880,0]],['C',[886.6274169979695,0,891.3137084989847,4.686291501015241]],['C',[896,9.372583002030478,896,16]],['L',[896,160]],['C',[896,173.25483399593904,886.6274169979695,182.62741699796953]],['C',[877.2548339959391,192,864,192]],['L',[32,192]],['C',[18.745166004060955,192,9.372583002030481,182.62741699796953]],['C',[0,173.25483399593904,0,160]],['L',[0,32]],['C',[0,18.745166004060955,9.372583002030481,9.372583002030481]],['C',[18.745166004060955,0,32,0]]]);
                              __field.graphics3D.addMotif([['M',[32,1.5]],['L',[879.25,1.5]],['C',[885.5667568261897,1.5,890.0333784130949,5.96662158690515]],['C',[894.5,10.433243173810299,894.5,16.75]],['L',[894.5,160]],['C',[894.5,172.6335136523794,885.5667568261897,181.5667568261897]],['C',[876.6335136523794,190.5,864,190.5]],['L',[32,190.5]],['C',[19.366486347620597,190.5,10.4332431738103,181.5667568261897]],['C',[1.5,172.6335136523794,1.5,160]],['L',[1.5,32]],['C',[1.5,19.366486347620597,10.4332431738103,10.4332431738103]],['C',[19.366486347620597,1.5,32,1.5]]]);
                              __field.graphics3D.endFill();
                              __field.filters = [new GlowFilter(0x999999, .4, 8, 8, 2, 2)];
                              __form.addChild(__field);
                          }
                

                 

                 

                          private function createForm():void {
                              __form = new Sprite3D();
                              __form.rotationX = -45;
                              __form.childrenSorted = true;
                              __scene.addChild(__form);
                          }
                

                 

                 

                 

                It uses Action Script 3.0

                 

                 

                A sample code would make my life so so soooooooo much easier!!!! (And I'll you forever) lol

                 

                 

                Thanks!

                 

                ~Sea4Me