[Flashcoders] Adobe to Open Source Flex!!!

2007-04-25 Thread greg h

Oh, my God.  Who would ever have thunk it!

ADOBE HAS PUT UP AN ANNOUNCEMENT THAT THEY WILL BE OPEN SOURCING FLEX.  THE
WHOLE KIT AND KABOODLE!!!

http://labs.adobe.com/wiki/index.php/Flex:Open_Source

It will take time, but likely by this time next year it will all be out
there!

TRULY, NOW, FLEX/FLASH WILL RULE THE WORLD!!!

Oh, and now I better understand why the name change on Flex Data Services to
LiveCycle Data Services.

g
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!

2007-04-25 Thread Erich Erlangga
onEnterFrame/setInterval function is just to give spreading effect to the app. 
  as I mention earlier, using for loop doesnt't let any animation play before 
loop ends. 
  the real problem is only about the SEQUENCE-PATTERN. 
  but, to make my question clearer 
  1. for example: there are 7000 nodes to count
  2. using one variable such as i inside loop is OK, although using for loop to 
counts 
  more  than 2000 nodes make everything slows down
   
  for (var i=0;  i<7000; i++) drawNodes();--> hangs!!
 
  but I want the counting process run faster by adding another variable 
which counts
  with different starting Number. thats is DIVIDING the drawing process 
into 7 part and
  run simultaneously as well
   
  3. explaining my previous code:
 variable a counts ---> 1,  8,  15,  22 and so forth..adding 7 to prev 
number each time
 variable a counts ---> 2,  9,  16,  23 and so forth..adding 7 to prev 
number each time
 variable c counts ---> 3, 10,  17, 24 and so forth..adding 7 to prev 
number each time
 variable d counts ---> 4, 11,  18, 25 and so forth..adding 7 to prev 
number each time
 variable e counts ---> 5, 12,  19, 26 and so forth..adding 7 to prev 
number each time
 variable f counts --->  6, 13,  20, 27 and so forth..adding 7 to prev 
number each time
 variable g counts ---> 7, 14,  21, 28 and so forth..adding 7 to prev 
number each time

 it is very much like telling 7 people to count 1000 number at different 
start and at the
same time. As a result,  the total 7000 nodes are ALL being read with 
shorter time. 
 if only one such as variable "i" in many normal loop, then variable "i" 
would count one, 
 two,  three  up to...seven thousand (and a hospital await in front 
of "i")
 
 i guess there must be a math/words for this sequence and to achieve 
 the result in a smarter way
  

Danny Kodicek <[EMAIL PROTECTED]> wrote:
  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Erich Erlangga
> Sent: 24 April 2007 14:27
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!


> //run 7 times faster for attaching symbol in the library
> //(depends on how many people count)
> var a = 1;
> var b = 2;
> var c = 3;
> var d = 4;
> var e = 5;
> var f = 6;
> var g = 7;
> trace("first Number = " + a + " - " + b + " - " + c + " - " + 
> d + " - " + e + " - " + f + " - " + g);
> trace("Next Number =" + newline);
> _root.onEnterFrame = function(){
> 
> a +=7;
> b +=7;
> c +=7;
> d +=7;
> e +=7;
> f +=7;
> g +=7;
> 
> trace(a + " - " + b + " - " + c + " - " + d + " - " + e + " 
> - " + f + " - " + g);
> if (g == 70){
> delete _root.onEnterFrame ;
> }
> 
> }

Yes, that does look a bit odd. How about something like:

var tIndex = 1
_root.onEnterFrame = function() {
for (var i=0; i<7 i++) {
trace(tIndex++) 
}
if (tIndex == 70) { 
delete _root.onEnterFrame 
}
};

Danny

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Job Posting: Falls Church, VA

2007-04-25 Thread Jim Robson
Job description below. Please note the citizenship and clearance
requirements as well as the location. Although the description seems to
emphasize non-Flash skills, Flash / Flex is really the key skill set to have
for this position.  

If you think you're a good match and you're interested, please email me off
list.

Thanks
Jim
-

User Interface Software Engineer

Position Location: Falls Church, VA 

Position Requirements

- US Citizenship with Active DoD Security Clearance (minimum Secret)

- BS degree (engineering or computer science preferred) or equivalent
experience

- Minimum 5 years experience with HTML/DHTML/XHTML, CSS, JavaScript, AJAX

- Experience with Flash, ActionScript, Flex

- Proficient with User Interface Engineering, Data Visualization, Usability
Methodology, Information Architecture

- Experience with Web Development Tools (Macromedia, Adobe, others)

- Proficiency with Software development processes, source control, and
documentation

- Strong problem solving skills and analytical capabilities

- Excellent verbal and written communication

- Ability to perform effectively without extensive supervision

- Ability to function well in a team environment


Beneficial Skills/Experience


- Java/J2EE and XML development

- RDBMS (preferably Oracle)

- Apache/Tomcat

- BusinessObjects


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Javascript SetVariable -- when does Flash seethechange?

2007-04-25 Thread Douglas Pearson
Thanks JD.   That helps to explain the behavior we're seeing.

Doug

-Original Message-
From: John Dowdell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 10:33 PM
To: flashcoders@chattyfig.figleaf.com; flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Javascript SetVariable -- when does Flash
seethechange?

The browser is a big variable in latency of message-passing. You can confirm
that many SWF will run at different rates in different browsers. The
NPRuntime API is now implemented pretty well in today's popular browsers,
but the size and timing of permissible messages may vary among
implementations.
http://www.mozilla.org/projects/plugins/npruntime.html

In this case, though, it looks like you're using the old "javascript:"
pseudo-URL, and then polling immediately for a result. It may be better to
wait a frame or two, or an interval, before checking whether the
plugin-to-browser and browser-to-plugin communication cycles have finished.
I don't know how many browsers would stop the plugin's execution during the
attempted cross-app communication.

jd/adobe


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Patrick Matte | BLITZ
I actually made a little mistake in the code

mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x);
mc._y = bezierQuadratic(0.5, point1.y, point2.y, point3.y);


function  bezierQuadratic(t, a, b, c) {
return (1-t)*(1-t)*a+2*(1-t)*t*b+t*t*c;
}

BLITZ | Patrick Matte - 310-551-0200 x214

-Original Message-
From: Patrick Matte | BLITZ 
Sent: Wednesday, April 25, 2007 4:04 PM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: RE: [Flashcoders] Curves question for math gurus


A quadratic curve is made of 3 points.
The first point is beginning of the curve, the second point creates the
curve between the first and last point.

This will place mc exactly on the middle of the curve

mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x);
mc._y = bezierQuadratic(0.5, point1.x, point2.x, point3.x);


function  bezierQuadratic(t, a, b, c) {
return (1-t)*(1-t)*a+2*(1-t)*t*b+t*t*c;
}

t being a number between 0 and 1, 0 is the location of the first point,
0.5 is the middle of the curve, 1 is the last point.


BLITZ | Patrick Matte - 310-551-0200 x214

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of leolea
Sent: Wednesday, April 25, 2007 12:34 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Curves question for math gurus

Hi,

I have a dynamically drawn curve. It's a simple curve, with 2 end
points,
and its yfactor will vary.

I'm trying to figure out a way to have objects "snap" to this curved
line. I
would distribute them over the _x axis, and I need a formula to get
their _y
position on the curved line.

Here is a visual explanation:
http://pages.videotron.com/poubou/flash/curve.jpg

Now, I guess this requires trigonometry... And I really am a newb when
it
comes to trig... 

Any help would be appreciated !




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Patrick Matte | BLITZ

A quadratic curve is made of 3 points.
The first point is beginning of the curve, the second point creates the
curve between the first and last point.

This will place mc exactly on the middle of the curve

mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x);
mc._y = bezierQuadratic(0.5, point1.x, point2.x, point3.x);


function  bezierQuadratic(t, a, b, c) {
return (1-t)*(1-t)*a+2*(1-t)*t*b+t*t*c;
}

t being a number between 0 and 1, 0 is the location of the first point,
0.5 is the middle of the curve, 1 is the last point.


BLITZ | Patrick Matte - 310-551-0200 x214

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of leolea
Sent: Wednesday, April 25, 2007 12:34 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Curves question for math gurus

Hi,

I have a dynamically drawn curve. It's a simple curve, with 2 end
points,
and its yfactor will vary.

I'm trying to figure out a way to have objects "snap" to this curved
line. I
would distribute them over the _x axis, and I need a formula to get
their _y
position on the curved line.

Here is a visual explanation:
http://pages.videotron.com/poubou/flash/curve.jpg

Now, I guess this requires trigonometry... And I really am a newb when
it
comes to trig... 

Any help would be appreciated !




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Papervision3D Terrain Demo with USGS SDTS DEM data

2007-04-25 Thread Merrill, Jason
Thanks Jim - great info on Papervision.

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Palmer, Jim
>>Sent: Tuesday, April 24, 2007 11:08 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Papervision3D Terrain Demo with 
>>USGS SDTS DEM data
>>
>>
>>The documentation is rather lacking - but it's relatively 
>>easy once you struggle through your first project.
>>The best thing that's happening right now, beyond just the 
>>core PV3D code, are all the demos people are putting together 
>>with source code released.
>>
>>It's really tough just doing a tweak->compile->wait->repeat 
>>especially with AS3 taking so long to compile. I've pulled 
>>many hairs out no doubt.
>>
>>Yes - you can position sprites/MCs in 3d space. You can 
>>essentially apply anything that is an asset in the library as 
>>a texture, bitmap at least. I've seen a demo or two with 
>>animated materials as well. As far as I can tell you can make 
>>parts of a model clickable. I've seen a couple demo's that 
>>will highlight the wireframe "outline" of the specific 
>>triangle you're mouse is "over" in 3D space, which would 
>>imply you can click on it.
>>
>>Give it a try if you have the time! I'd suggest messing 
>>around with the AS3 version.
>>
>>--
>>Jim Palmer ! Mammoth Web Operations
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of 
>>> Merrill, Jason
>>> Sent: Monday, April 23, 2007 8:23 AM
>>> To: flashcoders@chattyfig.figleaf.com
>>> Subject: RE: [Flashcoders] Papervision3D Terrain Demo with 
>>USGS SDTS 
>>> DEM data
>>> 
>>> 
>>> Very cool - how hard was papervision to learn? The 
>>documentation seems 
>>> a little lacking.  Do you know if you can position sprites or 
>>> movieClips in the 3-D space and/or if you can make parts of a 3-D 
>>> model click-able?
>>> 
>>> Jason Merrill
>>> Bank of America
>>> GT&O Learning & Leadership Development eTools & Multimedia Team
>>> 
>>> 
>>>  
>>> 
>>> >>-Original Message-
>>> >>From: [EMAIL PROTECTED]
>>> >>[mailto:[EMAIL PROTECTED] On Behalf Of 
>>> >>Palmer, Jim
>>> >>Sent: Saturday, April 21, 2007 8:01 PM
>>> >>To: flashcoders@chattyfig.figleaf.com
>>> >>Subject: [Flashcoders] Papervision3D Terrain Demo with 
>>USGS SDTS DEM 
>>> >>data
>>> >>
>>> >>
>>> >>http://www.overset.com/2007/04/21/papervision3d-terrain-map-of
>>> >>-mammoth-mountain-ski-area/
>>> >>
>>> >>Just put together a simple proof-of-concept by taking the USGS 
>>> >>D.E.M. (Digital Elevation Model) data in SDTS format, 
>>converted it 
>>> >>to a huge array of Vertex3D objects and did a ghetto-fab 
>>> >>"triangulation" of the vertices for the Face3D objects.
>>> >>
>>> >>I'd honestly LOVE to put together a SDTS DEM to 
>>papervision3d Mesh3D 
>>> >>conversion utility to literally load SDTS data on the 
>>fly, but that 
>>> >>will not happen too soon =[
>>> >>
>>> >>It appears to be 3080 Vertex3D objects and 5933 Face3D 
>>objects with 
>>> >>my ghetto-triangulation.
>>> >>
>>> >>The "wireframe" texture with doubleSided=false seems to 
>>do alright 
>>> >>in terms of performance and falls within the 15sec script 
>>execution 
>>> >>limitation.
>>> >>We'll see how this does with a texture applied, if I can even 
>>> >>accomplish this easily.
>>> >>
>>> >>..comments?
>>> >>
>>> >>--
>>> >>Jim Palmer ! Mammoth Web Operations
>>> >>___
>>> >>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 Software
>>> >>Premier Authorized Adobe Consulting and Training 
>>> >>http://www.figleaf.com http://training.figleaf.com
>>> >>
>>> ___
>>> 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 Software
>>> Premier Authorized Adobe Consulting and Training 
>>> http://www.figleaf.com http://training.figleaf.com
>>> 
>>___
>>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 Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Joshua Sera
Actually, you're right. if your endpoints will never
move, you can still use a quadratic bezier.

The percentage would be

(mc._x - firstpoint.x)/(lastpoint.x - firstpoint.x)

Since you're using curveTo, you already have all the
points you need for the formula Here's a function for
you:

import flash.geom.Point;

function getPoint(first:Point, last:Point,
control:Point, ratio:Number):Point {
  var pReturn:Point = new Point();
  var b:Number = 1-ratio;
  pReturn.x = (b*b*first.x) + (2*ratio*b*control.x) +
(ratio*ratio*last.x);
  pReturn.y = (b*b*first.y) + (2*ratio*b*control.y) +
(ratio*ratio*last.y);
  return pReturn;
}

first if the first point in your curve, last is the
last, control is the point specified by the first two
arguments in the curveTo method.

This will give you the closest point on the line to
your MC's position. If you only want to snap if the MC
is within a certain distance, just check the
difference of the ys of your mc's position, and the
returned point.


--- leolea <[EMAIL PROTECTED]> wrote:

> On 4/25/07 5:31 PM, "Joshua Sera"
> <[EMAIL PROTECTED]> wrote:
> 
> > If you know that the two endpoints of the curve
> are
> > always going to have an equal x or y value, the
> you
> > can just use the quadratic formula, and get the
> right
> > Y value.
> 
> The two endpoints will never move. The middlepoint
> will be the only one
> moving.
> 
> So now I just need the quadratic formula ... I
> googled "quadratic formula"
> and I couldn't figure it out nor translate it to my
> Flash needs.
> 
> Like I said, I'm (almost) totally math impaired !
> 
> > If the endpoints are arbitrary, it's a bit more
> > complicated. Bezier curves take a number from 0 to
> 1
> > and give you a point along the curve. Plugging 0
> into
> > the formula gives you the first endpoint, 1 gets
> you
> > the last, and anything else gives you something in
> > between.
> > 
> > This means you're going to have to figure out
> where
> > along the curve your MC is closest to, which
> involves
> > some vector math.
> > 
> 
> Since I know the _x position of MC, in order to
> figure out where the MC is
> along the curve... Can't I use its _x "percentage":
> 
>  MC._x / (lastpoint.x - firstpoint.x)
> 
> Just curious, but I don't think I need this since my
> two endpoints will not
> move.
> 
> > If you want, I can draw out the way I'd approach
> it.
> 
> Of course I'd be more than happy to see that.
> 
> 
> 
> 
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] format alert text

2007-04-25 Thread Andrew Sinning

Have you considered using a modal pop up?


   function modalWin(url, width, height) {
   if (window.showModalDialog) {
window.showModalDialog(url,"name","dialogWidth:"+width+"px;dialogHeight:"+height+"px");
   } else {
   window.open(url,'name','height='+height+',width='+width+
',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,modal=yes');
   }
   }



Maziak, Peter wrote:


Is there a way to bold or indent specific text within an alert?

ie:
The following fields will be deleted:
   
   Name
   Number
   
Are you sure you want to continue?


Thanks,
-Pete


Peter Maziak
Web Design
Global Repertoire Management
Universal Music Group
voice: 818.286.5122
fax: 818.286.7539
email: [EMAIL PROTECTED]

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
On 4/25/07 5:31 PM, "Joshua Sera" <[EMAIL PROTECTED]> wrote:

> If you know that the two endpoints of the curve are
> always going to have an equal x or y value, the you
> can just use the quadratic formula, and get the right
> Y value.

The two endpoints will never move. The middlepoint will be the only one
moving.

So now I just need the quadratic formula ... I googled "quadratic formula"
and I couldn't figure it out nor translate it to my Flash needs.

Like I said, I'm (almost) totally math impaired !

> If the endpoints are arbitrary, it's a bit more
> complicated. Bezier curves take a number from 0 to 1
> and give you a point along the curve. Plugging 0 into
> the formula gives you the first endpoint, 1 gets you
> the last, and anything else gives you something in
> between.
> 
> This means you're going to have to figure out where
> along the curve your MC is closest to, which involves
> some vector math.
> 

Since I know the _x position of MC, in order to figure out where the MC is
along the curve... Can't I use its _x "percentage":

 MC._x / (lastpoint.x - firstpoint.x)

Just curious, but I don't think I need this since my two endpoints will not
move.

> If you want, I can draw out the way I'd approach it.

Of course I'd be more than happy to see that.




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Joshua Sera
A bezier curve would be one way to go about it.

Flash's curveTo method uses a quadtratic curve though,
so using a cubic curve won't give you an accurate
curve.

If you know that the two endpoints of the curve are
always going to have an equal x or y value, the you
can just use the quadratic formula, and get the right
Y value.

If the endpoints are arbitrary, it's a bit more
complicated. Bezier curves take a number from 0 to 1
and give you a point along the curve. Plugging 0 into
the formula gives you the first endpoint, 1 gets you
the last, and anything else gives you something in
between.

This means you're going to have to figure out where
along the curve your MC is closest to, which involves
some vector math.

If you want, I can draw out the way I'd approach it.


--- leolea <[EMAIL PROTECTED]> wrote:

> 
> Hi, thanks for your reply!
> 
> My curve isn't exactly a circle. Here's what my
> animated curve would look
> like: 
>
http://pages.videotron.com/poubou/flash/cannes01.html
> 
> 
> The curve is drawn using the drawing API:
> example:
>  mc.moveTo(0,0);
>  mc.curveTo(400,900,0,800);
> 
> So, I know the 3 bezier points that define my curve:
> startpoint = 0,0
> middlepoint = 400,900
> endpoint = 800,0
> 
> With those values in hand, how can I apply them to
> your function:
> > f(x) = A*x + x^2
> 
> 
> Do I make any sense?
> 
> 
> 
> 
> On 4/25/07 3:50 PM, "Jobe Makar"
> <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > Your typical funciton looks something like this in
> math books:
> > 
> > f(x) = A*x + x^2 //just an example
> > 
> > Where f(x) is essentially 'y'. So, you just need
> the equation that defines
> > your curve. The curve in your jpg appears to be a
> circle.
> > 
> > y = sqrt(x^2 + r^2) //where r is the radius
> > 
> > That actually yields + or - and you just pick what
> fits your situation best.
> > So, you pump in an x and get you 2 y's. Pick the
> best y and use it.
> 
> 
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea

On 4/25/07 4:43 PM, "Jobe Makar" <[EMAIL PROTECTED]> wrote:

> Another trick is to position the clips on the line where they need to be
> when the line is at rest. Then displace them vertically based on the
> amplitude of the center displacement.


I thought about this method... I could go with it.

I tried reading your link... Looks like what I was looking for... but all
this math/algebra/trigonometry is going to make my head explode. Or implode.
Or both.

Thank you very much !



___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] format alert text

2007-04-25 Thread Maziak, Peter
"\t" and "\n" DO work, but the \t is not so great when you want to
indent an entire paragraph.   Really what I'd like to do is bold (and/or
indent the entire paragraph).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Abaffy
Sent: Wednesday, April 25, 2007 2:07 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] format alert text

Can you not use "\t" in the text for tabbing, not sure about making it
bold tho.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maziak,
Peter
Sent: Wednesday, April 25, 2007 3:48 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] format alert text

Is there a way to bold or indent specific text within an alert?
 
ie:
The following fields will be deleted:

Name, Number, ... Age

Are you sure you want to continue?
 
 
Thanks,
-Pete
 
 
Peter Maziak
Web Design
Global Repertoire Management
Universal Music Group
voice: 818.286.5122
fax: 818.286.7539
email: [EMAIL PROTECTED]
 
___
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 Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com



___
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 Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] format alert text

2007-04-25 Thread Steve Abaffy
Can you not use "\t" in the text for tabbing, not sure about making it bold
tho.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maziak,
Peter
Sent: Wednesday, April 25, 2007 3:48 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] format alert text

Is there a way to bold or indent specific text within an alert?
 
ie:
The following fields will be deleted:

Name
Number

Are you sure you want to continue?
 
 
Thanks,
-Pete
 
 
Peter Maziak
Web Design
Global Repertoire Management
Universal Music Group
voice: 818.286.5122
fax: 818.286.7539
email: [EMAIL PROTECTED]
 
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] format alert text

2007-04-25 Thread Maziak, Peter
Is there a way to bold or indent specific text within an alert?
 
ie:
The following fields will be deleted:

Name
Number

Are you sure you want to continue?
 
 
Thanks,
-Pete
 
 
Peter Maziak
Web Design
Global Repertoire Management
Universal Music Group
voice: 818.286.5122
fax: 818.286.7539
email: [EMAIL PROTECTED]
 
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Jobe Makar

Hi,

The function that I gave you  (A*x +x^2) was an arbitrary example.

Looks like you'd need to use what ever bezier math is used by the Flash 
player to represent the line. Not the easiest thing to figure out, but 
here's a link that might help:

http://www.moshplant.com/direct-or/bezier/math.html

There might be tricks that we're not thinking of. For instance - take a 
bitmap snapshot of it in memory. Then use getPixel(x, y) to walk which ever 
column you're in until you reach a black pixel (or non-alpha if you use 
getPixel32). That's your y.


Another trick is to position the clips on the line where they need to be 
when the line is at rest. Then displace them vertically based on the 
amplitude of the center displacement.


Good luck.

Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-882-1121
- Original Message - 
From: "leolea" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, April 25, 2007 4:28 PM
Subject: Re: [Flashcoders] Curves question for math gurus




Hi, thanks for your reply!

My curve isn't exactly a circle. Here's what my animated curve would look
like:
http://pages.videotron.com/poubou/flash/cannes01.html


The curve is drawn using the drawing API:
example:
mc.moveTo(0,0);
mc.curveTo(400,900,0,800);

So, I know the 3 bezier points that define my curve:
startpoint = 0,0
middlepoint = 400,900
endpoint = 800,0

With those values in hand, how can I apply them to your function:

f(x) = A*x + x^2



Do I make any sense?




On 4/25/07 3:50 PM, "Jobe Makar" <[EMAIL PROTECTED]> wrote:


Hi,

Your typical funciton looks something like this in math books:

f(x) = A*x + x^2 //just an example

Where f(x) is essentially 'y'. So, you just need the equation that 
defines

your curve. The curve in your jpg appears to be a circle.

y = sqrt(x^2 + r^2) //where r is the radius

That actually yields + or - and you just pick what fits your situation 
best.

So, you pump in an x and get you 2 y's. Pick the best y and use it.



___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea

Hi, thanks for your reply!

My curve isn't exactly a circle. Here's what my animated curve would look
like: 
http://pages.videotron.com/poubou/flash/cannes01.html


The curve is drawn using the drawing API:
example:
 mc.moveTo(0,0);
 mc.curveTo(400,900,0,800);

So, I know the 3 bezier points that define my curve:
startpoint = 0,0
middlepoint = 400,900
endpoint = 800,0

With those values in hand, how can I apply them to your function:
> f(x) = A*x + x^2


Do I make any sense?




On 4/25/07 3:50 PM, "Jobe Makar" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Your typical funciton looks something like this in math books:
> 
> f(x) = A*x + x^2 //just an example
> 
> Where f(x) is essentially 'y'. So, you just need the equation that defines
> your curve. The curve in your jpg appears to be a circle.
> 
> y = sqrt(x^2 + r^2) //where r is the radius
> 
> That actually yields + or - and you just pick what fits your situation best.
> So, you pump in an x and get you 2 y's. Pick the best y and use it.


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread Michael Stuhr

Mick G schrieb:

I'm working with Zigo/FMP and just getting used to these mysterious
wonders...

I've used *mc_tween2* in the past and was able to do this type of thing but
not having any luck with the Fuse Kit...

//Blur to 10, then back to 0
ZigoEngine.doTween(mc, "Blur_blur", 10, 2, Elastic.easeOut, 0);
ZigoEngine.doTween(mc, "Blur_blur", 0, 2, Elastic.easeOut, 2);

  

i too find it very hard to read through the Fuse-docs too.
but as i understand it you do it with a callback (that's what i do)
so:

ZigoEngine.doTween(mc, "Blur_blur", 10, 2, Elastic.easeOut, 0, myCallback);

function myCallback ()
{

ZigoEngine.doTween(mc, "Blur_blur", 0, 2, Elastic.easeOut, 2);

}

Just take a look at the tooltip when you're typing "ZigoEngine.doTween(" ...

micha
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Jobe Makar

Hi,

Your typical funciton looks something like this in math books:

f(x) = A*x + x^2 //just an example

Where f(x) is essentially 'y'. So, you just need the equation that defines 
your curve. The curve in your jpg appears to be a circle.


y = sqrt(x^2 + r^2) //where r is the radius

That actually yields + or - and you just pick what fits your situation best. 
So, you pump in an x and get you 2 y's. Pick the best y and use it.


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-882-1121
- Original Message - 
From: "leolea" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, April 25, 2007 3:34 PM
Subject: [Flashcoders] Curves question for math gurus



Hi,

I have a dynamically drawn curve. It's a simple curve, with 2 end points,
and its yfactor will vary.

I'm trying to figure out a way to have objects "snap" to this curved line. 
I
would distribute them over the _x axis, and I need a formula to get their 
_y

position on the curved line.

Here is a visual explanation:
http://pages.videotron.com/poubou/flash/curve.jpg

Now, I guess this requires trigonometry... And I really am a newb when it
comes to trig...

Any help would be appreciated !




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
Hi,

I have a dynamically drawn curve. It's a simple curve, with 2 end points,
and its yfactor will vary.

I'm trying to figure out a way to have objects "snap" to this curved line. I
would distribute them over the _x axis, and I need a formula to get their _y
position on the curved line.

Here is a visual explanation:
http://pages.videotron.com/poubou/flash/curve.jpg

Now, I guess this requires trigonometry... And I really am a newb when it
comes to trig... 

Any help would be appreciated !




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] SOLVED: MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks
Nevermind.  I had the class path going one level too deep.  Isn't that 
always the way?  You bang your head against something for awhile and as 
soon as you ask the list, you figure it out.

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks

I'm having a weird issue with MTASC that just started up.

It compiles fine in Flash.

C:/Project/src/classes/com/stevensacks/site/data/SiteModel.as:10: 
characters 16-25 : type error class not found : 
com.stevensacks.site.data.PageModel


Here is line 10:
private static var _pm:PageModel;

It's claiming it can't find the class PageModel, but I am importing it 
at the top of the SiteModel class.


import com.stevensacks.site.data.PageModel;

Compiling in Flash works fine (the code is actually running).

There are no errors in PageModel that would keep it from compiling.

Anyone seen an error like this?  I'm using -pack commands.

"C:/Program Files/mtasc/mtasc.exe" -swf 
"C:/Clients/Site/deploy/main.swf" -out "C:/Clients/Site/deploy/main.swf" 
-wimp -v -mx -keep  -cp "C:/Documents and Settings/ssacks/Local 
Settings/Application Data/Macromedia/Flash 8/en/Configuration/Classes" 
-cp "C:/Clients/Site/src/classes/com" -pack "stevensacks/utils" -pack 
"stevensacks/site/data" -pack "stevensacks/site/core" -pack 
"stevensacks/site/assets" -pack "stevensacks/site" -pack 
"stevensacks/data" -trace Xray.trace -version 8  2> "C:/Documents and 
Settings/ssacks/Local Settings/Application Data/Macromedia/Flash 
8/en/Configuration/Commands/FLASC/errors.txt"
C:/Clients/Site/src/classes/com/stevensacks/site/data/SiteModel.as:10: 
characters 16-25 : type error class not found : 
com.stevensacks.site.data.PageModel

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Muzak
It's restricted.

Flash 8 produces flash player 8 swf's
Flex produces flash player 9 swf's

Both run in a separate VM (virtual machine) and can not communicate with 
eachother directly.
To have a fp8 swf and fp9 swf communicate, you have to go through a 
LocalConnection.

more info here:
http://livedocs.adobe.com/flex/201/langref/flash/display/AVM1Movie.html

regards,
Muzak

- Original Message - 
From: "Gustavo Duenas" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 25, 2007 7:56 PM
Subject: Re: [Flashcoders] Q: Best tool for AS3 development


> case scenario, I have a swf with some animations and menus in flash  8, I can 
> just load into flex , and use fl;ex buttons to give 
> orders  into the fl8 movie, the same way as I usually do
> in fl8?
>
> Regards
>
>


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread leolea

If you want to animate sequentially, I think you should use Fuse object.

Try this:

var f:Fuse = new Fuse();
f.push({target:mc, Blur_blur:10, time:2, ease:"easeOutElastic"});
f.push({target:mc, Blur_blur:0, time:2, ease:"easeOutElastic"});
f.start();

Every tween that you push in the fuse object will be animated sequentially.




On 4/25/07 1:50 PM, "Mick G" <[EMAIL PROTECTED]> wrote:

> I'm working with Zigo/FMP and just getting used to these mysterious
> wonders...
> 
> I've used *mc_tween2* in the past and was able to do this type of thing but
> not having any luck with the Fuse Kit...
> 
> //Blur to 10, then back to 0
> ZigoEngine.doTween(mc, "Blur_blur", 10, 2, Elastic.easeOut, 0);
> ZigoEngine.doTween(mc, "Blur_blur", 0, 2, Elastic.easeOut, 2);
> 
> Any ideas why the first tween is being ignored? is there a different syntax
> to get the above working?
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Gustavo Duenas
case scenario, I have a swf with some animations and menus in flash  
8, I can just load into flex , and use fl;ex buttons to give orders  
into the fl8 movie, the same way as I usually do

in fl8?

Regards


On Apr 25, 2007, at 1:19 PM, Ash Warren wrote:

Would you suggest Flex Builder even for "hybrid" Flash designer/ 
developer
geeks that still try and separate out code form the timeline and  
use proper
class structures, but still do a lot of work on the timeline for  
visual

assets, etc.?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
thotskee

Sent: Wednesday, April 25, 2007 11:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Q: Best tool for AS3 development

These two get my vote:

Flex Builder 2
Edit Plus

You can grab the: ActionScript 3.0: Application Template (for Ant/ 
MXMLC)

here:
http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet- 
for-actions

cript-20/

You can use the template with Ant, MXMLC and Editplus to author and  
compile
ActionScript 3.0 content without Flex Builder, Flash 9 Alpha or  
Flash CS3. I


do recommend Flex Builder 2 though for coding ActionScript 3.0.

HTH...



- Original Message -
From: <[EMAIL PROTECTED]>
To: "flashcoders" 
Sent: Wednesday, April 25, 2007 8:10 AM
Subject: [Flashcoders] Q: Best tool for AS3 development


At the latest FITC in Toronto I was surprised by the amount of  
commercial

AS3 work being done already.
Also, it seems that Eclipse is very popular for AS3 development.

As a long time Flashdevelop fan I was wondering what are some of  
the other



favorite AS3 development environments?

Which one is 'best'?

Eclipse
Flexbuilder
Flash CS3
Flashdevelop
or??

Thanks!
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Muzak
For that kind of work I still use the Flash IDE.
I create a Project that contains all the Classes + default fla for easy 
compiling (ctrl+alt+p).

I also have a script that generates class skeletons for ARP forms and other UI 
components + a Flash Panel that creates Library 
MovieClips and associates a class with it and writes the .as file to disk.

Here's a rather old demo of the Panel
http://muzakdeezign.com/arp/create_component_demo.html

regards,
Muzak

- Original Message - 
From: "Ash Warren" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 25, 2007 7:19 PM
Subject: RE: [Flashcoders] Q: Best tool for AS3 development


> Would you suggest Flex Builder even for "hybrid" Flash designer/developer
> geeks that still try and separate out code form the timeline and use proper
> class structures, but still do a lot of work on the timeline for visual
> assets, etc.?
>


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread Mick G

I'm working with Zigo/FMP and just getting used to these mysterious
wonders...

I've used *mc_tween2* in the past and was able to do this type of thing but
not having any luck with the Fuse Kit...

//Blur to 10, then back to 0
ZigoEngine.doTween(mc, "Blur_blur", 10, 2, Elastic.easeOut, 0);
ZigoEngine.doTween(mc, "Blur_blur", 0, 2, Elastic.easeOut, 2);

Any ideas why the first tween is being ignored? is there a different syntax
to get the above working?
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread thotskee
I would probably create my timeline based material in Flash and then load 
the SWFs into my main application which I would author and manage in Flex 
Builder or Editplus...


HTH...

- Original Message - 
From: "Ash Warren" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, April 25, 2007 10:19 AM
Subject: RE: [Flashcoders] Q: Best tool for AS3 development



Would you suggest Flex Builder even for "hybrid" Flash designer/developer
geeks that still try and separate out code form the timeline and use 
proper

class structures, but still do a lot of work on the timeline for visual
assets, etc.?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of thotskee
Sent: Wednesday, April 25, 2007 11:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Q: Best tool for AS3 development

These two get my vote:

Flex Builder 2
Edit Plus

You can grab the: ActionScript 3.0: Application Template (for Ant/MXMLC)
here:
http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actions
cript-20/

You can use the template with Ant, MXMLC and Editplus to author and 
compile
ActionScript 3.0 content without Flex Builder, Flash 9 Alpha or Flash CS3. 
I


do recommend Flex Builder 2 though for coding ActionScript 3.0.

HTH...



- Original Message - 
From: <[EMAIL PROTECTED]>

To: "flashcoders" 
Sent: Wednesday, April 25, 2007 8:10 AM
Subject: [Flashcoders] Q: Best tool for AS3 development



At the latest FITC in Toronto I was surprised by the amount of commercial
AS3 work being done already.
Also, it seems that Eclipse is very popular for AS3 development.

As a long time Flashdevelop fan I was wondering what are some of the 
other



favorite AS3 development environments?

Which one is 'best'?

Eclipse
Flexbuilder
Flash CS3
Flashdevelop
or??

Thanks!
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Igor Costa

The Best AS3 dev tool it's that tool that solve or help me to create more
quick my projects.

in my current Uses I use Flex Builder 2.0.1 Better then others and works
perfectly on my needs.



On 4/25/07, Ash Warren <[EMAIL PROTECTED]> wrote:


Would you suggest Flex Builder even for "hybrid" Flash designer/developer
geeks that still try and separate out code form the timeline and use
proper
class structures, but still do a lot of work on the timeline for visual
assets, etc.?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of thotskee
Sent: Wednesday, April 25, 2007 11:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Q: Best tool for AS3 development

These two get my vote:

Flex Builder 2
Edit Plus

You can grab the: ActionScript 3.0: Application Template (for Ant/MXMLC)
here:

http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actions
cript-20/

You can use the template with Ant, MXMLC and Editplus to author and
compile
ActionScript 3.0 content without Flex Builder, Flash 9 Alpha or Flash CS3.
I

do recommend Flex Builder 2 though for coding ActionScript 3.0.

HTH...



- Original Message -
From: <[EMAIL PROTECTED]>
To: "flashcoders" 
Sent: Wednesday, April 25, 2007 8:10 AM
Subject: [Flashcoders] Q: Best tool for AS3 development


> At the latest FITC in Toronto I was surprised by the amount of
commercial
> AS3 work being done already.
> Also, it seems that Eclipse is very popular for AS3 development.
>
> As a long time Flashdevelop fan I was wondering what are some of the
other

> favorite AS3 development environments?
>
> Which one is 'best'?
>
> Eclipse
> Flexbuilder
> Flash CS3
> Flashdevelop
> or??
>
> Thanks!
> Jim Bachalo
>
>
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> 
> "...all improvisation is life in search of a style."
> - Bruce Mau,'LifeStyle'
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Ash Warren
Would you suggest Flex Builder even for "hybrid" Flash designer/developer
geeks that still try and separate out code form the timeline and use proper
class structures, but still do a lot of work on the timeline for visual
assets, etc.?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of thotskee
Sent: Wednesday, April 25, 2007 11:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Q: Best tool for AS3 development

These two get my vote:

Flex Builder 2
Edit Plus

You can grab the: ActionScript 3.0: Application Template (for Ant/MXMLC) 
here:
http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actions
cript-20/

You can use the template with Ant, MXMLC and Editplus to author and compile 
ActionScript 3.0 content without Flex Builder, Flash 9 Alpha or Flash CS3. I

do recommend Flex Builder 2 though for coding ActionScript 3.0.

HTH...



- Original Message - 
From: <[EMAIL PROTECTED]>
To: "flashcoders" 
Sent: Wednesday, April 25, 2007 8:10 AM
Subject: [Flashcoders] Q: Best tool for AS3 development


> At the latest FITC in Toronto I was surprised by the amount of commercial 
> AS3 work being done already.
> Also, it seems that Eclipse is very popular for AS3 development.
>
> As a long time Flashdevelop fan I was wondering what are some of the other

> favorite AS3 development environments?
>
> Which one is 'best'?
>
> Eclipse
> Flexbuilder
> Flash CS3
> Flashdevelop
> or??
>
> Thanks!
> Jim Bachalo
>
>
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> 
> "...all improvisation is life in search of a style."
> - Bruce Mau,'LifeStyle'
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> 

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread thotskee

These two get my vote:

Flex Builder 2
Edit Plus

You can grab the: ActionScript 3.0: Application Template (for Ant/MXMLC) 
here:

http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actionscript-20/

You can use the template with Ant, MXMLC and Editplus to author and compile 
ActionScript 3.0 content without Flex Builder, Flash 9 Alpha or Flash CS3. I 
do recommend Flex Builder 2 though for coding ActionScript 3.0.


HTH...



- Original Message - 
From: <[EMAIL PROTECTED]>

To: "flashcoders" 
Sent: Wednesday, April 25, 2007 8:10 AM
Subject: [Flashcoders] Q: Best tool for AS3 development


At the latest FITC in Toronto I was surprised by the amount of commercial 
AS3 work being done already.

Also, it seems that Eclipse is very popular for AS3 development.

As a long time Flashdevelop fan I was wondering what are some of the other 
favorite AS3 development environments?


Which one is 'best'?

Eclipse
Flexbuilder
Flash CS3
Flashdevelop
or??

Thanks!
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Muzak
I was referring to this usage:
clearInterval(setInterval(this, "something", 1000) - 1)

I'd actually have to test this (which I haven't), but it looks to me like this 
will prevent 2 intervals to run at any given time.

regards,
Muzak

- Original Message - 
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 25, 2007 6:25 PM
Subject: Re: [Flashcoders] Clear Set Interval Q:


> Danny,
>
> I think you're missing out by not using Intervals.  They're extremely useful 
> (and efficient) once you get familiar with them.
>
> If you're looking for one that you don't have to keep track of, google "Kenny 
> Bunch Interval Manager".  It takes care of a lot of 
> interval overhead and puts all intervals in one location (namespace).
>
> To Muzak's point, I'm able to have multiple instances of the same class each 
> have their own interval running inside them.  Do you 
> mean if you make the interval var static?
>
> -Steven


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Robert Brisita

Don't know if this helps you but I'll mention it for the sake of knowledge.

You could also use:

_global.setTimeout(scope, function_str, milliseconds)

Works like setInterval and it will return an ID but it will only run 
once then kill itself.


Ciao,
Rob.

Danny Kodicek wrote:
 > > Is a new intervalID always one greater than the most recent 
  

intervalID?

AFAIK, yes.


That is, will this always work to ensure you only ever have one 
interval running at a time?
  
Again, AFAIK, yes.. but at the same time it limits your to 
only ever have one interval, no matter where.


For instance you won't be able to have 2 instances of the 
same class run an interval at the same time, which might not 
be what you're after.


If you want to manage intervals better than the built in way 
(which is non-existant), google for setInterval manager and 
I'm sure something useful will turn up.


Here's one I just found:
http://www.ny-dev.com/forums/f184/interval-manager-552/



As a general rule, I don't use them at all, but I was just interested to
find a solution that didn't involve having to keep track of all intervals in
use. When working in Director, I've in the past wrapped timeout objects (the
Lingo equivalent of intervals) in my own objects to improve the
functionality, and that's probably what I'd do in Flash too if I were to use
them.

Danny

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread eka

Hello :)

For me... i wait FDT3 ->
http://www.powerflasher.com/fdt/forum/viewtopic.php?t=801

EKA+ :)

2007/4/25, Eric E. Dolecki <[EMAIL PROTECTED]>:


I like Flex Builder and I know many who like FlashDevelop as well.

The AS editor in Flash CS3 is improved, but I don't like coding in it
as much as a dedicated editor.

- eric


On Apr 25, 2007, at 11:10 AM, [EMAIL PROTECTED] wrote:

> At the latest FITC in Toronto I was surprised by the amount of
> commercial AS3 work being done already.
> Also, it seems that Eclipse is very popular for AS3 development.
>
> As a long time Flashdevelop fan I was wondering what are some of
> the other favorite AS3 development environments?
>
> Which one is 'best'?
>
> Eclipse
> Flexbuilder
> Flash CS3
> Flashdevelop
> or??
>
> Thanks!
> Jim Bachalo
>
>
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> 
> "...all improvisation is life in search of a style."
>  - Bruce Mau,'LifeStyle'
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Steven Sacks

Danny,

I think you're missing out by not using Intervals.  They're extremely 
useful (and efficient) once you get familiar with them.


If you're looking for one that you don't have to keep track of, google 
"Kenny Bunch Interval Manager".  It takes care of a lot of interval 
overhead and puts all intervals in one location (namespace).


To Muzak's point, I'm able to have multiple instances of the same class 
each have their own interval running inside them.  Do you mean if you 
make the interval var static?


-Steven
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Eric E. Dolecki

I like Flex Builder and I know many who like FlashDevelop as well.

The AS editor in Flash CS3 is improved, but I don't like coding in it  
as much as a dedicated editor.


- eric


On Apr 25, 2007, at 11:10 AM, [EMAIL PROTECTED] wrote:

At the latest FITC in Toronto I was surprised by the amount of  
commercial AS3 work being done already.

Also, it seems that Eclipse is very popular for AS3 development.

As a long time Flashdevelop fan I was wondering what are some of  
the other favorite AS3 development environments?


Which one is 'best'?

Eclipse
Flexbuilder
Flash CS3
Flashdevelop
or??

Thanks!
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash CS 3 Proff - Backward compatibility

2007-04-25 Thread Muzak
> If we have only CS3 in our machines, will we be able to:
>
>   1. compile the FLAs which has AS 1 code, to ver 7 swf?
>   2. compile the FLAs which has either AS1 or AS2 code, to ver 8 swf?

1. yes
2. yes

regards,
Muzak


- Original Message - 
From: "vipin chandran" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, April 25, 2007 1:39 PM
Subject: [Flashcoders] Flash CS 3 Proff - Backward compatibility


> Hi All,
>
> This is again related to Flash CS3.
>
> We are having running projects which uses either flash MX 2004 or Flash 8.
> These projects come back to us on a yearly basis for updations. So we wont
> get time to change/migrate all the MX 2004 projects to 8 or to CS3.
>
> Now the company is thinking of upgrading all the existing Flash MX 2004 and
> Flash 8 to CS3. My question here is, how well backward compatible is Flash
> CS3? If we have only CS3 in our machines, will we be able to:
>
>   1. compile the FLAs which has AS 1 code, to ver 7 swf?
>   2. compile the FLAs which has either AS1 or AS2 code, to ver 8 swf?
>
> I am looking forward for getting a positive answer from you guys.
>
> Thanks
> --vpn


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread moveup
At the latest FITC in Toronto I was surprised by the amount of commercial AS3 
work being done already.
Also, it seems that Eclipse is very popular for AS3 development.

As a long time Flashdevelop fan I was wondering what are some of the other 
favorite AS3 development environments?

Which one is 'best'?

Eclipse
Flexbuilder
Flash CS3
Flashdevelop
or??

Thanks!
Jim Bachalo


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Pile of Objects Physics

2007-04-25 Thread Robert Brisita

Just a quick note:
Flade is AS2 and is no longer in development.
APE is AS3 by the creator of Flade (Alex Cove).
Fisix is AS3 by another group.

Tom Gooding wrote:

I think fisix engine is an AS3 continuation of APE. I've used the flade
library (which I think in turn is the precursor of APE) for some rigid
body simulations before and it's pretty good (especially if you need to
support <9 version players), documentation is non existent though, you
need to look at the example code to infer usage.

FLADE: http://www.cove.org/flade/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Brisita
Sent: 25 April 2007 15:25
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Pile of Objects Physics

Hey Joe,

I'm currently working on a flash physics based project as well.  From my

research I have found two
AS3 based physics engines, which one was already mentioned by you 
(APE).  The other
is the Fisix Engine.  From my tests it is better structured and more 
complete.


Check out:

http://www.fisixengine.com/engine.asp

It is free to use on non-commercial projects but the license for 
commercial projects is a bit steep.
Because of that I may end up using APE cause of its LGPL and release 
what ever I add to it.  Haven't decided yet.


Hope this helps,
Rob.

Joe Cutting wrote:
  

Hello,
  I'm looking at simulating the physics of a pile of irregular objects



  
in Flash. The idea is that you drop irregular object on the pile and 
it decides where to stop, if you remove an object then it decides 
whether the ones above it fall etc.

Has anyone seen any good tutorials, books or code to do this.
I'm aware of the APE project (http://www.cove.org/ape/) but it looks a



  

bit over specced and not very finished.
Some one of this list also mentioned the O reilly game physics book 
(http://www.oreilly.com/catalog/physicsgame/) but hadn't trried it


out.
  

I'd be grateful for any pointers to get me started on this.

Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Pile of Objects Physics

2007-04-25 Thread Tom Gooding
I think fisix engine is an AS3 continuation of APE. I've used the flade
library (which I think in turn is the precursor of APE) for some rigid
body simulations before and it's pretty good (especially if you need to
support <9 version players), documentation is non existent though, you
need to look at the example code to infer usage.

FLADE: http://www.cove.org/flade/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Brisita
Sent: 25 April 2007 15:25
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Pile of Objects Physics

Hey Joe,

I'm currently working on a flash physics based project as well.  From my

research I have found two
AS3 based physics engines, which one was already mentioned by you 
(APE).  The other
is the Fisix Engine.  From my tests it is better structured and more 
complete.

Check out:

http://www.fisixengine.com/engine.asp

It is free to use on non-commercial projects but the license for 
commercial projects is a bit steep.
Because of that I may end up using APE cause of its LGPL and release 
what ever I add to it.  Haven't decided yet.

Hope this helps,
Rob.

Joe Cutting wrote:
> Hello,
>   I'm looking at simulating the physics of a pile of irregular objects

> in Flash. The idea is that you drop irregular object on the pile and 
> it decides where to stop, if you remove an object then it decides 
> whether the ones above it fall etc.
> Has anyone seen any good tutorials, books or code to do this.
> I'm aware of the APE project (http://www.cove.org/ape/) but it looks a

> bit over specced and not very finished.
> Some one of this list also mentioned the O reilly game physics book 
> (http://www.oreilly.com/catalog/physicsgame/) but hadn't trried it
out.
>
> I'd be grateful for any pointers to get me started on this.
>
> Cheers
>
> Joe
>
>
>
>
> Joe Cutting
> Computer exhibits and installations
> www.joecutting.com
> The Fishergate Centre, 4 Fishergate, York, YO10 4FB
> 01904 624681
>
> As of 30th October 2006 I have a new office so
> please note my new address and phone number  
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Javascript SetVariable -- when does Flash see thechange?

2007-04-25 Thread Andy Herrman

Could you set a watch on the variable?  I haven't done it, but my
understanding is that you can set a function to be called any time a
particular variable is changed.  In theory this would let you know
when the value was changed by javascript and then you can handle it.

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2592.html

  -Andy

On 4/25/07, John Dowdell <[EMAIL PROTECTED]> wrote:

The browser is a big variable in latency of message-passing. You can confirm 
that many SWF will run at different rates in different browsers. The NPRuntime 
API is now implemented pretty well in today's popular browsers, but the size 
and timing of permissible messages may vary among implementations.
http://www.mozilla.org/projects/plugins/npruntime.html

In this case, though, it looks like you're using the old "javascript:" 
pseudo-URL, and then polling immediately for a result. It may be better to wait a frame 
or two, or an interval, before checking whether the plugin-to-browser and 
browser-to-plugin communication cycles have finished. I don't know how many browsers 
would stop the plugin's execution during the attempted cross-app communication.

jd/adobe
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Pile of Objects Physics

2007-04-25 Thread Robert Brisita

Hey Joe,

I'm currently working on a flash physics based project as well.  From my 
research I have found two
AS3 based physics engines, which one was already mentioned by you 
(APE).  The other
is the Fisix Engine.  From my tests it is better structured and more 
complete.


Check out:

http://www.fisixengine.com/engine.asp

It is free to use on non-commercial projects but the license for 
commercial projects is a bit steep.
Because of that I may end up using APE cause of its LGPL and release 
what ever I add to it.  Haven't decided yet.


Hope this helps,
Rob.

Joe Cutting wrote:

Hello,
  I'm looking at simulating the physics of a pile of irregular objects 
in Flash. The idea is that you drop irregular object on the pile and 
it decides where to stop, if you remove an object then it decides 
whether the ones above it fall etc.

Has anyone seen any good tutorials, books or code to do this.
I'm aware of the APE project (http://www.cove.org/ape/) but it looks a 
bit over specced and not very finished.
Some one of this list also mentioned the O reilly game physics book 
(http://www.oreilly.com/catalog/physicsgame/) but hadn't trried it out.


I'd be grateful for any pointers to get me started on this.

Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] The great CS3 Swindle

2007-04-25 Thread Maximilian Reuss
wow, that's an really good thread here. it hits the point.

but please sign this petition:

Online petition - Fair pricing for European Software / Des prix corrects pour 
les logiciels vendus en Europe
http://www.gopetition.com/petitions/fair-pricing-for-european-software.html


cheers,

max

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash CS 3 Proff - Backward compatibility

2007-04-25 Thread vipin chandran

Hi All,

This is again related to Flash CS3.

We are having running projects which uses either flash MX 2004 or Flash 8.
These projects come back to us on a yearly basis for updations. So we wont
get time to change/migrate all the MX 2004 projects to 8 or to CS3.

Now the company is thinking of upgrading all the existing Flash MX 2004 and
Flash 8 to CS3. My question here is, how well backward compatible is Flash
CS3? If we have only CS3 in our machines, will we be able to:

  1. compile the FLAs which has AS 1 code, to ver 7 swf?
  2. compile the FLAs which has either AS1 or AS2 code, to ver 8 swf?

I am looking forward for getting a positive answer from you guys.

Thanks
--vpn
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Pile of Objects Physics

2007-04-25 Thread Joe Cutting

Hello,
  I'm looking at simulating the physics of a pile of irregular 
objects in Flash. The idea is that you drop irregular object on the 
pile and it decides where to stop, if you remove an object then it 
decides whether the ones above it fall etc.

Has anyone seen any good tutorials, books or code to do this.
I'm aware of the APE project (http://www.cove.org/ape/) but it looks 
a bit over specced and not very finished.
Some one of this list also mentioned the O reilly game physics book 
(http://www.oreilly.com/catalog/physicsgame/) but hadn't trried it out.


I'd be grateful for any pointers to get me started on this.

Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681

As of 30th October 2006 I have a new office so
please note my new address and phone number  
___

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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Danny Kodicek
 > > Is a new intervalID always one greater than the most recent 
> intervalID?
> 
> AFAIK, yes.
> 
> > That is, will this always work to ensure you only ever have one 
> > interval running at a time?
> 
> Again, AFAIK, yes.. but at the same time it limits your to 
> only ever have one interval, no matter where.
> 
> For instance you won't be able to have 2 instances of the 
> same class run an interval at the same time, which might not 
> be what you're after.
> 
> If you want to manage intervals better than the built in way 
> (which is non-existant), google for setInterval manager and 
> I'm sure something useful will turn up.
> 
> Here's one I just found:
> http://www.ny-dev.com/forums/f184/interval-manager-552/

As a general rule, I don't use them at all, but I was just interested to
find a solution that didn't involve having to keep track of all intervals in
use. When working in Director, I've in the past wrapped timeout objects (the
Lingo equivalent of intervals) in my own objects to improve the
functionality, and that's probably what I'd do in Flash too if I were to use
them.

Danny

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Muzak
> Is a new intervalID always one greater than the most recent intervalID?

AFAIK, yes.

> That is, will this always work to ensure you only ever have one interval 
> running
> at a time?

Again, AFAIK, yes.. but at the same time it limits your to only ever have one 
interval, no matter where.

For instance you won't be able to have 2 instances of the same class run an 
interval at the same time, which might not be what 
you're after.

If you want to manage intervals better than the built in way (which is 
non-existant), google for setInterval manager and I'm sure 
something useful will turn up.

Here's one I just found:
http://www.ny-dev.com/forums/f184/interval-manager-552/

regards,
Muzak

- Original Message - 
From: "Danny Kodicek" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 25, 2007 12:02 PM
Subject: RE: Re[2]: [Flashcoders] Clear Set Interval Q:


> >
>> HG> So once you create a new interval with the same name you
>> will lose
>> HG> the path of the original?
>>
>> An interval has no name, it has a numeric ID - what has a
>> name is the variable (or more variables if you want) where
>> you store this ID. And yes, if you doesn't care about storing
>> the ID (e.g. you overwrite it), you will lose information
>> which is required for clearing a specific interval.
>

>
> clearInterval(setInterval(this, "something", 1000) - 1)
>
> Danny


___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Danny Kodicek
 > 
> HG> So once you create a new interval with the same name you 
> will lose 
> HG> the path of the original?
> 
> An interval has no name, it has a numeric ID - what has a 
> name is the variable (or more variables if you want) where 
> you store this ID. And yes, if you doesn't care about storing 
> the ID (e.g. you overwrite it), you will lose information 
> which is required for clearing a specific interval.

Is a new intervalID always one greater than the most recent intervalID? That
is, will this always work to ensure you only ever have one interval running
at a time?

clearInterval(setInterval(this, "something", 1000) - 1)

Danny

___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] The great CS3 Swindle

2007-04-25 Thread Zárate

"it must be paying for a lot of local country specialists, lawyers,
etc. which are unique to each country"

Well, that makes sense, but as the article says, how then Adobe
competitors manage to keep that difference wy slower?

A little bit of overprice? Fair enough. But not *that* difference.

On 4/24/07, Newsdee <[EMAIL PROTECTED]> wrote:

I wouldn't hold my breath waiting for prices changing from this,
unfortunately.

At the end of the day pricing is purely a marketing function, and in that
world the only rule is to charge as much as the customer is willing to pay.
Then there are hundreds of ways to justify the price by calling accounting
and agreeing on what costs are being covered by the price. For all you know
the price difference is to pay for the private jets that the sales reps are
taking to go around Europe..! (*)

In addition, it is likely that the target for these prices are companies,
not individuals. Said companies can get the VAT off in some countries, and
may benefit from other tax cuts (e.g. passing this as an expense) which
makes them much more willing to foot the bill than your average developer
guy/gal, who has to pay from his/her net income and pay VAT on top of it.

So... I don't believe it's going to change unless some of the subsidiaries
see drops in profits. It's going to take some massive boycotting or perhaps
push from an open-source competitor product for things to change... both
unlikely.


(*) ...or more likely, it must be paying for a lot of local country
specialists, lawyers, etc. which are unique to each country, thus driving
the overhead costs through the roof.



On 4/24/07, Zárate <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> Sorry to bring this up again, but Danielle Libine has put up a really
> interesting pdf about the subject. He gathers lots of data with really
> clear graphics about prices and countries. Then a couple of questions
> for Adobe:
>
> http://web.mac.com/libine/iWeb/Site/Article.html
>
> I think we really should keep the "pressure" up and "force" Adobe to
> at least give a public, official explanation. Hopefully a review of
> the prices.
>
> Cheers,
>
> Juan
>
> On 4/7/07, Søren Christensen <[EMAIL PROTECTED]> wrote:
> >
> >
> > Yes it is totally f*ckd up - production bundle upgrade:
> > us: $1199 / €897 eu/spain: $2630 / €1967
> >
> > So guess which side of the atlantic i am buying my upgrade ;-)
> >
> > Cheers,
> >  >B) Søren
> >
> > On Mar 28, 2007, at 4:27 PM, Joe Wheeler wrote:
> >
> > > Has anyone checked out the international prices on CS3?
> > >
> > > I can hardly believe how badly the UK is getting fleeced.
> > >
> > > I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design
> > > Premium. In
> > > the US that's $599.00 dollars, but in the UK pounds it works out to
> > > £703.82.
> > > Take the exchange rate into account and UK customers are paying...
> > >
> > >
> > > 1,384.51 USD!!!
> > >
> > > Sales tax in the UK is 17.5% but the Adobe price hike is a whopping
> > > 231% - W
> > > T F?
> > >
> > > ___
> > > 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 Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> >
> > ___
> > 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 Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> Juan Delgado - Zárate
> http://zarate.tv
> http://dandolachapa.com
> http://loqueyosede.com
> ___
> 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 Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Juan Delgado - Zárate
http://zarate.tv
http://dandolachapa.com
http://loqueyosede.com
___
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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training