You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize in advance for the vagueness of this question. I'm hoping the phenomenon will trigger some possible clue to the solution but if it doesn't, I'll augment this question with more specific details and links later on (once my site is visible publicly from the internet).
I have used as3svgrenderer in my flash project to render icons and it's working great! I have one specific situation where the path elements are either not rendering at all, or are only partially rendering. Here is a sample svg:
In this example, the rect and ellipse elements render beautifully. The path doesn't render at all. As I said above, this happens when my flash player is loaded in a google VAST Inspector (https://developers.google.com/interactive-media-ads/docs/sdks/flash/vastinspector). My code is not yet public on the internet so I can't provide links to the phenomenon but I'm attaching two screen captures of the same application, one loaded directly from the browser and the other loaded from within the Google VAST inspector. The svg icon I referred to earlier in this message appears in the two screen captures inside the bottom-most yellow circle.
Can you think of any reason why this might be happening?
The text was updated successfully, but these errors were encountered:
I did some more digging and found where the issue occurs. In GraphicsPathDrawer.as there is a method called: cubicCurveTo. At the beginning of that function, there is a call to FlashPlayerUtils.supportsCubicCurves which checks to see if the system supports the "cubicCurveTo" method. If it does, it uses the cubicCurveTo method. Otherwise, it converts the cubic curve to a quadratic curve.
In my two cases (depicted above in the two screen captures), the first case supports the cubicCurveTo method and fails in the drawing. The second case doesn't support it so the drawing succeeds. I haven't figured out why in the case of the Google VAST inspector, it would think that it supports cubicCurveTo but in a regular Chrome browser it wouldn't. Perhaps you can offer a suggestion?
If I change supportsCubicCurves to always return false, the drawing works.
markviewbix
changed the title
Path elements don't render in specific situations
cubicCurveTo available but not working in drawing of Path element
Aug 5, 2016
I apologize in advance for the vagueness of this question. I'm hoping the phenomenon will trigger some possible clue to the solution but if it doesn't, I'll augment this question with more specific details and links later on (once my site is visible publicly from the internet).
I have used as3svgrenderer in my flash project to render icons and it's working great! I have one specific situation where the path elements are either not rendering at all, or are only partially rendering. Here is a sample svg:
In this example, the rect and ellipse elements render beautifully. The path doesn't render at all. As I said above, this happens when my flash player is loaded in a google VAST Inspector (https://developers.google.com/interactive-media-ads/docs/sdks/flash/vastinspector). My code is not yet public on the internet so I can't provide links to the phenomenon but I'm attaching two screen captures of the same application, one loaded directly from the browser and the other loaded from within the Google VAST inspector. The svg icon I referred to earlier in this message appears in the two screen captures inside the bottom-most yellow circle.
Can you think of any reason why this might be happening?
The text was updated successfully, but these errors were encountered: