You might need to use a degrafa surface rather than rendering into another
component. If that's not going to do it, I imagine you'll have to have
degrafa render into a bitmapData (or something along those lines) and add an
mx:image with that data set as the source.

Also there's a Degrafa list where you might get a better answer:
http://groups.google.com/group/degrafa/?pli=1

-Josh

On Wed, Jan 7, 2009 at 9:40 AM, addlistener <[email protected]> wrote:

> Hi all,
>
> I'm trying to put a Degrafa BezierSpline on a Papervision3D Sphere...
>
> Any idea?
>
> I've made a Canvas with three others, one for a map, a red one and a
> empty to receive the BezierSpline
>
> <SolidFill id="fill">
>        <color>
>                blue
>        </color>
> </SolidFill>
>
>  <BezierSpline id="mySpline"
>  data="300,300 100,150"
>  graphicsTarget="{[pata,pata1,pata2]}"
>  fill="{fill}" autoClose="true" tension="2"
> autoClearGraphicsTarget="true">
>
>        <stroke>
>            <SolidStroke weight="10" color="#00ff00"/>
>         </stroke>
>    </BezierSpline>
>
>    <mx:Canvas id="theTarget" width="2500" height="1250"
> horizontalScrollPolicy="off"
>                verticalScrollPolicy="off" visible="false">
>        <mx:Image id="map"
> source="@Embed('assets/EarthMap_2500x1250.jpg')"/>
>
> <mx:Canvas width="50" height="50" x="600" y="600" backgroundColor="red" />
>
> <mx:Canvas id="pata2" width="900" height="900" x="100" y="100"
> blendMode="multiply"  />
>        </mx:Canvas>
>
>        <!-- test purpose -->
>        <mx:Canvas id="pata" width="2500" height="1250"/>
>
> the spline go in pata (test) but doesn't in pata2.
>
> In fact theTarget (Canvas) is the Material for the 3D Sphere, when
> PV3D map the material, the BezierSpline is removed...
>
> Any idea?
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [email protected]
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk

Reply via email to