You could print to a PDF file and then open the resulting PDF in Illustrator
to access all the vectors, etc. I'm not sure it works in all cases, but it
has worked on several occasions for me.
Jack
___
Flashcoders mailing list
Just curious if this works better for you:
private function MyManager() {
// constructor
return getInstance();
}
public static function getInstance() : MyManager{
if(_myManager == undefined){
_myManager = new MyManager();
I'm applying a threshold() to a BitmapData instance and then using
copyChannel() to copy it's red channel to the alpha channel of a different
BitmapData instance. This is part of a technique I'm using to animate
simulated brush strokes without any kind of tweens (just gradations). Much
easier on
Light with no style. Again, this is far from ideal, but after installing
that new font, I was at least able to select it from the Font menu in Flash.
Hope that helps.
Jack Doyle
--
Date: Wed, 24 May 2006 10:40:45 -0400
From: [EMAIL PROTECTED]
Subject: [Flashcoders
be
kind).
Jack Doyle
--
Date: Wed, 2 Aug 2006 10:56:12 -0400
From: Matthew Ganz [EMAIL PROTECTED]
Subject: Re: [Flashcoders] tweening multiple properties simultaneously
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type
/XMLParser.zip
This is the first time I'm making it available to the public, so I welcome
comments/suggestions (be kind). It's been working quite well for me for
months.
Jack Doyle
---
Date: Mon, 21 Aug 2006 15:46:24 -0400
From: Flash Mel [EMAIL PROTECTED]
Subject: [Flashcoders] Better
any questions. Hope it helps.
Jack Doyle
From: [EMAIL PROTECTED]
Date: 2006/09/07 Thu AM 08:47:29 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q:Reduce file size of mx.transitions.Tween ??
Hi
Working on a project where file size is important...and the built
, etc.). If anyone has a pressing need, shoot me an
e-mail and I'll send you a class file sooner rather than later. Otherwise
I'll work on documentation when I find pockets of time (hard for me to come
by lately) and post 'em then.
Thanks again.
Jack Doyle
What software are you using to create your FLVs? I know Sorenson Squeeze has
a setting that allows you to specify a minimum quality level which overrides
any data rate settings (if/when it needs to). So if you set your bit rate
really low, like 50kbps but the minimum quality is set to 95, you'll
Pick up a copy of Foundation ActionScript Animation: Making Things Move!
by Keith Peters. Best $26.39 (at Amazon.com) you'll ever spend. The answer
to your question (and a bunch more you never knew you had) is in that book.
Jack
--
Date: Wed, 4 Oct 2006 16:55:45
into
ActionScript-friendly objects/arrays and calling a function of your choice
when it's finished.
Download the class and a simple example at:
http://www.greensock.com/ActionScript/XMLParser.zip
Hope it's helpful.
Jack Doyle
-Original Message-
Date: Tue, 17 Oct 2006 12:16:51 -0400
From: Chip
You might want to try using my XMLParser class. It translates the XML into
ActionScript-friendly arrays/objects.
http://www.greensock.com/ActionScript/XMLParser.zip
Jack Doyle
-Original Message-
Date: Thu, 26 Oct 2006 22:13:50 -0400
From: Bill Pelon [EMAIL PROTECTED]
Subject
but like I said, you have the ability to change that if you need to. See the
documentation at the top of the class file for instructions.
You can snag the class at:
http://www.greensock.com/ActionScript/TweenLite/
Good luck!
Jack Doyle
-Original Message-
Message: 8
Date: Fri, 3 Nov
anytime and it has several other
features you may find useful. Check it out at:
http://www.greensock.com/actionscript/PreloadAssetManager/
Good luck.
Jack Doyle
-Original Message-
Date: Wed, 29 Nov 2006 10:37:58 -0500
From: Merrill, Jason [EMAIL PROTECTED]
Subject: RE: [Flashcoders
I think Steven has already sent you the XML2AS code which is great. You
could also try the XMLParser class I wrote which is similar but adds a few
features. You can basically throw your XML document at it and it'll spit
back an object with properties arrays that follow the naming convention
from
it helps.
Jack Doyle
-Original Message-
Date: Thu, 25 Jan 2007 13:15:48 -0800
From: [EMAIL PROTECTED]
Subject: [Flashcoders] Q:Preloader when TOTAL size of assets not known
To: flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO
.
Thanks for all the positive comments! They make the time effort I dumped
into it much more worthwhile.
Jack Doyle
-Original Message-
Date: Fri, 2 Feb 2007 09:14:11 -0600
From: slangeberg [EMAIL PROTECTED]
Subject: Fwd: [Flashcoders] RE: Q:Dynamically Scale a MovieClip
have to though.
_ns.pause(false);
clearInterval(delayInterval_num);
}
Jack Doyle
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This might be overkill, but feel free to use the TransformManager and/or
TransformItem class(es) available at
http://www.greensock.com/ActionScript/TransformManager. You can just set the
constrainScale_boolean property to true.
Jack Doyle
-Original Message-
Date: Mon, 26 Mar 2007 13:08
://www.greensock.com/ActionScript/TweenLite
Cheers.
Jack Doyle
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf
The TweenFilterLite class I just released does exactly what you're looking
for.
http://www.greensock.com/ActionScript/TweenFilterLite
Jack
-Original Message-
Date: Tue, 27 Feb 2007 16:53:50 +0200
From: misa [EMAIL PROTECTED]
Subject: [Flashcoders] ColorMatrix
To:
The Color Picker was the handy work of Alessandro Crugnola,
http://www.sephiroth.it/file_detail.php?id=147
Very nice job.
-Original Message-
Date: Tue, 27 Mar 2007 08:40:22 -0400
From: Merrill, Jason [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Free AS2 Filter Tweening Engine -
Yep, you can preload FLVs with the NetStream. Check out the
PreloadAssetManager class which will handle it all for you:
http://www.greensock.com/ActionScript/PreloadAssetManager
Jack
-Original Message-
Date: Tue, 03 Apr 2007 16:04:35 -0400
From: leolea [EMAIL PROTECTED]
Subject:
You can preload FLVs with the NetStream and even see how big the FLV file is
as long as you've encoded it properly so that it has MetaData. I know that
if you do your compression in Sorenson Squeeze it'll inject the MetaData for
you, and I think most other tools do the same automatically.
Check
much for this class.
I am preloading a bunch of FLVs. Once they get at 100%, how do I access them
using a NetStream object (or other) ?
(I need to implement something that initates the playback of the first one,
when it reaches the end I must start the second one, so on...)
On 4/3/07 6:42 PM, Jack
This AS2 class will handle preloading multiple SWFs and/or FLVs and/or
images and report on the total progress:
http://www.greensock.com/ActionScript/PreloadAssetManager
Documentation examples are on the site. I think you'll find it pretty easy
to implement.
Enjoy.
Jack Doyle
-Original
Here's an AS2 class that'll load and parse your XML file into almost exactly
what you're asking for:
http://www.greensock.com/ActionScript/XMLParser
Instead of root[track[n][artist]] from your example, it would be simply
track[n].artist
Jack Doyle
-Original Message-
Date: Thu, 03 May
You could try using the PreloadAssetManager class at
http://www.greensock.com/ActionScript/PreloadAssetManager
Jack
-Original Message-
Date: Wed, 13 Jun 2007 16:17:42 +0100
From: Poole, Simon [EMAIL PROTECTED]
Subject: [Flashcoders] re: preloading images from xml
To:
)
Again, I'm not saying TweenLite is better than any other tweening engine
out there (I'm admittedly biased). You asked about benefits in other
packages, and the response to TweenLite has been very positive so I thought
I'd mention it.
www.TweenLite.com
www.TweenFilterLite.com
Jack Doyle
If you're able to store the images in SWF format instead of something like
JPG, you could set up your SWFs so that they're covered with a black
rectangle MovieClip by default and then you flip the _visible property to
false in your application when you load them in. That way, if people try to
look
a visual sample and some brief documentation on the site.
http://www.greensock.com/ActionScript/TextMetrics/
Hope some folks find it useful.
Jack Doyle
PS TweenLite TweenFilterLite were recently updated as well to make
sequencing more intuitive
I ran into the same problems a while back. I created a LevelsManager class
to get around it which you can set to hijack the getNextHighestDepth()
function. That way, you can run one line of code at the beginning of your
application and all your getNextHighestDepth() calls will work regardless of
Seb, there's something very similar built into the TweenFilterLite class
which is available in AS2 and AS3. It lets you tween contrast, hue,
saturation, brightness, colorization, threshold, etc. as well as other
filters like glows, blurs, etc.
www.TweenFilterLite.com (there's a link to the AS3
Not sure if it'll help, but check out
http://www.greensock.com/ActionScript/TransformManager. It'll let the user
scale, rotate, or move any MovieClip regardless of where its registration
point is. Again, this might not be exactly what you're looking for but you
could at least get some ideas from
First let me say that Tweener is fantastic, and a lot of people rely on it
for good reason. If quantity of features is your top priority, you should
seriously consider using Tweener.
Let me briefly address a few of the TweenLite-related concerns folks have
mentioned:
SPEED
-
TweenLite's
You're right, Dwayne, for a lot of non-banner work, 8k vs 3k really doesn't
matter. It can, however, come into play in local memory as tweens are
created. For example, if an instance of Tweener has 8k worth of code driving
it (not that every instance would take 8k in memory - I'm just talking
Yep, a BitmapFilter is what you need.
You might want to check out TweenFilterLite for an easy way to apply (and/or
tween) the filter. It'll also let you adjust saturation, brightness,
colorization, hue, and threshold.
www.TweenFilterLite.com
The code would look something like:
I know this is an old thread, but I wanted to mention a few things that
might interest a few of you:
1) The entire TweenLite family now does synchronized tweens.
2) TweenLite's big brother, TweenMax, was just released and it adds
support for Bezier tweens, sequencing, hex color tweening, and a
This class might be helpful:
http://blog.greensock.com/xmlparseras2/
I believe it does exactly what you're asking.
Jack
-Original Message-
From: ACE Flash [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2008 6:46 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders]
You can use TweenMax's ability to tween hex colors and fire an onUpdate
callback that applies the new values, like this (AS3):
import flash.geom.*
import flash.display.*
import gs.*;
var gradientColors:Object = {left:0xFF, right:0xFF};
var gradientMatrix:Matrix = new Matrix();
LOL. Yeah, I've peeked at the TweenMax source code a _few_ times.
For those who are interested, Rich did a great intro to TweenLite here:
http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/
(thanks Rich)
Also, I should mention that the whole TweenLite/Filter/Max family has
'
latest version of tweenlite... You wont see that on the output panel but it
is written to the flashlog.txt... interesting huh?
On Wed, Jul 9, 2008 at 9:02 AM, Jack Doyle [EMAIL PROTECTED] wrote:
LOL. Yeah, I've peeked at the TweenMax source code a _few_ times.
For those who are interested, Rich
Yep, that sounds right. I highly doubt it has anything to do with TweenMax.
Graphics rendering is by FAR the biggest processor drain in almost every
situation. You can test that theory by removing TweenMax from the equation
and just doing a simple ENTER_FRAME loop to move your stuff temporarily
Sure, you can use delay and delayIncrement together in a TweenMax.allTo()
call. They work great together.
Also, I should mention that I'm releasing a pretty significant upgrade to
the TweenLite/TweenFilterLite/TweenMax family soon. Probably the biggest
enhancement has to do with a new
(and the reason for a delayedCall method)?
a
On 24 Aug 2008, at 16:34, Jack Doyle wrote:
Sure, you can use delay and delayIncrement together in a
TweenMax.allTo()
call. They work great together.
Also, I should mention that I'm releasing a pretty significant
upgrade to
the TweenLite
If you want sub-pixel movement, you must turn smoothing on for the asset,
but there are a few gotchas that I'm aware of:
1) If DisplayObject/MovieClip has any filters applied to it (blur, drop
shadow, etc.), I'm pretty sure it's impossible to get sub-pixel movement. It
will only move on whole
If you want to rotate it 3 full rotations, you could just use a relative
value by putting quotes around the value, like this:
TweenLite.to(my_mc, 1, {rotation:1080});
Or if your amount is in a variable, just cast it as a String, like this:
TweenLite.to(my_mc, 1,
No, not *YET*
Sorry. For now, you'll need to snag updates at www.TweenMax.com or
www.TweenLite.com
Jack
-Original Message-
From: allandt bik-elliott (thefieldcomic.com) [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2008 10:45 AM
To: Flash Coders List
Subject: [Flashcoders]
I've never used it, but from what I understand, Fuse is indeed very powerful
in terms of sheer number of features. And in Moses' defense, he recognized
the problems with Fuse (bloat, poor performance) and came out with GoASAP
for AS3 in an effort to have a core lightweight engine that developers
Just an idea - you could use TweenLite with an onUpdate to do something like:
var frequency:Number = 0.05; //number between 0 and 1 indicating how often your
function should get called over the course of time
var myObject:Object = {progress:0};
var nextTrigger:Number = frequency;
Yep, JC's idea seems very doable. Or look into the upcoming version of
TweenLite/Max which uses a plugin architecture, so you could write your own
little plugin that would accomplish it. http://blog.greensock.com
Jack
-Original Message-
From: Hans Wichman
There's a new plugin for TweenLite/Max that'll cause transformation
(rotation/scale) tweens to occur around any point, so it'll be as easy as:
TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100),
rotation:85}});
Or if you want to use the center of the object as its origin, you
, January 12, 2009 2:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] change the origin of rotation for a movieclip?
How about a real answer?
Jack Doyle wrote:
There's a new plugin for TweenLite/Max that'll cause transformation
(rotation/scale) tweens to occur around any point, so it'll
You could do this:
var matrix:Matrix = mc.transform.matrix;
TweenLite.to(matrix, 1, {a:1.5, b:0.2, c:0.2, d:1.5, tx:100, ty:100,
onUpdate:applyMatrix, onUpdateParams:[mc, matrix]});
function applyMatrix($mc:DisplayObject, $matrix:Matrix):void {
$mc.transform.matrix = $matrix; //for changes
Here's a function that you can feed a start hex color, end hex color, and
however many steps you want, and it'll generate an Array with hex values for
that many steps:
--
function getHexSteps($start:uint, $end:uint, $steps:uint):Array {
The color transform (setRGB()) affects the entire MovieClip including all
filters. There are two options that come to mind that would accomplish what
you're after:
1) Wrap your objTileColor MovieClip in another MovieClip. Then you can
tint/color the inner clip and apply the glow to the
Senocular explained it well here:
http://www.kirupa.com/forum/showthread.php?p=2113726#post2113726
-Original Message-
From: Mario Gonzalez [mailto:ma...@wddg.com]
Sent: Tuesday, August 04, 2009 1:31 PM
To: Flash Coders List
Subject: [Flashcoders] re: gotoStopAndWait
(I think there was
{
plantaTween.reverse();
}
thanks!
--
Grant has now merged forces with Jack Doyle, author of TweenLite, TweenMax
and TweenGroup. The syntax is almost identical and I think you'll have an
easier time achieving the effect you want. A tweens pulse
First of all, you don't need to keep re-activating the AutoAlphaPlugin - you
can just do that once in your SWF. It doesn't hurt anything to re-activate
it multiple times, but it definitely doesn't help.
Regarding the infinite loop, please make sure you're using the latest
version of the GreenSock
I tested your code locally and it worked fine - I suspect there's something
else going on in your file that's causing the problem. There is absolutely
no functional difference between using the static to() method and creating
an instance with new TweenMax(). Some prefer a static to() call because
You might want to check out SourceMate for Flash Builder 4 - it has an ASDoc
tool that makes it relatively simple to include/exclude classes (one click
can exclude a whole package). http://www.elementriver.com/sourcemate/
Although it sounds like you're not a Flash Builder 4 guy, so that may not
You're mixing Tween and TweenLite code. You've got an event listener set up
for a TweenEvent.MOTION_FINISH but TweenLite doesn't dispatch events
(TweenMax does though), and you didn't define your cloudTween variable.
The easiest thing to do would be to use TweenMax and its repeat property,
Yeah, regarding the BetweenAS3 demo, they tweened Sprites with TweenMax but
Points with BetweenAS3. Sprites use 12.6 times more memory and require about
2.2 times more processing power to update x and y properties! Very
misleading.
As for the comment about GTween being stricter and more object
This may be helpful for allowing interactive
selecting/scaling/rotating/moving:
http://www.greensock.com/transformmanageras3/
There's an AS2 flavor as well. Both accommodate scaling multiple selections
even if each object is rotated at a different angle. Transformations can be
exported and
No need to use a Timer. Wouldn't it be as simple as this?:
var targets:Array = [mc1, mc2, mc3];
var positions:Array = [0, 100, 200];
var stagger:Number = 0.2;
for (var i:int = 0; i targets.length; i++) {
TweenMax.to(targets[i], 1, {y:positions[i], delay:i * stagger});
}
If you need to
If you're a Club GreenSock member, the transformAroundPoint can make this
pretty simple to integrate into a tween. For example:
var center:Point = new Point(275, 200);
TweenLite.to(mc, 1, {transformAroundPoint:{point:center, scaleX:3,
scaleY:3}});
That would scale mc's scaleX/scaleY to 3 and use
No need to avoid going straight to GreenSock - there are dedicated forums
for these types of questions at http://forums.greensock.com and I try to be
very active there.
Anyway, I don't remember ever hearing of a LoaderMax queue simply not
completing except if it contains a VideoLoader that is
2010 17:16, Jack Doyle j...@greensock.com wrote:
No need to avoid going straight to GreenSock - there are dedicated forums
for these types of questions at http://forums.greensock.com and I try to
be
very active there.
Anyway, I don't remember ever hearing of a LoaderMax queue simply
68 matches
Mail list logo