4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
bobocel said
But will Flash be able to render the same graphics dynamically?
Ho yaaa it’s pretty amazing the why doing things with svg on the render sequence dynamically very low cpu , html 5 can only dream for such performance ,the down side you need to do some complex coding S* that’s why no one use it :P
47 posts nhstudio
  • Has been part of the Envato Community for over 7 years
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+6 more
nhstudio says
bobocel said
tsafi said
Pez (man that is early) you talk about importing the AI, that’s fine no problemo doing, but the nerd man aim more of loading external vector group dynamically (I think that’s what he aim for )

SVG (scalable vector graphics) as nhstudio say, is the close thing as possible using AI format to load vector group in dynamic way(like animation) after your vector group is ready on the make you just need to do a simple task converting AI to SVG . and than start coding :P .... even as2 can do magic with SVG

other then that you cant use or load dynamically AI format as i know of
But will Flash be able to render the same graphics dynamically?

think so, I will going use this feature in my new Print application ;)
Check this out

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
nhstudio said
think so, I will going use this feature in my new Print application ;)
Check this out
Very nice i think i saw something like this maybe yours i can’t remember.

Any way there is a class frocessing call FShapeSVG.as its simulate like svg but yo can do much more with it in fp 10 .

http://www.libspark.org/browser/as3/Frocessing/trunk/src/frocessing/shape/FShapeSVG.as?rev=3552 use….
package{
    import flash.display.Sprite;
    import frocessing.shape.FShapeSVG;//import classs
    import caurina.transitions.Tweener;  
    import flash.utils.Timer;  
    import flash.events.TimerEvent;  
    import caurina.transitions.properties.ColorShortcuts;  

    public class SVGshape extends Sprite{

        private var sq:Sprite = new Sprite();
                private  var timer:Timer = new Timer(2000);  
                ColorShortcuts.init();

        public function SVGshape(){
                var svg:XML =
<svg>
<polygon stroke="#000000" points="52.925,5.649 67.62,35.423 100.478,40.198 76.702,63.375 82.315,96.1 52.925,80.649 23.536,96.1 29.149,63.375 5.373,40.198 38.23,35.423 " fill="#FFFFFF" stroke-width="5" />
 </svg>;
                var shapedata:FShapeSVG = new FShapeSVG(svg);
                sq = shapedata.toSprite();
                addChild(sq);
                timer.start();
                timer.addEventListener(TimerEvent.TIMER,timerHandler); 
        };
/// just random & color change
        private function timerHandler(e:TimerEvent):void{
            Tweener.addTween(sq, {x:Math.floor(Math.random()*300),y:Math.floor(Math.random()*205),time:1,_color:Math.floor(Math.random()* 0xF)})
        } 
    }
}

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says
bobocel said
Hola! Sorry if I wasn’t clear. I’m trying to find a solution that works at runtime, dynamically.

You was clear enough, but i was sleepy in exceed.

47 posts nhstudio
  • Has been part of the Envato Community for over 7 years
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+6 more
nhstudio says

@tsafi : only wana say the reffered Class is not meins, Credit goes for that Blog Owner ;)

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
nhstudio said
@tsafi : only wana say the reffered Class is not meins, Credit goes for that Blog Owner ;)

No problem, doesn’t matter; I can’t remember me seeing someone use SVG massively in a project, most of what i see is on the experiment level .

Pez i hope you don’t ride your HD in the morning, will be a same to crash such a machine :P

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says
tsafi said
Pez i hope you don’t ride your HD in the morning, will be a same to crash such a machine :P

You know what? I did. I needed a small and quiet ride, i was doing nothing in front of the screen this morning. And a side note: stupid me, i left my mobile in the jacket pocket, and i left it open. My mobile is somewhere on the road within 30km from my home, probably separated in different parts. Can someone send me a mobile for free?

Andrei, sorry for the offtopic. Tsafinho is guilty, as usual.

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
pezflash said
My mobile is somewhere on the road within 30km from my home, probably separated in different parts. Can someone send me a mobile for free? Andrei, sorry for the offtopic. Tsafinho is guilty, as usual.
Probably iPhone, nothing makes me happier…

You always blame me off topic, the fact that you were of off topic from start ,something you forgot to mention :P

3402 posts
  • Has been part of the Envato Community for over 8 years
  • Has referred 500+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
bobocel says
pezflash said
tsafi said
Pez i hope you don’t ride your HD in the morning, will be a same to crash such a machine :P

You know what? I did. I needed a small and quiet ride, i was doing nothing in front of the screen this morning. And a side note: stupid me, i left my mobile in the jacket pocket, and i left it open. My mobile is somewhere on the road within 30km from my home, probably separated in different parts. Can someone send me a mobile for free?

Andrei, sorry for the offtopic. Tsafinho is guilty, as usual.

So what happened to the phone? You don’t keep your jacket with you? :D

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says
bobocel said
So what happened to the phone? You don’t keep your jacket with you? :D

The phone and the jacket were together, like as2 files, but suddenly the phone decided to live as an external as3 class, in one curb along the road next to my house. I’ve called Telefonica, they ask me 200€ (!!!) to get the same phone. F*!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by