RE: [Flashcoders] Programatic anmation to Quicktime/AVI

2007-05-04 Thread Chris Daubney
Swf2video has always worked for me

http://www.adshareit.com/



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of pedr browne
Sent: 04 May 2007 10:34
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Programatic anmation to Quicktime/AVI

Hello,

Got an animation that uses nested MCs and programatic animation. Need to
export it to either AVI or uncompressed Quicktime, and obviously using
Flash's own export is a no-no.

Was wondering how other people would approach this. Have tried a few swf to
AVI apps, but found them prone to dropping frames. To compound matters I am
using a Mac, though I can run PC apps through Parralells.

Any advice gratefully appreciated.

P
___
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] Using components in MovieClips

2006-12-19 Thread chris daubney
I suspect when you mention that move() is not working then you are 
trying to invoke this on the Button components from within 
createChildren() . This will also not work as child UIObject components 
are not fully initialised until the next frame.


UIObject has a doLater() function which will defer any method call to 
the next frame. So you could do something like this


function createChildren () : Void
{
   // do something here

   doLater(this, layoutComponents);
}

// invoked on the next frame
function layoutComponents () : Void
{
   myUIObjectComponent.move(100, 50);
}


mx.core.View does something similar to this: you would layout components 
in a doLayout() method which is automatically deferred called on the 
next frame.


You could of course declare a draw() method instead.

Chris



David Ham:

Hi,

I was having trouble with some components yesterday. I am writing a
NavigatonView class that extends UIObject. I linked it to a symbol in the
library that had four Button components in it. The symbol had no code in it;
the code for the class was entirely in an external .as file.

Here is the trouble: the Button components appear on stage, but only as
Movieclips, they do not respond to component commands like move(), and they
do not register calls to addEventListener(). However, they respond visually
when I roll over them, and I can attach functions to their onRelease. What
gives?

Here is the code from the class:

private function createChildren():Void {
trace(CREATECHILDREN);
roomShape_btn.toggle = true;
//roomShape_btn.addEventListener( click, this );
//resizeRoom_btn.addEventListener( click, this );
//editCorners_btn.addEventListener( click, this );
//placeObjects_btn.addEventListener( click, this );
roomShape_btn.onRelease = click;
resizeRoom_btn.onRelease = click;
editCorners_btn.onRelease = click;
placeObjects_btn.onRelease = click;

}

function click(evt:Object) {

trace( this );
}

The commented lines do not work (and yes, I did try uncommenting them first,
har har) but the onRelease ones do.

Incidentally, component instances that I create dynamically with
createClassObject() work as expected.

Thanks for any help you can offer,

OK
DAH



___
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] Subclipse 1.1.x upgrade restores AS syntax checking in Eclipse

2006-12-18 Thread chris daubney

Hi,
Just thought i'd let everyone know of a problem I had recently regarding 
my Eclipse IDE 3.2.x/Callisto workspace which includes Subclipse 1.0.x 
and the last release versions of MTASC  ASDT.  Ever since I upgraded 
Eclipse from 3.1.x, Actionscript syntax checking just stopped working. 
After browsing the usual sites, I still have no idea why (i don't have 
any other additional features or plugins installed), but I found that 
after upgrading Subclipse to development version 1.1.x  
(http://subclipse.tigris.org/callisto.html) syntax checking was then 
restored to its former glory. Quite obscure but may be of help to 
someone with a similar problem.


Chris
___
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] Zinc 2.5 Alternative

2006-12-08 Thread chris daubney
If you're considering Apollo, Mike Chambers discusses how desktop 
applications may be deployed  distributed with the Apollo runtime in 
this podcast...

http://weblogs.macromedia.com/mesh/files/podcasts/07-14-06_mike_chambers.mp3

Chris



Steven Sacks | BLITZ:

If you're not in a rush, there's always Apollo.  :)
___
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] Old Flash Problem - Clips stop receiving clicks

2006-11-29 Thread chris daubney
I remember reading these articles a few years ago by Phil Chung/ Grant 
Skinner that may help...


http://www.philterdesign.com/blog/archives/31.html
http://www.gskinner.com/blog/archives/54.html

Chris

Steven Sacks | BLITZ:

Hey everyone,

There's an old problem with Flash that pops up every so often and I've
never been able to determine what causes it or how to solve it.
Sometimes certain clips/buttons stop receiving clicks unless you move
the mouse between clicks.  Does anyone know how or why this happens and
how to get around it (hopefully not involving hitTest)?

Thanks,
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

  


___
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] Acronym for Actionscript/Flash/Flex

2006-11-28 Thread chris daubney
My feeling is that the Flash IDE will gradually forsake its name in 
favour of a the more generic use of the term (i'm thinking 'Hoover', 
'hoover' here) so i'm happy to stick with Flash, and make a worthy point 
that the project is built with Actionscript as that tends to be where 
the majority of my work is concentrated. I suspect many developers 
wouldn't mind if the Flash IDE had a name change now that Flex is 
perhaps becoming more the tool-of-choice, as that would probably clear 
things up lexically for me (or is this REUTWW - Rubbing Everyone Up The 
Wrong Way?) 


Steven Sacks | BLITZ:

My suggestions:

ABA - Annoying Banner Ads
PTM - Punch The Monkey
SIB - Skip Intro Button
FCA - Funny Cartoon Animation
SECI - Search Engines Can't Index
TTUG - Tell Target Underscore Global
___
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] Acronym for Actionscript/Flash/Flex

2006-11-27 Thread chris daubney
Flash is so much in the mindset of clients  developers alike that as a 
core set of technologies it's difficult to imagine it being called 
anything else. But it did occur to me while I was writing and having to 
use Flash  Flex within the same argument along with Actionscript, that 
it becomes difficult to sustain Flash as meaning one thing when 
discussing it in a broader context. I realised that I was having to 
write Actionscript/Flash/Flex/etc each time I wanted to refer to Flash 
as the development platform to be able to differentiate myself from 
'Flash as IDE' or 'Flash as final application'.


Obviously no one is able to force the uptake of a non-commercial acronym 
of any kind, especially with something so ubiquitous as Flash, but it 
does perhaps highlight an interesting point that there is still some 
debate about what 'Flash' stands for. If anything, it did start me 
thinking about what Flash is not, which helped me understand what role 
Tamarin plays in all this.


I don't know if there is a similar discussion elsewhere, but I've posted 
the start of what i hope will be an interesting debate at 
http://flashacronym.blogspot.com/. Feedback welcome.

___
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] Acronym for Actionscript/Flash/Flex

2006-11-26 Thread chris daubney
In the same way that AJAX stands for Javascript/XML, can anyone come up 
with or has heard an appealing acronym for Actionscript/Flex/Flash?


Why?
Perhaps in small part due to their heritage, the Actionscript/Flex/Flash 
core set of technologies are often referred to as Flash (as is the Flash 
Player at times). I find this poses all sorts of interesting questions:-

- is it a Flash project?
- is it an Actionscript project?
- is it a Flex project?
- what do we say when the Flash/Flex IDE are out of the picture but 
still work with Actionscript using other tools?

...and so on

Maybe Flash or FLASH is enough.

Food for thought.

Chris
___
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] Actionscript and version control

2006-10-01 Thread chris daubney

Hi,
Anyone using Subclipse to manage a Subversion repository and who may 
provide some guidance? I have Eclipse/MATSC/ASDT which I use alongside 
the Flash IDE for Actionscript 2 classes/package development, and have 
recently decided to introduce Subclipse/Subversion to Eclipse to 
maintain version control of all my classes (which until recently I had 
kept on the local hard drive within one large directory structure which 
mirrored the class packages).


I've digested as much as i quickly can from various sources (including 
the online book 'Version Control with Subversion', Ben Collins-Sussman, 
Brian W. Fitzpatrick, C. Michael Pilato) to grasp the concepts and 
methodologies of version control. While attempting to assimilate this 
into my Actionscript workflow:-
- Actionscript syntax checking' in the Eclipse IDE working copy no 
longer works after I check out or update from Subversion repository
- Having trouble deciding on a structure for the repository. It would be 
useful if I could checkout separate packages rather than the whole 
repository and maintain cross referencing to other classes within my 
code, which would avoid 'class not found' errors when syntax checking.


Any advice on other add-ons, tools or 'best practice' which I could 
introduce into my workflow when working with version control for 
Actionscript?


Chris
___
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] Garbage collection for AS2 classes

2006-09-26 Thread chris daubney

Thanks Nicolas,
I've been trying to find an elegant solution to this to keep any loaded 
swfs encapsulated so that they are 'fully' destroyed (movieclips, 
objects, singletons etc.) when the swf is unloaded. I'm sure many 
developers have investigated this. How do you manage to prevent your 
classes in external swfs from loading into the _global namespace? Have 
you managed to discover a way to prevent the Flash Player from 
inheritently performing this at runtime?



Nicolas Cannasse:

Hi,
I found this thread in Flashcoders that discusses a similar problem I 
have regarding garbage collection of AS2 classes/components when 
unloading swfs from the Flash Player...


garbage collection troubles (Dated: Feb 2005)
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-February/130253.html 



Has anybody come up with other solutions for this as it seems an 
important issue for developers working on large applications? To date, I 
have not as yet explored AS3, Flex 2 or FP9 so I don't know if this has 
been addressed - i'm developing in Flash 8/AS2.



Classes are stored in _global and are not overwritten if already
defined. This has the following side effects :

- if you have already a global named MyClass defined, then the class
is not correctly registered
- you cannot have two versions of the same class at the same time
- classes and all their statics are kept even after removal

One solution is to set the values of _global to null after removing the
loaded clip, but you need to be able to discrimate between your
framework classes and the loaded ones.

That's why for example in haXe (http://haxe.org) classes are stored in
the loaded MovieClip instead of _global.

Nicolas
___
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] Garbage collection for AS2 classes

2006-09-26 Thread chris daubney

Hi,
I found this thread in Flashcoders that discusses a similar problem I 
have regarding garbage collection of AS2 classes/components when 
unloading swfs from the Flash Player...


garbage collection troubles (Dated: Feb 2005)
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-February/130253.html 



Has anybody come up with other solutions for this as it seems an 
important issue for developers working on large applications? To date, I 
have not as yet explored AS3, Flex 2 or FP9 so I don't know if this has 
been addressed - i'm developing in Flash 8/AS2.


Thanks

Chris
___
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] Garbage collection for AS2 classes

2006-09-26 Thread chris daubney
Sorry I wasn't aware of the nature of haXe. I've just read some of the 
documentation (http://haxe.org/tutos/haxe_as2) and now see that it 
addresses this problem perfectly. Great stuff! Thanks.


Chris


Nicolas Cannasse:

Thanks Nicolas,
I've been trying to find an elegant solution to this to keep any loaded 
swfs encapsulated so that they are 'fully' destroyed (movieclips, 
objects, singletons etc.) when the swf is unloaded. I'm sure many 
developers have investigated this. How do you manage to prevent your 
classes in external swfs from loading into the _global namespace? Have 
you managed to discover a way to prevent the Flash Player from 
inheritently performing this at runtime?



This is not the Player that fixe this behavior but the compiler, which
assigns classes explicitely in _global. A different compiler such as
haXe can then generate different bytecode.

Nicolas
___
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