0 Replies Latest reply on Jan 22, 2012 4:35 AM by skant

    Importing Class

    skant Level 1



      I'm trying to import a Class in Flash Builder 4.5 for PHP and it's don't work.


      I have this:



      <s:Application xmlns:d="http://ns.adobe.com/fxg/2008/dt"




          width="320" height="480" backgroundColor="#FFFFFF" preloaderChromeColor="#FFFFFF">


                <fx:Style source="Main.css"/>




                     import com.logosware.utils.QRcode.GetQRimage;

                                    import mx.events.FlexEvent;


                                    protected function button2_clickHandler(event:MouseEvent):void


                               var activarCamera:QRcode = new QRcode ();

                                                        activarCamera.GetQRimage ();











      I have an error in QRcode and GetQRimage,

      but I hace imported in import com.logosware.utils.QRcode.GetQRimage;


      The message error is the folowign:

      1046: Type was not found or was not a compile-time constant: QRcode.

      1180: Call to a possibly undefined method QRcode


      What's wrong?

      I tried to add this class in Flex Build Path but always the message is the same:

      The specified path is invalid


      Any suggestion?



      best regards,