7 Replies Latest reply on Oct 6, 2008 7:46 AM by Newsgroup_User

    Icon question

    lerooooogk
      Hi,

      surely this is a question with an easy answer.

      In the next example code Source Flextore, what are the icons like a package? (productsview and samples.flexstore) and how Can i build them?

      Thanks a lot

        • 1. Re: Icon question
          Gregory Lafrance Level 6
          Might be an easy answer, but figuring out your question is the difficult part :-)

          If you are asking how to create a package, it is just a directory structure. See FB3 help sys or LiveDocs on packages.

          If you are asking how to recreate the mxml and as files in those packages, click their links, copy, paste to create the files in FB or in a text editor, and then ensure they are in your project source path in your compiler options.

          Maybe clarify what you are asking:

          what are the icons like a package
          ...
          Can I build them?

          icons are not packages, and they are not "like" packages at all.

          You can't build icons or packages, though you can compile source files that reside in packages.
          • 2. Re: Icon question
            lerooooogk Level 1
            Sorry for my english :)

            My doubt is:

            - I dont understand the method to "link" componente Grip in package productsview, that is to say, how i can build grip and link it to productsView.

            <productsView:Grip id="filterGrip" gripIcon="@Embed('/assets/icon_magnifier.png')"
            gripTip="Show filter panel" click="currentState = 'showFilter'"/>
            • 3. Re: Icon question
              lerooooogk Level 1
              Hi again,

              i think i find the answer.


              <mx:Canvas xmlns:mx=" http://www.adobe.com/2006/mxml"
              xmlns:productsView="productsView.*"
              width="990" height="550"
              currentState="showFilter">

              It seems that productsView is only a tag to refer other components within the proyect.

              Thanks a lot :)
              • 4. Re: Icon question
                Gregory Lafrance Level 6
                That's right. productsView might be defined in the first tag as follows:

                xmlns:productsView="myComponents.*"
                • 5. Re: Icon question
                  lerooooogk Level 1

                  Then, how can i build pruebas4 (in the example) to add mxml components?
                  If i build a mxml component i put it into source folder but how could i built the "base component" to add the new ones?

                  <?xml version="1.0" encoding="utf-8"?>
                  <mx:Canvas xmlns:mx=" http://www.adobe.com/2006/mxml" width="990" height="550" xmlns:productsView="pruebas4.*">
                  ....
                  ....
                  • 6. Re: Icon question
                    lerooooogk Level 1

                    Stupid answer for a stupid question!!!

                    The icon is only and simply a folder, i put components within it and it works.

                    Thanks a lot Gref Lafrance and sorry!
                    • 7. Re: Icon question
                      Level 7

                      "lerogke" <webforumsuser@macromedia.com> wrote in message
                      news:gcd626$45j$1@forums.macromedia.com...
                      > Hi again,
                      >
                      > i think i find the answer.
                      >
                      >
                      > <mx:Canvas xmlns:mx=" http://www.adobe.com/2006/mxml"
                      > xmlns:productsView="productsView.*"
                      > width="990" height="550"
                      > currentState="showFilter">
                      >
                      > It seems that productsView is only a tag to refer other components within
                      > the
                      > proyect.

                      http://flexdiary.blogspot.com/2007/08/as3-basics.html