Re: [Flashcoders] ustream on flash

2011-07-27 Thread jared stanley
Not sure about Ustream. The API for livestream is very straightforward; as I
recall they're both equally robust.






On Wed, Jul 27, 2011 at 7:30 PM, Gustavo Duenas 
gdue...@leftandrightsolutions.com wrote:

 Hi does anyone know where is a tutorial to use ustream on flash.?

 gustavo D.
 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Library asset rename

2011-07-12 Thread Jared
That sounds like a job for jsfl - dot know of any other simpler ways to import 
+ rename files automagically 

sent from my phone

On Jul 12, 2011, at 10:23 AM, Paul Andrews p...@ipauland.com wrote:

 I'm using Flash CS5.5 and recently imported about 200 mp3 samples. I needed 
 to create instances of these on demand so I had to create classes without the 
 suffix  .mp3.
 
 It was a PIA renaming the MP3 files, so did I miss a trick about how to 
 import large numbers of mp3 files and avoid renaming them individually to 
 remove the .mp3 suffix?
 
 
 ___
 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] flash.filesystem not in Flash?

2011-02-23 Thread jared stanley
i think AIR has negated the need for these windowless flash wrappers - are
these still in production?

On Wed, Feb 23, 2011 at 8:05 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Or if you switch to a Flash wrapper tool like mProjector or Zinc.

  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning





 ___

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
 Sent: Wednesday, February 23, 2011 8:11 AM
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] flash.filesystem not in Flash?

 Thanks Andrew,

 I switched to AIR...

 Regards,
 Cor van Dooren
 www.codobyte.com
 --
  There are only 10 types of people in the world:
   Those who understand binary and those who don't.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
 Murphy
 Sent: woensdag 23 februari 2011 14:08
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] flash.filesystem not in Flash?

 Hi. :)

 For security purposes Flash does not have the ability to writing data on
 the user's hard drive, except to the Local Shared-Object.  AIR runs on the
 user's OS as an application, so it has been given more access.


 --
 Andrew Murphy
 Interactive Media Developer
 amur...@delvinia.com

 Delvinia
 370 King Street West, 5th Floor, Box 4
 Toronto Canada M5V 1J9
 P (416) 364-1455 ext. 232
 F (416) 364-9830
 W www.delvinia.com



 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
 Sent: February-23-11 05:10
 To: 'Flash Coders List'
 Subject: [Flashcoders] flash.filesystem not in Flash?

 Hi list,

 I would like to create an explorer to let a user browse to a specific
 folder

 There he can select a txt-file to load in in Flash CS5.
 And after some string handling, I would like so save the outcome to a XML
 file.

 But apparently flash.filesystem is only working with AIR.
 Can anyone help me with this one??

 Regards,
 Cor van Dooren


 ___
 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

 --
 This message w/attachments (message) is intended solely for the use of the
 intended recipient(s) and may contain information that is privileged,
 confidential or proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and be advised that any review or dissemination of, or the
 taking of any action in reliance on, the information contained in or
 attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or a
 solicitation of any investment products or other financial product or
 service, an official confirmation of any transaction, or an official
 statement of Sender. Subject to applicable law, Sender may intercept,
 monitor, review and retain e-communications (EC) traveling through its
 networks/systems and may produce any such EC to regulators, law enforcement,
 in litigation and as required by law.
 The laws of the country of each sender/recipient may impact the handling of
 EC, and EC may be archived, supervised and produced in countries other than
 the country in which you are located. This message cannot be guaranteed to
 be secure or free of errors or viruses.

 References to Sender are references to any subsidiary of Bank of America
 Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
 Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
 Condition to Any Banking Service or Activity * Are Not Insured by Any
 Federal Government Agency. Attachments that are part of this EC may have
 additional important disclosures and disclaimers, which you should read.
 This message is subject to terms available at the following link:
 http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
 consent to the foregoing.

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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Getting modified variable without return

2011-01-21 Thread Jared
Yeah I'd say either through an event or else set a reference to the class which 
would be simpler but not a best practice as it would create a dependency. 

Sent from my iPhone

On Jan 21, 2011, at 9:36 AM, ktt kestuti...@yahoo.com wrote:

 Hello,
 
 I have a class, which loads and process XML - one function calls
 other, this - another one, which modifies a variable. If it were just
 one function, would be simple to get return of it in a main class:
 
 public var mySubClass:subClass = new subClass();
 result = mySubClass.myFunction();
 
 But how to get modified value after 4 function chain in a class?
 
 There is one method with a listener to check when event complete, but I'm not 
 sure if it's ok to keep listener running just to check variables.
 
 public var mySubClass:subClass = new subClass();
 mySubClass.addEventListener( Event.COMPLETE, onSendUserComplete, false, 0, 
 true );
 
 function onSendUserComplete( e:Event ):void
 {
trace( e.target.returnData );
 } 
 
 What is best practice method to do this?
 
 Thank you in advance,
 Ktt
 
 
 
 ___
 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] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread jared stanley
hey gang i have no idea what's going on here -

http://lab.freestyleinteractive.com/jared/wtf/

this is a basic tween, clip.x+=20 or whatever.

It's totally skipping/chugging? what is up with that? doing a motion tween
looks fine, it's just when it's procedural that it's funky.
We started noticing it on a project, now it's killing me - has it always
been there? jeez.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread jared stanley
i'm not looking for a way to tween things, i'm looking for an explanation on
why this happens? i've never noticed it but it must be this
framerate+velocity range or something

thanks for your input!

On Wed, Sep 29, 2010 at 10:48 AM, tom rhodes tom.rho...@gmail.com wrote:

 he did say in the original post that a motion tween was smooth!


 On 29 September 2010 19:25, Taka Kojima t...@gigafied.com wrote:

  This is going to sound abrupt but have you ever heard of a tweening
 engine?
 
  http://www.greensock.com/tweenlite/
 
  On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl bob.w...@gmail.com wrote:
 
   Up the frame rate and lower the x position update or use a tweening
   class. For the most part I don't really see any skipping/chugging.
  
  
   On Wed, Sep 29, 2010 at 9:45 AM, jared stanley 
 jared.stan...@gmail.com
   wrote:
  
hey gang i have no idea what's going on here -
   
http://lab.freestyleinteractive.com/jared/wtf/
   
this is a basic tween, clip.x+=20 or whatever.
   
It's totally skipping/chugging? what is up with that? doing a motion
   tween
looks fine, it's just when it's procedural that it's funky.
We started noticing it on a project, now it's killing me - has it
  always
been there? jeez.
___
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] flv on fb servers not loading in ie only

2010-09-22 Thread jared stanley
thanks for your help Juan.

so yeah the conclusion is this:

FB doesn't want their video content served to non-facebook
places(obviously).
They check that via the referer prop in the header that is sent.
In most browsers the referer is turned off by default, so it actually works.
In IE the referer is turned on by default. When you call a fb vid directly
with the non-fb referer it returns a 404.

Doesn't look like there's a workaround(other than serving different vids to
ie users!) - so close!

Anyway, adding this in here for archival purposes and to say 'thanks' again
for your help juan!





On Tue, Sep 21, 2010 at 7:24 PM, Juan Pablo Califano 
califa010.flashcod...@gmail.com wrote:

 Very weird.

 As you have noticed, it seems facebook is not serving the file under some
 circumstances (it returns a 404 http error code)

 I could make it fail consistently if:

 1) The referer is set and is in a non facebook domain

 AND

 2) The user agent is IE.

 I got the request to work if I set the referer to
 http://www.facebook.com/and leaving the user-agent as IE, for
 instance.

 It also worked, if I kept the original referer but used the same user-agent
 as Chrome:

 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
 AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3

 I'm not sure if there's any work around from Actionscript, I'm afraid, as
 you have very limited control over the request headers sent to the server.
 I'm pretty sure you just can't change the user-agent or the referer.

 The only alternative I can think of is proxying your request through some
 server you control. But that of course negates the benefits of using
 facebook's CDN infrastructure and for your server traffic and load it would
 be worse that just hosting the video yourself in the first place.

 I'm sorry this isn't of much help, but I can think of any other work
 around.

 Let us know if you find something else.

 Cheers
 Juan Pablo Califano

 2010/9/21 jared stanley jared.stan...@gmail.com

  thanks.
 
  I think the problem has been isolated,
 
  on the URLRequest, the response is as follows:
 
  http://pastebin.com/AmwCtAcD
 
  in there, the 'referer' param is causing the file to 404 - if we remove
 it
  then the video loads correctly.
 
  anyone have any idea on how to either set that param(not possible i
 think)
  or else modify it once it's loaded before it's processed?
 
  thanks!
 
 
 
 
 
 
  On Mon, Sep 20, 2010 at 6:49 PM, Juan Pablo Califano 
  califa010.flashcod...@gmail.com wrote:
 
   I've had experienced problems with Facebook Connect on IE only. In my
  case,
   the user wouldn't even be able to log in, so I'm not sure this is the
  same
   problem you're experiencing. But anyway, maybe it's worth checking
 this:
  
   http://wiki.github.com/facebook/connect-js/custom-channel-url
  
   http://wiki.github.com/facebook/connect-js/custom-channel-url
  Basically,
   I
   set explicitly the channelUrl on initialization, like in the example
 and
   put
   the channel.html file at the same level that the xd_receiver.html file
  that
   is used for working around JS cross-domain issues. And it solved the
   problem.
  
   If I recall correctly, this custom channel url workaround is necessary
  only
   if your app isn't loaded within FB, as opposed to an external site that
   just
   uses Facebook Connect. (Or was it the other way around?)
  
   Hope this helps.
  
   Cheers
   Juan Pablo Califano
  
  
  
  
   2010/9/20 jared stanley jared.stan...@gmail.com
  
hey - experiencing a weird bug here:
   
we have a video uploaded onto facebook's servers - we then load it
 into
flash.
it's working fine on all browsers except for ie.
it works fine when the video is local or on any other server.
   
anyone have any insights?
   
Thanks!
___
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] Apple changes their guidelines

2010-09-22 Thread jared stanley
wow 60 fps sounds impressive! i have not been impressed with the
flashiphone demos adobe has been showcasing; they showcased the same blox
game when they first announced it and again 6 months later just before
release...i would love to see your example as it would be the first
smooth-running demo i've seen.







On Wed, Sep 22, 2010 at 9:29 AM, Kevin Newman capta...@unfocus.com wrote:

  This all worked great. I now have the unBrix demo running at 60FPS -
 smooth as silk (almost, there are a very few small hiccups, nothing like in
 the previous demo - I have one last optimization left that I think will
 clean that up).

 The things I did were to make sure GPU acceleration is working (the bricks
 were red previously) - and preallocating (instantiating and storing) any and
 all objects I might need, and removing reliance on build in black box
 methods like hitTextObject. Actually, I separated the entire game engine
 into simpler shape objects (x, y, width, height - all int - final classes,
 no getter/setter, no inheritance) and did all the hit testing movement
 calculation manually on those, then apply that to scene in the render phase
 of ENTER_FRAME. I'll try moving it to RENDER event and see if that yields
 any improvement too (which'll be hard to spot!).

 Doing all that preallocation jives with what is mentioned in the packager
 for iphone dev guide PDF:

 http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf

 In particular: Allocating fresh blocks of memory is costly. It can slow
 down your application or cause performance to lag during animation or
 interaction as the garbage collection gets triggered.

 and: As memory fills up, iPhone OS notifies other running, native iPhone
 applications to free up memory. As these applications process this
 notification and work to free memory, they may compete with your application
 for CPU cycles. This can momentarily degrade the performance of your
 application.

 For me, memory allocation has been the biggest cause for stuttering and
 visual lag in Flash on iPhone.

 I haven't posted the results yet, because I only finished this work at 3am.
 ;-) Also, certain properties like cacheAsBitmapMatrix aren't available in
 the Player swf builds (to run on Android or Frash) so I'm not certain a
 posted swf would truly represent these improvements (I'll try it anyway
 though). Hopefully I can finish and polish something within a few weeks or
 months and get it into the app store! :-D

 Kevin N.




 On 9/21/10 5:07 PM, Kevin Newman wrote:

  I've been attempting to tackle the same issues, and would love a lot more
 info, if there is any available, on how to get the framerates to be stable.

 I've actually had a bit of luck, and I'm currently operating on the theory
 that the problem lies with memory allocation/deallocation and the garbage
 collector. This seems to apply to any situation where the player might
 create objects that will have to be collected - including events (the event
 object - passed on dispatch), and maybe even functions in general (args
 array?) - and certain built in methods like hitTestObject, or
 txtFld.htmlText. Constructors are a killer.

 I'm in the process of refactoring this:
 http://www.unfocus.com/unBrix.html to aggressively remove all reliance on
 black box APIs (like hitTestObject) and create 0 (zero) new objects per
 frame, except the two event objects (ENTER_FRAME and possibly RENDER) and
 touch/mouse events.

 I should be done with that tonight, and then I'll have a better idea of
 what kind of impact that has if any on the performance, and most importantly
 on the lag spikes (for lack of a better term).

 In general, I'll also note that Frash (the hacked Android player on iOS)
 works far better in terms of scripting than the iPhone compiler - I hope the
 recent changes in Apple's ToS means that Adobe can just ship AVM2 and skip
 all this AOT compilation, since AVM2 from what I can tell, performs better
 anyway (it should help make the compile times bearable too).

 From what I'm seeing, the scripting has a definite impact on performance,
 much more than the folks at Adobe are letting on (maybe they aren't aware?).

 Kevin N.



 On 9/21/10 9:19 AM, Tom Gooding wrote:

 Hi Flashcoders (back to Apple again),

 I'm wondering, having seen reports that developers are getting CS5
 packager content approved on the app store, if anyone knows of a decent
 Flash game / app on iPhone?

 I have just read this thread on Adobe labs:

 http://forums.adobe.com/thread/718595?tstart=0

 Whilst there's some regrettable bickering to wade through - the overall
 impression I take from it, is that decent visual performance, say 30fps,
  (even when optimising for gpu according to the guidelines) isn't possible.
  I'm considering whether to dedicate some resources to our own benchmarking
 of it, but currently, I get the impression it's not worth it if you want
 stuff that runs well / is comparable to the native platform.

Re: [Flashcoders] flv on fb servers not loading in ie only

2010-09-21 Thread jared stanley
thanks.

I think the problem has been isolated,

on the URLRequest, the response is as follows:

http://pastebin.com/AmwCtAcD

in there, the 'referer' param is causing the file to 404 - if we remove it
then the video loads correctly.

anyone have any idea on how to either set that param(not possible i think)
or else modify it once it's loaded before it's processed?

thanks!






On Mon, Sep 20, 2010 at 6:49 PM, Juan Pablo Califano 
califa010.flashcod...@gmail.com wrote:

 I've had experienced problems with Facebook Connect on IE only. In my case,
 the user wouldn't even be able to log in, so I'm not sure this is the same
 problem you're experiencing. But anyway, maybe it's worth checking this:

 http://wiki.github.com/facebook/connect-js/custom-channel-url

 http://wiki.github.com/facebook/connect-js/custom-channel-urlBasically,
 I
 set explicitly the channelUrl on initialization, like in the example and
 put
 the channel.html file at the same level that the xd_receiver.html file that
 is used for working around JS cross-domain issues. And it solved the
 problem.

 If I recall correctly, this custom channel url workaround is necessary only
 if your app isn't loaded within FB, as opposed to an external site that
 just
 uses Facebook Connect. (Or was it the other way around?)

 Hope this helps.

 Cheers
 Juan Pablo Califano




 2010/9/20 jared stanley jared.stan...@gmail.com

  hey - experiencing a weird bug here:
 
  we have a video uploaded onto facebook's servers - we then load it into
  flash.
  it's working fine on all browsers except for ie.
  it works fine when the video is local or on any other server.
 
  anyone have any insights?
 
  Thanks!
  ___
  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] flv on fb servers not loading in ie only

2010-09-20 Thread jared stanley
hey - experiencing a weird bug here:

we have a video uploaded onto facebook's servers - we then load it into
flash.
it's working fine on all browsers except for ie.
it works fine when the video is local or on any other server.

anyone have any insights?

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


Re: [Flashcoders] Fwd: Looking for Flash/Web Designer! Great

2010-09-07 Thread Jared
I like the occasional job post. This one is def a terrible crap post though for 
sure.

Sent from my iPhone

On Sep 7, 2010, at 4:03 PM, Dave Watts dwa...@figleaf.com wrote:

 This is meant to be a Flash coders list. When did it become a job-seeker 
 site which apparently specializes in underpaid web
 developer jobs? Most developers I know are very busy people who do not need 
 their time wasted by spurious, inappropriate posts
 to the list.
 
 We generally allow job postings, and they're not very common, so we'll
 probably continue to do so. If the number of postings increase to an
 unacceptably high level, or the consensus of the list changes, we may
 revisit that.
 
 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] Impossible?

2010-09-03 Thread Jared
A bitmap either has transparency or it doesn't; you need to set the alpha flag 
to true or you cannot get transparency data.

Another thought would be blend modes - screen the flame w/black bg on your 
image and draw() the result.
I know that doesn't answer your q but it will give you the intended result if 
you're not able to get any further.

Sent from my iPhone

On Sep 3, 2010, at 7:29 AM, Paul Andrews p...@ipauland.com wrote:

 On 03/09/2010 13:32, George Jones wrote:
 Hi;
 I think I've done my homework on this, but I can find no answers. Is it 
 possible, using BitmapData, to make part--and only part--of a bitmap 
 transparent? I'm presuming the answer is no. If that is the case, would 
 you be so kind as to inform me so that I quit beating my head against the 
 wall? I've asked the following question on about 5 forums and nobody has 
 answered it, which I presume means it's over most people's heads...but 
 certainly not this list. The net effect which I'm trying to create is 
 programmically created fire that burns over a background image I select. 
 What I now have is such fire over a black background (or any other color I 
 choose), not over a jpg, for example.
 
 I'm trying to tweak a script I found online to work for my application.
  The problem I am having is to make a certain part of the bitmap that
 is  created by code transparent...but only a certain part of it. The
 code  has the following:
 
  _fire = new BitmapData(865, 92, false, 0xff);
 
  Note
  the alpha flag must be set to false, which is the source of my problem,
 
 It certainly is. Bitmaps aren't transparent unless the flag is set to true. 
 You are wasting your time trying to make bits of an opaque bitmap transparent.
 
 Paul
 ___
 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] Could this be done more elegant.

2010-08-13 Thread Jared
This is a great idea, thanks for sharing never tried to adjust quality like 
this.

Sent from my iPhone

On Aug 13, 2010, at 10:36 AM, Ktu ktu_fl...@cataclysmicrewind.com wrote:

 This doesn't change the way it works, but you could rewrite the addValue
 stuff to this:
 
 buffer += (fps = 45) ? 1 : -1;
 
 
 
 On Fri, Aug 13, 2010 at 4:45 AM, Jiri jiriheitla...@googlemail.com wrote:
 
 Thanx for the answer, I am on a project where the whole thing is allready
 set up. The quality is now set to BEST as soon as the FPS goes under 30 (i
 used 45 in my example), but on fast machine this results in very short
 graphical glitches, because it is usually only 1 or 2 frames where the FPS
 is below 30.
 I wanted to prevent this and make the profiling a bit better. Not toggle
 all the time, but just wait a bit before doing the call.
 
 So it is not so much about the execution based on EnterFrame but more on
 how to write the function a bit cleaner.
 
 Jiri
 
 
 On 13-08-10 10:29, Henrik Andersson wrote:
 
 I use a different event than what you are most likely using. I use the
 Render event. It is a bit more effort since you have to request it again
 and again, but it is more accurate for the rendered fps.
 
 It differs from the enter frame event in that it is not dispatched when
 the player is skipping frames.
 ___
 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
 
 
 
 
 -- 
 Ktu;
 
 The information contained in this message may be privileged and/or
 confidential. If you are NOT the intended recipient, please notify the
 sender immediately and destroy this message.
 ___
 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] Trigonometry Problem

2010-08-11 Thread jared stanley
hey all,

working on getting a grid to expand into a circle.

I would like to:

   - place items in a grid
   - calculate angle from centerpoint(or any desired point)
   - have the items align into a circle at the nearest point, *keeping the
   same angle*


here's my progress:
http://lab.freestyleinteractive.com/jared/maths/radius.html

the start and end is pretty close to what i want, but i'd like the items to
rearrange keeping the same angle,
so an item that was on the top left would stay on the top left area and an
item to the right in the grid would stay to the right in a circle.

hope this makes sense.

code is below, thanks for any help!

private function init():void{
//create and center container clip
mainClip = new MovieClip(); //container clip for all items
addChild(mainClip);
mainClip.x = stage.stageWidth / 2;
mainClip.y = stage.stageHeight / 2;

createParticles();

//draw circle around centerpoint for visual reference
mainClip.graphics.lineStyle(2, 0xff, .5);
mainClip.graphics.drawCircle(0, 0, 100);
//
stage.addEventListener(MouseEvent.CLICK, expand);

}

private function createParticles():void{
for(var i:int = 0; imaxParticles; i++){

var particle:Particle = new Particle();//just a sprite with
some properties
   //create grid, calculate original X  Y positons;
particle.i = i;
particle.x = (particle.width + 5) * (i % 20);
particle.y = (particle.height + 5) * Math.floor(i / 20);
particle.ox = particle.x;
particle.oy = particle.y;
//calculate angle from the 0 point;
var rad:Number = Math.atan2(mainClip.x-particle.y,
mainClip.y-particle.x);
var angle:Number = rad * 180 / Math.PI;
particle.angle = angle;
mainClip.addChild(particle);
//put all particles in an array to be referenced below
particlesArr.push(particle);
}

//code below is to recenter the grid on the centerpoint instead
of top left
var tmpw:Number = mainClip.width;
var tmph:Number = mainClip.height;
//loop through to offset the grid so it's even within the page
for(i = 0; iparticlesArr.length; i++){
var p:Particle = particlesArr[i];
p.x -= tmpw* 0.5;
p.y -= tmph* 0.5;
p.ox = p.x;
p.oy = p.y
}

addEventListener(Event.ENTER_FRAME, moveAll);
}


private function expand(e:MouseEvent):void{
isGrid = !isGrid;

for each (var p in particlesArr) {
p.tgtx = Math.cos(p.angle)*mag;
p.tgty = Math.sin(p.angle)*mag;
}

}


private function moveAll(e:Event):void{
var mainTgtX:Number;
var mainTgtY:Number;

if(!isGrid){
for each (var p in particlesArr) {
p.x += (p.tgtx - p.x) /20;
p.y += (p.tgty - p.y) /20;
}

}else {

   for each (p in particlesArr) {
p.x += (p.ox - p.x) /20;
p.y += (p.oy- p.y) /10;
}

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


Re: [Flashcoders] adjusting postion of dynamically loaded images

2010-07-01 Thread Jared
Try it in the second trace you have; it's not loaded When you're first tracing

Sent from my iPhone

On Jul 1, 2010, at 6:32 AM, Pankaj Singh singh.pankaj.iitkg...@gmail.com 
wrote:

 even after using INIT i m getting 0 width because event listener function is
 never called (trace statement is not working)
 
 for (var i:int=0; i  lettersCount; i++)
{
imageLoader[i].load (new URLRequest(
 xmlLettersList[i].attribute(img)));
imageLoader[i].width = imageLoader[i].addEventListener(Event.INIT,
 imgInitialised);
trace(width =  + imageLoader[i].width);
function imgInitialised (e:Event):Number
{
var bm:Bitmap = Bitmap(e.target.content);
trace(inside function image Loaded);
return bm.width;
}
 ___
 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] Job Openings at Bank of America for US/Canada

2010-06-18 Thread jared stanley
g AGGIES! :)




On Fri, Jun 18, 2010 at 1:38 PM, Matt Perkins nudoru.m...@gmail.com wrote:

 You can also learn as you go, but it's not as complete. I'm one of Jason's
 coworkers - and while my instructional background isn't nearly as good as
 Jason's I manage to muddle through :)
 My degree is in graphic design/illustration and I've been self teaching
 Flash/multimedia since '95.  Been working in the corporate elearning
 industry since 2001 and managed to pick up what I know by osmosis.



 On 6/18/2010 3:53 PM, Merrill, Jason wrote:

 It's actually a large field.  Most major universities have a degree in
 Instructional Technology - or something named similar to that.  It's
 also called Educational Technology, Instructional Design, Adult
 Learning, Educational Multimedia, Information Design, etc.  Job
 titles can range from e-learning developer, instructional
 technologist, multimedia developer, adult learning specialist,
 education consultant, e-learning designer, education developer,
 instructional multimedia designer, etc. Programs focus on a range of
 topics from the technical multimedia aspects over to the learning theory
 and instruction design aspects and you can usually focus in different
 areas.  Just depends. My title is Instructional Technology Architect
 which is a senior type position compared to some others in my group,
 called Instructional Technology Designers.  We also have
 Instructional Designers who don't use the technology as much - they do
 more working with subject matter experts and write the storyboards.  My
 Master's degree is in Instructional Technology from one of the top
 instructional technology programs, Utah State University. I also have a
 bachelor's in education with an emphasis in graphic design and
 multimedia. Other top programs can be found at University of Indiana,
 Penn State, and Georgia Tech (at least this is what the top schools were
 back in the late 90's - may have changed since then).  One of my
 co-workers is working on his PhD in the field from a university up in
 Boston.  Several others on my team have post-graduate degrees in
 instructional technology or a related field.

 Hope that helps,

 Jason Merrill

 Instructional Technology Architect
 Bank of America   Global Learning

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (Note: these resources are only available for Bank of America
 associates)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
 Mendelsohn, Michael
 Sent: Friday, June 18, 2010 3:36 PM
 To: Flash Coders List
 Subject: RE: [Flashcoders] Job Openings at Bank of America for US/Canada

 Hi Jason...

 I have an OT response to your post.  Hope it's ok to respond here like
 this.  For the record, I have a job that I enjoy, and I'm doing AS3 for
 much of my day.

 That said, I'm curious about your educational background.  You mentioned
 below these people exist with instructional technology.  I've never
 heard of a master's degree in that before, and a quick search didn't
 turn up the seemingly right things.  Do you have a degree in that?  I'm
 always thinking about how I can improve my skillset and it's something
 I'm curious to find out more about, especially from someone who seems so
 knowledgable.  I'm sure working with you would be an unparalleled
 opportunity.

 I've been really thinking about what's best to focus on for my skillset
 now, given technologies are moving at light speed at present.

 Thanks!
 - Mike Mendelsohn



 Yes, I do - as well as several members of my team.  We do coding most
 of


 the day in AS3, several of us are artists in their spare time and have
 Master's degrees in instructional technology.  It's a hard mix to find,
 but those people are out there.

 ___
 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




 --
 Matt Perkins
 
 http://www.nudoru.com


 ___
 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] security notice: upgrade your flash player

2010-06-10 Thread jared stanley
hmm - tried installing, it had the mac version link buried in an 'other
systems' section not on the main page. jeez.
also had the mcaffe opt-out which sucks.

downloaded it (windows XP, safari) and it failed and uninstalled my flash
player. never had an issue before with installation.
restarted and tried again and it seemed to work.





On Thu, Jun 10, 2010 at 11:04 AM, Dave Watts dwa...@figleaf.com wrote:

  Someone threw me these links about it.
 
  http://qoop.org/security/poc/cve-2010-1297/
  http://ganjanet.org/flash0day.06092010.tgz (all the files)

 I'm not sure I'd recommend going to the first one of those unless
 you're running in a VM - it appears to be doing more than just
 crashing your browser. But it does crash your browser all right.

 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] flash game source code

2010-06-04 Thread Jared
I think seb lee-delisle has one in his game dev class source code. I  
don't know if it helps but here we are.


Sent from my iPhone

On Jun 4, 2010, at 8:30 PM, Eric E. Dolecki edole...@gmail.com  
wrote:



found this in 0.25 seconds, but didn't download to check it:

http://www.lemlinh.com/flash-source-as3-space-invaders/


On Fri, Jun 4, 2010 at 11:20 PM, Michael Stocke mikesto...@hotmail.com 
wrote:




Good evening everyone.



I would like to make a space invaders clone using AS3. I don't have  
alot of
time, so developing from scratch isn't really an option. Does  
anyone have
any suggestions for places to find source code? Flashkit is too  
old, and I
haven't been able to find anything at kirupa.com. I've seen a  
number of
emulators, but I want something that I can customize with my own  
assets and

animations if possible. Any suggestions anyone can give would be
appreciated. Thanks.

Foundry Designs Inc.
Professional Website Design and Online Marketing

Mike Stocke
msto...@foundrydesigns.com
248.787.1306



_
Hotmail is redefining busy with tools for the New Busy. Get more  
from your

inbox.

http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
http://ericd.net
Interactive design and development
___
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] Apple developing flash-like alternative

2010-05-08 Thread Jared

http://thenextweb.com/apple/2010/05/08/apple-is-developing-a-flash-alternative-and-has-been-for-almost-a-year/

Don't know how valid this is but it would explain a lot

Sent from my iPhone
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Template w/ XML?

2010-04-30 Thread Jared

Try root.loaderinfo.parameters.varname

Sent from my iPhone

On Apr 30, 2010, at 9:11 AM, John Singleton  
johnsingleton...@yahoo.com wrote:





- Original Message 


From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Fri, April 30, 2010 10:36:24 AM
Subject: Re: [Flashcoders] Template w/ XML?

hi john



xml is the de-facto way of externalising data for flash (there
are others
but xml is the best imo) and as3 implements e4x (as2 was much more
clunky for this)


Right. But that wasn't my question. What I'd like to know is if it's  
possible to alter how a swf is displayed dependent on variable  
information. For example:

1) visitor surfs to xyz.php
2) php script calls the template with the swf and feeds it the  
variable page='xyz'.

3) the template swf renders data based on that.
Is that possible? If it is, then I'm sure E4X is the way to go. And  
if it is possible, can one alter the guts of the page such that  
one can build tables, include pics, etc?

TIA,
John



___
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] The Real Story Behind Adobe’s Fa iled Mobile Strategy

2010-04-23 Thread jared stanley
interesting perspective, thanks for sharing





On Fri, Apr 23, 2010 at 4:17 AM, John McCormack j...@easypeasy.co.ukwrote:


 http://www.businessinsider.com/the-underlying-story-behind-adobes-failed-mobile-strategy-2010-4

 John

 ___
 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] can't get swfObject flashvars to work

2010-04-23 Thread Jared

 try root.loaderinfo.parameters

Sent from my iPhone

On Apr 23, 2010, at 11:37 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com 
 wrote:



Hi list...

I'm trying to pass along navigator.userAgent to flahsvars through  
swfObject and I can't get it to work.  Here's what I have:


script type=text/javascript
   var flashvars = {};
   flashvars.navUA = navigator.userAgent;
   var params = {};
   params.allowScriptAccess = true;
   swfobject.embedSWF(mySWF.swf, myswf, 660, 510, 9.0.28,  
false, flashvars, params, {});

/script

In the document class in the swf, I have this line:
ExternalInterface.call(getVar, root[navUA]);

I'm getting nothing.  Anyone know of a working technique?

Thanks!
- Michael M.


___
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] flash for Android: resources?

2010-04-22 Thread jared stanley
it's not available yet outside of the beta but you can go through the
documentation here:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package-summary.html

and take a look at the accelerometer, etc


And as far as I understand it:


flash player 10.1 is available on android, meaning you can view flash
content when you browse the web in android.
AIR 2 is available on android, and with this you can export files(apps) to
be installed on your phone
I don't know the specifics on how to do so, but this article:

http://blogs.adobe.com/air/2010/04/adobe_air_applications_for_and.html

has links to multiple videos; this link implies that it's easy to do.

Jared








On Thu, Apr 22, 2010 at 2:11 PM, Matt S. mattsp...@gmail.com wrote:

 So (and pardon me if these are stupid questions), does the final app
 get converted to an Android format? Or does it actually go to the
 phone still in AIR format? Is there not equivalent conversion similar
 to packager for iPhone?

 .m

 On Thu, Apr 22, 2010 at 5:07 PM, Zeh Fernando z...@zehfernando.com wrote:
  It will be pretty much the same as 'normal' Flash, but with less
 CPU/memory
  and with additional APIs.
 
  For optimization tips:
  http://help.adobe.com/en_US/as3/mobile/index.html
 
  For the additional APIs, I guess we have to wait for the proper (?) AIR 2
  documentation. But NativeMenu and such should be a good indication of how
  things will work. I think I've seen a list of the tentative APIs (for
  multi-touch, geo location, and such), but nothing too final.
 
  Zeh
 
  On Thu, Apr 22, 2010 at 4:46 PM, Matt S. mattsp...@gmail.com wrote:
 
  I'm guessing some of y'all have already dove into the world of
  developing Flash for Android, I'm wondering if there are
  sites/books/resources you can recommend to get started?
 
  thanks,
 
  .matt
  ___
  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] flash for Android: resources?

2010-04-22 Thread Jared
Hmm...I assumed the devices were flash-capable and when flash was  
detected it would dl the plugin...guess not?


Sent from my iPhone

On Apr 22, 2010, at 6:50 PM, Zeh Fernando z...@zehfernando.com wrote:

This is how it's gonna be soon, but not now. Android 2.1 (Nexus One,  
et al)
come without any kind of Flash Player installed, so you can't see  
Flash

content.

Zeh

On Thu, Apr 22, 2010 at 6:30 PM, jared stanley jared.stan...@gmail.com 
wrote:




And as far as I understand it:


flash player 10.1 is available on android, meaning you can view flash
content when you browse the web in android.
AIR 2 is available on android, and with this you can export files 
(apps) to

be installed on your phone
I don't know the specifics on how to do so, but this article:

http://blogs.adobe.com/air/2010/04/ 
adobe_air_applications_for_and.html


has links to multiple videos; this link implies that it's easy to do.

Jared








On Thu, Apr 22, 2010 at 2:11 PM, Matt S. mattsp...@gmail.com wrote:

So (and pardon me if these are stupid questions), does the final  
app

get converted to an Android format? Or does it actually go to the
phone still in AIR format? Is there not equivalent conversion  
similar

to packager for iPhone?

.m

On Thu, Apr 22, 2010 at 5:07 PM, Zeh Fernando z...@zehfernando.com

wrote:

It will be pretty much the same as 'normal' Flash, but with less

CPU/memory

and with additional APIs.

For optimization tips:
http://help.adobe.com/en_US/as3/mobile/index.html

For the additional APIs, I guess we have to wait for the proper  
(?) AIR

2
documentation. But NativeMenu and such should be a good  
indication of

how
things will work. I think I've seen a list of the tentative APIs  
(for

multi-touch, geo location, and such), but nothing too final.

Zeh

On Thu, Apr 22, 2010 at 4:46 PM, Matt S. mattsp...@gmail.com  
wrote:



I'm guessing some of y'all have already dove into the world of
developing Flash for Android, I'm wondering if there are
sites/books/resources you can recommend to get started?

thanks,

.matt
___
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

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


Re: [Flashcoders] Hello Everyone!!

2010-04-19 Thread jared stanley
look through the archives, this is a very active list.

http://chattyfig.figleaf.com/mailman/private/flashcoders/

before you ask make sure you've thought it through and tried to solve it.

be clear on your problem, and teh steps you've taken to try to solve it.

when someone gives you an answer try the solution; if it doesn't work, be
specific on what happened.

if you just moved from a third-world country and promised the client a huge
ecommerce flash site and usually hire russian flash devs but don't have any
contacts now and don't have money for a book then i would advise against
posting.

that's about it.

welcome!




On Mon, Apr 19, 2010 at 4:58 PM, Ryan P rpd...@gmail.com wrote:

 I am kinda new to this listing thing. I am on here cause a friend of my
 uses
 this for help with AS3. Is there a faq about how this works, so I don't
 waste anyones time..

 Thanks!!

 Rp
 ___
 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] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-08 Thread Jared
Someone said that this was just a proposed version of the policy, and  
that the 4.0 SDK isn't out until summer so they won't finalize it  
until then...we'll see


Sent from my iPhone

On Apr 8, 2010, at 6:25 PM, Merrill, Jason jason.merr...@bankofamerica.com 
 wrote:



I know BRUTAL. I mean, wow - Apple knows Adobe is announcing CS5 on
Monday.  Should be interesting to see how they address that new Apple
policy on the call. Some other links:

Wired magazine:
http://www.wired.com/gadgetlab/2010/04/iphone-developer-policy/

Peter Elst:
http://www.peterelst.com/blog/2010/04/09/apple-versus-developers-this-ti
me-its-personal/

So many interesting power struggles going on right now between Adobe,
Apple, Microsoft and Google. Makes you wonder who will come out on  
top.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


___
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] removeChild Question

2010-02-24 Thread Jared

And you wrote addchild(mc) - that's like writing this.addchild(mc).

Also parent is a property so mc.parent should always trace, like  
mc.alpha etc...


Hth


Sent from my iPhone

On Feb 24, 2010, at 8:08 AM, Geografiek geograf...@geografiek.nl  
wrote:


I don't think a class can have children, only instances of classes  
can. (skating on thin ice now ;-))
Also I don't know by heart all the error codes. So please, if you  
refer to an error code give the full text.


I bet your trace resulted in something like [object, MyClass],  
litteraly meaning that the parent is an object and an instance of  
MyClass.

Somewhere you have created that instance with myVar = new MyClass();
so the parent is accessible through myVar.

Also: somewhere you have added my_obj to myVar with myVar.addChild 
(my_obj)

Remove it with myVar.removeChild(my_obj)
If you did just 'addChild(my_obj)' (that is within myVar) you can  
say 'removeChild(my_obj)' (of course also within myVar)

HTH
Willem

On 24-feb-2010, at 15:24, Susan Day wrote:

On Wed, Feb 24, 2010 at 9:44 AM, Geografiek  
geograf...@geografiek.nlwrote:



Well,
You could at least give a hint as to what _does_ work:
trace(my_obj.parent);



Thanks. That traced out the name of the class/*.as file, but when I  
put that

value in, as in:

MyClass.removeChild(my_obj);

it throws an error (1061). What do?

With respect to Moock, yeah, got it, and it's the only reason I still
haven't pulled out all the hair in my head. Maybe get the cookbook  
too.

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




=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 
 or cell phone: (+31)6-26372378

or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=




___
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] Error 1009

2010-02-24 Thread Jared
Also, if you go to publish settings  enable debugging or whatever,  
you can see the line number of the errors.


Sent from my iPhone

On Feb 24, 2010, at 8:38 AM, Victor Subervi victorsube...@gmail.com  
wrote:



On Wed, Feb 24, 2010 at 11:01 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:

Your code references the stage (to position your textfield) so you  
need to

listen for the ADDED_TO_STAGE event to prevent the null reference.

Example:

package{
  import flash.events.Event;
   import flash.display.MovieClip;
   public class Preloader extends MovieClip{
   public function Preloader(){
  addEventListener(Event.ADDED_TO_STAGE, init,  
false,

0, true);
  }
  private function init(e:Event){
  removeEventListener(Event.ADDED_TO_STAGE,  
init);

  // do stuff
  }
  }
}



I tried that but it didn't help.
TIA,
V
___
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] XMLList question

2010-02-05 Thread Jared
My rule of thumb is anything that will be used for display text is in  
CDATA tags, not attributes


Sent from my iPhone

On Feb 4, 2010, at 8:09 AM, Dave Watts dwa...@figleaf.com wrote:

I always use CDATA tags for text in nodes where special characters  
might

exist.


I really strongly second this. This has been the cause of more
problems I've seen than I can count. You never know what kind of
characters you might be getting from a database query.

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


[Flashcoders] is it ever ideal to NOT use weak references?

2010-02-05 Thread jared stanley
wondering why it defaults to false, seems like it really only affects GC, so
you'd want it set to true by default but maybe i'm missing something.

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


Re: [Flashcoders] Matrix + BitmapData - what exactly happens?

2010-01-26 Thread jared stanley
yeah Thanks Dave.

fyi here's a blog post on my findings so far with screenshots:

http://www.jaredstanley.com/blog/?p=40






On Tue, Jan 26, 2010 at 5:04 AM, Dave Mennenoh
d...@blurredistinction.comwrote:

 Jared, the 1x1 trick doesn't really work that well in Flash as you may have
 already found out. I was using that myself for a project until I learned
 that for some images it was pretty far off. So, I went to a more traditional
 method - getting the average color of each pixel in the image, which
 actually is faster than you might think. Here's the method I am using:

 private function averageRGB( source:BitmapData ):uint
  {
  var red:Number = 0;
  var green:Number = 0;
  var blue:Number = 0;
  var count:int = 0;
  var pixel:Number;

  for (var x:int = 0; x  source.width; x++)
  {
   for (var y:int = 0; y  source.height; y++)
   {
pixel = source.getPixel(x, y);

red += pixel  16  0xFF;
green += pixel  8  0xFF;
blue += pixel  0xFF;
count++;
   }
  }

  red /= count;
  green /= count;
  blue /= count;

  return red  16 | green  8 | blue;
  }

 HTH


 Dave -
 www.offroadfire.com
 Adobe Community Expert
 http://www.adobe.com/communities/experts/
 ___
 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] Rotation

2010-01-25 Thread jared stanley
Beno, there's a list on here called 'flash newbies' or something -
despite the name there are great resources. The level of questions
you're asking are definitely pointed more to that list, please start
posting there I think you and everyone else will have a better
experience.




On Mon, Jan 25, 2010 at 12:12 PM, Karl DeSaulniers k...@designdrumm.com wrote:
 More like advanced legos, but yeah.

 Karl

 On Jan 25, 2010, at 2:06 PM, beno - wrote:

 On Mon, Jan 25, 2010 at 3:54 PM, Karl DeSaulniers
 k...@designdrumm.comwrote:

 By and large if you have something that has movable parts,
 put the parts in their own MC and then all of them together in one and
 control separately.
 As far as I know.


 Makes sense. Stick 'em together like Legos.
 beno
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 ___
 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] Matrix + BitmapData - what exactly happens?

2010-01-25 Thread jared stanley
Hey list - I have been trying to get the dominant pixel color of an image.

I received this solution from someone, but I'm still not exactly sure what
flash is doing with this:


public static function GetColor(_bmd:BitmapData):uint{

var m: Matrix = new Matrix();
m.scale( 1 / _bmd.width, 1 / _bmd.height);
var colorBmd:BitmapData = new BitmapData(1, 1);
colorBmd.draw(_bmd, m);
var color:uint = colorBmd.getPixel(0,0);
//trace(color)

return color;
}



   - the matrix is scaling down _bmd  to a fraction
   - a 1x1 pixel BitmapData is created
   - the draw() method is drawing a scaled version of the bitmap, 1pixel by
   1 pixel
   - the pixel at 0,0 is selected

My question is how is that color determined? Basically the whole image gets
simplified down to one color by flash, how is that determined?

Ultimately I'm curious as I'd like to be able to get the dominant color and
the average color of an image separately.

Thanks!

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


Re: [Flashcoders] Sprite alpha

2010-01-25 Thread jared stanley
whenever I see odd behavior with alpha I assume it has to do with a parent
clip or setting it to 50 instead of .5 - and it usually happens when I'm
feeling frantic on a project.

hth

jared



On Mon, Jan 25, 2010 at 5:01 PM, Paul Andrews p...@ipauland.com wrote:

 Eric E. Dolecki wrote:

 huh? Post some code. Everyone is guessing at the vague question at the
 moment.


 I'm not sure it's that vague, but still..

 Basically I have a Sprite. Setting the alpha to 0.05 doesn't make it
 invisible/almost invisible. Setting the alpha to 0.0 does.

 The code is amongst a load of other stuff and I can live without the alpha
 for the moment. If nobody else has seen odd behaviour with Sprite alphas,
 then I have some stupidity in my code and I'll return to it later. If you
 haven't see odd alpha behaviour then no worries.

 When life is a little less frantic, I'll check it out with some more tests.


 Paul
 ___
 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] Re: Matrix + BitmapData - what exactly happens?

2010-01-25 Thread jared stanley
here are some examples of the

previous block of code.

http://lab.freestyleinteractive.com/jared/bitmap/revival.html
http://lab.freestyleinteractive.com/jared/bitmap/heman.html
http://lab.freestyleinteractive.com/jared/bitmap/thundercats.html

it appears that the dominant color is showing, but it is inconsistent(look
at the end frame of the heman vid as an example)

thanks to anyone who can help shed some light on this.

Jared






On Mon, Jan 25, 2010 at 5:28 PM, jared stanley jared.stan...@gmail.comwrote:

 Hey list - I have been trying to get the dominant pixel color of an image.

 I received this solution from someone, but I'm still not exactly sure what
 flash is doing with this:


 public static function GetColor(_bmd:BitmapData):uint{

 var m: Matrix = new Matrix();
 m.scale( 1 / _bmd.width, 1 / _bmd.height);
 var colorBmd:BitmapData = new BitmapData(1, 1);
 colorBmd.draw(_bmd, m);
 var color:uint = colorBmd.getPixel(0,0);
 //trace(color)

 return color;
 }



- the matrix is scaling down _bmd  to a fraction
- a 1x1 pixel BitmapData is created
- the draw() method is drawing a scaled version of the bitmap, 1pixel
by 1 pixel
- the pixel at 0,0 is selected

 My question is how is that color determined? Basically the whole image gets
 simplified down to one color by flash, how is that determined?

 Ultimately I'm curious as I'd like to be able to get the dominant color and
 the average color of an image separately.

 Thanks!

 Jared


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


Re: [Flashcoders] Re: Matrix + BitmapData - what exactly happens?

2010-01-25 Thread jared stanley
awesome Juan, I think that post has what I'm looking for. thanks for the
reference!

Jared






On Mon, Jan 25, 2010 at 6:53 PM, Juan Pablo Califano 
califa010.flashcod...@gmail.com wrote:

 Maybe it's not exactly what you're after, but here's a good method for
 extracting a color palette from an image. You could possibly adapt it to
 suit your needs or at least get some pointers.


 http://blog.soulwire.co.uk/flash/actionscript-3/colourutils-bitmapdata-extract-colour-palette/

 Cheers
 Juan Pablo Califano

 2010/1/25 jared stanley jared.stan...@gmail.com

  here are some examples of the
 
  previous block of code.
 
  http://lab.freestyleinteractive.com/jared/bitmap/revival.html
  http://lab.freestyleinteractive.com/jared/bitmap/heman.html
  http://lab.freestyleinteractive.com/jared/bitmap/thundercats.html
 
  it appears that the dominant color is showing, but it is
 inconsistent(look
  at the end frame of the heman vid as an example)
 
  thanks to anyone who can help shed some light on this.
 
  Jared
 
 
 
 
 
 
  On Mon, Jan 25, 2010 at 5:28 PM, jared stanley jared.stan...@gmail.com
  wrote:
 
   Hey list - I have been trying to get the dominant pixel color of an
  image.
  
   I received this solution from someone, but I'm still not exactly sure
  what
   flash is doing with this:
  
  
   public static function GetColor(_bmd:BitmapData):uint{
  
   var m: Matrix = new Matrix();
   m.scale( 1 / _bmd.width, 1 / _bmd.height);
   var colorBmd:BitmapData = new BitmapData(1, 1);
   colorBmd.draw(_bmd, m);
   var color:uint = colorBmd.getPixel(0,0);
   //trace(color)
  
   return color;
   }
  
  
  
  - the matrix is scaling down _bmd  to a fraction
  - a 1x1 pixel BitmapData is created
  - the draw() method is drawing a scaled version of the bitmap,
 1pixel
  by 1 pixel
  - the pixel at 0,0 is selected
  
   My question is how is that color determined? Basically the whole image
  gets
   simplified down to one color by flash, how is that determined?
  
   Ultimately I'm curious as I'd like to be able to get the dominant color
  and
   the average color of an image separately.
  
   Thanks!
  
   Jared
  
  
  ___
  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] Colour Matching

2009-12-15 Thread jared stanley
exporting the images out from photoshop at the same time would keep
them the same, so you're saying an image displayed in flash differs
from an image displayed in html - this i haven't heard of.

this article
http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/
talks about getting consistent colors, you might want to start there
but other than that i'd have to see an example of the images...





On Tue, Dec 15, 2009 at 1:44 PM, Anthony Pace anthony.p...@utoronto.ca wrote:
 What about changing the monitor preferences to TrueColor?

 Henrik Andersson wrote:

 Nathan Mynarcik wrote:

 Have you tried pngs?

 Great idea, now you have another way of getting the colors wrong. How nice
 of the png standard to include an ability to embed the color correction
 profile, isn't it? Now you have twice the chance for the wrong profile being
 applied and in one of four cases two bad profiles at once.

 ___
 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] Back On Course, Still Problems

2009-12-07 Thread jared stanley
let me get this straight:

1. you had some talented offshore web contacts in the Ukraine 5 years ago.
2. you 'went into the jungle' and were off the grid for 5 years.
3. you get back and agree to a flash ecommerce project, not having
talked to a flash outsourcer(5 years ago an ecommerce site in flash?
we're talking Generator days right?) and for some reason cannot find
anyone able to build it(why not? how did you even scope this ecommerce
flash project?)
4. rather than keep looking for someone to do it you decide to build
it yourself, despite not touching flash for at least 5 years or more.
5. people say to get books, showed you where you could get books used
on amazon for like $8, but you're too poor to even eat, let alone
spend $8 on the books.
6. your project is two months behind schedule.


seems like the problem isn't really a flash problem.


my advice would be to
a) walk away from the project
or
b) hire someone to do it
then
c) go get a job at taco bell or the movieplex so that you have food to eat
d) catch up on the web stuff, a lot has changed in the last 5
years(youtube and facebook, they are so crazy check 'em out)
e) in a few months when you've saved up your $8 buy the books and try
getting into flash more
f) THEN start pitching clients


Best of luck!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Font Inside Library

2009-11-24 Thread jared stanley
here's a tutorial

http://theolagendijk.wordpress.com/2006/08/12/embedding-fonts-in-flash/



On Tue, Nov 24, 2009 at 10:17 AM, beno - flashmeb...@gmail.com wrote:
 Hi;
 David Hunter was nice enough to supply me with some corrected code, but it
 doesn't work for me because I can't figure out how he was able to give a
 class name to a font in his library.  How does one do that?
 TIA,
 beno
 ___
 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] Still Infinitely Looping

2009-11-21 Thread Jared

Do you have stop actions in your mcs?

Beno, please respect the list and spend more time debugging before you  
come ask questions. Everyone is happy to help but you need to do your  
part. If you follow the debug process I and others have mentioned i  
promise you'll be able to solve the problems you posted about. Most of  
the questions posted ont his list are unique bugs or specific  
questions rather than hand holding. The other list I mentioned would  
be more appropriate for that.
Not trying to be rude here, just trying to help. Start debugging in  
your process (we'll be able to tell if you have or not)and  then ask  
questions when you're out of options.


Jared

Sent from my iPhone

On Nov 21, 2009, at 10:44 AM, Latcho spamtha...@gmail.com wrote:


Hi Beno,
The power of debugging (or finding a bug) is also the power of using  
elimination to isolate a problem.
By re-activating pieces of the code step by step you might hit the  
offending code block.

Then come back if you are still stuck.
Best of luck.
Latcho


beno - wrote:
On Sat, Nov 21, 2009 at 11:22 AM, Paul Andrews p...@ipauland.com  
wrote:




beno - wrote:



On Sat, Nov 21, 2009 at 10:23 AM, Keith Reinfeld
keithreinf...@comcast.netwrote:





The problem must be with some other code that you are not showing.





No, that's all the code!
beno




So what do you mean by looping?




The hand tweens play, and replay, and replay...


Is there any code in any of these MovieClips that you are  
instantiating?





No. All the code there is is stated above.
___
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] Creating And Printing String With AS3

2009-11-20 Thread jared stanley
you might want to check this list out:

http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

there are tons of archives you can go through, most all of your
questions are answered in there.








On Fri, Nov 20, 2009 at 9:07 AM, David Hunter davehunte...@hotmail.com wrote:

 beno,



 is the background color of the swf white? your textformat is setting the text 
 color to 0xff, also white.

 Date: Fri, 20 Nov 2009 12:29:11 -0400
 Subject: Re: [Flashcoders] Creating And Printing String With AS3
 From: flashmeb...@gmail.com
 To: flashcoders@chattyfig.figleaf.com

 On Fri, Nov 20, 2009 at 8:52 AM, David Hunter 
 davehunte...@hotmail.comwrote:

 Glen Pike says I need to embed fonts, but David Hunter didn't mention that.
 Is it so? If so, is there a good tutorial on this?


  quickly scanning the code, i can't see where you have assigned a string to
  any of your textfields.eg.
  var myString:String = this is my string;var myTF:TextField = new
  TextField();myTF.text = myString;
 

 Here's the new code:

 package
 {
 import flash.text.*
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Holt extends MovieClip
 {
 public function Holt():void
 {
 }
 public function init():void {
 blurName();
 easeOfc();
 easeAtty();
 }
 public function blurName():void
 {
 trace('blurName');
 var name:TextField = new TextField();
 this.addChild(name);
 var nameString:String = 'Joel Holt';
 name.text = nameString;
 name.x = 100;
 name.y = 100;
 name.height = 20;
 name.width = 200;
 var nameFormat:TextFormat = new TextFormat();
 nameFormat.color = 0xff;
 nameFormat.size = 20;
 nameFormat.font = 'Arial';
 name.defaultTextFormat = nameFormat;
 TweenMax.to(name, 1, {blurFilter:{blurX:20}}).reverse();
 }
 public function easeOfc():void
 {
 trace('easeOfc');
 var ofc:TextField = new TextField();
 this.addChild(ofc);
 var ofcString:String = 'Joel Holt';
 ofc.text = ofcString;
 ofc.x = 100;
 ofc.y = 150;
 ofc.height = 20;
 ofc.width = 200;
 var ofcFormat:TextFormat = new TextFormat();
 ofcFormat.color = 0xff;
 ofcFormat.size = 20;
 ofcFormat.font = 'Arial';
 ofc.defaultTextFormat = ofcFormat;
 TweenLite.to(ofc, 1, {x:58, y:229, ease:Circ.easeIn});
 }
 public function easeAtty():void
 {
 trace('easeAtty');
 var atty:TextField = new TextField();
 this.addChild(atty);
 var attyString:String = 'Joel Holt';
 atty.text = attyString;
 atty.x = 100;
 atty.y = 200;
 atty.height = 20;
 atty.width = 200;
 var attyFormat:TextFormat = new TextFormat();
 attyFormat.color = 0xff;
 attyFormat.size = 20;
 attyFormat.font = 'Arial';
 atty.defaultTextFormat = attyFormat;
 TweenLite.to(atty, 1, {x:58, y:229, ease:Circ.easeIn});
 }
 }
 }

 It doesn't print anything in the swf either :(
 TIA,
 beno
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 _
 Use Hotmail to send and receive mail from your different email accounts
 http://clk.atdmt.com/UKM/go/186394592/direct/01/___
 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] Creating And Printing String With AS3

2009-11-20 Thread jared stanley
it looks like you're not calling the init() method so the code is set
up correctly but none of it is ever called.

when you have a problem like that, it's good to break it down into
little pieces; instead of debugging three methods, comment two out and
focus on just one. if that doesn't work, take out vars, math etc and
keep breaking it down until you find the problem, then add back on.

working in this manner is a great way to develop, and doing so will
cut down your frustration considerably.








On Fri, Nov 20, 2009 at 10:24 AM, beno - flashmeb...@gmail.com wrote:
 On Fri, Nov 20, 2009 at 12:45 PM, Glen Pike g...@engineeredarts.co.ukwrote:

 Hi,

   This might help:


 http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=0234.html


 That doc states:

 Create a TextFormat object, set its fontFamily property to the name of the
 embedded font, and apply the TextFormat object to the TextField. When
 specifying an embedded font, the fontFamily property should only contain a
 single name; it cannot use a comma-delimited list of multiple font names.

 So I changed my code as follows:

    public function blurClient():void
      {
      trace('blurClient');
      var client:TextField = new TextField();
      this.addChild(client);
      var clientString:String = 'Joel Holt';
      client.text = clientString;
      client.embedFonts = true;
      client.x = 100;
      client.y = 100;
      client.height = 20;
      client.width = 200;
      var clientFormat:TextFormat = new TextFormat();
      clientFont:fontFamily = 'Arial';
      clientFormat.color = 0xff;
      clientFormat.size = 20;
      clientFormat.font = 'Arial';
      client.defaultTextFormat = clientFormat;
      TweenMax.to(client, 1, {blurFilter:{blurX:20}}).reverse();
    }

 and got the complaint that there is no such thing as fontFamily. What
 should I use instead?


   Simply:

   Put a TextField off the stage somewhere.  Put some random text in it, set
 it to Dynamic Text, set the font face to Arial (size doesn't matter)
   Choose Embed and select your character ranges - (Basic Latin is
 useful).  If you animate text, change the Aliasing to ...Animation.

   When you create a text field, set embedFonts to true:


   e.g.
     atty.embedFonts = true;


 I did all of this.

 David Hunter asked about the bgcolor. It's black
 Jared Stanley suggested another list and it's archives. I will plumb them.
 Thank you all and I await further input.
 beno
 ___
 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] Baby Step #2

2009-11-20 Thread jared stanley
FYI i've had luck getting most of the latest flash books on amazon
used for $5-20 each.





On Wed, Nov 18, 2009 at 7:31 AM, beno - flashmeb...@gmail.com wrote:
 On Wed, Nov 18, 2009 at 5:05 AM, Cedric Muller flashco...@benga.li wrote:

 :) Ok, and now for something completely different: you have to, you
 absolutely have to buy a book, one that is called ActionScript 3.0
 Essentials by Colin Moock.


 OK. It's on the list. Not for today, however, but I will buy it around the
 turn of the year, I imagine.
 Thanks,
 beno
 ___
 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] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread jared stanley
hmm good question - i don't know if that's accessible from jsfl.

you could probably just loop through everything on the stage, and if
it's a text field then select it - that dropdown will affect all
selected textfields.
not exactly what you're looking for though, maybe someone else has a
better solution.

jared



On Tue, Nov 17, 2009 at 6:04 PM, Chris Foster
cfos...@catalystinteractive.com.au wrote:
 Hi,

 I'm using JSFL to modify a bunch of FLAs created by a designer.

 I need to change the antialiasing on a large number of textfields from
 'bitmap' to 'antialias for animation' but the only parameters I can see
 are 'standard', 'device', 'bitmap', 'advanced' and
 'customThicknessSharpness'.

 'advanced' changes the textfield to 'antialias-for-reading', which I
 don't want.

 Anyone know how to change this to 'antialias for animation'?

 Thanks,
 C:




 Chris Foster
 Multimedia Team Leader
 cfos...@catalystinteractive.com.au
 chris.fos...@kbr.com
 Phone: +612 6233 8900 - Fax: +612 6233 8947 - Mobile: +61 414 394 524

 Catalyst Interactive Pty Ltd
 www.catalystinteractive.com.au
 8 Townsville Street Fyshwick ACT 2609
 PO Box 722 Fyshwick 2609

 a KBR company

 ---

 IMPORTANT: The Information contained in this electronic message is
 confidential and intended only for the named recipient(s). Any review,
 re-transmission, disclosure, dissemination or other use of, or taking of
 any action in reliance upon, this information by persons or entities
 other than the intended recipient is prohibited.

 This e-mail, including any attached files, may contain confidential and 
 privileged information for the sole use of the intended recipient.  Any 
 review, use, distribution, or disclosure by others is strictly prohibited.  
 If you are not the intended recipient (or authorized to receive information 
 for the intended recipient), please contact the sender by reply e-mail and 
 delete all copies of this message.

 ___
 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] Great to be part of the group

2009-10-23 Thread jared stanley
i'm here. live by alamo square park and work in SOMA. welcome the list.

FYI there's also a group here called san flashcisco. the name is so
terrible but they met last night and it was great; all the dudes from
adobe there showcasing cs5 stuff, super sweet.





On Thu, Oct 22, 2009 at 11:04 PM, AutGlass Jobs autgl...@gmail.com wrote:
 For the longest time, I have had a tough time finding fellow flash
 application devotees and I hope I found that in this group.  Anyone here
 from the Bay
 Area?

 ~Aut
 ___
 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] Facebook examples - NON-Flex

2009-10-22 Thread jared stanley
Looking for examples of getting the FB API to work with the Flash IDE,
all examples found are using mxml in flex.

Any pointers?

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


Re: [Flashcoders] Converting .swf playback to .mov

2009-10-21 Thread jared stanley
CS4 works well, i just used this on a project (I think this was even
working in CS3).




On Wed, Oct 21, 2009 at 2:07 PM, jonathan howe jonathangh...@gmail.com wrote:
 My experience with SWF to Video is that it's using a pretty low-tech
 solution - essentially it stepped through your movie one frame at a time and
 captured  encoded that frame. So, it tended to not work well on MovieClips,
 scripted animation, etc. A great tool for, say, converting a popular cartoon
 website into DVD, but lousy for anything with modern/script-based
 techniques.

 -jonathan


 On Wed, Oct 21, 2009 at 2:38 PM, Ashim D'Silva 
 as...@therandomlines.comwrote:

 Pretty sure CS4 handles it fine. Including actionscripted animation.
 Haven't pushed it hard, but worth a shot.

 Cheers,

 Ashim

 The Random Lines
 My online portfolio
 www.therandomlines.com



 2009/10/21 Joel Stransky j...@stranskydesign.com:
  Ok, I'm well aware of the limitation in exporting an .fla to quicktime.
 You
  only get the main timeline, no sub clips or scripted animation. What I'm
  asking is if there's some new product on the market that has tackled this
  issue successfully. So far is looks like a screen reader is the way to
 go,
  I'd just like to get some alpha (key) control over the output that
 doesn't
  require me recording it over a green background.
 
  Thanks for any direction.
 
  --
  --Joel Stransky
  stranskydesign.com
  ___
  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




 --
 -jonathan howe
 ___
 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] Best way to find a REALLY specialized flash/actionscript developer?

2009-10-12 Thread jared stanley
charles i have a guy that can do it, he's not cheap but he's fast.
shoot me an email if you're interested.

jared at jared stanley dotcom

On Mon, Oct 12, 2009 at 1:51 PM, Charles Skip Norton
cnor...@centralnervous.com wrote:
 Hey everyone - this is my first post to this list (I've been part of the list 
 for several years knowing 1 day I'd need to learn something from everyone 
 here) and I apologize if this is the wrong place to be asking a question like 
 this. - If anyone knows of a place where I can better ask a question/find 
 someone like this I'd be forever grateful?

  - As a developer of 15+ years myself (focused primarily on Cold Fusion and 
 MSSQL) I often try to do things myself but I think at this point I MAY be in 
 a tad over my head and am seeking some super-nerds (like myself) that are 
 REALLY good with ActionScript2/3 and are familiar with Video Players 
 (specifically JWPlayer by LongTail Video).

 I have a need to integrate code from: 
 http://help.acudeo.com/AcudeoComponent_AS2/Acudeo_Component_Integration_Guide_for_ActionScript_2.htm
  into the Longtail Video Player (JW Player) and then drive that content 
 through my Wordpress blog - so someone that knows how to work with Wordpress 
 (programmatically) would be a huge plus as well as there are some things 
 we're doing on that end that allow easy posting of videos to our blog and 
 then throws our player experience around it.

 Any idea of where I might find someone that could fill a role like this?

 * this is very high profile work in association with some of the biggest 
 celebrities in the music business so it's imperative that communication is 
 done right so I prefer not to completely outsource this to folks I can't 
 easily (verbally) communicate as needed.

 Thanks,
 Skip
 ___
 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] angular rotation with easing

2009-10-07 Thread jared stanley
hey all,

I can't believe i haven't come across this before now, but I am having
issue with the rotation of a movieclip when it hits 180 jumping to
-180 and doing the 'long way around' rotation.

The following code works fine:

var dx:Number = arrow_mc.x - mouseX;\r\nvar dy:Number = arrow_mc.y - mouseY;
var radians:Number = Math.atan2(dy, dx);
var degrees:Number = radians* (180/Math.PI);
arrow_mc.rotation = degrees;


but when there's easing applied on an EnterFrame event it hits a
certain point and rewinds back around 359 degrees...


I'm sure this is a common task with a common solution, no?

thanks for your help!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] angular rotation with easing

2009-10-07 Thread jared stanley
yeah i'm aware of the short rotation parameter in tweenmax, but trying
to roll my own, looking through that class now. thanks!


On Wed, Oct 7, 2009 at 12:14 PM, Merrill, Jason
jason.merr...@bankofamerica.com wrote:
 Greensock's TweenMax and TweenLite classes have an optional parameter
 that allows you to do rotation between 0 and 360 if that helps.  Yeah,
 nobody's a real fan of the way Flash handles rotation.


 Jason Merrill

 Bank of  America   Global Learning
 Learning  Performance Soluions

 Monthly meetings on making the most of the Adobe Flash Platform -
 presented by bank associates, Adobe engineers, and outside experts in
 the borader multimedia community - join the Bank of America Flash
 Platform Community  (note: this is for Bank of America employees only)



 ___
 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] angular rotation with easing

2009-10-07 Thread jared stanley
Tyler Madison figured it out for me,

www.tylermadison.info - he is my hero.

used the tweenLite shortRotation plugin as an example.

Here's the code.


const SPEED:int = 3;

init();

function tick(e:Event):void{
var t:Number = (Math.atan2((mouseY - a.y), (mouseX - a.x)) * 180 /
Math.PI - a.rotation) % 360;
a.rotation += ((t != t % 180) ?  ((t  0) ? t + 360 : t - 360) : t) / 
SPEED;
}

function init():void{
a.x = stage.stageWidth /2;
a.y = stage.stageHeight/2;
addEventListener(Event.ENTER_FRAME , tick);
}














On Wed, Oct 7, 2009 at 12:24 PM, jared stanley jared.stan...@gmail.com wrote:
 yeah i'm aware of the short rotation parameter in tweenmax, but trying
 to roll my own, looking through that class now. thanks!


 On Wed, Oct 7, 2009 at 12:14 PM, Merrill, Jason
 jason.merr...@bankofamerica.com wrote:
 Greensock's TweenMax and TweenLite classes have an optional parameter
 that allows you to do rotation between 0 and 360 if that helps.  Yeah,
 nobody's a real fan of the way Flash handles rotation.


 Jason Merrill

 Bank of  America   Global Learning
 Learning  Performance Soluions

 Monthly meetings on making the most of the Adobe Flash Platform -
 presented by bank associates, Adobe engineers, and outside experts in
 the borader multimedia community - join the Bank of America Flash
 Platform Community  (note: this is for Bank of America employees only)



 ___
 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] streaming video on my server

2009-09-09 Thread jared stanley
glad it worked!




On Wed, Sep 9, 2009 at 1:53 PM, Bassam M sense...@gmail.com wrote:
 thank you Jared, I found the solution it was the MIME TYPE i have to add flv
 MIME type to the IIS

 http://kb2.adobe.com/cps/194/tn_19439.html



 On Wed, Sep 9, 2009 at 1:05 AM, jared stanley jared.stan...@gmail.comwrote:

 I remember running into this a few years ago; it had to do with the
 server not recognizing the .flv filetype - i would check that first.

 as far as just playing it off your server, you might want to try
 progressive download instead of streaming; that is the most common way
 of serving video and sounds like it might suit your needs.


 On Tue, Sep 8, 2009 at 6:46 AM, Bassam Msense...@gmail.com wrote:
  Hi Guys
 
  I have problem with playing video on my server, I create video player
 using
  the media components and every thing working fine , the video play fine I
  have not problem but when I upload the file to my site it stop working
 not
  video stream, I also used another player but same problem and I got error
  message (media not found)
  I need to know do I have to install flash media server on my server to
 play
  the video because my server don't have flash media server or please
  someboday tell my what to do
 
  Thanks
  Bassam
  ___
  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] streaming video on my server

2009-09-08 Thread jared stanley
I remember running into this a few years ago; it had to do with the
server not recognizing the .flv filetype - i would check that first.

as far as just playing it off your server, you might want to try
progressive download instead of streaming; that is the most common way
of serving video and sounds like it might suit your needs.


On Tue, Sep 8, 2009 at 6:46 AM, Bassam Msense...@gmail.com wrote:
 Hi Guys

 I have problem with playing video on my server, I create video player using
 the media components and every thing working fine , the video play fine I
 have not problem but when I upload the file to my site it stop working not
 video stream, I also used another player but same problem and I got error
 message (media not found)
 I need to know do I have to install flash media server on my server to play
 the video because my server don't have flash media server or please
 someboday tell my what to do

 Thanks
 Bassam
 ___
 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] DSL - Standard Consumer K / Sec?

2009-08-27 Thread jared stanley
Hey all,

Looking for stats on connection speeds; looking for a 'minimum system
requirements' spec for connection...what would be an 'average' DSL
connection?

I have Charles proxy open and throttling the connection to test this
flash site, wondering what is the lowest common denominator to test
with?

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


Re: [Flashcoders] FLV export - size(w, h) vs data rate

2009-08-26 Thread jared stanley
cool. I've heard that scaling up works the processor more, but haven't
found any substantative evidence.




On Tue, Aug 25, 2009 at 9:36 PM, Peter Bpete...@googlemail.com wrote:
 I did a lot of work around optimising videos about a year and a half
 back. For my money, I'd say you get better results by encoding at a
 smaller resolution and scaling up i Flash than by trying to squeeze
 the data rate down, so I'd say No.2.
 ___
 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] FLV export - size(w, h) vs data rate

2009-08-25 Thread jared stanley
Hey all, wondering if anyone can give me direction on this:

I have a large video site, the vid area is 1000x600. Videos are
streaming from Akamai.

It's playing fine on large computers w/fast connections; Needless to
say it's getting chugging on slower/older setups.

I would like to enable the range of computers it works on by
optimizing the video.

which one of the following would work better:

1. shrink the data rate from like 850kbps to like 550kbps

2.export the video at like 800x400 and then stretch it up.

Obviously I could just try this, but I'm wondering what the logic
behind it is and if there are any best practices.

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


Re: [Flashcoders] bounce easing function for tweener

2009-08-13 Thread jared stanley
go into the penner's easing classes, copy the bounce function class
and rename it, then mess with the constants in the math in there.






On Thu, Aug 13, 2009 at 10:28 AM, Merrill,
Jasonjason.merr...@bankofamerica.com wrote:
 Greensock's TweenMax and TweenLite include source code you can modify
 and they include Penner's easing equations which include Bounce easing.
 You could try that.


 Jason Merrill

 Bank of  America   Global Learning
 Shared Services Solutions Development

 Monthly meetings on the Adobe Flash platform for rich media experiences
 - join the Bank of America Flash Platform Community





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt
 bik-elliott (thefieldcomic.com)
 Sent: Thursday, August 13, 2009 12:09 PM
 To: Flash Coders List
 Subject: [Flashcoders] bounce easing function for tweener

 hi guys
 I've been looking around for a way of modifying the bounce easing
 function
 for Tweener but I'm not having much joy (I've taken to doing a series of
 tweens in the onComplete function to fudge it).

 I've seen
 http://timotheegroleau.com/Flash/experiments/easing_function_generator.h
 tm
 which
 is astounding but it doesn't include a bounce.

 I've also seen http://www.uize.com/tools/curve-explorer.html which is a
 javascript modifier but it only works with Uize (which i guess is a
 javascript tweening library - who knows) and doesn't really go into the
 formulae (you pass it a set of parameters and it does the rest)

 Could anyone point me in the right direction, please?

 thanks in advance
 Alz
 ___
 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] bounce easing function for tweener

2009-08-13 Thread jared stanley
i would listen to whatever zeh says :)

On Thu, Aug 13, 2009 at 11:05 AM, Zeh Fernandoz...@zehfernando.com wrote:
 You can copy the original bounce function from the Equations class and then
 use it as the transition parameter (like you probably already know). But
 yeah, you'll need to change the original code to achieve whatever effect you
 want. Usually tweaking some of the constant numbers is enough to make it
 bounce the way you want it to, or even apply some of the other equations to
 change the effect (ie, outExpo on top of the outBounce result makes it look
 like a thud instead of the default bouncy bounce).

 Zeh

 On Thu, Aug 13, 2009 at 1:43 PM, jared stanley jared.stan...@gmail.comwrote:

 go into the penner's easing classes, copy the bounce function class
 and rename it, then mess with the constants in the math in there.






 On Thu, Aug 13, 2009 at 10:28 AM, Merrill,
 Jasonjason.merr...@bankofamerica.com wrote:
  Greensock's TweenMax and TweenLite include source code you can modify
  and they include Penner's easing equations which include Bounce easing.
  You could try that.
 
 
  Jason Merrill
 
  Bank of  America   Global Learning
  Shared Services Solutions Development
 
  Monthly meetings on the Adobe Flash platform for rich media experiences
  - join the Bank of America Flash Platform Community
 
 
 
 
 
  -Original Message-
  From: flashcoders-boun...@chattyfig.figleaf.com
  [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt
  bik-elliott (thefieldcomic.com)
  Sent: Thursday, August 13, 2009 12:09 PM
  To: Flash Coders List
  Subject: [Flashcoders] bounce easing function for tweener
 
  hi guys
  I've been looking around for a way of modifying the bounce easing
  function
  for Tweener but I'm not having much joy (I've taken to doing a series of
  tweens in the onComplete function to fudge it).
 
  I've seen
  http://timotheegroleau.com/Flash/experiments/easing_function_generator.h
  tm
  which
  is astounding but it doesn't include a bounce.
 
  I've also seen http://www.uize.com/tools/curve-explorer.html which is a
  javascript modifier but it only works with Uize (which i guess is a
  javascript tweening library - who knows) and doesn't really go into the
  formulae (you pass it a set of parameters and it does the rest)
 
  Could anyone point me in the right direction, please?
 
  thanks in advance
  Alz
  ___
  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] FlexBuilder 3 auto-complete vs. FlashDevelop

2009-08-13 Thread jared stanley
FDT does the auto-error check, which is so sweet - i read that FD
doesn't have the ability to get that info, even with a plugin...

I have built projects on all three, and if I'm on pc I like FD with
the find/replace expanded extension.






On Thu, Aug 13, 2009 at 3:49 PM, Steven Sacksflash...@stevensacks.net wrote:
 FlexBuilder absolutely does NOT do auto-completion of class, instance and
 local vars (FD also does function names, etc.).  I've never seen FDT do it,
 either, but that link obviously makes it clear that it is possible (though
 completely undocumented, not to mention that field doesn't look like it will
 accept 28 characters).  It also says AS2, but does that work for AS3?  Why
 on earth isn't this the default behavior?

 FDT costs hundreds of dollars, FlashDevelop is free. If you're on Mac, I
 guess it's the best choice available.

 Also, FDT is 100% project based. You can't just drag and drop an .as file on
 to it like you can with FlashDevelop (unless you already have one open).
  Plus, you don't get ANY auto-completion if the file isn't part of your
 project.

 Does FDT have a clone-file feature?
 ___
 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: Flash full screen examples

2009-08-07 Thread jared stanley
seems like a very popular trend, therefore if you look on the fwa
you'll find that many if not most of the sites on there implement
this.



On Fri, Aug 7, 2009 at 8:40 AM, Mendelsohn,
Michaelmichael.mendels...@fmglobal.com wrote:
 Thanks Brian, I think I've seen that one before, but the swfObject isn't 
 writing it to my browser.  :-/



 How about this one?
 http://www.gettheglass.com/


 ___
 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] Image loader problem

2009-07-25 Thread jared stanley
the basic concept is this:

1. create list of images from xml in an array
2. load the first one, increment some sort of var imagesToLoad or something.
3. when that one is .COMPLETE, handle it(set dimensions or whatever
you were referring to above).
4. increment a var imagesLoaded or something, basically check var
imagesLoadedNum against var imagesPending.
5. either a)load next item or b)stop loading.

add in error handling and that's basically it.
prob a good idea to dl the bulkloader mentioned previously and mess
around with it as well.


hth


On Sat, Jul 25, 2009 at 6:10 AM, Corc...@chello.nl wrote:
 Joseph,

 I always like to write all the code myself. :-)
 But I will look at this to learn from at least and maybe using someone else
 his classes.

 Thank you very much!!

 Cor

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joseph
 Masoud
 Sent: zaterdag 25 juli 2009 15:04
 To: Flash Coders List
 Subject: Re: [Flashcoders] Image loader problem

 Have you considered using existing bulk loaders?
 http://code.google.com/p/bulk-loader/

 You've got a relatively complex task ahead if you're going to write
 the code all by yourself.

 Essentially the idea is to have two stacks, a loading stack and a
 pending stack [list of assets to be loaded].  Ensure there is only one
 loader in the loading stack at any time during the loading process if
 order is important.

 I suggest creating a separate data type for storing information about
 the images, however I think you might want to consider letting one
 object deal with the loading process.

 Many thanks,
 Joseph

 On 25 Jul 2009, at 13:53, Cor wrote:


 To solve your issue you might write the code so that the next image in
 the sequence doesn't load
 or start to load until the previous is complete.

 Yes, but I dont know how.

 You could bulk load the images and stuff them in an array then use a
 loop to
 run through
 the array to get the image and it's properties so that you can align
 everything the way you want.

 Frankly I just want them in the same order as they are in my xml.





 ___
 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] rendering 3d model of a car for use in flash as an image sequence (360)

2009-07-02 Thread jared stanley
yeah, lower the quality between stopping points if there are any,

a big filesaver is to remove every other frame, although depending on
what you're doing that is too big of a quality loss.

depending on the sequence try reusing images for symmetrically-flipped
images; i.e. a 360-degree spin at 90 degrees and 270 degrees - be sure
to check the lighting etc, again every situation will be different.






On Thu, Jul 2, 2009 at 8:07 AM, Hans
Wichmanj.c.wich...@objectpainters.com wrote:
 Hi,

 if you are rendering it to jpg's what does the polygon count matter? Crank
 it up until it looks so good you're pc is on its knees:)
 We've been doing like wise things, which required about 180 jpg's, but you
 might be able to skip a lot of those using some nice effects.
 In addition in our setup you can only stop every 20 frames I think, and all
 the frames in between (while moving) are lower quality to save filesize.

 regards,
 JC

 On Thu, Jul 2, 2009 at 3:02 PM, Matt Muller matthewmul...@gmail.com wrote:

 Hi, I am about to get some rendered frames of a car for a 360 as a targa
 sequence for use in flash as an image (JPG's) sequence.

 Does anyone know what the optimum target polygon count is for the vehicle
 exterior?

 Does anyone know roughly how many JPGs will be needed to create a smooth
 sequence?

 Any other tips or tricks or URL' s greatly appreciated.

 thanks,

 MaTT
 ___
 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] cms solution for flash sites?

2009-06-29 Thread jared stanley
hey all,

when building basic portfolio sites for clients(i.e. galleries
containing image + text, showcasing photos, projects, etc) what is the
best cms to use?
Best meaning simple + free.
Basically something enabling the client to add a new item in the
gallery, change the order of the gallery, and possibly image upload
but not even necessarily that.

any suggestions?

saw this one, http://www.codeandvisual.com/rainbow but haven't used
it. wondering what other people use.
I know joomla, drupal, etc are all popular cms's but don't know if you
can use these for what i'm talking about above.

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


Re: [Flashcoders] cms solution for flash sites?

2009-06-29 Thread jared stanley
on that note, does anyone have any good resources for using
drupal/wp/joomla one of the bigger solutions to do this kind of thing?

whenever i search flash cms wordpress or whatver i always get articles
about how to add flash content to the site template, not about how to
update/edit xml content






On Mon, Jun 29, 2009 at 5:40 AM, Glen Pikeg...@engineeredarts.co.uk wrote:
 Sorry, posted the demo URL, it's available on Flash Den.

 http://flashden.net/item/flash-xml-editor-version-2/47884

 Userguide:

 http://www.flashxmleditor.com/userguide/

 I have not used it apart from the demo, so I only have a 1000 yard view, but
 from the doc's / demo it looks very straightforward to use and setup.

 If you like getting your hands dirty  rolling your own stuff, maybe look at
 something like Drupal + AMPHP / WebServices modules or a similar system.
  Personally I hate Joomla for it's crappy menu management (although that was
 2 years ago), I like Drupal for it's flexibility, but it can be a pain to
 configure.  I have found that Wordpress provides one of the easisest to use
 CMS systems out of the box, (although it is bloating now somewhat), but
 not much cop as an image library system.

 Glen

 jonathan howe wrote:

 Hi, Glen,

 That xml editor thing looks cool for a few applications that I have... but
 what I don't see is where it is available for download. Seems like he has
 just finished it and hasn't released it yet. Have you been using it?

 -jonathan



 On Mon, Jun 29, 2009 at 7:02 AM, Glen Pike
 g...@engineeredarts.co.ukwrote:



 It's not free, but probably the simplest / easiest to configure and
 timesaving when compared to a lot of software.

 http://www.flashxmleditor.com/demo/

 There are tons of open source cms systems out there that you can plug
 flash into.  Drupal supports a nice way of connecting from Flash sites
 into
 the CMS, but for some jobs this is a sledghammer vs nut problem.  The
 system
 above is designed to work with Flash, does not seem to have much setting
 up
 / server side baggage and is streamlined enough for the customer to deal
 with (possibly :) )

 HTH

 Glen

 jared stanley wrote:



 hey all,

 when building basic portfolio sites for clients(i.e. galleries
 containing image + text, showcasing photos, projects, etc) what is the
 best cms to use?
 Best meaning simple + free.
 Basically something enabling the client to add a new item in the
 gallery, change the order of the gallery, and possibly image upload
 but not even necessarily that.

 any suggestions?

 saw this one, http://www.codeandvisual.com/rainbow but haven't used
 it. wondering what other people use.
 I know joomla, drupal, etc are all popular cms's but don't know if you
 can use these for what i'm talking about above.

 thanks!
 ___
 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] Webservices best practices

2005-12-20 Thread Jared Freeze
Not to confuse things but has anyone looked at JSON?  I'm not a
programmer (all the time ;) but I was wondering if it would have any
relevance here since it returns data in flash's native format
(ecmascript)

http://en.wikipedia.org/wiki/JSON

Parser here: http://www.designvox.com/%7Eborys/JSON/JSON.as

And more: http://ajaxian.com/archives/2005/12/yahoo_json_api.html


Jared



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert
de Boer
Sent: Tuesday, December 20, 2005 8:14 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders]  Webservices best practices


 Really? I'm working on a project where most of my data is to be 
 supplied via webservices and it will most certainly be more than 2-3 
 methods.

I have got it fixed, i think it was a timing issue when I added a
setInterval( this, flightRequest, 1000 ); it works to trigger the 3-4
methods in queue. It all fixed for now -- tech demo is finished. Oh
well, time to find out how to handle this the best way, though. I had
some nice collection of scope issues. Planning to play with some events
stuff. Oh well! Done is done ;)

 I'm putting together a serviceLocator class (singleton) that takes 
 care of all my webservice calls. You're not using the MX 04 web 
 service connector are you?

Yes, I am using the WebService class.

--
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
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] FlashLite Phones?

2005-10-24 Thread Jared Freeze
I have a 6620 with the flashlite player working well on it. . .
Available from cingular.

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Bedar
Sent: Monday, October 24, 2005 11:43 AM
To: Flashcoders mailing list
Subject: [Flashcoders] FlashLite Phones? 

Just looking into mobile development, and I'm a bit confused...
Can anyone point me to any phones available in the US that can run
FlashLite? I have the list at:

http://www.macromedia.com/mobile/supported_devices/flashlite/

But these don't seem available from local carriers...

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