1 Reply Latest reply on Dec 6, 2011 10:58 PM by Matt_Brandvis

    Problem about FXG

    Matt_Brandvis

      Im created a fxg file use flash cs5.

       

      <?xml version="1.0" encoding="utf-8" ?>

      <Graphic version="2.0" viewHeight="400" viewWidth="550" ATE:version="1.0.0" flm:version="1.0.0" d:using="" xmlns="http://ns.adobe.com/fxg/2008" xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:flm="http://ns.adobe.com/flame/2008">

        <Library/>

        <Group d:type="layer" d:userLabel="图层 1">

          <Path data="M378.35 184.05Q362.05 200.05 339.45 213.15 317.75 225.65 294.15 233.25 270.5 240.9 249.8 241.95 228.1 243.05 213.65 236.7 198 229.8 192.95 215 175.45 163.75 169.45 109.25 166.45 82 166.95 65L171.85 60.65Q178.25 55.3 185.65 50.15 209.5 33.65

      234.95 25.65 270.6 14.35 304.5 21.55 346.8 30.55 383.95 68 421.55 105.95 403.6 148.5 395.9 166.8 378.35 184.05">

            <stroke>

              <SolidColorStroke color="#D6D6D6"/>

            </stroke>

          </Path>

        </Group>

        <Private/>

      </Graphic>

       

       

      Then , Import to flash catalyst 5. i got

       

      <s:Path x="166.379" y="18.248"

                                              data="M 211.971 165.802 Q 195.671 181.802 173.071 194.902 Q 151.371 207.402 127.771 215.002 Q 104.121 222.652 83.421 223.702 Q 61.721 224.802 47.271 218.452 Q 31.621 211.552 26.571 196.752 Q 9.071 145.502 3.071 91.002 Q 0.071 63.752 0.571 46.752 L 5.471 42.402 Q 11.871 37.052 19.271 31.902 Q 43.121 15.402 68.571 7.402 Q 104.221 -3.898 138.121 3.302 Q 180.421 12.302 217.571 49.752 Q 255.171 87.702 237.221 130.252 Q 229.521 148.552 211.971 165.802">

                                    <s:stroke>

                                              <s:SolidColorStroke color="#D6D6D6"/>

                                    </s:stroke>

                          </s:Path>

       

       

      The question:

       

      A ---- "M378.35 184.05Q362.05 200.05 339.45 213.15 317.75 225.65 294.15 233.25 270.5 240.9 249.8 241.95 228.1 243.05 213.65 236.7 198 229.8 192.95 215 175.45 163.75 169.45 109.25 166.45 82 166.95 65L171.85 60.65Q178.25 55.3 185.65 50.15 209.5 33.65

                 234.95 25.65 270.6 14.35 304.5 21.55 346.8 30.55 383.95 68 421.55 105.95 403.6 148.5 395.9 166.8 378.35 184.05"

       

      B ---- x="166.379" y="18.248"

           data="M 211.971 165.802 Q 195.671 181.802 173.071 194.902 Q 151.371 207.402 127.771 215.002 Q 104.121 222.652 83.421 223.702 Q 61.721 224.802 47.271 218.452 Q 31.621 211.552 26.571 196.752 Q 9.071 145.502 3.071 91.002 Q 0.071 63.752 0.571 46.752 L 5.471 42.402 Q 11.871 37.052 19.271                 31.902 Q 43.121 15.402 68.571 7.402 Q 104.221 -3.898 138.121 3.302 Q 180.421 12.302 217.571 49.752 Q 255.171 87.702 237.221 130.252 Q 229.521 148.552 211.971 165.802"

       

      "

      How to coding a meth convert the fxg path data from A to B without flash catalyst.

      I need path`s x and y point but i dont wanna use flash catalyst .

       

      Thanks