Re: [Flashcoders] Mailing Lists and Tools

2013-05-23 Thread Jon Bradley
There are many better alternatives for professional coding that include 
automated building, unit testing, support for SCSS and LESS, grunt, etc. I 
wouldn't consider Dreamweaver a serious platform for building web applications. 
Useful for some, certainly, but there are many better options out there.

Probably the best for those that aren't vested in the Visual Studio platform:
http://www.jetbrains.com/idea/

Second best (by the same company):
http://www.jetbrains.com/webstorm/

For just text editor usage, for the most part:

http://www.sublimetext.com/
http://macrabbit.com/espresso/

I'd personally stay way away from Dreamweaver. It keeps you bound to a low 
quality workflow that's not scalable or efficient.

-j


On May 23, 2013, at 12:15 PM, Kenneth Kawamoto kennethkawam...@gmail.com 
wrote:

 I know it's a long tradition to laugh at Dreamweaver as substandard tool, but 
 I actually use it daily, for two reasons: 
 1. Comprehensive jQuery auto-completion/code-hint as well as PHP
 2. Built-in FTP  SVN client
 Obviously never touch the WYSIWYG editor.
 
 Please let me know if there are alternative with above equipped. I don't like 
 to be laughed at. But I know none.
 
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
 
 
 
 On 23 May 2013, at 16:17, James Merrill wrote:
 
 I've been moving to StackOverflow for questions, and Reddit's coding
 subreddits for general programming discussion  Here's a URL that bundles a
 bunch of good programming subreddits:
 http://www.reddit.com/r/webdev+web_design+html+css+programming+learnprogramming+design+ProgrammerHumor+html5
 
 As for an IDE, I would highly discourage you from using Dreamweaver. There
 are much better tools that are cheap/free. I am currently using Aptana,
 which is Eclipse based and contains tons of helpful features. I am moving
 towards using SublimeText as my primary IDE. It's extremely streamlined and
 elegant, and I highly suggest checking it out. Adobe has been working on an
 IDE called Brackets that looks pretty cool too.
 
 
 
 
 On Thu, May 23, 2013 at 11:06 AM, Kerry Thompson 
 al...@cyberiantiger.bizwrote:
 
 I've found Dreamweaver to be a good tool for HTML5. when you get JavaScript
 under your belt, take a look at JQuery. it will save you a lot of
 development time.
 
 Mailing lists are pretty quiet these days. I don't know where the
 programmers congregate, but my colleagues in the French Horn world have
 moved to a Facebook group.
 
 Cordially,
 
 Kerry Thompson
 On May 23, 2013 9:52 AM, Bryan Thompson br...@swfmagic.com wrote:
 
 I know many developers are migrating towards HTML5/CSS/JavaScript. Google
 reveals a multitude of results for mailing lists.  I hope to take
 advantage
 of the experience on this list to get some advice on good quality lists
 like
 this one.  I also would like recommendations for (Windows) IDE's for
 JavaScript, or general HTML5 development including all the supporting
 languages. I have Dreamweaver, but that seems a bit of overkill for a
 developer.
 
 Thanks in advance guys!
 
 
 
 Bryan Thompson
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
 -- 
 James Merrill
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mailing Lists and Tools

2013-05-23 Thread Jon Bradley
Need to step up to IntelliJ for that.


On May 23, 2013, at 6:23 PM, Kenneth Kawamoto kennethkawam...@gmail.com wrote:

 Webstorm doesn't support PHP :(
 
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
 
 
 
 
 On 23 May 2013, at 17:35, Jon Bradley wrote:
 
 There are many better alternatives for professional coding that include 
 automated building, unit testing, support for SCSS and LESS, grunt, etc. I 
 wouldn't consider Dreamweaver a serious platform for building web 
 applications. Useful for some, certainly, but there are many better options 
 out there.
 
 Probably the best for those that aren't vested in the Visual Studio platform:
 http://www.jetbrains.com/idea/
 
 Second best (by the same company):
 http://www.jetbrains.com/webstorm/
 
 For just text editor usage, for the most part:
 
 http://www.sublimetext.com/
 http://macrabbit.com/espresso/
 
 I'd personally stay way away from Dreamweaver. It keeps you bound to a low 
 quality workflow that's not scalable or efficient.
 
 -j
 
 
 On May 23, 2013, at 12:15 PM, Kenneth Kawamoto kennethkawam...@gmail.com 
 wrote:
 
 I know it's a long tradition to laugh at Dreamweaver as substandard tool, 
 but I actually use it daily, for two reasons:
 1. Comprehensive jQuery auto-completion/code-hint as well as PHP
 2. Built-in FTP  SVN client
 Obviously never touch the WYSIWYG editor.
 
 Please let me know if there are alternative with above equipped. I don't 
 like to be laughed at. But I know none.
 
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
 
 
 
 On 23 May 2013, at 16:17, James Merrill wrote:
 
 I've been moving to StackOverflow for questions, and Reddit's coding
 subreddits for general programming discussion  Here's a URL that bundles a
 bunch of good programming subreddits:
 http://www.reddit.com/r/webdev+web_design+html+css+programming+learnprogramming+design+ProgrammerHumor+html5
 
 As for an IDE, I would highly discourage you from using Dreamweaver. There
 are much better tools that are cheap/free. I am currently using Aptana,
 which is Eclipse based and contains tons of helpful features. I am moving
 towards using SublimeText as my primary IDE. It's extremely streamlined and
 elegant, and I highly suggest checking it out. Adobe has been working on an
 IDE called Brackets that looks pretty cool too.
 
 
 
 
 On Thu, May 23, 2013 at 11:06 AM, Kerry Thompson 
 al...@cyberiantiger.bizwrote:
 
 I've found Dreamweaver to be a good tool for HTML5. when you get 
 JavaScript
 under your belt, take a look at JQuery. it will save you a lot of
 development time.
 
 Mailing lists are pretty quiet these days. I don't know where the
 programmers congregate, but my colleagues in the French Horn world have
 moved to a Facebook group.
 
 Cordially,
 
 Kerry Thompson
 On May 23, 2013 9:52 AM, Bryan Thompson br...@swfmagic.com wrote:
 
 I know many developers are migrating towards HTML5/CSS/JavaScript. Google
 reveals a multitude of results for mailing lists.  I hope to take
 advantage
 of the experience on this list to get some advice on good quality lists
 like
 this one.  I also would like recommendations for (Windows) IDE's for
 JavaScript, or general HTML5 development including all the supporting
 languages. I have Dreamweaver, but that seems a bit of overkill for a
 developer.
 
 Thanks in advance guys!
 
 
 
 Bryan Thompson
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
 -- 
 James Merrill
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Adobe Flash future

2013-05-09 Thread Jon Bradley
Nice to see you're still lurking, mesh :)

CreateJS looks interesting and I've toyed with it a bit. Some of the new 
integration opportunities with Flash CC will be interesting to check out. 
However, it'll be primarily a toy and best for demo work until (and if) Adobe 
can create a clear professional solution for the development of creative 
application apps in HTML.

Edge tooling doesn't cut it for robust, performant and maintainable code – at 
least not even close to the same ballpark as those in the space had with 
Flex/Flash. There's some interesting things going on there though.

-j



On May 9, 2013, at 12:18 PM, Mike Chambers wrote:

 Check out CreateJS:
 
 http://www.createjs.com/
 
 Includes the ability to export from Flash Pro.
 
 mike chambers
 
 m...@adobe.com
 
 On May 8, 2013, at 8:30 AM, Liu, Peter p...@geico.com wrote:
 
 Why can't Adobe make HTML5 as one of the publishing options, then we can 
 continue to use Flash without the need to learn another program?
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Adobe Flash future

2013-05-09 Thread Jon Bradley
Yea, that's why it's excellent for demoware. The suite clearly allows creatives 
to demonstrate work and it adds a fair amount of value to prototyping/demo work.

In the keynote, we saw Photoshop to Edge Reflow export – a very useful step to 
PS CC to export graphics quickly and have them in-place to being conceptual 
demo work. Not a single bit of that is production-worthy though – at least not 
the type of production work the company I work for does.

Of course, once you go to Edge Reflow, there's nothing about the code it uses 
and methodology that's implemented that's something I'd ever put in to 
production.

That said, these are all very new tools with a very high potential associated 
with them. I have my fingers crossed that Adobe will do their best for the web 
(HTML/CSS3/Shaders, etc.) that they did by advancing the state-of-the-art with 
Flash.

These are exciting times. Adobe needs to integrate Adobe Ideas into their CC 
products so that they, and ourselves, can see and feedback within the product 
where we, as users, see the value and opportunity.

-j


On May 9, 2013, at 12:42 PM, Weyert de Boer wrote:

 I think the main issue with EDGE is that it generates such big files. I 
 haven't been able to create a useful banner animation with it. Well, one that 
 meets the maximum file size for a HTML5 banner. Only the Edge script is 
 already bigger ;)
 
 Yes, I have to admit CreateJS looks promising.
 
 Thanks for the link Mike, it seems that CreateJS is definitely a step in
 the right direction.
 
 I'm still not sold on Adobe's EDGE suite though... I am afraid that I'll
 always be skeptical of generated HTML after seeing Dreamweaver's design
 view. I also know from experience that including Adobe Edge's javascript
 libraries in filesize sensitive contexts will really limit your options.
 These things make me worried that there may never be a competent,
 visual-based IDE for HTML... which would be a major step backwards from the
 glory days of Flash.
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

2013-01-24 Thread Jon Bradley
The Sencha stuff is certainly worth looking in to, considering previous 
Flex/Flash evangelists are on the Sencha team now. Of course, that's a larger 
framework that comes with certain expectations as opposed to understanding the 
underlying technology and learning needed to excel in that field.

Remix South, founded and organized by one of my colleagues may be of interest 
as well.  I'm not sure where you 
are located, Jason, but it might be of some value to connect with those that 
are converting from the Flash to web space. This conference, specifically, is 
growing rapidly and many of those attending came from the 'interactive 
designer' or 'interactive developer' space and are broadening their interests.

http://remixsouth.com/


BTW, I miss this list. I spent many years on flashcoders and flexcoders and 
have moved on. Sort of amazing to see that, one in a great while, there is 
still some activity here!

cheers,

jon bradley
cynergy. | Director, Research  Development
O:   585.563.2132M:  585.729.0837
@: jon.brad...@cynergy.com



On Jan 24, 2013, at 1:58 PM, Dave Watts wrote:

 Our key learning event for 2013 will be O'Reilly's Fluent Conference in San
 Francisco in May
 
 I'd second Fluent, based on feedback I got about the last one. I
 didn't attend myself, though.
 
 Once you have a specific toolset, you might find other, more directed,
 conferences. For example, we do a lot of stuff with Sencha (Touch,
 EXT-JS, EXT for GWT, Sencha Designer) and they have their own
 conference called, appropriately enough, SenchaCon. On an unrelated
 note, I recommend you check out Sencha Designer, which is shaping up
 to be a very nice tool.
 
 You might also want to check out Google I/O - although this is
 certainly not a JS conference, they do cover a lot of technologies
 that rely heavily on JS.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Jon Bradley
Ooops...mis-quote. I didn't write that bit :)


On Sep 18, 2012, at 5:48 AM, Cédric Muller wrote:

 
 Jon Bradley wrote :
 The problem of flash for mobile is as much about politics and protecting 
 the Apple appstore than anything else -it seems to me that flash was a 
 threat by allowing apps to be produced bypassing Apples appstore.
 
 It is the problem of HTML5 too, since all these may happen in the browser, 
 they all bypass and gracefully skip the appstore model.
 I think the problem is the AppStore, and not the technology(ies). And you are 
 right, it has much to do with politics and moneymaking.
 
 Cedric


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Jon Bradley
Of static art and of limiting complexity. The moment complex vectors are used, 
the data requirements balloon and once motion is taken into consideration (data 
for per-control point manipulation) the argument is far out the window.

Either way, it's a moot argument.

-j

On Sep 17, 2012, at 4:13 PM, Henrik Andersson wrote:

 John McCormack skriver:
 One thing that Apple issue seemed to miss was that any significant
 download of pixels, no matter what the delivery language, is going to
 use a similar amount of battery life. So it really had little to do with
 Flash. More to do with control of the market.
 
 I beg to differ. Flash with the vector graphics is quite relevant since
 vector graphics can vastly reduce the transfer size for the art.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Jon Bradley
It's just the mathematics of how vectors are managed and calculated (on CPU). 
There really is no comparison - vector graphics are convenient, not performant.

It's quite easy to look up online - or imagine watching your favorite movie on 
the big screen and it being all vector (it would never even run).

-j


On Sep 17, 2012, at 4:35 PM, Henrik Andersson he...@henke37.cjb.net wrote:

 Jon Bradley skriver:
 Of static art and of limiting complexity. The moment complex vectors are 
 used, the data requirements balloon and once motion is taken into 
 consideration (data for per-control point manipulation) the argument is far 
 out the window.
 
 Either way, it's a moot argument.
 
 
 Do you know of any studies about this? Because it would be interesting
 to see just how vector animation compares to traditional content.
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Jon Bradley
Just look up the storage and memory needs of a vector point (plus it's 
animation) and compare that to an RGB triplet.

It's pretty easy to find what you are looking for.

-j

On Sep 17, 2012, at 4:57 PM, Henrik Andersson he...@henke37.cjb.net wrote:

 Ross P. Sclafani skriver:
 http://www.adobe.com/devnet/flash/articles/optimizing-mobile-performance.html
 
 
 That discusses runtime performance, not how big the data is. And it does
 not provide any concrete research results. Just unscientific individual
 observations.
 
 I want concrete numbers that discuss how vector graphics impact the size
 of the animation.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Jon Bradley
You are right about this - it is situational. However, if one is concerned with 
performance and processor load, vectors fail at any mild level of complexity 
compared to bitmaps.

An image with irregular detail can still, most always (unless every pixel is 
different) be compressed down to a smaller form. It most certainly has less 
processor overhead (maybe not memory).

-j

On Sep 17, 2012, at 5:29 PM, Paul Andrews p...@ipauland.com wrote:

 On 17/09/2012 22:10, Jon Bradley wrote:
 Just look up the storage and memory needs of a vector point (plus it's 
 animation) and compare that to an RGB triplet.
 
 It's pretty easy to find what you are looking for.
 
 I don't think it's easy at all. A complex image with a lot of irregular 
 detail may require more vector data to represent than a bitmap. Similarly an 
 animation over multiple frames may require a lot of bitmaps to represent it, 
 but relatively few vectors, particularly with tweening.
 
 There is no absolute answer to the efficiency of vector representation versus 
 bitmaps - it depends on what is being represented.
 
 In general, many images can be represented with vector data more concisely 
 than bitmaps so vectors would be more compact.
 
 The problem of flash for mobile is as much about politics and protecting the 
 Apple appstore than anything else -it seems to me that flash was a threat by 
 allowing apps to be produced bypassing Apples appstore.
 
 Adobe has said for years that mobile platforms should use bitmaps to conserve 
 processor utilisation. The other real problem with flash is that some 
 developers use inefficient processing loops that eat up processing power - I 
 can often see it on my laptop when the fan suddenly kicks in after I've 
 launched a flash app.
 
 
 
 -j
 
 On Sep 17, 2012, at 4:57 PM, Henrik Andersson he...@henke37.cjb.net wrote:
 
 Ross P. Sclafani skriver:
 http://www.adobe.com/devnet/flash/articles/optimizing-mobile-performance.html
 
 That discusses runtime performance, not how big the data is. And it does
 not provide any concrete research results. Just unscientific individual
 observations.
 
 I want concrete numbers that discuss how vector graphics impact the size
 of the animation.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple changes their guidelines

2010-09-15 Thread Jon Bradley
LLVM.

On Sep 9, 2010, at 9:59 AM, allandt bik-elliott (thefieldcomic.com) wrote:

 how does cs5 generate files for iphone? Does it create a swf and then use a
 cocoa framework to make it work or does it transcode the file directly into
 objective c?
 
 suddenly looks very interesting again
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex generative art???

2010-06-11 Thread Jon Bradley
Canvas has a significant impact on performance if you allow the flex  
framework to do measuring and layout and style management. It is not  
ideal for generative art work that needs to have a high level of  
performance.


You can do it but you just need to override a whole bunch of methods  
to avoid measuring, layout and style changes.


There are also a few flex-like components for Flash that will provide  
some measure of layout capability for you (minimal comps is but one  
example).


- jon



On Jun 10, 2010, at 8:30 PM, Gerry Beauregard wrote:


Hi Jim,

I see no reason why Flex can't be used for interactive artwork.  The  
Canvas component in Flex is derived from Sprite, so anything that  
you would do in a Sprite can be done in a Canvas.


We've been using FlexBuilder 3 for development of everything at www.sonoport.com 
.  (I haven't upgraded to Flash Builder 4 yet). While we don't do  
generative visual art, some of what we do is pretty CPU-intensive,  
e.g. our time-stretcher/pitch-shifting (http://labs.sonoport.com/audiostretch/ 
).


We build a lot of the core audio processing stuff that's common  
across many of projects as SWCs (Flex Library Project) in  
FlexBuilder.  We then use use those SWCs either in Flex Projects  
or ActionScript Projects.   Either way, we get a SWF, and the  
performance of all the audio stuff is the same.


In our case, the choice of whether to use the Flex Project or  
ActionScript Project option is mainly dependent on whether we want  
to use all the controls that Flex provides, along with the  
convenience of the Design mode that makes it super-easy to specify  
the layout of those controls.


There is a bit of extra size overhead if you go with Flex.  A new  
Flex Project with no additional controls results in a 176KB swf  
(when you export a release build) , whereas an ActionScript  
Project is just 4KB.


Cheers,

-Gerry

The overhead

On 2010-06-11  , at 03:46 , Jim Andrews wrote:

I'm a bit confused as to how to proceed with Flash. I've been using  
Director for the last 11 years.


You can see the sort of (Director Shockwave) apps I like to create  
at http://vispo.com/dbcinema/sw/sw.htm and http://vispo.com/jig/arteroids/exe 
 . These apps contain menus, spin controls, drop-down menus, and  
similar types of controls, and generally lots of them. But they  
also contain, in the case of http://vispo.com/dbcinema/sw/sw.htm ,  
high-performance generative art. They're both very 'interactive  
interface' oriented and also very high-performance-art-oriented.  
Windowing, menuing, dialog boxes, and interactive controls are  
important to them. But so is lots of room for the art.


I don't really care about filesize being bulked up by Flex. High  
speed access is common, these days. But if Flex is slow in  
performance, that's the more important thing, to me. Is it? How is  
it in terms of speed?


How would you approach making the above sorts of apps in Flash?  
Would you create them as ActionScript projects or would you use Flex?


ja
http://vispo.com

- Original Message - From: Jer Brand thejhe...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 10, 2010 12:03 PM
Subject: Re: [Flashcoders] Flex generative art???


Flex is for RIA's and helps you with layouts and common controls  
and doesn't
really provide anything useful for generating art with either  
vectors or
drawing to a sprite. With the framework itself bulking up the size  
of your
swf and consuming additional resources, it's not really a good  
thing.


The generative art I typically use straight ActionScript with a  
library of
choice -- Hype (http://www.hypeframework.org/) being particularly  
awesome

for that kinda thing.

There's nothing stopping you from using Flex / Flash Builder as  
your editor
though. Just create an ActionScript or Flash Professional  
project.


If you're just looking for ActionScript generative art, I'm fairly  
partial

to http://levitated.net/


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] iPhone viable solutions???

2010-04-30 Thread Jon Bradley


On Apr 30, 2010, at 3:19 AM, Julio Protzek wrote:


HTML5 is less powerfull than Flash. But it is in the right way.
We will see Tweeners and TweenLites done for canvas in no time.  
Flash guys

can amuse with any technology.
Just give us some time :)



HTML 5 is s standard for describing content to be rendered in some  
runtime. It is not something that can be compared to Flash at this  
time. It may be compared to another specification, say the SWF format.


The combination of all browser technologies into one runtime is  
something that may be compared to Flash, but comparing HTML 5 and  
Flash is not applicable.


Fact remains:

There is no way today, or in the foreseeable future, to develop an  
application using HTML 5, CSS, Javascript or ANY combination of these  
technologies that can compare interactively or creatively to an  
application developed with Adobe tools.



- j

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-12 Thread Jon Bradley
I wouldn't call that amazing – I would call that whining. No offense  
to Lee, of course.


Although all of us would love to develop iPhone and iPad applications  
using the Flash platform, frankly that is not a proper methodology for  
developing for these systems, in my opinion.


Learn C, C++ or Objective-C. They are not that hard, you have much  
more control and you are not at the beck and call of a translation  
governed by something like LLVM, which you have no control over.


- j


On Apr 12, 2010, at 5:00 AM, allandt bik-elliott (thefieldcomic.com)  
wrote:



thanks lee brimelow for this amazing post
http://theflashblog.com/?p=1888


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-12 Thread Jon Bradley
I would never recommend an enterprise client to take that direction.  
Want to do a little game or don't care much about being able to debug,  
or have to rely on a middle-man? By all means that's fine but clients  
I deal with generally would not appreciate that direction.


This whole thing has nothing to do with Adobe. Too may folks are  
taking this personally. I guess I am not as passionate as others in  
the Flash community about this. I'll move along and develop however  
it's accepted. Again, it's their device and their platform.


Apple creates excellent consumer devices and is a market worth  
targeting, regardless of the limitations they impose. They are not  
standing alone in their decision to limit the way software is written  
for their devices. Blame them or not, they have the right to choose  
that path. Of course, they will also have to deal with the  
consequences of those decisions.


my 0.02.

- j

On Apr 12, 2010, at 11:45 AM, Glen Pike wrote:

IMHO, I don't think people have an issue with the correct  
methodology of making apps - if that were the case we might still be  
in the dark ages of development.  Flash gave and still gives a lot  
of people the power to develop ideas for programs quickly, without  
having to wade through rubbish like DirectX and other stuffy system  
API's.


If I want to develop crap applications for the app store, I should  
be able to do it in the language and on the system of my choice.


If I want to develop good applications for the app store, I should  
go and buy some books on the language and system of my choice, then  
develop aforementioned apps.



Your point about the compiler maybe true, but hey, there are plenty  
of people writing compilers out there.  Surely it's my choice  
whether I write something that runs like a snail and does not make  
any money.


Jon Bradley wrote:
I wouldn't call that amazing – I would call that whining. No  
offense to Lee, of course.


Although all of us would love to develop iPhone and iPad  
applications using the Flash platform, frankly that is not a proper  
methodology for developing for these systems, in my opinion.


Learn C, C++ or Objective-C. They are not that hard, you have much  
more control and you are not at the beck and call of a translation  
governed by something like LLVM, which you have no control over.


- j


On Apr 12, 2010, at 5:00 AM, allandt bik-elliott  
(thefieldcomic.com) wrote:



thanks lee brimelow for this amazing post
http://theflashblog.com/?p=1888


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Has everyone seen this yet?

2010-02-16 Thread Jon Bradley

It's an Adobe AIR application running on an unknown tablet device.

It's not an iPad and has nothing to do with it. Someone made a mistake  
with the copy for the article.


FYI, it's not impossible to do this in other languages or  
environments. There are other, more powerful frameworks that are  
robust for UI development and multi-touch systems than Flash.



- jon


On Feb 16, 2010, at 7:55 PM, Ktu wrote:

Looks like a great example of how Flash with AIR can create  
experiences that

would otherwise be impossible. Too bad it will be on the iPad.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Has everyone seen this yet?

2010-02-16 Thread Jon Bradley
I think the statement was justified... this is Flashcoders. I just  
wanted to state that developing UIs like that isn't limited to Flash,  
that's all. :)


After doing more research, it's entirely possible that this is running  
on an iPad. We just can't tell from the video if that really is, in  
fact, the case. Whether or not it's an iPad though doesn't mean much  
in the context of the coolness of the application itself.


I think any technology could be used to develop an application like  
this - from WPF/SL, Flash to more complex environments using Cocoa,  
openFrameworks and .


That last comment though – whether or not it makes sense – is probably  
the largest unknown. I can see many reasons why choosing Cocoa would  
be better than choosing Flash, in the case of iPhone development. Or,  
in the case of a windows platform target, I can see reasons why WPF/SL  
or Surface would be chosen.


I think we're all past the question of 'what framework/kit/language  
can we do that in?' If given the time, we can do pretty much anything  
in any language.


I like to think that these days, it's the hardware that limits us.

- j



On Feb 16, 2010, at 9:47 PM, Ktu wrote:

My mistake for saying such a strong statement. Of course there are  
other
frameworks available to do the same thing. Glad its not actually an  
iPad.


I think I'm just glad to see Flash being used for more than just  
flashy
websites and games. Flash can do a lot more than I see it get credit  
for on
a day to day basis. (And I know flash is used for more than just  
websites.

I've developed quite a few things outside the website realm)

I would like to see it in my hands to evaluate the usability. In  
theory it
could be brilliant but yes, people will have to warm up to it, and  
it will

have to be standardized.

Strictly out of curiosity Jon, would anyone actually choose a  
different

framework to develop this type of application? Does it make sense
considering development life cycle and platform availability?

Ktu


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Runtime Font embedding

2010-02-11 Thread Jon Bradley
You can embed a range of characters through AS3. The unicodeRange  
property of the embed directive handles this.


[Embed(source='pathToFond', fontName='NameOfFont',  
unicodeRange='Range1Start-Range1End,, RangeNStart-RangeNEnd')]


- jon


On Feb 11, 2010, at 6:35 AM, Geografiek wrote:


Hi Glen,
I don't think it's possible to embed a range of characters through  
AS3.

It's all or nothing I'm afraid/
Willem van den Goorbergh

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash vs. Flex libraries

2008-12-23 Thread Jon Bradley


On Dec 23, 2008, at 5:10 PM, Jason Boyd wrote:


1. Can Flex libraries (mx.*) be used in Flash CS3/4? Is this as simple
as adding source files and/or SWCs to an FLA project's classpath? And,
where are all these libraries (Windows XP or Vista)?


Yes.

http://labs.wichers.nu/2007/12/25/using-flex-compiled-code-within-flash/

Theoretically, you can use every Flex library and component within  
Flash. It's all SWF bytecode in the end. There are some tricks to  
placement of SWC files from the Flex library at the root of your  
source FLA to get it to recognize and compile the code.


It's just very awkward and very difficult to manage in any larger  
scale application.


I actually requested something on flexcoders quite a while back and  
'lo and behold the author of this blog responded and added some  
additional examples to his description of how to get the RPC classes  
in Flash.


http://labs.wichers.nu/2007/12/25/using-flex-compiled-code-within-flash/

There are a couple other posts on that blog that may help you along as  
well.


cheers,

jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-17 Thread Jon Bradley


On Dec 16, 2008, at 10:49 PM, Ashim D'Silva wrote:


I always round everything I place. That was one of the first things I
checked. Rotated bitmaps and text often have this problem, which is  
fair

enough because half pixels don't exist.


Actually, they do. The native coordinate space for Flash is a twip,  
which is 1/20th of a pixel. The rasterizer in Flash has to do some  
funky stuff anyway with rotated content.


There are some really annoying display bugs in Flash for this -  
consider a nice vector shape that's rotated through AS very, very  
slowly. You'll actually see it jump around when zoomed up. I  
discovered this one when rendering content for a 1080p animation  
project ... so annoying.


One of the most interesting tests  is to create a rounded rectangle  
and add a 1 pixel border line around it. Notice it looks funky and  
isn't smooth. Position the rounded rectangle on a half pixel (+0.5 on  
x and y). It's all nice and smooth again.


cheers,

jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-17 Thread Jon Bradley
Mostly on rounded rectangles and things with arcs. Kinda limited but  
the rounded rectangle is a unique case because 1-pixel rounded rects  
have always been a problem.


Course, with the 0.5 rule, not so much (unless you're tweening).

best,

jon


On Dec 17, 2008, at 4:41 PM, Ashim D'Silva wrote:

Now that is odd. Is 0.5 the general rule to follow or is it simply  
different

for every object you put down?

2008/12/18 Jon Bradley jbrad...@postcentral.com

One of the most interesting tests  is to create a rounded  
rectangle and add
a 1 pixel border line around it. Notice it looks funky and isn't  
smooth.
Position the rounded rectangle on a half pixel (+0.5 on x and y).  
It's all

nice and smooth again.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Jon Bradley


On Dec 14, 2008, at 8:04 PM, Ashim D'Silva wrote:

Right. I recreated everything slowly in a new file, introducing  
things one
by one and here's the culprit - Advanced Anti-Aliasing.Now I really  
would
like to use advanced, because text looks dramatically better, but  
there has

to be a solution, doesn't there?


The issue affects more than just static fields (with hovers). It  
dramatically affects applications where users are allowed to rotate  
and scale dynamic text fields. In that instance, the kerning, leading  
and character positions are offset and randomly jump around in value.  
The kerning is the worst - as a field is scaled the kerning will jump  
anywhere between 0-2 em on the characters ... randomly between each.


The only work around is to have the text field rotated by a small  
amount (0.01, for example). I submitted this bug to Adobe quite while  
back, along with the 'workaround.'


Sorry to be the bearer of bad news. At least you can give the  
rotation of the field a shot. You may need to use AS to set the  
rotation via a Matrix.


var m:Matrix = new Matrix();
m.rotate(0.01);
myTextfield.transform = m;

The rotaion might need to be tweaked a tad - I don't have my bug app  
open right now to check out the exact value that I ended up using.


- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How much would you charge?

2008-11-14 Thread Jon Bradley


On Nov 14, 2008, at 2:28 AM, Carl Welch wrote:

Good point. I'd recommend using SlideShowPro. It's cheap ($29),  
looks slick, and you'll be done in no time - your client will be  
none the wiser and you'll be $350 richer.


http://slideshowpro.net/



At least there will be an email post in the public domain that shows  
exactly how not to rip off a client.


:P

- jb
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How much would you charge?

2008-11-14 Thread Jon Bradley


On Nov 14, 2008, at 9:30 AM, Eric E. Dolecki wrote:

Not sure thats really ripping them off considering they probably  
don't know

how to use the thing even if they bought it themselves.


Well, yea.

Charging setup, installation and customization of some store bought  
product is one thing. Just selling back with the minor effort it  
takes to add images to SlideShow Pro is dishonest.


- jb
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How much would you charge?

2008-11-14 Thread Jon Bradley


On Nov 14, 2008, at 12:27 PM, Carl Welch wrote:

using tools of the trade is far from ripping clients off.  
Ridiculous statement.



It's not ridiculous at all. Read my reply to my initial email where I  
elaborated a bit more.


The comment about a client being 'none the wiser' and the implication  
that you're just making the extra dough by handing off some crap  
someone else did is what's not cool.


The point was, if you're repackaging something that someone already  
did without any value add, then that's dishonest. Hands down, end of  
story.


- j
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Congratulations America.

2008-11-05 Thread Jon Bradley
Yea ... now we can all look forward to a re-incarnation of the  
Welfare State.


Yay.  :P

- jon


On Nov 5, 2008, at 3:57 AM, John McCormack wrote:


It's off topic, but it is a very special day.

You give us hope.
Hope that we can help each other.
This forum is also proof of that.

John


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex Builder: AS Application files outside of /src root?

2008-11-04 Thread Jon Bradley

Hmm I haven't had the time to check this one.

But, content in the src folder doesn't need to be 'added' as an  
individual source path to your application. So, for other application  
files (AS) you may want to add explicitly the source path of it's  
parent folder to the project properties (ie, src/com/yourcompany/ 
applicationname/). Then, you might be able to add that file as a  
separate application.


Otherwise, I'm not 100% certain.

- jon

On Nov 4, 2008, at 7:13 AM, Henry Cooke wrote:


Something that's been bugging me for a while: why can only AS files in
the root of a Flex Builder project's source folder be nominated as an
application?

Like, I've got a bunch of classes all neatly packaged up in packages
inside /src, but in the Project / Properties / Actionscript Properties
dialog, upon clicking Add, these files do not appear in the tree
view of possible files to add.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LMS -- Moodle

2008-10-17 Thread Jon Bradley


On Oct 17, 2008, at 11:42 AM, Cor wrote:

Can anyone tell me how to read and write to Moodle (SCORM 2004 3e  
edition)??


Every hint is welcome!


What are you trying to do?

Moodle is just a CMS system at it's core. What do you want to write  
back to Moodle?


If it's test results and whatnot:

http://docs.moodle.org/en/Flash_module

As far as any API, I can't really offer any suggestions. See if there  
is any API plugin available to read-write additional content to it.


- j
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LMS -- Moodle

2008-10-17 Thread Jon Bradley


On Oct 17, 2008, at 2:10 PM, Cor wrote:


Just a CMS???
I thought it is L(C)MS.
The main thing we are looking for is a LMS.


Itis an LMS - but it's still a content management system.

Either way, you just need to figure out how to communicate to Moodle  
to do what you want to do, if it's not something already out of the box.


It can take Flash modules, and the link I provided shows you how to  
pass data to the system through a custom PHP script. If it's not  
provided, you'll have to write your own server code to do what you need.


Look at the Moodle site and see what you can find out.

- j


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Zipping in AS3

2008-09-24 Thread Jon Bradley


On Sep 24, 2008, at 9:57 AM, Claus Wahlers wrote:

Hey Claus, one of the reasons I can't use it is because of its  
inability

to work with a .zip file created on Mac OSX.


AS3 Zip from nochump avoids the alder32 issue by implementing the  
deflate() mechanism in software.


http://nochump.com/blog/?p=15

It's not as fast as the native bytearray methods though (which only  
works in AIR anyway).


The only thing you might have to deal with is re-writing the parsing  
routines so that you don't get a script timeout error on large zip  
archives. I had to do this recently for a project.


- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TextArea class properties

2008-09-09 Thread Jon Bradley

On Sep 9, 2008, at 12:05 PM, Merrill, Jason wrote:


Have you tried selectable = false?


I think it might be:

textAreaInstance.enabled = false;

Getting rid of the focus rect is generally a separate issue though,  
but when the component 'enabled' property is set to false, the focus  
rect shouldn't show.


- jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dynamic Scrollable textfield

2008-09-04 Thread Jon Bradley


On Sep 4, 2008, at 12:50 PM, Lehr, Theodore M (N-SGIS) wrote:


Thanks, but I am talking about having it scroll, not just be
multilined... Ideally, I would like to do it as simple as a div  
does in

html (style=overflow:auto; height:400px;) is there a simple way like
this in as?


TextFieldInstance.scroll

and

TextFieldInstance.maxscroll

Only works if the field is set to multLine. You need to generate your  
own scrollbars, or if using AS2 link a UIScrollBar instance to it (or  
use a TextArea component).


You don't get any automatic scrollbars with text fields in Flash,  
only text fields themselves. For anything with scrollbars you need to  
use components.


cheers,

Jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] all useless: removeMovieClip, destroyObject, DepthManager.setDepthTo

2008-09-03 Thread Jon Bradley


On Sep 3, 2008, at 2:16 PM, Mendelsohn, Michael wrote:

I can't seem to figure out in AS2 how to get V2 components off the
stage.  I've tried destroyObject, removeMovieClip and even used the
DepthManager class to try to get the depth within range to be removed.
It's showing as -32000.

Any ideas how to get the movieClip off the stage?


This might help.

http://board.flashkit.com/board/showthread.php?t=702902

I have never used DepthManager and createClassObjectAtDepth, or  
createClassObject ... mainly because they suck. So, I've never had a  
problem because I've always just casted any v2 component as a  
MovieClip in any AS2 class (I never needed code completion on them).


good luck with that one.

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] A Question that I've been asking for years!!

2008-08-25 Thread Jon Bradley


On Aug 25, 2008, at 6:39 PM, Omar Fouad wrote:

But what the hell is an interface!!! I've read lots of books  
and
posts without getting the answer. I bought Essential AS3 to read  
about
interfaces and he says that helps for multi inheritance. In other  
places I
read that it is a deal to ensure that a class has some methods and  
so on.
But what is the real benefit that I can come out with using  
interfaces


If you are using a cracked out language like VB, they might be  
marginally useful in weird circumstances that are, in my opinion,  
probably poor programming choices in the first place.


They serve little purpose in general, and even less in actionscript.

My 0.01 is that you certainly need to know them, because you might run  
into some libraries that use them.


My remaining 0.01 is that you need to know them so you can get rid of  
them from anyone else's code library.


:P

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] A Question that I've been asking for years!!

2008-08-25 Thread Jon Bradley


On Aug 25, 2008, at 10:07 PM, Juan Pablo Califano wrote:


This strikes me as the typical gratiutous bashing of some product just
because it's made by MS. But perhaps you could elaborate a bit more  
on the

idea...


Nah, it doesn't have anything to do with Microsoft. I don't have  
anything against them personally.


I just think VB is weird, and interfaces in VB are even weirder. A  
coworker in the past did a lot of that stuff and I paid a modicum of  
attention to the code.


I do think VB is slightly cracked out though - but that has nothing to  
do with MS. :)


- jb

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how many coders here actually have a degree related to computer science?

2008-08-20 Thread Jon Bradley

On Aug 19, 2008, at 5:25 PM, Anthony Pace wrote:

Do you have a degree related to computer science? if not, how  
difficult is it getting jobs programming AS3 without one?


I think comp sci is much more geared toward software and computer  
engineering, as opposed to programming for rich media.


Personally, I went to school for optical engineering and physics. I  
dropped out senior year, second semester, to start my own interactive/ 
web company. Ten years later and I'm now a 3d vfx artist - certainly  
a difference from where I started.


I definitely believe that my education has had a profound effect in  
my career choice and overall skill level in my niche. I do wish I  
completed my degree, at the very least for the feel-good aspect.


A degree in some field of new media study and course work that has a  
fair amount of interactive (programming and design included) may get  
you further than a comp sci degree.


Actionscript development is not just programming. It requires both  
sides of the brain to do well because much of what you do when  
programming in Flash has a direct visual effect.


just my 0.02.

good luck!

-jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Upload PDF into SWF?

2008-08-11 Thread Jon Bradley


On Aug 11, 2008, at 7:16 PM, Dave Watts wrote:

It is possible, however, to load the Acrobat ActiveX control into a  
Flex
application, and have it load a PDF. I'm not exactly sure how this  
works,
but the LiveCycle Workspace application does this. That wouldn't  
really be

helpful to the original poster though, I suppose.


As an AIR application, right?

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flex 3 // Tile Component // Mutliple Drag Selection

2008-07-23 Thread Jon Bradley


On Jul 23, 2008, at 12:39 PM, artur wrote:


would it be possible to Extend the Tile Component?
instead of making a new one from scratch?


Here's how I'd do it...

Add a child to the container that's holding the TileList component.  
On click (mouse event), start drawing a rectangle (mouse move event).


Intersect the boundary of this rectangle with the children of the  
TileList (interesting exercise) and select them if they intersect.  
Finally clear out the rect on release.


interesting challenge.

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Netstream fails to close

2008-07-08 Thread Jon Bradley


On Jul 8, 2008, at 3:44 AM, Jason Van Cleave wrote:

I could cast the sound onto a separate object and mute it, so that  
you

don't see or hear any ill effects, but my proxy tells me the flv is
still downloading, so if one of my clients users clicks on 10 video
clips their connection will crawl to a halt.


First tip: use the video and sound classes instead of net stream.

Embed an 'empty' video object in your library with a linkage id. When  
you want to kill the stream, attach this video which will force the  
player to close any streaming connection. Then do what Steven said -  
and null out the stream elements. This will force it to close out.


I've seen the streams still stick around with 'just' pausing, closing  
and nulling out the stream connection. The only way I'm pretty sure  
it will work every time is by attaching this dummy vid.



- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] scaleX on TextField

2008-06-18 Thread Jon Bradley


On Jun 18, 2008, at 11:27 AM, [EMAIL PROTECTED] wrote:


Yes but...

In my case I can have scaleX  1000, so I loose too much quality  
with this

method.

I'm triing to embbed fonts outlines in my TextTield but the result  
is not very

good (bad antialiasing). I guest that I have no other choice :)

Thanks again,


Don't use scaleX or width/height modifications.

Use transformation matrices.

I have an application that allows the user to scale, rotate, move  
(unconstrained and constrained) a TextField (flash and flex) without  
problems.


The only issues are with the fact that there's a bug in the Flash  
Player with certain settings on the antialiasing - which causes the  
kerning of the text field to jump around wildly.


In my case since this bug rears it's ugly head when text fields are  
rotated or scaled, I apply the transformations to the type and re- 
render the result back into a BitmapData object with the new  
dimensions of the field.


- jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] scaleX on TextField

2008-06-18 Thread Jon Bradley


On Jun 18, 2008, at 1:05 PM, Matt S. wrote:


Is this online somewhere? Sounds interesting :)


var m:Matrix = new Matrix();
m.scale(100,1);

myDisplayObject.transform.matrix = m;

cheers,

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Maintain position on rotation

2008-06-18 Thread Jon Bradley


On Jun 18, 2008, at 1:27 PM, eric e. dolecki wrote:


While rotating, I want to place another MC's x,y (each frame) on that
rotating MC. However the x,y never updates. I tried localToGlobal,  
but that
doesn't seem to change either during the rotation. Can this be  
easily done?



Give something like this a shot. Note that this is completely  
untested because I wrote it right here ... this is the general idea  
though.


var m:Matrix = mainMC.transform.matrix;
var pt:Point = new Point( mainMC.theChild.x, mainMC.theChild.y);

var position:Point = m.transformPoint(pt);

// You might need to add in the tx,ty offsets
var matchMoveClipX:Number = position.x + m.tx;
var matchMoveClipY:Number = position.y + m.ty;

That assumes, of course, that you're applying your transformations  
using matrices.


If you use dot notation on the properties (rotate, scale, x y), I'm  
not 100% certain that those properties are updated in the  
transformation matrix of the object.


good luck.

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to avoid fake data being sent to server?

2008-06-18 Thread Jon Bradley


On Jun 18, 2008, at 12:25 PM, Ricky Bacon wrote:

Security through obscurity is not a very good idea.  You also still  
have the problem of someone decompiling the swf and modifying it to  
their needs.


If Flash Media Server 3 is being used, for a very nice level of  
protection it can hash the game SWF engine (just place it in the  
application directory and turn on the feature in the application .asc  
file).


If the SWF requesting doesn't match the swf in the FMS3 app directory  
then it won't allow it to run.


Still doesn't negate the idea that the game logic should be on the  
server.  :)


- jb
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Insert breakpoints and run debugger withoutFlashCS3?

2008-06-16 Thread Jon Bradley


On Jun 16, 2008, at 4:54 AM, EDELSTAR wrote:

Данный почтовый ящик не  
обрабатывает подгрузки, заявки и  
прочие сообщения. Вам нужно написать  
на адрес, присвоенный Вашему СПО.


List admin -  can you block this?




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Usage of [Event....]

2008-06-02 Thread Jon Bradley


On Jun 2, 2008, at 4:38 PM, Helmut Granda wrote:


Can you pass custom properties with this kind of event handling?


All that this notation allows you to do is to define the event (as a  
string) and it's handler (the event class handling the event).


It doesn't have anything to do with any properties or custom  
parameters for the instance of the event type (again, it's just the  
definition).


You still have to dispatch the event manually, so if you want to pass  
your own properties, just set up your custom event class to handle  
those properties


good luck,

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FPS limit of flash player inside browser?

2008-05-09 Thread Jon Bradley

On May 8, 2008, at 4:27 PM, Zeh Fernando wrote:

But it's important to remember movies work well at 24fps because  
they capture slices of time and not static frames. An entire 1/24  
of a second is present on each of those frames, while with computer  
graphics we have a moment frozen in time.



You're right on the 'slice of time' aspect, but it is still a static  
frame (progressive). It's just that it captures motion blur.


 a good example is some parts of the animated movie Akira and  
specially Ghost in the Shell, where they created the original cut  
at 60fps or 120fps (!) and then frame blended back into 24 to give  
the impression it was a movie.


That's because they didn't have the ability to 'render' motion blur.  
You wouldn't do that today though because there are other efficient  
ways around that (optical flow is one example).


- jon


Post • Central
Visual FX  |  Animation  |  Interactive
170 Linden Oaks, Suite B  |  Rochester, NY  |  14625
P:  585.385.1530 x273  |  F: 585.218.9219
[EMAIL PROTECTED]  |  www.postcentral.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FPS limit of flash player inside browser?

2008-05-08 Thread Jon Bradley


On May 7, 2008, at 1:06 PM, Steven Sacks wrote:

The fact of the matter is, running at a higher frame rate makes  
things look smoother.  Period, end of statement.


That's not an accurate generalization. Higher frame rate != smoother  
display in all cases. It matters for progressive elements (flash  
movies, games like Quake) but that statement is not applicable to  
other forms of media.


If you take a time-based animation inside a 30fps movie and a 60  
fps movie, the 60 fps version will look a lot smoother.


In Flash yes. I just want to say for the record that this argument  
has absolutely nothing to do with braodcast/animation work. In the  
context of Flash, sure, it will look smoother.



It's not an opinion, it's a fact.


Fact for a limited set of time-based animation systems - primarily  
games and content like Flash that display progressive frames without  
motion blur.


- jon

Post • Central
Visual FX  |  Animation  |  Interactive
170 Linden Oaks, Suite B  |  Rochester, NY  |  14625
P:  585.385.1530 x273  |  F: 585.218.9219
[EMAIL PROTECTED]  |  www.postcentral.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Using FlexBuilder3 profiler with FlashCS3

2008-04-25 Thread Jon Bradley

Good question. I haven't tried that yet.

What you could try to do, off the top of my head, is use the  
SWFLoader and load up the SWF file into a simple Flex application. I  
believe the profiler will also profile the content loaded through  
SWFLoader, but I'm not certain of it.


good luck!

jon

On Apr 25, 2008, at 12:59 PM, Martin Tremblay wrote:



Hello,

Is there a way to use the Flexbuilder3 profiler with a FlashCS3  
file? I
just want to take a swf and run it through the profiler. Is it  
possible?


Martin t.
LVL


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-16 Thread Jon Bradley


On Apr 16, 2008, at 9:49 AM, Jer Brand wrote:



   myMovie.iDontCareIfYouHaveListeners_DIE_DAMN_YOU_DIE() ;




LOL.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] PureMVC vs Cairngorm // who's better?

2008-04-11 Thread Jon Bradley


On Apr 11, 2008, at 4:14 PM, [EMAIL PROTECTED] wrote:

And if it is a small to medium size app you may want to try EasyMVC  
from

Tom Bray
(http://www.tombray.com/2007/10/16/my-easymvc-seminar-wasnt- 
recorded/). His

presentation on 3/28/08 was recorded as an Adobe ondemand seminar and
describes how to use EasyMVC and also compares it to Cairngorm.  
There is

also easyMVC from Simeon Bateman but I haven't looked at that one.


To add my 2 cents ... by the time a developer has gone through Easy  
MVC (Clockwork Objects) or something similar, they are already 50% of  
the way through knowing how Cairngorm works.


It really isn't much of a leap. Cairngorm adds in the ServiceLocator  
and the events, commands, delegate chain.


That said, Cairngorm does lack some things for enterprise development  
and large applications/teams that are pretty needed. Some of these  
things I've recently run into (better command chaining architecture)  
and am looking into various solutions for (UM Cairngorm extensions is  
one).


just a thought.

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ot : Flex RIA running on multiple servers

2008-03-27 Thread Jon Bradley


On Mar 26, 2008, at 8:34 PM, artur wrote:


the CMS webservice i want to build will be done in FLEX / AMF / MySQL.

and i want to make sure that it can scale and be redundant.


Ok but that doesn't have anything to do with Flex. Flex is just a  
different application to build an SWF file. It is only the front-end  
solution.


Flex SWF == Flash SWF, plus a whole bunch of code for handling the  
UI. The Flex SDK is like using a framework (vegas, arp, etc.) for  
Flash, but on crack.


If you're talking about your server solution scaling and being  
redundant, you need to be way more concerned with other things.  
You'll most likely need some type of J2EE server.


Your best bet is to find a content management system that utilizes  
JSR-170 (Java Content Repository) and can use MySQL or PostgresSQL  
(or even oracle) for serious scalability and capability to handle  
clustering, etc.


Check Alfresco.com as a nice, forward looking solution for that (it's  
open source and free, if you don't need support). You'll still need  
to write the API on the server with Java to allow the AMF library  
(GraniteDS or BlazeDS) to speak with the CMS services.Drupal or  
DSpace might be additional options but I don't know how they  
scalability and redundancy.


There is also an open source project that wasn't started too long  
ago: Igenko  The goal of this project is to act as a JSR-170 (with  
Apache Jackrabbit) with data services (GraniteDS at the moment). the  
link is: code.google.com/p/igenko


Either way, your issue is server-side, not Flex/Flash.

- jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Image colorization / contrast adjusting

2008-03-27 Thread Jon Bradley


On Mar 27, 2008, at 7:37 AM, Alistair Colling wrote:

Hello, I would like to know if it is possible for flash to process  
a regular photograph to produce a pop-arty image like this:


http://www.popartuk.com/g/l/lgpo7028+pop-art-andy-warhol-1962-che- 
guevara-poster.jpg


A little Warhol-style transformation huh?

I am not sure if this is possible or the best way to go about this.  
If someone could let me know if this would be possible to do and  
maybe give me some direction as to how to do it that would be great.


100% possible.

Check out BitmapData.paletteMap() as one option. Additionally, you  
could use BitmapData.threshold() to get different value areas,  
colorize them and recombine them.


Lots of options.

cheers,

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ot : Flex RIA running on multiple servers

2008-03-27 Thread Jon Bradley


On Mar 27, 2008, at 9:07 AM, Cutter (FlashRelated) wrote:

You could also use Adobe ColdFusion, which has native AMF support  
built-in, as well as a gateway for interacting with Flex apps. Then  
you have the power of a J2EE app server, the agility of RAD  
development with ColdFusion and Flex, plus the scalability of  
ColdFusion, with it's clustering support, etc.


Great addition to the discussion. There are a lot of options out there.

cheers,

jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ot : Flex RIA running on multiple servers

2008-03-26 Thread Jon Bradley


On Mar 26, 2008, at 4:35 PM, artur wrote:


is this possible?
if so does it HAVE to be on a Flash Communication Server?
or can it run on others?

any links to sample setups would be great too..thanks


??

 Flex compiles to an SWF file.

However you'd do what you want to do with Flash, you would do with Flex.

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Jon Bradley


On Mar 24, 2008, at 8:30 AM, Cor wrote:



This throws an error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.

What am I doing wrong?



You can't call new Background_mc() when it's an instance of Class -  
there's no constructor for it that the compiler recognizes.


My suggestion if you don't need to extend UIMovieClip is as follows.

In your Library.fla file, check your export for the Background_mc  
symbol.


Give it a class name (com.something.myBackground) and have it extend  
flash.display.MovieClip.


Export an SWC of the Library file and then set your compiler prefs to  
include that SWC into the project.


Then, in your class just do:

import com.something.myBackground

and the usage is:

private var myBG : MovieClip;
private var Background_mc:MovieClip;

myBG = MovieClip( new Background_mc() );

At least, that's one way of doing it. I do it that way for non- 
component UI elements that do not need to extend UIMovieClip. Also  
because I use the same SWC as an SWF file for CSS embedding of  
graphical elements.


good luck,

jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Jon Bradley
Oops... my last email was kinda based on the idea that you were  
running this in Flex.


My bad - replying to two lists at once.

http://www.digitalflipbook.com/archives/2007/03/associating_cus.php

- jb

On Mar 24, 2008, at 8:30 AM, Cor wrote:

This throws an error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.

What am I doing wrong?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Jon Bradley


On Mar 21, 2008, at 9:57 AM, Matt S. wrote:


 It seems like the problem started when I
added _rotation to the the mix. The file is vector, imported from AI.

is anyone familiar with this problem? Any recommendations for handling
this sort of basic (or so I thought) effect?



There's a bug in Flash on certain operating system configs. I just  
don't know what it is.


I've yet to find an appropriate solution for this myself. The issue  
is related to the rotation.


I've actually resorted to using Combustion to do some of my animation  
work because of it.


I too would 'love' to know if anyone has found the core issue or a  
work around.


thanks!

jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Jon Bradley


On Mar 15, 2008, at 6:36 AM, Muzak wrote:

There's a new(er) plugin, called subversive that might be worth  
looking into.

I haven't tried it yet, but heard good things about it:
http://www.polarion.org/index.php?page=overviewproject=subversive
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink- 
cid-611.html


That's what I use, while running subversion on OS X and a remote  
linux machine.


Before I used Eclipse as my primary IDE, I used TortoiseSVN, but  
having it all in one IDE makes life easier.


SVNx on OS X is pretty good. Eclipse does it fairly well too with the  
subversive pack, but I still like the GUI tool.


Of course, you can't beat the command line (I almost always have it  
open). Just cd'ing to my source directory and running svn on any  
google code or sourceforge project is priceless, and way faster than  
opening an application and filling in all the required params to  
check out a trunk.


I just have to get better at actually using the source control for  
small projects where I'm pretty much the main person working.


:)

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] wierd easter egg?

2008-03-05 Thread Jon Bradley


On Mar 5, 2008, at 9:31 AM, Allandt Bik-Elliott (Receptacle) wrote:


hey this is odd

i'm testing my movie at http://qsworld.co.uk/index.php? 
extcategory=Designextdesigner=Darkest%20Starextproduct=Jacket and  
when i tried right clicking the top right corner and selecting zoom  
in, i got linked to http://whatisthematrix.warnerbros.com/


i'm on osx 10.4, firefox 2.0.0.12



Nice. That's a new one.

Firefox right-click zoom on OS X is screwed up with Flash Player. It  
does all sorts of weird crap on different machines.


For me, it always jumps to a hotkey to bookmark the current page.  
Pretty fricking annoying if you ask me.


- jb
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] multiple TextFormats in one TextField

2008-02-06 Thread Jon Bradley

Mendelsohn, Michael  wrote:

How can I preserve certain substrings of the text to keep their  
assigned

TextFormats?


Before you add text to a text field that has a different format than  
the default that  you've specified (with setTextFormat), use  
setNewTextFormat() on the field and then apply that text.


Loop that process (setNewTextFormat ... add text ...  
setNewTextFormat ...)


Try that out.

- jon

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] LoadVars maximum?

2008-01-31 Thread Jon Bradley


On Jan 31, 2008, at 11:00 AM, Dave Mennenoh wrote:

I've been looking and looking and cannot find the info... I am  
trying to send an array containing many thousands of entries to a  
php page for db storage. However when I get too much info into a  
loadvars property, it just stops working and sits there. What's the  
max I can send in one LV property? I am doing toString() on the  
array, but I guess I need to break the array into multiple arrays -  
just wondering what granularity if best for speed and such.


Make sure you are using POST.

POST and GET is limited to 2048 characters (in IE) in the request  
URL. If you are using POST, you need to ensure that the POST data is  
in the header of the transaction and not in the URL itself.


IE, with loadVars, you send the request to a URL. The variables  
defined in the timeline where the loadVars is occurring is what gets  
added to the request header (if I understand the process correctly).


If you're appending all these variables to the URL, it will not work.

cheers,

jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problems with Gradient Banding

2008-01-18 Thread Jon Bradley


On Jan 17, 2008, at 5:34 PM, Ed McManus wrote:

Does anyone know what causes this? It's as if for large gradients  
flash
doesn't perform enough steps making the transition from the start  
to end
colors, so on a large scale the color difference between steps is  
clearly

visible.


This is just me thinking aloud but, that's a problem with 32-bit  
color space (only 8 bits per channel, RGBA). Flash does not support  
anything greater than 32-bit color space (no 10 or 12 bit), so  
gradient banding will always be there.


Do the same in Photoshop. Choose two colors that are relatively close  
in value and fill a document the same size with any gradient type -  
banding will occur if you are in an 8-bit color space.


The only way to partially alleviate this problem is by adding a  
slight amount of noise (at least in Photoshop). It can do wonders for  
larger gradients. In Flash, I don't think this would work out too  
well (at least not in a performance-wary manner).


cheers,

jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] 9-section scalable graphic

2008-01-03 Thread Jon Bradley


On Jan 3, 2008, at 1:41 PM, Andrew Sinning wrote:

I know there's a term for what I looking for, but I don't know it  
and my searches are coming up empty.


What do you call the technique of dividing a graphic into 9  
different areas so that when you scale it the outer borders don't  
get distorted?


And, more germane to this list, can anybody point me to a component  
related to this subject?


It's called Scale-9. It is an option enabled for movie clips in the  
movie clip properties dialog (*accessed through the library)


Check your object in the library and edit the Properties. Enable  
Scale-9. Edit the graphic asset (it has to be a movie clip).


You will be presented with 4 (2 vertical, 2 horizontal) intersecting  
guides to define the regions that are scaled. You do not need  
'divide' up your graphic manually (chop it up, that is).


1. Top Left, Top Right, Bottom Left, and Bottom Right are not scaled.  
They are chopped up during runtime and moved dynamically.

2. The top and bottom middle portions are scaled horizontally only
3. The left and right are scaled vertically only.
4. The center portion is scaled to fix the size you set your graphic  
to when you use it (minus the outside portions).


Finally, scale 9 properties for any movieclip can be added and  
defined at runtime through Actionscript. Look it up in the help docs.


have fun.

- jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Two Solutions: Flex swc’s ( RPC) and or Intrinsic classes within Flash CS3!

2008-01-02 Thread Jon Bradley


On Jan 2, 2008, at 5:12 AM, Sander wrote:


Hi FlashCoders!,

I’ve been trying to evangelize my solution to the flash community  
but I don’t think it came through, really... I hope someone on this  
list will pick it up!



Woah. That's pretty freakin cool.

This almost seems as though it will let you use the entire Flex 2/3  
framework within a Flash IDE developed application - including all UI  
controls, binding and everything else that goes along with that.


Is this true? I would absolutely love to be able to use the Flex  
containers (boxes, lists, tiles) in all their glory with drag and  
drop and all that. Add in the ability to load CSS at runtime and have  
CSS style the application, just as you do with Flex would completely  
rock. Of course, it doesn't negate the need to have Flex (or another  
dev environment) to compile these CSS files ... but still.


If you ever come up with a demo of using the Flex controls, let us  
know. I'd be highly interested.


Plus, all my Flex work uses either  the Cairngorm or PureMVC  
frameworks, so moving that to a Flash dev process would be mighty cool.


peace,

- jon___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] New server!

2007-10-18 Thread Jon Bradley

Whoohoo.

Good job guys. Glad to see the server up and running again.

Looking forward to massive amounts of email in my inbox all day long  
from all the flash coders out there.


cheers,

Jon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how are they doing this? Papervision3d or pre-rendered 3d?

2007-09-17 Thread Jon Bradley
Whether they blit or not, everything is still a pre-rendered  
sequence, except the text. The clip layout is identical every time.


I don't believe any distorian or 3d library API was used (ie PV3D or  
Sandy). There are a whole bunch of pre-rendered sequences that they  
are applying color transforms to to get the final cards. Anything to  
do with the card is pre-rendered. It's a 3MB file - look at the  
graphics.


It's not 'composited' at runtime. Content is placed in a hierarchal  
layout - ie, old school Flash 6 style mc layout to get the look of  
perspective on a clip. The clips are separated into center content  
and bottom content (possibly top). The content is placed inside of that.


Doing this through PV3D or Sandy, or any distortion API in  
actionscript wouldn't be a good approach anyway for something like  
this - not easily modified.


Aside from the content on the card, it's still 'video' in the sense  
of all the pre-rendered sequences.


cheers,

jon


On Sep 16, 2007, at 10:36 PM, Snepo - Arse wrote:

I disagree, IMO tthe only video involved would be the initial  
sequence of the cards falling though that could easily be an image  
sequence.


It is more likely that just the card turning effect is pre-rendered  
and the card content is composited at runtime.


When the card turns you can see a slight crease in the middle of  
the content. It appears as though they are blitting the content to  
two bitmap objects (one left and one right side) then using a  
distortion technique to make the content conform to the card  
flipping animation. I would imagine that they have a single pre- 
rendered animation that they are applying a hue difference to in  
order to reuse it for all cards. They developers also seem to be  
doing some clever stuff to make each card unique... so perhaps the  
static cards are pre-rendered for each and only the flip animation  
is re-used.

___
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] how are they doing this? Papervision3d or pre-rendered 3d?

2007-09-16 Thread Jon Bradley

It's video.


On Sep 15, 2007, at 1:27 AM, Carl Welch wrote:


Hi All,

Does any one know how this site achieved its card flipping effect?
Papervision3d or pre-rendered 3d?

http://www.tripleslanguage.com/?CMP=BAC-1TO1Q3TP7042

Thanks.

--
Carl Welch
[EMAIL PROTECTED]
805.403.4819
___
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] AS3 TextFields with filters - game performance?

2007-09-14 Thread Jon Bradley

On Sep 13, 2007, at 9:52 AM, Dimitrios Bendilas wrote:

My major concern is performance, because of the use of filters. By  
the way, I want to use
the filters so that I won't have to make a new Raster Font Engine  
in Flash (I've already done

one for AS2.0)


First thought for performance considerations - don't use embedded  
fonts. That's a performance hit right there. Flash uses the native  
system rendering to get the curve information for non-embedded fonts,  
rather than rendering it itself - that comes with it's own set of  
problems of course.


good luck.

jon


___
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:Flash Player update and Impact on 3D in Flash

2007-08-21 Thread Jon Bradley


On Aug 21, 2007, at 9:10 AM, [EMAIL PROTECTED] wrote:

I was just wondering what impact if any this will have on the  
future of 3d in Flash.


Well, all the video updates will have zero effect. Those have nothing  
to do with 3d. This is basically the inclusion of the MainConcept  
MPEG4 decoding engine - which is the same code in FlipFactory and  
almost all other licensed h.264 decoders.


The multi-threaded (multi-core CPU) work they are doing will have an  
effect though.


cheers,

jon
___
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] Splitting TextField into Lines - Simple?

2007-08-16 Thread Jon Bradley

Check out Jack's great Text Metrics class. He just posted this Aug. 7th.

http://www.greensock.com/ActionScript/TextMetrics/

cheers,

Jon


On Aug 16, 2007, at 8:47 AM, Dan Efergan wrote:


Hello FlashCoders.

The seemingly simple task of splitting a Textfield into it's (soft)  
wrapped lines is alluding me.


How can you tell the Text content of a particular line within a  
Textfield?  I'm trying to split out the individual lines to animate  
them.


Thanks,
Dan

___
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] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

It's basically a macro process for compiling AS classes.

One of the side effects is that it can be to obfuscate SWF files by  
using your own re-write rules. Hit up the second page of the thread  
to see a bit more information.


Macros are pretty cool stuff. Though the author of the toolset isn't  
quite accurate in the decompiling aspect of things - basically saying  
you can munge the intrinsic classes, which isn't possible. Those  
classes still make calls to Player internals and can be followed  
backward through the classes to 'fix' any obfuscation. So, maybe half  
your code in the end will be pretty funked up. That's still probably  
more than enough to make use of the decompiled code.


Bit tricky to setup and use, but it's pretty powerful if you need to  
do conditional compiling and get some serious speed boosts (similar  
to flasm hacking). Though, one could just use Haxe instead...


cheers,

jon


On Jul 18, 2007, at 7:32 PM, Latcho wrote:


whats this?

Jon Bradley wrote:

Or, if you're a masochist:

http://www.kirupa.com/forum/showthread.php?t=256400

___
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] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

A better link for those interested in obfuscation of AS3 code.

http://www.kirupa.com/forum/showthread.php?t=266992

peace,

jon

On Jul 18, 2007, at 7:32 PM, Latcho wrote:


whats this?

Jon Bradley wrote:

Or, if you're a masochist:

http://www.kirupa.com/forum/showthread.php?t=256400

___
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] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

On Jul 19, 2007, at 8:29 AM, Mark Winterhalder wrote:


But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
decompiler is likely to assume AS3 has been used, and maybe haXe
creates sufficiently different bytecode to confuse it.


That doesn't really matter.  If it's FP9, it's AS3. The bytecode has  
to be AVM2 bytecode no matter where it comes from.


The general point is - intrinsic methods in the Player are hardcoded  
and available. References or calls to those methods can be followed,  
no matter if they're named funky or not.


Let's say you call blahblah.mask = something and that gets  
obfuscated to _3457._3 = _537.  Any sufficiently designed decompiler  
will be able to mark that as _3457.mask = _537. Following those  
references, a decompiler could then figure out the raw type of _537  
and _3457 and mark those as maybe spriteInstance1 or  
shapeInstance45 or whatever.


Then, the decompiler results in spriteInstance1.mask =  
shapeInstance45. Legible enough to work with. I don't believe that  
scenario can be avoided, no matter what compiler/obfuscator you use.


- jon



___
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] RE: obfuscation swf !

2007-07-18 Thread Jon Bradley


On Jul 18, 2007, at 7:24 AM, Jim Berkey wrote:

I found early on that so many people can tear down a wall and  
condemn it easily when they see the skeleton, without ever trying  
to climb the wall, and that is not a good judge of the  
effectiveness of the wall. But if you do not see the skeleton, it  
is much harder to climb that wall. All of a sudden instead of  
multitudes saying how silly, only a few can actually climb the  
wall . . . maybe one day only one or two will be able to climb the  
wall. Yesterday Rákos captured the swf, and then others decompiled  
and re-compiled it. I have slept on the method that I believe Rákos  
used to capture the swf, and may have an answer for it later today.


We all definitely appreciate that you are trying. Just remember  
there's a huge difference in making it difficult to get the file and  
making it impossible to get the file (the latter being, literally,  
impossible).


The simple fact is that the SWF needs to be sent to the client, in a  
form the Flash Player can render. At this point in time, the  
technology does not exist in the Player or in the communication  
between the server and the Player (browser/plugin). It is absolutely  
impossible to keep the end user from gaining access to the SWF  
content in some manner or another.


You can obfuscate, but you cannot hide the content itself. I think  
what some of us are saying is - there is no way to keep us from  
getting the file.


The most difficult method I am aware of is by using FP9 (AS3) and  
Loader.loadBytes (combined with ByteArray). You could use a secured  
socket connection and load binary data, decrypted through ByteArray  
and a client-server handshake (say Blowfish as the encryption method  
- it'll just take forever to decrypt the data).


That still won't protect you. All one needs is a packet sniffer to  
get the data (including any keys or other information) and use the  
SWF that loaded the data in the first place to decrypt it. It'll take  
a bit longer to get the file (a long time if implemented properly)  
but you can still get the file.


http://www.bytearray.org/?p=32

good luck.

- jon

___
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] RE: obfuscation swf !

2007-07-18 Thread Jon Bradley

Or, if you're a masochist:

http://www.kirupa.com/forum/showthread.php?t=256400

- Jon

On Jul 18, 2007, at 1:13 PM, Mark Winterhalder wrote:


On 7/18/07, Douglas Pearson [EMAIL PROTECTED] wrote:
Since we're talking about obfuscation/encryption does anyone know  
of a tool

that works for AS3 yet?

All the standard tools seem to stop with Flash 8/AS2.


I don't think there are any decompilers for AS3 yet, but I could be
wrong, and it's just a matter of time anyway.
If you want to take a shot at adding some obfuscation yourself, you
could get Swfmill off svn and hack something together that jumps
around in the ABC tags a bit. Ralf just added AVM2 opcode support the
other day.

Mark
___
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] drag and drop

2007-07-18 Thread Jon Bradley
Anyone attempt a DragManager class in AS3 for use with Flash CS3 (not  
the flex sources).


Specifically a singleton that takes a proxy (bitmap) and uses that  
for the dragging, with a method to have acceptable targets.


Trying to work that out and would like to know if I'm re-inventing  
the wheel here.


cheers,

- jon
___
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] obfuscation swf !

2007-07-17 Thread Jon Bradley

On Jul 17, 2007, at 2:05 PM, Jim Berkey wrote:

Congratulations, I obviously have more holes to plug, my methods  
are no good. I will continue trying . . .


You can't do it Jim - there aren't any holes to plug.

It's just technically impossible.

cheers,

- Jon

___
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] Flipping Effect...

2007-07-11 Thread Jon Bradley


On Jul 11, 2007, at 1:08 PM, Nick Weekes wrote:

In any case, this very useful link was put up and I think its  
closer to the

original request:

http://www.reflektions.com/miniml/template_permalink.asp?id=344


This effect would probably be much quicker by performing rectangular  
region copies from one BitmapData object to another and use a matrix  
for the transformation - all that's needed is a draw routine and loop  
that modifies the rect and matrix for the copy.


It would definitely be an interesting test...

cheers,

jon
___
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 CS3 over 400 MB! and 25 minutes to install!

2007-06-20 Thread Jon Bradley


On Jun 19, 2007, at 4:31 PM, JulianG wrote:

I saw this coming... Once Adobe take over Macromedia, things would  
start to happen.

Bad things, I mean.


Still searching to see what can be defined as bad in this thread.

How come Flash CS3 Installer is over 400 MB, when Flash 8 was only  
110 MB??
While I'm writing this the application in being installed (less  
than 50% progress).

How is it possible that it's taking AGES to do finish!


Cause it's a large install and there are a lot of pieces. Hundred  
thousand or so lines of code just for the class support and thousands  
of documents for help alone.


If it were one large file it'd take only a few minutes to write.  
Rather, it's thousands upon thousands of files. That is what takes a  
long time to install - hard drives do not function efficiently with  
read/write on tons of tiny files. They are efficient on large files.


And if your drive is fragmented... oh boy, have fun with that.

It almost seems like I was installing... I don't know Photoshop, or  
some other buggy Adobe software. Oh! s**t I am!


I mean honestly, why do I keep reading things about Adobe products  
being so buggy. Photoshop and Adobe products are some of the least  
buggy software products around. Consider yourself lucky.


I'm scared! I hope they don't screw it with the Flash Player.  
That'd be quite harmful for us. I think.
I don't see people updating Flash Player if it's 30MB or annoying  
in some other way.


That won't happen. There's a very explicit development process when  
adding features or adjusting the Flash Player. The team has very  
detailed requirements for coding and there are, I imagine, impact  
analyses for every addition to the Player.



Perhaps you guys had this discussion some time ago.
Do you have any URLs I can read about this, so I can find out if it  
is just me paranoid?


Paranoid. Who cares if the installer is big? Honestly. Get a bigger  
hard drive.


400 MB for an installer is a drop in the bucket. Even a couple gigs  
is a drop in the bucket with the size of drives today.


cheers,

jon

___
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] Bitmap text (no anti-alias) still aliasing?

2007-06-13 Thread Jon Bradley


On Jun 13, 2007, at 10:51 AM, matt stuehler wrote:


In other words, if you're using a device font, Flash will properly
calculate the height if the font is _sans, _serif, or _typewriter
(which is exactly what you suggested); but not if you use another
font.


This little bit of code properly calculates the height of a text  
field in Flash - snagged from one of the components in the V2  
framework (DataGrid?)


public function getTextHeight(txtField:TextField):Number {
var oldText = txtField.text;
txtField.text = ^g_p;
var tH = txtField.textHeight + 4;
txtField.text = oldText;
return tH;
}

cheers,

jon
___
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] Cairngorm without remoting?

2007-05-24 Thread Jon Bradley
Has anyone here approached Cairngorm development without remoting  
services?


I'm developing in Flash 8 still - no case to go to Flash 9 yet since  
the penetration is way less than the business requirements.


I've got a prototype I'm putting together and am using Delegates that  
return stub data right now to my Commands. In the end, the data will  
be loaded from a .NET application in the form of XML, not using  
Remoting objects.


What I'd like to know is if anyone has implemented other service  
types, and how, with Cairngorm in Flash (0.99 at the moment). The  
Responder framework is just not going to work, obviously, so I'd  
rather use XML calls that have their onResult and onFault events  
returned to the Delegate that is making the request.


Also, if any of the cairngorm team is still listening on the  
Flashcoders list, is there a newer package available with the  
org.osflash project structure? I'm still using the nevis formatting.  
From what I gather the only change is to the package formatting ...  
nothing else.


Any takers?

thanks for any input.

best,

jon

___
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] Cairngorm without remoting?

2007-05-24 Thread Jon Bradley
That's great, Muzak. It's right in line with what I thought needed to  
be done - import the remoting classes and use them only for what's  
necessary.


It does seem like quite a lot of effort for something that should be  
pretty simple - since the built in XML loading already has events  
that could be used.


cheers,

jon

On May 24, 2007, at 11:58 AM, Muzak wrote:

I don't know if anything like this exists for Cairgorm, I do know  
that people have written extensions for ARP.

One of them is an XMLService written by Christophe Herreman:

http://www.herrodius.com/upload/arp_extensions.zip

More custom services here
http://www.swapdepths.nl/2006/01/27/customservice-and- 
sharedobjectservice-for-arp/


If all you need/want is an XMLService, try this one (should be the  
same is the one in arp_extensions.zip though):
http://svn1.cvsdude.com/osflash/arp/labs/cherreman/actionscript/org/ 
osflash/arp/xml/


regards,
Muzak

___
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] FLV CuePoints - discrepancies between CuePoint time and actual time

2007-05-18 Thread Jon Bradley

How are you inserting the cue points?

If you are not embedding the cue points directly into the file, then  
your callback will only happen on the previous, closest key frame.


Also, Sorenson has had issues in the past with mis-aligned cue points  
and keyframes. I stopped using it altogether a while back, so I'm not  
sure what the options are but you should be able to force a keyframe  
at all cue points if you are embedding it into the actual video. I  
didn't think Sorenson could embed cue points into the FLV (at least  
in one of the older versions).


When all else fails, use the Flash Video Encoder.

cheers,

jon


On May 17, 2007, at 5:25 PM, Martin Tremblay wrote:



Video newbie!

I inserted multiple CuePoint into a flv.

The problem is when onCuePoint is call on the netstream, is it not  
being

called directly on time, but almost a full seconds before the actual
cuepoint time.

___
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] toronto flash developer

2007-05-09 Thread Jon Bradley

On May 8, 2007, at 9:53 AM, Tim Arney wrote:

Dashboard is seeking a fulltime flash developer to join our growing  
team


For details -


Ah... I'd love to move to Toronto. It's quite nice this time of year.

Alas, I'm stuck across the pond in Rochester ... loving the lake  
effect snow I get every year.


:)

___
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] jpeg 2000 compression

2007-05-03 Thread Jon Bradley

On May 3, 2007, at 12:50 AM, Marc furman wrote:


Hi
can anyone tell me if there is a way to use jpeg 2000 compression in
flash mx 2004 or flash 8  also if it is used in a movie can jpeg
2000 compression be viewed in flash player 7
Thank you
marc


The IDE does support JPG2k though I do not know how to explicitly  
force it to do so though. When you export the SWF I believe it  
converts it internally to a PNG format so that the alpha channel is  
retained. Don't take my word for this tough ... I might be off base.


An application from Strata (Strata Video?) exported animation  
sequences into Flash as JPG2k and retained the alpha channel, which  
Flash would use.


I did some experimentation with that a while back, so if I can dig up  
any info I'll post it here. I vaguely recall that there's no easy way  
to bring in a JPG2k image directly into Flash.


good luck,

jon
___
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] Matrix Building

2007-04-26 Thread Jon Bradley

On Apr 26, 2007, at 10:29 AM, Jiri Heitlager | dadata.org wrote:


Can somebody help me out with dynamically building a matrix of clips.
Well it is not really a matrix, see example:

1   2  3  4
12 5
11  6
10  9  8  7


Here's a solution for a square spiral matrix. Never converted it to  
NxM format ... if you do that, please send me the adjusted code.


I'll let you figure out only using the values you want (full outer  
ring on matrix).


cheers,

Jon

Jon Bradley
VFX Artist / Animator
Post Central, Inc.
[EMAIL PROTECTED]
www.cherrycrushthemovie.com


/**
*   SpiralMatrix class
*/

class com.jbradley.geom.SpiralMatrix {

private var size:Number;
private var mat:Array;
private var isInnerSpiral:Boolean;

function SpiralMatrix(s) {
size = s;
mat = [];
calcMatrix();
}

/**
*   calcMatrix loops over the matrix and calculates the final
*   value based on the base and delta values.
*
*   If inner is set to true, values increase from the
*   center. Otherwise, they increase toward the center
*   starting from the [0][0] position in matrix
*/
private function calcMatrix() {
var offset = isInnerSpiral ? 0:size*size;
for (var i=0; isize; i++)
{
mat[i] = [];
for (var j=1; jsize+1; j++)
{
mat[i][j-1] = Math.abs( Math.pow(base(i,j),2) + delta 
(i,j) - offset);

}
}
}

/**
*   Base returns a ring position in the matrix
*/
private function base(x:Number,y:Number):Number
{
return size - 2*Math.min(Math.min(x,y),Math.min(size-x,size- 
y));

}

/**
*   Delta returns an offset used to determine the final value
*   added to the current position in the matrix
 */
private function delta(x:Number,y:Number):Number
{
var d = Math.min(x,y);
if (x + y  size ) { d = size - Math.max(x,y); }
if (y  x) { return -1 * (x + y - 2*d); }
return x + y - 2*d;
}

public function setSize(s:Number) {
size = s;
mat = [];
calcMatrix();
}

public function toString():String {
var str = ;
for (var i = 0; i  size; i++)
{
str += mat[i] + newline;
}
return str;
}

public function get matrix():Array { return mat; }
public function set inner(b:Boolean) { isInnerSpiral = b;  
calcMatrix(); }

public function get inner():Boolean { return isInnerSpiral; }
}

/**
*   SpiralMatrix usage
*/

import com.jbradley.geom.SpiralMatrix;

var spiral = new SpiralMatrix(5);
trace(spiral);

spiral.inner = true;
trace(spiral);

___
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] seek() in VideoPlayer class

2007-04-23 Thread Jon Bradley


On Apr 23, 2007, at 1:08 PM, Ash Warren wrote:

Why do I feel like it's a constant 1 step forward 2 steps back with  
these

new releases???


Well.. you are running Vista ...  :)

- jon
___
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] Adobe Media Player vs. the competition..??

2007-04-19 Thread Jon Bradley


On Apr 18, 2007, at 10:49 PM, ben gomez farrell wrote:

I'd say it stands a decent chance of supporting a bunch of formats  
eventually.  Remember this thing is built on Apollo, and you can  
build your Apollo app with HTML.  Maybe Apollo won't support HTML  
pages with plugins (except for Flash) at launch, but it would be in  
their best interest to render webpages as they appear in your  
browser, which means bringing in Quicktime support and others.

Just speculation though!


Initially there is not going to be any support for any motion video  
format other than FLV. In the 1.0 release, Adobe 'might' include the  
ability to run external applications to handle a file of a certain  
type, but it definitely won't be integrated into the application any  
time soon.


Although WebKit includes support for plugin libraries, Adobe might be  
getting itself into a legal quagmire if it tried to 'pipe' the video  
data through any other player plugin (WMP, Quicktime, Real) into it's  
own interface. That remains to be seen though.


All they'd really need to do to kill other media players would be to  
add support for the libavec libraries (FFMpeg and MPlayer) and they'd  
be able to playback a few hundred different formats.


Definitely going to be interesting though ...

- jon
___
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] On2VP6 hardware acceleration

2007-04-19 Thread Jon Bradley


On Apr 19, 2007, at 1:09 PM, Randy Tinfow wrote:


We have not had much luck deploying video that is more demanding than
the following:

720x540 pixels, at 15fps, 1.2mbps.

If we do larger than that, we get stuttering video.  Even jacking  
up the

frame rate to 29.97 causes hesitation problems.
Are there ways to hook into video board acceleration to run On2VP6?

We've used PowerDVD Deluxe to playback H264 at 1080-24p via an Nvidia
board acceleration.  Hoping there is a way to do this with On2.
Otherwise, I don't get the point to Adobe's announced Flash Video
Player.


On2 VP6 is a software decoded format, it's not supported in any  
hardware decoding systems that I am aware of.


You shouldn't need hardware acceleration for H.264. If you need  
hardware acceleration, then your system is too slow (honestly). I can  
play back 1080p, 4:2:0 in realtime, 24/30 fps no problem.


Playback of H.264 is dependent on the data rate you're working with,  
which, unless you're a broadcast firm is most likely to be well under  
20 MB/s. Encode a 1080p H.264 Quicktime file (mid-profile is all it  
supports for now) and play that back. At best quality you shouldn't  
have any problem if you have a fast enough system.


H.264 is way more demanding than the OnVP6 codec. It's also quite a  
bit higher quality and can handle much higher data rates.


I'm not sure what your system specs are but I've got HD FLV files  
that playback quite nicely, from 720p up to1080p.


cheers,

Jon


Jon Bradley
Animation / Interactive / Visual FX
Post Central, Inc.
170 Linden Oaks, Suite B
Rochester, NY  14625
585.385.1530  x273
[EMAIL PROTECTED]
www.cherrycrushthemovie.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] Adobe Media Player vs. the competition..??

2007-04-18 Thread Jon Bradley

On Apr 18, 2007, at 12:09 PM, thotskee wrote:

Anyone have any thoughts on what the Adobe Media Player means for  
Youtube/Brightcove/Veoh/Google Video/etc. ?


My guess is ... not too much.

My take on it: It's just a glorified FLV player that talks to various  
video services and can be branded. It obviously can only deal with  
services that share up FLV files. If it were a full Media Player in  
the sense of being platform and format agnostic, then Adobe would  
have something to shake a stick at.


I'm not quite sure what the big deal is really supposed to be. Maybe  
there's more going on behind the scenes, but it looks to me like  
something a few advanced flex/flash developers could knock out in a  
couple weeks, or less.


my 0.02.

jon
___
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] Editors in use by Actionscript Programmers

2007-04-09 Thread Jon Bradley

Another:

Subethaedit for mac

Just the fact that it's collaborative editing makes it worthwhile.  
I've yet to get into all the code-hinting/folding, etc. jazz offered  
by many of these editors. Though, now I'm getting into more Flex 2  
work, I have a feeling I might be making a switch (but will keep to  
subetha for collab. editing with coworkers).



On Apr 8, 2007, at 2:14 PM, Ron Wheeler wrote:


Revised List of editors

FlashDevelop
Flexbuilder
SciTe Flash
Eclipse with Flex SDK
Eclipse with ASDT
Eclipse with FDT
Eclipse with HXDT
Eclipse with EHX
SEPY Actionscript editor
Flash 9 IDE
Flash 8 IDE
Vim
Notepad++
EditPlus with ActionScript profile
TextMate
jEdit
BBedit
___
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] Question: FMS 2 and CMS managed FLV files

2007-04-05 Thread Jon Bradley


On Apr 4, 2007, at 2:54 PM, john robinson wrote:

So the Flash front-end gets this path from the CMS, correct? If  
that's the case, then in your Java application, you you then copy  
the actual flv somewhere like so:


FMS/applications/myApplication/streams/347/filename.flv


That's one problem I have to overcome. The files that FMS would read  
(or any streaming solution that can run alongside Tomcat) cannot be  
copied to some 'streaming' directory. We're talking about hundreds of  
hours of broadcast footage that need to be organized in a specific way.


The paths would need to be dynamically generated by the CMS and those  
paths fed to the streaming server.


With the path you provided, you should be able to rip it apart in  
Flash and build the correct FMS path from there. Does that help at  
all? You shouldn't need to setup virtual paths at all. If you do  
need to setup virtual paths, I believe the FMS has an admin service  
that you could call from your Server-side AS to add those virtual  
paths dynamically as needed.


I thought of doing some server-side AS but then I run into the  
problem that each separate asset is contained in a separate folder  
along with all it's transformations - thumbnails, 00:00:10 FLV  
previews, storyboard jpg sequences, etc. I'd hate to have to add  
virtual paths all over the place.


Anyhow, I think my question at this point is probably well OT for the  
list so I'll see if I can find a FMS list or something where I can  
pose the question. I've never used FMS (from an administrative  
standpoint) so it'll be an interesting learning experience.


thanks for the help john.

jon



___
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] Question: FMS 2 and CMS managed FLV files

2007-04-04 Thread Jon Bradley


On Apr 3, 2007, at 10:34 PM, john robinson wrote:



On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:


I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?


As long as the path exists, then yeah it should be fine. I'm not  
sure if I understand your question correctly though. Are you saying  
you'll get a path like below from the CMS?


someserver.com/flash/videos/somefolder/somevideo

If that path exists on the FMS, then it shouldn't be a problem at all.



A bit different actually. The CMS system and application we are  
building is written with Java running on Apache Tomcat. File system  
paths will be stored like follows:


serverURL/fileServlet/filename.flv?GET_ITEM_ID=347TransformationID=234

Where the item id is a link to the metadata of the asset stored in a  
database and the transformation id is the transformed file from that  
asset. Our servers (flip factory, etc) will generate low res previews  
and a high res FLV from the original asset, which is mpeg-2.


I can probably build a direct path on the HD to the file, but from  
what I gather, you need to edit virtual paths in FMS for it to  
recognize the location of the files. I can't do this because each  
'asset' is a collection of files, including the FLV I want to stream.  
Each asset is a folder basically and there may be lots of 'em - 10s  
of thousands.


I don't know. Maybe it's server-side AS that grabs the path from the  
client side application (also flash) and somehow uses it to retrieve  
and stream the file. This is definitely unchartered AS territory for me.


I'm testing the dev edition of FMS to get a grips on whether or not  
it'll be best for the job. Red5 or some other tomcat-type  
installation of a streaming server may be a better selection as I  
look into it more.


thanks,

jon

___
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 and video optimisation ....

2007-04-04 Thread Jon Bradley


On Apr 3, 2007, at 8:12 PM, Kerem İşeri wrote:

I couldnt find any software directly converts avi to flv better  
then flash.

I am open for other ideas : )


FFmpeg is free and it also will do it just as well as Flash. It's  
just tricky to use and get running, more so if you're on a windows  
platform. OSX setup is a breeze I found.


cheers,

jon___
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] Question: FMS 2 and CMS managed FLV files

2007-04-03 Thread Jon Bradley

I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?

We're working within the constraints of a pretty high end post  
production solution that will end up storing many hours of video  
content, probably in MXF format in a high-res storage environment.  
There will be FLV files generated from this original content and  
stored in alternate locations.


Right now as I understand it, FMS requires you to determine virtual  
directory paths. Unfortunately, these paths will need to be entirely  
dynamic (edge-type system) and may include both network and local  
system paths.


The web front end will read file information from the CMS and pass a  
dynamically generated location path to FMS for it to grab the FLV  
file to stream (the file will not have an flv extension either).


Has anyone done anything like this or knows if this is even possible?  
I can't seem to find any resources that goes into this depth. Bunch  
of bright people here so I figured I would ask.


cheers,

Jon
___
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] simple code- should work but is not.

2007-04-03 Thread Jon Bradley

On Apr 3, 2007, at 2:34 PM, Thomas Collins wrote:

might anyone know why my wineback_btn is not registering the  
onPress?


i know for sure that my playhead reaches frame 21 where the code is.
instance names are specified


Are you disabling trace during publishing? That's what I'd check  
first ... check out your publish settings first.


- jon
___
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-03-30 Thread Jon Bradley


On Mar 29, 2007, at 6:36 PM, Hairy Dog Digital wrote:

I'm surprised that any of the CS3 bundles are available via  
download. I
would think they are only available via physical shipment due to  
sheer size.


Back to the subject at hand, I know that UK and EU pricing  
typically runs
higher on software, but to the extent that it is cheaper to fly to  
the US,
take a mini-holiday, purchase your software, then fly home seems  
ludicrous.


If you're purchasing the Master Collection, the price deviation from  
USD is somewhere around $1500 (or more). An outright purchase of the  
Master Collection in US is close the _upgrade_ pricing, depending on  
what you are upgrading from, for those in the UK after you apply a  
VAT of 17.5% (if that's applicable?).


I think anyone on this list in the UK could fly to the US round trip  
and crash with a US Flashcoder buddy - and still have some money left  
over for a hundred pints or so to help you forget how much you spent.  
You certainly would be getting more for your money that way.


cheers,

jon



___
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 CS3 Announced

2007-03-30 Thread Jon Bradley


On Mar 30, 2007, at 7:32 PM, [EMAIL PROTECTED] wrote:

Personally, I think it's a pretty bogus feature, one of those  
things that
look nice on paper but when you stop to look at it it's far from  
useful
except on extremely specific cases and still far from the magic  
that will

save lives like many people tend to think it is. It's still better to
either use direct code tweening where it fits, or use timeline  
tweening
where it fits (animated characters and so on). But it's not out  
yet, so I

don't know if I've missed something.


Don't be so sure. I believe there are many more flash designers and  
casual flash users than there are developers and those familiar  
enough with actionscript to code tweens. I'd venture that it's easily  
10 fold or more on the design side.


I worked for a while at an e-learning joint (Element-K) and was  
developing components for various aspects of some of the learning  
tools (written in flash, deployed with director at the time). I can't  
imagine having a load of designers trying to deal with a whole mess  
of FLA files with re-usable motion tweens. Just trying to get  
designers to adhere to consistent style guides for color or graphics  
was hard enough. :) Too many variables.


Code is explicit, and as long as all a designer (or programmer short  
on time) has to do is copy/paste, the better it is. In the case of an  
XML motion library - it would've been a godsend at the time, and it's  
one of the things we recommended to MM shortly after v7 was released.


cheers,

jon
___
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] OT:How was this done?

2007-03-28 Thread Jon Bradley


On Mar 28, 2007, at 10:41 AM, [EMAIL PROTECTED] wrote:

I find most of my inspiration from the world of 3d and broadcast  
graphics, and, increasingly I think we are going to see more and  
more 'hybrid' work that is a marriage of broadcast and web based  
media /techniques.


http://www.universaleverything.com/recent_activity/204

Anyone care to shed some light on how this was produced? (software,  
tools, etc)


Truly beautiful and inspiring!


Particles in Processing using fields I believe.

I definitely think the piece has some sweet particle effects - but I  
don't really think it's a 'hybrid' work per-se and def. not anything  
novel. I can't count the number of particle effects I've seen, some  
even very similar to that done in Processing (just not avoiding a car  
outline using fields).


 ... then again my comments may be a bit biased as a 3d vfx artist  
that does mostly broadcast animation work. :)


I'd like to see what 3d board they used to run it and what their  
definition of HD is. I'm guessing they did it in 720p, but with the  
right hardware I think 1080p could be remotely possible.


cool link.

cheers,

jon
___
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 CS3 Announced

2007-03-28 Thread Jon Bradley

On Mar 28, 2007, at 6:24 PM, Omar Fouad wrote:


but when the Flash CS3 Full version (not update) will be available??


End of April is when it ships I believe, the 20th rings a bell. The  
Master Collection isn't slated until June I think ... which is quite  
a while (ugh).


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


  1   2   >