Re: [Flashcoders] Exclude classes

2008-06-17 Thread allandt bik-elliott (thefieldcomic.com)
could you get rid of the main classpath and use a subset of the classes in a
separate classpath

would take time to sift through them all if it's possible



On Tue, Jun 17, 2008 at 12:01 PM, Viktor Hesselbom 
[EMAIL PROTECTED] wrote:

 Hi,

 Does anyone know if there's a way to exclude certain built-in classes?

 E.g. if I'm not going to be using the BlurFilter class is there anyway for
 it not to be compiled with the .swf-file?

 I'm using Flash CS3+AS3 and the reason for this is that I want to keep the
 filesize as low as possible for a contest. Every byte is important.

 Thanks,
 / Viktor H
 ___
 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] Converting simple XML data into Array

2008-06-20 Thread allandt bik-elliott (thefieldcomic.com)
XmlGrab might be useful if you're as2 - it's a class that loads xml and
converts it into an object

http://www.brandnewbox.co.uk/docs/Home/Plugin:XMLGrab/

alz

On Fri, Jun 20, 2008 at 4:48 AM, Ashim D'Silva [EMAIL PROTECTED]
wrote:

 E4X means that XML is pretty much read like an Array.
 So the data you mentioned would be accessed as follows:

 var xml:XML = [this is the variable that contains your XML];
 trace(xml.file[0].text); //returns file name 1
 trace(xml.file[1].text); //returns file name 2

 you can also loop through with a for each

 for each (var i:XML in xml.file)
 {
 trace(i.text);
 }

 This is presuming AS3.
 There is definitely a way to do it with AS2, using nextSibling, but I
 can't remember off the top of my head.

 2008/6/20 ACE Flash [EMAIL PROTECTED]:
  hey there, I was using loop to push them into Array
 
  Is there a way to convert this XML file into Array more easily?  like =
   xml as Array?
 
  files
  filefile name1/file
  filefile name2/file
  filefile name3/file
  .
  /files
 
 
  var
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 Random Lines 3D
 My online portfolio
 www.therandomlines.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] How do you do this? (animating gradient fill colours)

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
not entirely sure but it sounds like a tweenmax color matrix tween

take a look at http://blog.greensock.com/

a

On Tue, Jul 8, 2008 at 9:20 AM, Ali Drongo [EMAIL PROTECTED] wrote:

 Hiya, how do you think you would do this? Can anyone point me to some
 tutorials or give me a snippet?
 Cheers!
 Ali

 ___
 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] How do you do this? (animating gradient fillcolours)

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
i'm in uncharted waters here but i think you need to look at
http://blog.greensock.com/colortransformproxy/

best
a

On Tue, Jul 8, 2008 at 9:46 AM, Ali Drongo [EMAIL PROTECTED] wrote:

 Thanks for your reply allandt, I can see how TweenLite could tween the
 color property of a movie clip but how is the gradient bit achieved?
 Cheers,
 Ali



 On 8 Jul 2008, at 09:39, allandt bik-elliott (thefieldcomic.com) wrote:

  not entirely sure but it sounds like a tweenmax color matrix tween

 take a look at http://blog.greensock.com/

 a

 On Tue, Jul 8, 2008 at 9:20 AM, Ali Drongo [EMAIL PROTECTED]
 wrote:

  Hiya, how do you think you would do this? Can anyone point me to some
 tutorials or give me a snippet?
 Cheers!
 Ali

 ___
 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] Basic loop problem

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
okay - this is quite a quick one to solve

the problem you're having is that you're overwriting the htmlText each
iteration so you're only outputting the last iteration of the loop

what you need to do is add the output of the loop iteration (that is every
time the loop fires) to the htmlText as it's created

so instead of:
mainText.htmlText = b+cueArray[i]+/b;

you need
mainText.htmlText = mainText.htmlText + b+cueArray[i]+/b;

or more simply
mainText.htmlText += b+cueArray[i]+/b;

This will put everything into a long line - if you want each loop iteration
to appear on a separate line you should add p tags or a br / tag so:
mainText.htmlText += pb+cueArray[i]+/b/p;

hope this helps
a

On Tue, Jul 8, 2008 at 11:50 AM, Paul Jinks [EMAIL PROTECTED] wrote:

 Hi

 I'm new to coding and I'm having a problem getting a for loop to do what I
 want it to. I think this is pretty basic, but I'll let you be the judge.

 I have a project to play through an flv which fires event cue points at
 certain points. At these points, text appears at the side of the video
 window as summaries of what's being said. The summary text is the name of
 the cue point and is added to an array called cueArray after checking that
 it doesn't already exist. So far so good.

 The last step is to output the full array to the text field and it's at
 this point that I'm at hitting head against wall pitch. I just can't get
 it to output the whole array in sequence. What I'm using is:
   var len2 = cueArray.length;
for (var i = 0; ilen2; i++)
 {
mainText.htmlText =
 b+cueArray[i]+/b;
}

 ___
 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] Basic loop problem (with end of message)

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
you could reset the list every time the loop is called

so:
var len2 = cueArray.length;
mainText.htmlText = ;
for (var i = 0; ilen2; i++)
{
  mainText.htmlText += b+cueArray[i]+/bbr;
}



On Tue, Jul 8, 2008 at 12:32 PM, Paul Jinks [EMAIL PROTECTED] wrote:

 Thanks to everyone for your help. This gets me closer to what I'm looking
 for.

 Unfortunately, there's a complicating factor: if the user scrubs across
 the same point in the video again, they end up with duplicates/triplicates
 of the list.

 Since we actually want people to do this, I'm looking for a solution that
 will replace the existing text with the full array on each cuePoint event.
 I thought that my original code would do this - unless there's a better
 way of achieving this?

 Hope this makes sense and thanks again.

 Paul


 On Tue, July 8, 2008 12:09 pm, Piers Cowburn wrote:
  Hi Paul,
 
  Try:
 
var len2 = cueArray.length;
  for (var i = 0; ilen2; i++)
  {
mainText.htmlText += b+cueArray[i]+/bbr;
  }
 
  Piers
 
 
 
  On 8 Jul 2008, at 11:56, Paul Jinks wrote:
 
  Apologies for last post: it got sent before I'd finished. That'll
  teach me
  to try to use the tab key using IMAP ;-). Here's the message again in
  full:
 
  I'm new to coding and I'm having a problem getting a for loop to do
  what I
  want it to. I think this is pretty basic, but I'll let you be the
  judge.
 
  I have a project to play through an flv which fires event cue
  points at
  certain points. At these points, text appears at the side of the video
  window as summaries of what's being said. The summary text is the
  name of
  the cue point and is added to an array called cueArray after
  checking that
  it doesn't already exist. So far so good.
 
  The last step is to output the full array to the text field and
  it's at
  this point that I'm at hitting head against wall pitch. I just
  can't get
  it to output the whole array in sequence. What I'm using is:
 var len2 = cueArray.length;
  for (var i = 0; ilen2; i++)
  {
  mainText.htmlText = b+cueArray[i]+/b;
  }
  But what this does is print only the last item in the array,
  whereas I'm
  expecting it to print the array in full.
 
  TIA
 
  Paul
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  [EMAIL PROTECTED]
  0207 631 3278
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


 --
 
 Check out my website: http://www.pauljinks.co.uk :o)


 ___
 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] AS3 - Displaying images from a directory

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
you could use php in the holding page to pass the flashVars to the flash
movie

On Tue, Jul 8, 2008 at 2:54 PM, SJM - Flash [EMAIL PROTECTED] wrote:

 My problem is the flash file is going to be embeded into a templete page to
 be added to a CMS unfortunatly there is no option for me to use any
 additional XML, PHP, ASP, Pearl script etc... the way i thought it would
 work is the path to the images would be a flash var!

 SJM
   - Original Message -
  From: Rich Shupe
  To: FlashCoders
  Sent: Tuesday, July 08, 2008 1:32 PM
  Subject: Re: [Flashcoders] AS3 - Displaying images from a directory


   Flash can't retrieve the contents from a directory on its own. You don't
  have to use XML, but you need something similar. PHP, for example, can
  provide the contents of a directory in name-value pairs or straight text
 if
  you want to avoid XML.


  On 7/8/08 8:02 AM, SJM - Flash wrote:

   Is it possible to display a number of images in flash from a directory
 without
   the need for XML?

  Rich
  http://www.LearningActionScript3.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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] tracing height

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
you should look at movieClipLoader (
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1998.html
)

this allows you to add listeners to the loader (in your case, you should use
onLoadInit) to fire a method/function



On Tue, Jul 8, 2008 at 3:56 PM, Lehr, Theodore M (N-SGIS) 
[EMAIL PROTECTED] wrote:

 I have:



 _root.imageMovie.loadMovie(stepImageArray[0]);

 sizeImage();



 function sizeImage () {

trace(_root.imageMovie._height);

 }



 But I keep getting 0 I am guessing because the trace is fired before the
 image is loaded... how can I make sure this function does not fire until
 the image is loaded. I tried:



 _root.imageMovie.onLoad = function() {



 }



 But that does not seem to fire at all



 My ultimate goal is to control the size of the image that is being
 loaded to make sure it is not too big



 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


Re: [Flashcoders] tracing height

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
there's an example of some code if you look at the onLoadInit link
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1998.html



On Tue, Jul 8, 2008 at 4:17 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 you should look at movieClipLoader (
 http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1998.html
 )

 this allows you to add listeners to the loader (in your case, you should
 use onLoadInit) to fire a method/function




 On Tue, Jul 8, 2008 at 3:56 PM, Lehr, Theodore M (N-SGIS) 
 [EMAIL PROTECTED] wrote:

 I have:



 _root.imageMovie.loadMovie(stepImageArray[0]);

 sizeImage();



 function sizeImage () {

trace(_root.imageMovie._height);

 }



 But I keep getting 0 I am guessing because the trace is fired before the
 image is loaded... how can I make sure this function does not fire until
 the image is loaded. I tried:



 _root.imageMovie.onLoad = function() {



 }



 But that does not seem to fire at all



 My ultimate goal is to control the size of the image that is being
 loaded to make sure it is not too big



 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


Re: [Flashcoders] How do you do this? (animating gradient fillcolours)

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
lol it helps when the guys that write these things are on the boards

:D

On Tue, Jul 8, 2008 at 4:31 PM, Rich Shupe [EMAIL PROTECTED] wrote:

 Hey, Jack... You sound like you know TweenMax pretty well.

 (Heh.)

 Thanks for the great work!

 Rich
 http://www.LearningActionScript3.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] Overlay problem

2008-07-14 Thread allandt bik-elliott (thefieldcomic.com)
if you add a boolean to your script that states whether the movie is
operational or not, then you can add an if statement to your links / buttons
that ask if the boolean is true

so:

var bMovieEnabled:Boolean = true;

myLink.onRelease = Delegate.create(this, linkOnRelease);
function linkOnRelease():Void
{
if (bMovieEnabled)
{
bMovieEnabled = false;
//do stuff
}
}

and on the close button for the panel add bMovieEnabled = true;

best
a

On Mon, Jul 14, 2008 at 12:37 PM, Rajiv Seth (Pixelated) 
[EMAIL PROTECTED] wrote:

 Hi,

 I want to create an effect like
 http://www.limoosoft.com/Limoosoft-En.html

 When user clicks on zoom image, large image loads in a movie, and all
 links, rollver effects/actions are disabled by a semi-transparent image.
 How
 to create such layer, which can disable all links?
 --
 Regards

 Rajiv Seth
 Ph: 09839157388
 ___
 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 Charges Against ActionScript 3.0

2008-07-18 Thread allandt bik-elliott (thefieldcomic.com)
The problem with splitting Flash up into the Designer App and the Coder App
(Talking Flash here, not Flex which i've never used) is that those of us
that have to deal with Flash as a scaling entity (I'm a freelance developer
so this week it's banners, next week it's site development and OOP) will be
forced to use 2 different environments, wtih all the relearning that using
different apps takes. I like how I can choose to use the Flash IDE for
anything or kick development out to another app for more intense work (I've
been using FlashDevelop with parallels where necessary) for any project I
do.

Designers need training to learn to use the timeline for their code rather
than putting it into arbitrary movieclips. That's the solution to the new
paradigm.



On Thu, Jul 17, 2008 at 10:48 PM, Matt S. [EMAIL PROTECTED] wrote:

 On Thu, Jul 17, 2008 at 5:38 PM, Jason Van Pelt
 [EMAIL PROTECTED] wrote:
 
  The negative side to creating a flash without the as3 application is
 that
  many of us grew up with Flash and used it as a way to learn to be
  developers. I think Colin's point isn't to provide a basic app to basic
  users, necessarily, but to make the point of entry easy for new users --
 as
  it was for us.
 
  I started in version 3! :-)

 I think it was 4 for me. Good times

 .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] The Charges Against ActionScript 3.0

2008-07-18 Thread allandt bik-elliott (thefieldcomic.com)
i think someone has touched on it before, but if there is to be code
applicable to movieclips / buttons on stage then they should work similarly
to the way motion tweens can be copied as actionscript - allow the bad
behaviour for numpties and quick jobs, but then compensate to move the code
to where it should be.

a

On Fri, Jul 18, 2008 at 4:36 PM, Juan Pablo Califano 
[EMAIL PROTECTED] wrote:

 You're probably right. Nevertheless, I think the spirit of the article has
 been misunderstood. As I read it, it pointed out the need to have a
 higher-level visual-style user interface to make simple things easier for
 non programmers. Visual tools that can intuitively generate the AS 3 code
 for adding simple behaviours and interactivity.  I'm a programmer myself
 and
 I don't think I'd use these features, but I now many people I work with who
 would love to have them available. It'd make their lives easier, without
 compromising efficency or mantainability (we're talking about simple stuff
 anyway). I believe the charges about button events, getURL and
 loadMovie are a good example of this point.

 Cheers
 Juan Pablo Califano


 2008/7/18, Abe Pazos [EMAIL PROTECTED]:
 
  I think most of the people who would agree
  with these charges are not in this mailing list.
 
  Are there more AS3 coders out there?
  Or more designers who sometimes use
  a line or two of ActionScript with gotoAndPlays,
  loadMovies, on release/rollover/rollout?
 
  I wonder how would this discussion look
  like if this was a designers mailing list?
 
  Abe
  ___
  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] The Charges Against ActionScript 3.0

2008-07-21 Thread allandt bik-elliott (thefieldcomic.com)
adobe has been saying that the next version of flash will be designer-driven
so it's maybe something that is being looked at at the moment

On Fri, Jul 18, 2008 at 6:22 PM, daniele tassone [EMAIL PROTECTED]
wrote:

 Double click on the component/botton and auto-creation of AS3 code is other
 solution
 in order to keep good code and good humor for people that don't want to
 write code;

 3 weeks ago i have explain at creative team that will work with me, how we
 can work
 togheter with as3; not happy to see that we can't use event on Button.

 Next week other lesson at different creative team in order to explain same
 things.
 I'll hear the same word: loadMovie ? event ?

 I don't want to speak bad about AS3, I think that is a good language/ide,
 with a little bit of problem because it's young.

 But i hope that Adobe can give the right way in order to do more and better
 with low work.
 Adobe have great experience in designer-tool-market, I'll hope for the
 future.

 Daniele Tassone



 2008/7/18 allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED]:

  i think someone has touched on it before, but if there is to be code
  applicable to movieclips / buttons on stage then they should work
 similarly
  to the way motion tweens can be copied as actionscript - allow the bad
  behaviour for numpties and quick jobs, but then compensate to move the
 code
  to where it should be.
 
  a
 
  On Fri, Jul 18, 2008 at 4:36 PM, Juan Pablo Califano 
  [EMAIL PROTECTED] wrote:
 
   You're probably right. Nevertheless, I think the spirit of the article
  has
   been misunderstood. As I read it, it pointed out the need to have a
   higher-level visual-style user interface to make simple things easier
 for
   non programmers. Visual tools that can intuitively generate the AS 3
 code
   for adding simple behaviours and interactivity.  I'm a programmer
 myself
   and
   I don't think I'd use these features, but I now many people I work with
  who
   would love to have them available. It'd make their lives easier,
 without
   compromising efficency or mantainability (we're talking about simple
  stuff
   anyway). I believe the charges about button events, getURL and
   loadMovie are a good example of this point.
  
   Cheers
   Juan Pablo Califano
  
  
   2008/7/18, Abe Pazos [EMAIL PROTECTED]:
   
I think most of the people who would agree
with these charges are not in this mailing list.
   
Are there more AS3 coders out there?
Or more designers who sometimes use
a line or two of ActionScript with gotoAndPlays,
loadMovies, on release/rollover/rollout?
   
I wonder how would this discussion look
like if this was a designers mailing list?
   
Abe
___
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] Shared fonts

2008-07-22 Thread allandt bik-elliott (thefieldcomic.com)
mate it's definitely a weakness of flash but i wouldn't quite call it a bug

Adobe needs to look at it tho, coz having a common font library is tough
(although one of the guys i worked with said it was possible by copying the
format from the loaded swf)

i found this online that looks like it might help
http://www.mokisystems.com/blog/flash-as3-loading-fonts/

On Tue, Jul 22, 2008 at 5:45 PM, strk [EMAIL PROTECTED] wrote:

 I'm trying to figure wheter the overcomplex solutions for shared fonts
 are due to bugs in the proprietary player or design choices.

 In particular, why shouldn't a loader movie be allowed to use
 fonts defined in a *loaded* movie while the other way around should
 be possible ?

 Or, why not maintaining a single shared font library for a whole run ?


 --strk;

  ()   ASCII Ribbon Campaign
  /\   Keep it simple!

 ___
 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] AS3 shop

2008-07-23 Thread allandt bik-elliott (thefieldcomic.com)
i worked with a back-end guy to produce a solution that all worked on xml
produced by php with a mysql database. He built an app that would allow the
client to do stock checking, product updates and that kind of thing and I
built the front end for it by grabbing his xml files.

I haven't seen any off the shelf options but i'm sure they'd exist

a

On Wed, Jul 23, 2008 at 9:24 AM, Romuald Quantin 
[EMAIL PROTECTED] wrote:

 Hi guys, strictly no hint for that? :/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Romuald
 Quantin
 Sent: 22 July 2008 09:38
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] AS3 shop

 Hi everyone,



 Do you know some solid flash cart / flash shop in AS3?



 Even classes to manage a cart, I wouldn't like to build everything. I found
 some but unfortunately in AS2.



 Thanks



 Romu

 www.soundstep.com http://www.soundstep.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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread allandt bik-elliott (thefieldcomic.com)
if you put any code on the timeline and then make that layer a guide, it can
also happen

not that it's ever happened to me erm... was a mate of mine, yeh that's
it



On Thu, Jul 24, 2008 at 4:09 AM, Steven Sacks [EMAIL PROTECTED]
wrote:

 Helmut Granda wrote:
  The question now is, how do files in the library can become so corrupted?
  This would help to avoid it I hope.

 Because Flash, like a lot of software, ain't perfect.

 There's no reliable way to make an image get corrupted.  Sometimes, the
 corruption is simple, like it says Image Cannot Be Displayed in the
 library preview, and it won't show up on stage.  Sometimes, it gets much
 worse.

 The solution is (often) fairly simple.  You have to save the image out
 again with a different name, because if you try to copy the same image and
 rename it, Flash will still get corrupted.

 Sometimes, it won't like it right away.  Sometimes, it won't like it until
 you Save and Compact.  Sometimes, it will work fine until you do a random
 amount of work in the file at which point it will stop working.  Sometimes,
 it will still show up in the library preview and the stage but it will cause
 the Flash file to have problems when compiling or opening on other
 computers.

 In other words, Flash ain't perfect (CS3 is the best example of that, while
 Flash 8 is the closest it's ever been - in one version they went from best
 to worst).

 There's no solution and don't expect a fix because this issue has been
 around since at least Flash 5 and they've never fixed it.  I don't even
 think they know what it is or why it happens, and it happens so
 infrequently, they simply don't talk about it.  The effort to figure it out
 might not make sense economically.

 ___
 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] stop microphone echos

2008-07-24 Thread allandt bik-elliott (thefieldcomic.com)
if the mic is picking up the speakers on the end users machine then there's
really very little you can do about it - anyone who plays mmo's with
ventrilo will testify to that

On Thu, Jul 24, 2008 at 6:11 AM, laurent [EMAIL PROTECTED] wrote:

 Hi!

 Anyone knows how to stop the beautifull echo made from outcoming sound of
 the microphone ?

 It start when flash is done with the properties board for microphone
 detection. We need to have sound recorded but no sound outusing a
 headphone can't be the only solution.

 thx
 L


 ___
 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] stop microphone echos

2008-07-25 Thread allandt bik-elliott (thefieldcomic.com)
i also agree but don't have an answer

On Fri, Jul 25, 2008 at 9:46 AM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 no offence taken - made me laugh


 On Fri, Jul 25, 2008 at 9:24 AM, laurent [EMAIL PROTECTED] wrote:

 Hey Latcho and Bik Elliot,

 I want to apologize to you guys for my bitchy answer of yesterday, I
 actually very appreciate your concern and that I had not been left alone.

 I really needed to talk code, I did not sleep for 28 hours yesterday, and
 get this bitchy humour when I don't. I promess I will find this solution and
 tell it here whatever it takes ( actually that the words of my client :) )

 enjoy!
 L

 http://www.youtube.com/watch?v=0a86oKl34ZQ

 laurent a écrit :


 Come on guys we are developpers  I stoped having probems with my
 sound cards a long time ago, either with windows registry, windows actually
 gets better, at least for the developpement part, now they just need to fix
 the graphics and security alert ;)

 my app is echoing, midomi.com is not, same machine, same
 configuration.my screen is turned on! :]

 thx
 L

 Latcho a écrit :

 if your sound mixer recording configuration is configured to record
 stereo mix you  route the sound of your microphone through your flash
 application back to the soundcard and then it stays looping (same idea as 
 if
 your speakers play too load and the microphone picsks it up again, but then
 internal ).
 Make sure that for the recording configuration of your s-card, only
 record microphone is checked.
 Latcho

 allandt bik-elliott (thefieldcomic.com) wrote:

 if the mic is picking up the speakers on the end users machine then
 there's
 really very little you can do about it - anyone who plays mmo's with
 ventrilo will testify to that

 On Thu, Jul 24, 2008 at 6:11 AM, laurent [EMAIL PROTECTED]
 wrote:



 Hi!

 Anyone knows how to stop the beautifull echo made from outcoming sound
 of
 the microphone ?

 It start when flash is done with the properties board for microphone
 detection. We need to have sound recorded but no sound outusing a
 headphone can't be the only solution.

 thx
 L


 ___
 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


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 3257 (20080710) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com




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


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 3257 (20080710) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.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] stop microphone echos

2008-07-25 Thread allandt bik-elliott (thefieldcomic.com)
no offence taken - made me laugh

On Fri, Jul 25, 2008 at 9:24 AM, laurent [EMAIL PROTECTED] wrote:

 Hey Latcho and Bik Elliot,

 I want to apologize to you guys for my bitchy answer of yesterday, I
 actually very appreciate your concern and that I had not been left alone.

 I really needed to talk code, I did not sleep for 28 hours yesterday, and
 get this bitchy humour when I don't. I promess I will find this solution and
 tell it here whatever it takes ( actually that the words of my client :) )

 enjoy!
 L

 http://www.youtube.com/watch?v=0a86oKl34ZQ

 laurent a écrit :


 Come on guys we are developpers  I stoped having probems with my sound
 cards a long time ago, either with windows registry, windows actually gets
 better, at least for the developpement part, now they just need to fix the
 graphics and security alert ;)

 my app is echoing, midomi.com is not, same machine, same
 configuration.my screen is turned on! :]

 thx
 L

 Latcho a écrit :

 if your sound mixer recording configuration is configured to record
 stereo mix you  route the sound of your microphone through your flash
 application back to the soundcard and then it stays looping (same idea as if
 your speakers play too load and the microphone picsks it up again, but then
 internal ).
 Make sure that for the recording configuration of your s-card, only
 record microphone is checked.
 Latcho

 allandt bik-elliott (thefieldcomic.com) wrote:

 if the mic is picking up the speakers on the end users machine then
 there's
 really very little you can do about it - anyone who plays mmo's with
 ventrilo will testify to that

 On Thu, Jul 24, 2008 at 6:11 AM, laurent [EMAIL PROTECTED]
 wrote:



 Hi!

 Anyone knows how to stop the beautifull echo made from outcoming sound
 of
 the microphone ?

 It start when flash is done with the properties board for microphone
 detection. We need to have sound recorded but no sound outusing a
 headphone can't be the only solution.

 thx
 L


 ___
 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


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 3257 (20080710) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com




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


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 3257 (20080710) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.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] ...Friday, 5:38 pm

2008-07-25 Thread allandt bik-elliott (thefieldcomic.com)
it brings up a serious point tho - can flash survive with the amount of
animosity there is towards it?

On Fri, Jul 25, 2008 at 4:56 PM, Zárate [EMAIL PROTECTED] wrote:

 Hahahahaha, pretty accurate, i'd say :P

 Nah, don't even try to edit it, they will jump like animals... I
 honestly don't give a rat's ass about that sort of criticism any
 more.

 Nice OT, tho :D

 Cheers!

 On Fri, Jul 25, 2008 at 4:38 PM, laurent [EMAIL PROTECTED] wrote:
 
 
  http://encyclopediadramatica.com/Flash
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 Juan Delgado - Zárate
 http://zarate.tv
 http://dandolachapa.com
 http://loqueyosede.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] Masking Effect

2008-07-29 Thread allandt bik-elliott (thefieldcomic.com)
you could convert the lines to fills (under object i believe) or you could
use a bitmap (remember to use runtime bitmap caching)

On Tue, Jul 29, 2008 at 1:37 PM, Sander Schuurman 
[EMAIL PROTECTED] wrote:

 Hi cool list,

 I'm working on a masking effect and set it up with a mask MovieClip wich
 provide animated lines.

 Other masking effects work great when applied in the same way I am trying
 with this one. Only the other masking effects use Fills together with the
 lines.

 So my logic is saying me that lines don't trigger the mask of a
 DisplayObject and fills do. Am I correct?

 Is it possible otherwise to draw the lines to a bitmap object and have that
 as a mask? Or is a bitmap object always square when used as a mask?

 Thnx in advance,

 Sander
 ___
 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] ...Friday, 5:38 pm

2008-07-29 Thread allandt bik-elliott (thefieldcomic.com)
rofl

~shuffles away nervously despite innocence

a

On Sat, Jul 26, 2008 at 1:50 PM, Matt S. [EMAIL PROTECTED] wrote:

 Interesting question Allandt...a little TOO interesting...Anyone else
 wonder if he's workin for...Silverlight??? squint

 :P

 On Sat, Jul 26, 2008 at 8:38 AM, Allandt Bik-Elliott (Receptacle)
 [EMAIL PROTECTED] wrote:
  i mean if the flash plugin died so no actionscript what would you do
 
 ___
 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] OT: Questions to ask an interviewee

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
if you do make a test, you have to give the applicant a chance to do it in a
natural environment, like that test you did where you could take it home. If
you're breathing down their neck, they may fail because of nerves more than
anything else (i'm good in interviews but blank if put on the spot)



On Wed, Jul 30, 2008 at 11:04 AM, Steven Sacks [EMAIL PROTECTED]wrote:

 There's a company here in LA that gives you a choice of tests and you can
 take them home and work on them.  I heard what one of the tests was at
 1:00am late one night and I was so psyched about it that I ended up staying
 up til 5:30am doing it.  I wasn't happy with my first solution, which worked
 but wasn't as elegant as I liked, so I refactored it until I was satisfied.

 The particular test I took I thought was a fantastic way to figure out
 somebody's problem solving skills.  I heard the next day that most
 applicants failed that particular test, including the guy who told me about
 it!  (I can imagine it causing the Flash player to have script timeout
 errors).

 I mean, you have to come up with a good challenge worth doing.  You'll also
 get an idea of how passionate people are about coding by giving them a
 challenge.  I want to interview at that company just so I can find out what
 their other tests are and take em, ha!

 Here's what you have to decide.  What are you trying to determine about
 somebody's skillset?  Do you do a lot of collision detection stuff?  Are you
 more interested in design pattern knowledge?  Once you know what the goal
 is, you can come up with a test that will demonstrate their skills in that
 area.

 No, I'm not going to tell you what the test is.  :)

 ___
 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] OT: Questions to ask an interviewee

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
agreed on that

On Wed, Jul 30, 2008 at 11:12 AM, Ibrahim Y [EMAIL PROTECTED] wrote:

 at the end you need your work done in any case in specific time with the
 best performance.
 so, giving him tasks related to your work in real environment with ability
 to access internet on anything he needs will be the best way to decide how
 he will be useful for you -imo-

 Ibrahim

 On Wed, Jul 30, 2008 at 12:14 PM, Ian Thomas [EMAIL PROTECTED] wrote:

  On Wed, Jul 30, 2008 at 9:53 AM, Steven Sacks [EMAIL PROTECTED]
  wrote:
   Don't ask questions.  You won't learn anything.  Make him code some
  stuff.
   Something tricky.  Come up with something good.  That is, if you care
 if
   they know how to code.
 
  (for once!) I kind of agree with Steven.
 
  Talking to the interviewee - asking questions - _is_ important,
  because one of the most critical things you need to find out is
  whether they'll fit into your team, and getting into a decent
  conversation with them is one of the ways to judge that. But that's a
  whole different topic, and probably not one for this list.
 
  However to get an idea what their coding abilities are like, you can
  do worse than get them to write a couple of functions for you to do
  specific things. On paper. With a pencil. :-D
 
  A 'what's wrong with this syntax'? test is good, too. So is a 'what is
  this function meant to do?' - showing them a listing.
 
  You can also get a rough idea of their architectural/code organisation
  skills in a similar way, by detailing a simple system and getting them
  to throw together a rough diagram of how the classes in it might
  interact (UML or whatever, your choice).
 
  You'll still need to ask coding-related questions to get some idea of
  the breadth of their experience. Here it's good to ask specific
  questions, not general 'so, what about this whole MVC thing, then?'.
  Be more specific - and ask more about _why_ than _how_. If they don't
  understand the _why_, the how is often just a regurgitation of
  rote-learned stuff or what they might have read on Wikipedia today.
 
  At the end of the day, though, it very much depends what role you're
  trying to fill, how big your team is, what this guy's responsibilities
  are going to be, whether he'll have to talk to clients, etc. etc.
 
  HTH,
 Ian
  ___
  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] OT: Questions to ask an interviewee

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
hmmm - i didn't do bad (without looking stuff up) but i must say that i've
not been asked to do a single as3 project since i started doing agency work
- the only time i've done an as3 project was for an interactive cd so i
could set my own target for the projector file. Most of the work i do in
digital agencies has been targeted at flash player 8 or (even worse) 6 so
AS2 has been more important than AS3.

Under what sort of circumstances do you find that AS3 is used?

a

On Wed, Jul 30, 2008 at 12:03 PM, Sidney de Koning
[EMAIL PROTECTED]wrote:

 The list of questions i always ask interviewees are the following, and this
 gives me a pretty good example of what they are like and what their skillset
 is.

 Test is always accompanied with a practical test we make up on the spot.
 The XML in Q16 is made up, you can create your own for this.

 Feel free to use this,

 Cheers,

 Sid

 1  - write an event listener (normal and weak referenced) and handling
 function for a Sprite
 named 'beginQuestions' and listen for a  mouse click.
 2  - what does weak referenced mean in regards to event listeners?
 3  - what is the difference between an object an an array?
 4  - how doe you get cue point from vidio in AS3? And in AS2?
 5  - briefly explain the various datatypes for numbers.
 6  - how do you load an external file?
 7  - draw a 20px by 20px Rectangle using the graphics API.
 8  - which of the following cannot contain other display objects?
 Sprite, Shape, MovieClip, DisplayObjectContainer.
 9  - which properties can you use to change the size of DisplayObjects?
 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false?
 11 - XP is a type of which programming methology?
 12 - why would you use a Singleton?
 13 - what is the Document Class?
 14 - create a new TextField instance, then add text it, then add some more
 text.
 15 - what is the difference between public, private and protected.
 16 - look at the piece of XML (see other sheet). How do i:
 - Get all of the page nodes as an XMLList.
 - Get node in showcase where the attribute id=1.
 17 - listen for when the 'enter key' is pressed and
 trace out all questions are now done when the event happens.


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.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] OT: Questions to ask an interviewee

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
i'm starting a new thread because i think that it might derail this one



On Wed, Jul 30, 2008 at 12:35 PM, Sidney de Koning
[EMAIL PROTECTED]wrote:

 Hi allandt,

 As agencies we also have a advising role to play towards the customer, so
 we only do AS3 projects, hardly any AS2 (maybee some banners in FP8). So we
 try to advice/push the client towards AS3 projects, which, most of the
 times, is better for all parties invloved.

 Sid



 On Jul 30, 2008, at 1:24 PM, allandt bik-elliott (thefieldcomic.com)
 wrote:

  hmmm - i didn't do bad (without looking stuff up) but i must say that i've
 not been asked to do a single as3 project since i started doing agency
 work
 - the only time i've done an as3 project was for an interactive cd so i
 could set my own target for the projector file. Most of the work i do in
 digital agencies has been targeted at flash player 8 or (even worse) 6 so
 AS2 has been more important than AS3.

 Under what sort of circumstances do you find that AS3 is used?

 a

 On Wed, Jul 30, 2008 at 12:03 PM, Sidney de Koning
 [EMAIL PROTECTED]wrote:

  The list of questions i always ask interviewees are the following, and
 this
 gives me a pretty good example of what they are like and what their
 skillset
 is.

 Test is always accompanied with a practical test we make up on the spot.
 The XML in Q16 is made up, you can create your own for this.

 Feel free to use this,

 Cheers,

 Sid

 1  - write an event listener (normal and weak referenced) and handling
 function for a Sprite
   named 'beginQuestions' and listen for a  mouse click.
 2  - what does weak referenced mean in regards to event listeners?
 3  - what is the difference between an object an an array?
 4  - how doe you get cue point from vidio in AS3? And in AS2?
 5  - briefly explain the various datatypes for numbers.
 6  - how do you load an external file?
 7  - draw a 20px by 20px Rectangle using the graphics API.
 8  - which of the following cannot contain other display objects?
   Sprite, Shape, MovieClip, DisplayObjectContainer.
 9  - which properties can you use to change the size of DisplayObjects?
 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false?
 11 - XP is a type of which programming methology?
 12 - why would you use a Singleton?
 13 - what is the Document Class?
 14 - create a new TextField instance, then add text it, then add some
 more
 text.
 15 - what is the difference between public, private and protected.
 16 - look at the piece of XML (see other sheet). How do i:
   - Get all of the page nodes as an XMLList.
   - Get node in showcase where the attribute id=1.
 17 - listen for when the 'enter key' is pressed and
   trace out all questions are now done when the event happens.


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.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


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.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] When to use AS3?

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
@Sidney: That's really interesting because at all the places I've worked
(which isn't many - I've always done coding as a sideline and have only
recently gone full-time), they seem to be utterly entrenched in FP8 (i guess
using the old 'work to the last player' thinking). I personally would love
to move the (non-banner) work to AS3 as it's a far more elegant way of
working. I find that the clients tend to dictate it based on whatever plugin
their IT department have set them up with.

a


NOTE: This is taken from the interview thread and I thought it might be
worth having it's own one




On Wed, Jul 30, 2008 at 12:35 PM, Sidney de Koning
[EMAIL PROTECTED]wrote:

 Hi allandt,

 As agencies we also have a advising role to play towards the customer, so
 we only do AS3 projects, hardly any AS2 (maybee some banners in FP8). So we
 try to advice/push the client towards AS3 projects, which, most of the
 times, is better for all parties invloved.

 Sid


 On Jul 30, 2008, at 1:24 PM, allandt bik-elliott (thefieldcomic.com)
 wrote:

  hmmm - i didn't do bad (without looking stuff up) but i must say that i've
 not been asked to do a single as3 project since i started doing agency
 work
 - the only time i've done an as3 project was for an interactive cd so i
 could set my own target for the projector file. Most of the work i do in
 digital agencies has been targeted at flash player 8 or (even worse) 6 so
 AS2 has been more important than AS3.

 Under what sort of circumstances do you find that AS3 is used?

 a

 On Wed, Jul 30, 2008 at 12:03 PM, Sidney de Koning
 [EMAIL PROTECTED]wrote:

  The list of questions i always ask interviewees are the following, and
 this
 gives me a pretty good example of what they are like and what their
 skillset
 is.

 Test is always accompanied with a practical test we make up on the spot.
 The XML in Q16 is made up, you can create your own for this.

 Feel free to use this,

 Cheers,

 Sid

 1  - write an event listener (normal and weak referenced) and handling
 function for a Sprite
   named 'beginQuestions' and listen for a  mouse click.
 2  - what does weak referenced mean in regards to event listeners?
 3  - what is the difference between an object an an array?
 4  - how doe you get cue point from vidio in AS3? And in AS2?
 5  - briefly explain the various datatypes for numbers.
 6  - how do you load an external file?
 7  - draw a 20px by 20px Rectangle using the graphics API.
 8  - which of the following cannot contain other display objects?
   Sprite, Shape, MovieClip, DisplayObjectContainer.
 9  - which properties can you use to change the size of DisplayObjects?
 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false?
 11 - XP is a type of which programming methology?
 12 - why would you use a Singleton?
 13 - what is the Document Class?
 14 - create a new TextField instance, then add text it, then add some
 more
 text.
 15 - what is the difference between public, private and protected.
 16 - look at the piece of XML (see other sheet). How do i:
   - Get all of the page nodes as an XMLList.
   - Get node in showcase where the attribute id=1.
 17 - listen for when the 'enter key' is pressed and
   trace out all questions are now done when the event happens.


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.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


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.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] When to use AS3?

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
yeh - i tried telling someone to object.addEventListener(Event.ENTER_FRAME,
func); the other day (they were in as2)

it's really hard doing both

On Wed, Jul 30, 2008 at 2:29 PM, Matt S. [EMAIL PROTECTED] wrote:

 This debate really shows the odd place Flash is in right now. A few
 threads ago someone else was saying they would never even look at a
 project that was being done in AS2 and indeed any client demanding
 such a thing deserved a whoopin'. Others still find themselves working
 almost exclusively in AS2, and others like myself find themselves
 jumping back and forth between the two on a daily basis which is
 probably the worst of all. coding half your day in AS3 and the other
 half in AS2 is such a mindf*ck.

 .m

 On Wed, Jul 30, 2008 at 7:48 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  @Sidney: That's really interesting because at all the places I've worked
  (which isn't many - I've always done coding as a sideline and have only
  recently gone full-time), they seem to be utterly entrenched in FP8 (i
 guess
  using the old 'work to the last player' thinking). I personally would
 love
  to move the (non-banner) work to AS3 as it's a far more elegant way of
  working. I find that the clients tend to dictate it based on whatever
 plugin
  their IT department have set them up with.
 
 ___
 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] OT: Questions to ask an interviewee

2008-07-30 Thread allandt bik-elliott (thefieldcomic.com)
derailment imminent!

with sproutcore, i think apple will have too much invested elsewhere to want
to retain flash if they ever bought adobe

i don't think it's on the cards tho - aren't they peers in the software
space?

On Wed, Jul 30, 2008 at 4:13 PM, Matt S. [EMAIL PROTECTED] wrote:

 I dont think Apple *doesnt want* to use Flash on the iphone per se, in
 fact I think they'd love to have it. Its just a question of (depending
 on who you talk to) technical challenges and/or political difficulties
 on Apple and Adobe's part. Owning Adobe would help to solve both (not
 that I'm supporting the rumors, just sayin...).

 .m

 On Wed, Jul 30, 2008 at 10:51 AM, Helmut Granda [EMAIL PROTECTED]
 wrote:
  How would Apple want to buy Adobe when they dont even want to use the
 Flash
  Plugin in their IPhone/ITouch? and Google? is this rumor floating around?
  because personally this is the first time I hear about this idea...
 
 ___
 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] urgent combobox query

2008-07-31 Thread allandt bik-elliott (thefieldcomic.com)
i have a combobox placed manually on the stage and the textfield doesn't
show anything. I suspect it's a font issue

can anyone tell me how i can tell which font is used in it please?

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


[Flashcoders] [solved] urgent combobox query

2008-07-31 Thread allandt bik-elliott (thefieldcomic.com)
ah I got it

the combobox was nested a few mcs deep and masked so i've embedded the Font
and set it using cb.setStyle(embedFonts, true) and
cb.setStyle(fontFamily, Arial);

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


Re: [Flashcoders] list working?

2008-08-06 Thread allandt bik-elliott (thefieldcomic.com)
just seen this

On Wed, Aug 6, 2008 at 11:42 AM, Romuald Quantin 
[EMAIL PROTECTED] wrote:

 Is that list working?



 I've posted an email hours ago, I still don't see it. And I don't receive
 anymore emails from it?



 If a nice guy could send me a confirmation to romu
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED], it could be
 great.



 Romu

 www.soundstep.com http://www.soundstep.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] Problem with getting a code to work

2008-08-11 Thread allandt bik-elliott (thefieldcomic.com)
your transitions are spelt wrong - they should be linear - could be that

a

On Mon, Aug 11, 2008 at 12:57 PM, Shane Deguara [EMAIL PROTECTED]wrote:


 OK i have been trying out an Advanced aftereffect button tutorial from
 gotoandlearn.com but
 i am having problems with it i have add the custom code and wrote the
 code just like in the tutorial plus downloaded the tutorial file now i
 get an error from both files the one i made and the one i downloaded
 from the site but they are not the same for the one i get from the one
 i made is The class or interface 'MouseEvent' could not be loaded.
 function butt_ROLLOVER(e:MouseEvent):void and i receive these errors
 from the other one 1172: Definition caurina.transitions could not be
 found. import caurina.transitions.*;(i receive this error twice)
 1120: Access of undefined property Tweener. Tweener.addTween(ticket,
 {_frame:22, time:0.5, transitions:liner}); Now i am using Flash CS3
 and it is in a Actionscript 3.0.

 So if anyone knows what is wrong here could you please tell me.
 this is the code i am using on both buttons:
 import caurina.transitions.*;

 butt.addEventListener(MouseEvent.ROLL_OVER, butt_ROLLOVER);

 function butt_ROLLOVER(e:MouseEvent):void
 {
Tweener.addTween(ticket, {_frame:22, time:0.5,
 transitions:liner});
 }

 butt.addEventListener(MouseEvent.ROLL_OUT, butt_ROLLOUT);

 function butt_ROLLOUT(e:MouseEvent):void
 {
Tweener.addTween(ticket, {_frame:0, time:0.5, transitions:liner});
 }

 Can someone help me please

 _
 Win a Nokia E51 with mobile Hotmail SMS alerts

 http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4589___
 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] urgent TweenMax easing question

2008-08-13 Thread allandt bik-elliott (thefieldcomic.com)
Hi guys

I'm having a problem with a TweenMax animation.

I'm animating a shape (broken apart text) over a transparent png but as the
text hits the edge of the png, it slows down. Is there something I can do to
stop this happneing?

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


Re: [Flashcoders] urgent TweenMax easing question

2008-08-13 Thread allandt bik-elliott (thefieldcomic.com)
i thought it might be that - i've replaced the tweenmax tween with a
timeline tween which seems to be a bit better (but not perfect by any means)

thanks for the response

a

On Wed, Aug 13, 2008 at 2:52 PM, H [EMAIL PROTECTED] wrote:

 I don't think so. It sounds like your issue has to do with rendering
 changing transparent objects on top of one another. This is inherently
 slow.

 On Wed, Aug 13, 2008 at 5:44 AM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

  Hi guys
 
  I'm having a problem with a TweenMax animation.
 
  I'm animating a shape (broken apart text) over a transparent png but as
 the
  text hits the edge of the png, it slows down. Is there something I can do
  to
  stop this happneing?
 
  thanks
  a
  ___
  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] urgent TweenMax easing question

2008-08-14 Thread allandt bik-elliott (thefieldcomic.com)
thanks for the advice guys

On Wed, Aug 13, 2008 at 9:38 PM, Steven Sacks [EMAIL PROTECTED]wrote:

 Select your transparent PNG and press CTRL+B (Break Apart).

 Then, use the lasso tool and the eraser tool to erase the transparent
 pixels as best you can.

 This will increase your performance a lot because Flash won't have to
 render those transparent pixels anymore.

 ___
 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] Runtime font embedding in Flash CS3...

2008-08-18 Thread allandt bik-elliott (thefieldcomic.com)
get parallels and a copy of windows xp (vista is too chunky to use in
virtualization)

then go to http://www.flashdevelop.org/community/viewtopic.php?t=2463 and
set it up as instructed - i barely notice the jump between the two apps now



On Mon, Aug 18, 2008 at 6:03 PM, Michael William Ypes 
[EMAIL PROTECTED] wrote:

 Thanks Glen,

 I made the move to mac a few months ago and alas I cannot use Flash Develop
 anymore as it was definitely my preferred choice as editor. However the mac
 system has proved to be much better for my development now than the pc ever
 was so not really grumbling.

 Anyhow after a very annoying day I have found the solution that I was
 looking for. Although it requires flex and flash in order to create the
 solution. Flex to require the font library and then flash to load the
 library into. I must  admit it is quite a sweet solution however I didn't
 really find any good documentation on it anywhere which is a shame. The key
 aspect was to limit the libraries to the glyphs required and to load at
 runtime depending on which language was required. Thanks for the point into
 the right direction. I might blog it if I ever get my blog up and running...

 Thanks or the help guys.

 Cheers

 M





 On 18 Aug 2008, at 15:29, Glen Pike wrote:

  Hi,


 You can do the AS3 Embed test with FlashDevelop = £0, so download the
 FlexSDK, install it, then FD, then maybe try the example on ScottMorgan's
 blog -
 You should be able to create a simple FD project (AS3 default) paste in
 the code for the font from the blog, and click the build / run button to
 compile.
 One thing to note with embedding is the path to the font, you may want to
 copy a version into a directory in the project folder rather than rely on
 the System or file based C:\.. fonts as I sometimes had problems with the
 compiler and this mde them go away.

 http://www.adobe.com/products/flex/flexdownloads/#sdk


 http://www.flashdevelop.org/community/viewforum.php?f=11sid=1ef39000400abfd888216f8b507a9901
  
 http://www.flashdevelop.org/community/viewforum.php?f=11sid=1ef39000400abfd888216f8b507a9901
 FD releases

 If you like FD and want to do a lot of compiling with it, I recommend
 getting the flex compiler shell fcsh installed too.

 http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell

 Flash Develop is really nice too if you do a lot of coding for AS3.  For
 what you want to do, you should not have a huge hassle making it work it
 either, the learning can come later when you have some breathing space.

 Glen

 Michael William Ypes wrote:

 I was thinking of this route but my flex 3 trial has run out. I am
 assuming then that I can load that into a normal flash application and get
 it via the class name as per normal.

 Has anyone got an example font file (made from flex) that I can test it
 with. If not I shall have to go and purchase flex.



 On 18 Aug 2008, at 13:37, Glen Pike wrote:

  Hi,

  You should still be able to load a separarte SWF with a font embedded
 then use this on the stage:


 http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/

  A workaround for the [Embed] does not work in Flash issue is to use
 another program, like Flash Develop if you ain't got Flex, to create your
 font based SWF, then load this from your Flash built application.

  HTH

  Glen

 Michael William Ypes wrote:

 I know the offstage technique but what I want is to load an external
 swf with the specific font in it. Then use that font in all other swfs. 
 You
 could do this in as2 by loading in a swf that had a shared library font in
 it. Bit of a hack but it worked.

 I cant quite believe Adobe has not addressed this in cs3 as fonts do
 add a huge amount to file sizes. There has got to be a fix for this
 surely...

 Any more ideas...

 Cheers

 M

 On 18 Aug 2008, at 12:08, Ian Thomas wrote:

  On Mon, Aug 18, 2008 at 12:01 PM, Geografiek 
 [EMAIL PROTECTED] wrote:

  Define 2 dynamic text field off stage (one for each font) and define
 the
 character range there.
 These characters should now be available to all text fields in the
 .swf
 *Should* work, but with Flash and font you never know :(


 Offstage will do it.

 So will exporting in a text field within a MovieClip symbol in the
 library, providing that MovieClip symbol is marked for export in first
 frame.

 HTH,
 Ian
 ___
 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



 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 

Re: [Flashcoders] OT: Your Best CS4 Upgrade Guesstimate

2008-08-19 Thread allandt bik-elliott (thefieldcomic.com)
just be aware if you're upgrading that you can't upgrade a single
application if you hold the license for a suite

got burned trying to upgrade the mxstudio 2004 and create suite cs2 to cs3
web premium and indesign cs3 - indesign is now consigned to the drawer coz
it's useless and i'm using id cs2 with my cs3 suite



On Tue, Aug 19, 2008 at 1:13 AM, Zeh Fernando [EMAIL PROTECTED] wrote:

 There are upgrade packages, including upgrades you can do from the
 Macromedia packages to Adobe ones. That's what I used in the past (Studio 8
 - Adobe Web pack), and it was the price of a regular upgrade.

 I'm not sure of your local pricing, but here, updating from a previous
 version to the newest version is usually the same price as updating from an
 OLDER version to the newer one. So, 8 - CS4 would be the same price as CS3
 - CS4. So waiting in this case makes sense.

 Zeh


 chas warn wrote:

 I'm still using flash8 (a ridiculously expensive upgrade to mx2004) But
 anyway - does anyone know what the best deal is on cs3 - or should I wait
 till the next version?

 On Mon, Aug 18, 2008 at 11:04 AM, Kerry Thompson [EMAIL PROTECTED]
 wrote:

  Jason Merrill wrote:

  My team is trying to budget out software purchases for 2009.  We all own
 licenses to the CS3 Master Collection.  Since the Master Collection is a
 new Adobe product, what would you guess the upgrade cost to the
 (supposed, yet to be announced) CS4 Master Collection would be when it's
 released?   Any rough guesses?  Thanks.

 The upgrade from CS3 Master to CS3.3 Master is $159. On the other hand,
 upgrading to the Master Collection from CS2 Premium is $1,999.

 My guess is that, if you have the CS3 Master Collection, the upgrade to
 CS4
 would probably be closer to $159 than $1,999. Basically a guess,
 though--it
 could be a lot more.

 Cordially,

 Kerry Thompson

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

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

  ___
 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] working out a point on a squiggly line

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
Hi guys

I have a bit of maths problem to solve here and I've not found any answers
on the Googles.

I have several squiggly lines (they will be maps) and I need to find out, if
a user clicks somewhere on one of the lines, how far along the line they've
clicked. I also need to find out how long the line would be.

How would I go about doing this, please?

Hope you can help
A
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] working out a point on a squiggly line

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

thanks for the response. I've come to a similar conclusion myself.

as the maps are fairly simple, i'm going to draw them in the api, saving the
total length as i go and then follow the route with a quick 'is this closer
to the point clicked than the last point i drew' check and save that total
and then use the two values to create a percentage of the total length.

if i were to adjust this to include rounded corners, how would i find out
what the length of the curveTo was?

thanks again
a

On Wed, Aug 20, 2008 at 2:54 PM, Anthony Pace [EMAIL PROTECTED]wrote:

 If anyone else has a better way I would love to hear it.

 Totally curved lines? or zig-zag with corners? or both?

 Try breaking the path travelled down to points.  If you can calculate the
 distance between the last point and a new point made, you just need to sum
 up the values.
 example map/ path travelled.

 start
 .___.
 .\.
 |..
 .___./
 finish

 just sum up the distances to find the total distance travelled.

 You will need to know basic the Pythagorean theorem, to find the length of
 a hypotenuse/distance between to points for straight lines, and if you need
 to calculate the curves it actually depends on the type of curve, so you
 will need to know this info.

 more info on curves...found it on google, if you don't know how to do these
 calculations it will take you a little time to work your way through the
 math:
 http://www.mathwords.com/a/arc_length_of_a_curve.htm

 hope that helps,
 Anthony




 allandt bik-elliott (thefieldcomic.com) wrote:

 Hi guys

 I have a bit of maths problem to solve here and I've not found any answers
 on the Googles.

 I have several squiggly lines (they will be maps) and I need to find out,
 if
 a user clicks somewhere on one of the lines, how far along the line
 they've
 clicked. I also need to find out how long the line would be.

 How would I go about doing this, please?

 Hope you can help
 A
 ___
 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] working out a point on a squiggly line

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
lol re-read antony's post - ignore my last question

thanks

On Wed, Aug 20, 2008 at 3:22 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 hi guys

 thanks for the response. I've come to a similar conclusion myself.

 as the maps are fairly simple, i'm going to draw them in the api, saving
 the total length as i go and then follow the route with a quick 'is this
 closer to the point clicked than the last point i drew' check and save that
 total and then use the two values to create a percentage of the total
 length.

 if i were to adjust this to include rounded corners, how would i find out
 what the length of the curveTo was?

 thanks again
 a


 On Wed, Aug 20, 2008 at 2:54 PM, Anthony Pace [EMAIL PROTECTED]wrote:

 If anyone else has a better way I would love to hear it.

 Totally curved lines? or zig-zag with corners? or both?

 Try breaking the path travelled down to points.  If you can calculate the
 distance between the last point and a new point made, you just need to sum
 up the values.
 example map/ path travelled.

 start
 .___.
 .\.
 |..
 .___./
 finish

 just sum up the distances to find the total distance travelled.

 You will need to know basic the Pythagorean theorem, to find the length of
 a hypotenuse/distance between to points for straight lines, and if you need
 to calculate the curves it actually depends on the type of curve, so you
 will need to know this info.

 more info on curves...found it on google, if you don't know how to do
 these calculations it will take you a little time to work your way through
 the math:
 http://www.mathwords.com/a/arc_length_of_a_curve.htm

 hope that helps,
 Anthony




 allandt bik-elliott (thefieldcomic.com) wrote:

 Hi guys

 I have a bit of maths problem to solve here and I've not found any
 answers
 on the Googles.

 I have several squiggly lines (they will be maps) and I need to find out,
 if
 a user clicks somewhere on one of the lines, how far along the line
 they've
 clicked. I also need to find out how long the line would be.

 How would I go about doing this, please?

 Hope you can help
 A
 ___
 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] working out a point on a squiggly line

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
Hi

okay i read that but without the grounding in advanced calculus it meant
very little to me

do you have something that is a little easier to understand?



On Wed, Aug 20, 2008 at 3:25 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 lol re-read antony's post - ignore my last question

 thanks


 On Wed, Aug 20, 2008 at 3:22 PM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

 hi guys

 thanks for the response. I've come to a similar conclusion myself.

 as the maps are fairly simple, i'm going to draw them in the api, saving
 the total length as i go and then follow the route with a quick 'is this
 closer to the point clicked than the last point i drew' check and save that
 total and then use the two values to create a percentage of the total
 length.

 if i were to adjust this to include rounded corners, how would i find out
 what the length of the curveTo was?

 thanks again
 a


 On Wed, Aug 20, 2008 at 2:54 PM, Anthony Pace [EMAIL PROTECTED]wrote:

 If anyone else has a better way I would love to hear it.

 Totally curved lines? or zig-zag with corners? or both?

 Try breaking the path travelled down to points.  If you can calculate the
 distance between the last point and a new point made, you just need to sum
 up the values.
 example map/ path travelled.

 start
 .___.
 .\.
 |..
 .___./
 finish

 just sum up the distances to find the total distance travelled.

 You will need to know basic the Pythagorean theorem, to find the length
 of a hypotenuse/distance between to points for straight lines, and if you
 need to calculate the curves it actually depends on the type of curve, so
 you will need to know this info.

 more info on curves...found it on google, if you don't know how to do
 these calculations it will take you a little time to work your way through
 the math:
 http://www.mathwords.com/a/arc_length_of_a_curve.htm

 hope that helps,
 Anthony




 allandt bik-elliott (thefieldcomic.com) wrote:

 Hi guys

 I have a bit of maths problem to solve here and I've not found any
 answers
 on the Googles.

 I have several squiggly lines (they will be maps) and I need to find
 out, if
 a user clicks somewhere on one of the lines, how far along the line
 they've
 clicked. I also need to find out how long the line would be.

 How would I go about doing this, please?

 Hope you can help
 A
 ___
 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] working out a point on a squiggly line

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
I've decided that i probably don't need to measure the curves - simply
plotting over the top of a drawing will probably be fine

a

On Wed, Aug 20, 2008 at 3:48 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 Hi

 okay i read that but without the grounding in advanced calculus it meant
 very little to me

 do you have something that is a little easier to understand?




 On Wed, Aug 20, 2008 at 3:25 PM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

 lol re-read antony's post - ignore my last question

 thanks


 On Wed, Aug 20, 2008 at 3:22 PM, allandt bik-elliott (thefieldcomic.com)
 [EMAIL PROTECTED] wrote:

 hi guys

 thanks for the response. I've come to a similar conclusion myself.

 as the maps are fairly simple, i'm going to draw them in the api, saving
 the total length as i go and then follow the route with a quick 'is this
 closer to the point clicked than the last point i drew' check and save that
 total and then use the two values to create a percentage of the total
 length.

 if i were to adjust this to include rounded corners, how would i find out
 what the length of the curveTo was?

 thanks again
 a


 On Wed, Aug 20, 2008 at 2:54 PM, Anthony Pace [EMAIL PROTECTED]wrote:

 If anyone else has a better way I would love to hear it.

 Totally curved lines? or zig-zag with corners? or both?

 Try breaking the path travelled down to points.  If you can calculate
 the distance between the last point and a new point made, you just need to
 sum up the values.
 example map/ path travelled.

 start
 .___.
 .\.
 |..
 .___./
 finish

 just sum up the distances to find the total distance travelled.

 You will need to know basic the Pythagorean theorem, to find the length
 of a hypotenuse/distance between to points for straight lines, and if you
 need to calculate the curves it actually depends on the type of curve, so
 you will need to know this info.

 more info on curves...found it on google, if you don't know how to do
 these calculations it will take you a little time to work your way through
 the math:
 http://www.mathwords.com/a/arc_length_of_a_curve.htm

 hope that helps,
 Anthony




 allandt bik-elliott (thefieldcomic.com) wrote:

 Hi guys

 I have a bit of maths problem to solve here and I've not found any
 answers
 on the Googles.

 I have several squiggly lines (they will be maps) and I need to find
 out, if
 a user clicks somewhere on one of the lines, how far along the line
 they've
 clicked. I also need to find out how long the line would be.

 How would I go about doing this, please?

 Hope you can help
 A
 ___
 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] how many coders here actually have a degree related to computer science?

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
no degree but i'm freelance, self-taught and lucky so it's less of an issue



On Wed, Aug 20, 2008 at 3:51 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 I have a Master's in Instructional Technology, which was focused on
 multimedia design and development for training and learning, and while a
 lot of people in the multimedia field will say you don't need a degree
 to be sucessful, that may be true, but it certainly does and can help
 with:  gaining BROAD fundamental knowledge that is hard to get on your
 own, opportunities to command a higher salary (if two resumes side by
 side are by all means equal and the same in experience, but one guy has
 a degree and the other doesn't - who do you think they are going to
 pick?), oppotunities to teach at higher institutions, you look more
 impressive on paper when you are bidding on contracts or whatever.  I
 also had a job during my college days developing multimedia, and that
 experience was invaluable.

 A lot of people in this field will say don't waste your time with a
 degree, and a lot of people find sucess without them, but to me, it's
 been worth every penny (and with my higher salary, I was able to pay of
 my student loans! :) .  I also have the opportunity to persue a PhD
 someday, which I have considered.   Finally, I have the piece of mind
 that when a potential employer compares my resume with another equally
 experienced person but without a degree, I have the upper hand.  Yes,
 the number one thing employers want is someone who can do the job, but
 the second thing they would want is someone who has hit the books to get
 the general knowledge that comes from a degree, and also looks good on
 paper.

 Jason Merrill
 Bank of America
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  Innovative Learning Blog  subscribe.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Jon Bradley
 Sent: Wednesday, August 20, 2008 9:02 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] how many coders here actually have
 a degree related to computer science?
 
 On Aug 19, 2008, at 5:25 PM, Anthony Pace wrote:
 
  Do you have a degree related to computer science? if not, how
  difficult is it getting jobs programming AS3 without one?
 
 I think comp sci is much more geared toward software and
 computer engineering, as opposed to programming for rich media.
 
 Personally, I went to school for optical engineering and
 physics. I dropped out senior year, second semester, to start
 my own interactive/ web company. Ten years later and I'm now
 a 3d vfx artist - certainly a difference from where I started.
 
 I definitely believe that my education has had a profound
 effect in my career choice and overall skill level in my
 niche. I do wish I completed my degree, at the very least for
 the feel-good aspect.
 
 A degree in some field of new media study and course work
 that has a fair amount of interactive (programming and design
 included) may get you further than a comp sci degree.
 
 Actionscript development is not just programming. It requires
 both sides of the brain to do well because much of what you
 do when programming in Flash has a direct visual effect.
 
 just my 0.02.
 
 good luck!
 
 -jon
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 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] how many coders here actually have a degree related to computer science?

2008-08-20 Thread allandt bik-elliott (thefieldcomic.com)
i would say that there are lorry-sized holes in my knowledge that someone
with a programming based degree would not have - a lot of higher level trig
and physics for instance but i've been blessed with just the right contracts
to learn while doing so it doesn't seem to have slowed me down

On Wed, Aug 20, 2008 at 5:09 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 no degree but i'm freelance, self-taught and lucky so it's less of an issue




 On Wed, Aug 20, 2008 at 3:51 PM, Merrill, Jason 
 [EMAIL PROTECTED] wrote:

 I have a Master's in Instructional Technology, which was focused on
 multimedia design and development for training and learning, and while a
 lot of people in the multimedia field will say you don't need a degree
 to be sucessful, that may be true, but it certainly does and can help
 with:  gaining BROAD fundamental knowledge that is hard to get on your
 own, opportunities to command a higher salary (if two resumes side by
 side are by all means equal and the same in experience, but one guy has
 a degree and the other doesn't - who do you think they are going to
 pick?), oppotunities to teach at higher institutions, you look more
 impressive on paper when you are bidding on contracts or whatever.  I
 also had a job during my college days developing multimedia, and that
 experience was invaluable.

 A lot of people in this field will say don't waste your time with a
 degree, and a lot of people find sucess without them, but to me, it's
 been worth every penny (and with my higher salary, I was able to pay of
 my student loans! :) .  I also have the opportunity to persue a PhD
 someday, which I have considered.   Finally, I have the piece of mind
 that when a potential employer compares my resume with another equally
 experienced person but without a degree, I have the upper hand.  Yes,
 the number one thing employers want is someone who can do the job, but
 the second thing they would want is someone who has hit the books to get
 the general knowledge that comes from a degree, and also looks good on
 paper.

 Jason Merrill
 Bank of America
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  Innovative Learning Blog  subscribe.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Jon Bradley
 Sent: Wednesday, August 20, 2008 9:02 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] how many coders here actually have
 a degree related to computer science?
 
 On Aug 19, 2008, at 5:25 PM, Anthony Pace wrote:
 
  Do you have a degree related to computer science? if not, how
  difficult is it getting jobs programming AS3 without one?
 
 I think comp sci is much more geared toward software and
 computer engineering, as opposed to programming for rich media.
 
 Personally, I went to school for optical engineering and
 physics. I dropped out senior year, second semester, to start
 my own interactive/ web company. Ten years later and I'm now
 a 3d vfx artist - certainly a difference from where I started.
 
 I definitely believe that my education has had a profound
 effect in my career choice and overall skill level in my
 niche. I do wish I completed my degree, at the very least for
 the feel-good aspect.
 
 A degree in some field of new media study and course work
 that has a fair amount of interactive (programming and design
 included) may get you further than a comp sci degree.
 
 Actionscript development is not just programming. It requires
 both sides of the brain to do well because much of what you
 do when programming in Flash has a direct visual effect.
 
 just my 0.02.
 
 good luck!
 
 -jon
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 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] how many coders here actually have a degree related to computer science?

2008-08-22 Thread allandt bik-elliott (thefieldcomic.com)
so here's a question - if you have spent any amount of time doing the job,
would you consider going back and getting degree?

On Fri, Aug 22, 2008 at 3:26 AM, Helmut Granda [EMAIL PROTECTED]wrote:

 Right, and that is why I partially agree with the post I was referring to,
 specially because life without a college is not for everyone.
 Going back to my main point I still believe that not having a degree does
 not necessary mean that you are not motivated.

 On Thu, Aug 21, 2008 at 7:32 PM, Kerry Thompson [EMAIL PROTECTED]
 wrote:

  Helmut Granda wrote:
 
   But i still feel that not having a degree shows that you are not
  motivated.
 
  That's a good rule of thumb, and words to live by (and study by). Of
  course,
  we can point to the exceptions--Bill Gates dropped out of Harvard, I
  believe
  it was--but the odds are heavily in your favor with a degree. From time
 to
  time I see reports of studies that show lifetime earnings, and, without
  exception, average lifetime earnings with a degree are hundreds of
  thousands
  of dollars more than without.
 
  Cordially,
 
  Kerry Thompson
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 ...helmut
 ___
 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] TweenMax help needed

2008-08-22 Thread allandt bik-elliott (thefieldcomic.com)
hi folks - i have a quick question

can anyone tell me if i use delay and delayIncrement in the same TweenMax
call, will they clash?

so

will delayIncrement:0.05 and delay:_delay overwrite each other?
TweenMax.allTo(aTilesToMove, .2, {_y:nMoveAmount, ease:Quad.easeIn,
delayIncrement:0.05, overwrite:false, , onStart:nextAnimationFrame,
onStartParams:[_oAnimationObject]});

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


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

2008-08-22 Thread allandt bik-elliott (thefieldcomic.com)
lol

On Fri, Aug 22, 2008 at 4:22 PM, John Winkelman [EMAIL PROTECTED] wrote:

 Well, I got my degree in Russian Studies, which means I can read all of my
 spam. I guess that counts for something.



 --
 [EMAIL PROTECTED]
 www.eccesignum.org


 ___
 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] TweenMax help needed

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
man - that would be sweet - i'll send it now

a

On Tue, Aug 26, 2008 at 3:10 AM, Jack Doyle [EMAIL PROTECTED] wrote:

 Absolutely not - I've never heard of (or experienced) any problems with
 intervals and TweenMax. I can't imagine anything TweenMax-related that
 would
 cause the problems you described. I'd love to see your code, though. The
 reason for the delayedCall() in TweenMax is just convenience. Timing is
 synchronized with tweens and you can pause/resume all the delayed calls
 (and/or tweens) at once.

 Feel free to send me your code - I'm sure we can figure out what the issue
 was.

 Jack

 -Original Message-
 From: Allandt Bik-Elliott (Receptacle) [mailto:
 [EMAIL PROTECTED]

 Sent: Monday, August 25, 2008 12:38 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] TweenMax help needed

 sweet

 i actually found a workaround for my issue - i used the
 TweenMax.delayedCall to run my functions instead of running delay:
 and delayIncrement: and that seemed to fix the problem i had.

 On a side note - i was using a setInterval to add pauses in between
 firing the different tweens i was doing (as part of a larger
 animation manager package) and it seemed to have problems doing both
 the tweens and the interval - the numbers i was passing to the
 interval were behaving very strangely - they were behaving like
 seconds rather than milliseconds and the whole interval would fall
 over after a couple of calls (hence me digging into the tweenmax api
 for the delay and delayedCall options). So it would seem that
 TweenMax doesn't play nice with setInterval. Is this a recognised
 issue (and the reason for a delayedCall method)?

 a


 On 24 Aug 2008, at 16:34, Jack Doyle wrote:

  Sure, you can use delay and delayIncrement together in a
  TweenMax.allTo()
  call. They work great together.
 
  Also, I should mention that I'm releasing a pretty significant
  upgrade to
  the TweenLite/TweenFilterLite/TweenMax family soon. Probably the
  biggest
  enhancement has to do with a new OverwriteManager class that gives
  you lots
  of control of how (and if) tweens handle overlaps/conflicts,
  including an
  AUTO mode that only overwrites individual overlapping properties
  instead
  of the entire tweens. There are actually 4 modes from which to
  choose (NONE,
  ALL, AUTO, and CONCURRENT). This means you'll probably never have
  to type
  overwrite:false again. Keep an eye on http://blog.greensock.com
  for the
  announcement.
 
  If anyone would like me to e-mail them when the update is ready,
  just let me
  know by sending me an e-mail with TweenMax update in the subject.
 
  Jack
 
 
  -Original Message-
  From: allandt bik-elliott (thefieldcomic.com)
  [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 22, 2008 10:27 AM
  To: Flash Coders List
  Subject: [Flashcoders] TweenMax help needed
 
  hi folks - i have a quick question
 
  can anyone tell me if i use delay and delayIncrement in the same
  TweenMax
  call, will they clash?
 
  so
 
  will delayIncrement:0.05 and delay:_delay overwrite each other?
  TweenMax.allTo(aTilesToMove, .2, {_y:nMoveAmount, ease:Quad.easeIn,
  delayIncrement:0.05, overwrite:false, , onStart:nextAnimationFrame,
  onStartParams:[_oAnimationObject]});
 
  thanks
  a
 
 
 
  ___
  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] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

i'm speccing an xml file for a server side dev that needs to return a target
date and time and i wanted to make sure i wasn't doing anything stupid

what would a php dev be expecting to use for time / date and how would that
be supplied in an xml file? And what would the best way of converting the
return string for flash to use?

I was thinking something along the lines of
data date=2008,08,26 time=12,0,0 /

and using something like

var sDate:String = node.attributes.date;
var sTime:String = node.attributes.time;

var arDate:Array = sDate.split(,);
var nYear:Number = Number(arDate[0]);
var nMonth:Number = Number(arDate[1]-1); // months start at 0
var nDate:Number = Number(arDate[2]);

var arTime:Array = sTime.split(,);
var nTimeHours:Number = Number(arTime[0]);
var nTimeMinutes:Number = Number(arTime[1]);
var nTimeSeconds:Number = Number(arTime[2]);

var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
nTimeMinutes, nTimeSeconds);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
hmm - this is actually an as2 class so i wouldn't be able to use
toXMLString() - is there anything similar i can use, do you think?

a

On Tue, Aug 26, 2008 at 11:28 AM, Cor [EMAIL PROTECTED] wrote:

 Yes, but still it is depending of the localtime.

 Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00
 GMT+0200
 2008



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
 Kawamoto
 Sent: dinsdag 26 augustus 2008 12:22
 To: Flash Coders List
 Subject: Re: [Flashcoders] is there a recognised date format for xml?

 If so I'd ask my PHP coder to generate formatted string so that I need
 to code less ;)

 e.g.
 var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
 var targetDate:Date = new Date([EMAIL PROTECTED]());

 ...a lot less code than yours!

 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 Cor wrote:
  In PHP you can do whatever you want: see http://nl.php.net/date
  I think it can also depend on your server.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of allandt
  bik-elliott (thefieldcomic.com)
  Sent: dinsdag 26 augustus 2008 11:48
  To: Flash Coders List
  Subject: [Flashcoders] is there a recognised date format for xml?
 
  hi guys
 
  i'm speccing an xml file for a server side dev that needs to return a
 target
  date and time and i wanted to make sure i wasn't doing anything stupid
 
  what would a php dev be expecting to use for time / date and how would
 that
  be supplied in an xml file? And what would the best way of converting the
  return string for flash to use?
 
  I was thinking something along the lines of
  data date=2008,08,26 time=12,0,0 /
 
  and using something like
 
  var sDate:String = node.attributes.date;
  var sTime:String = node.attributes.time;
 
  var arDate:Array = sDate.split(,);
  var nYear:Number = Number(arDate[0]);
  var nMonth:Number = Number(arDate[1]-1); // months start at 0
  var nDate:Number = Number(arDate[2]);
 
  var arTime:Array = sTime.split(,);
  var nTimeHours:Number = Number(arTime[0]);
  var nTimeMinutes:Number = Number(arTime[1]);
  var nTimeSeconds:Number = Number(arTime[2]);
 
  var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
  nTimeMinutes, nTimeSeconds);
 ___
 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] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
this also needs to be used in a countdown - so i could maybe get the server
to give it's current time and the target time and countdown between the 2?

a

On Tue, Aug 26, 2008 at 11:43 AM, Kenneth Kawamoto 
[EMAIL PROTECTED] wrote:

 Isn't that always the case no matter how you construct the date object?


 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 Cor wrote:

 Yes, but still it is depending of the localtime.

 Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00
 GMT+0200
 2008



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
 Kawamoto
 Sent: dinsdag 26 augustus 2008 12:22
 To: Flash Coders List
 Subject: Re: [Flashcoders] is there a recognised date format for xml?

 If so I'd ask my PHP coder to generate formatted string so that I need to
 code less ;)

 e.g.
 var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
 var targetDate:Date = new Date([EMAIL PROTECTED]());

 ...a lot less code than yours!

 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 Cor wrote:

 In PHP you can do whatever you want: see http://nl.php.net/date
 I think it can also depend on your server.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of allandt
 bik-elliott (thefieldcomic.com)
 Sent: dinsdag 26 augustus 2008 11:48
 To: Flash Coders List
 Subject: [Flashcoders] is there a recognised date format for xml?

 hi guys

 i'm speccing an xml file for a server side dev that needs to return a

 target

 date and time and i wanted to make sure i wasn't doing anything stupid

 what would a php dev be expecting to use for time / date and how would

 that

 be supplied in an xml file? And what would the best way of converting the
 return string for flash to use?

 I was thinking something along the lines of
 data date=2008,08,26 time=12,0,0 /

 and using something like

 var sDate:String = node.attributes.date;
 var sTime:String = node.attributes.time;

 var arDate:Array = sDate.split(,);
 var nYear:Number = Number(arDate[0]);
 var nMonth:Number = Number(arDate[1]-1); // months start at 0
 var nDate:Number = Number(arDate[2]);

 var arTime:Array = sTime.split(,);
 var nTimeHours:Number = Number(arTime[0]);
 var nTimeMinutes:Number = Number(arTime[1]);
 var nTimeSeconds:Number = Number(arTime[2]);

 var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
 nTimeMinutes, nTimeSeconds);


  ___
 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] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
yes it's local

On Tue, Aug 26, 2008 at 11:46 AM, Cor [EMAIL PROTECTED] wrote:

 Mmmm, I don't know??
 Somebody out there who does???

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
 Kawamoto
 Sent: dinsdag 26 augustus 2008 12:43
 To: 'Flash Coders List'
 Subject: Re: [Flashcoders] is there a recognised date format for xml?

 Isn't that always the case no matter how you construct the date object?

 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 Cor wrote:
  Yes, but still it is depending of the localtime.
 
  Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00
 GMT+0200
  2008
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
  Kawamoto
  Sent: dinsdag 26 augustus 2008 12:22
  To: Flash Coders List
  Subject: Re: [Flashcoders] is there a recognised date format for xml?
 
  If so I'd ask my PHP coder to generate formatted string so that I need
  to code less ;)
 
  e.g.
  var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
  var targetDate:Date = new Date([EMAIL PROTECTED]());
 
  ...a lot less code than yours!
 
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/
 
  Cor wrote:
  In PHP you can do whatever you want: see http://nl.php.net/date
  I think it can also depend on your server.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of allandt
  bik-elliott (thefieldcomic.com)
  Sent: dinsdag 26 augustus 2008 11:48
  To: Flash Coders List
  Subject: [Flashcoders] is there a recognised date format for xml?
 
  hi guys
 
  i'm speccing an xml file for a server side dev that needs to return a
  target
  date and time and i wanted to make sure i wasn't doing anything stupid
 
  what would a php dev be expecting to use for time / date and how would
  that
  be supplied in an xml file? And what would the best way of converting
 the
  return string for flash to use?
 
  I was thinking something along the lines of
  data date=2008,08,26 time=12,0,0 /
 
  and using something like
 
  var sDate:String = node.attributes.date;
  var sTime:String = node.attributes.time;
 
  var arDate:Array = sDate.split(,);
  var nYear:Number = Number(arDate[0]);
  var nMonth:Number = Number(arDate[1]-1); // months start at 0
  var nDate:Number = Number(arDate[2]);
 
  var arTime:Array = sTime.split(,);
  var nTimeHours:Number = Number(arTime[0]);
  var nTimeMinutes:Number = Number(arTime[1]);
  var nTimeSeconds:Number = Number(arTime[2]);
 
  var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
  nTimeMinutes, nTimeSeconds);
 
 ___
 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] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
The app is designed for people only in the uk - it will show the current
time and the amount of time remaining until the countdown is finished so it
will probably be worth giving the time based on the server time and setting
the time in flash based on that

the original question was about the best practise for getting the time for
flash from xml

thanks for the input so far guys
a

On Tue, Aug 26, 2008 at 12:16 PM, Cor [EMAIL PROTECTED] wrote:

 So what if a user (from another continent) starts your app.
 The difference will be greater or even before the server time.
 So you would get a negative value???

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of allandt
 bik-elliott (thefieldcomic.com)
 Sent: dinsdag 26 augustus 2008 12:56
 To: Flash Coders List
 Subject: Re: [Flashcoders] is there a recognised date format for xml?

 yes it's local

 On Tue, Aug 26, 2008 at 11:46 AM, Cor [EMAIL PROTECTED] wrote:

  Mmmm, I don't know??
  Somebody out there who does???
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
  Kawamoto
  Sent: dinsdag 26 augustus 2008 12:43
  To: 'Flash Coders List'
  Subject: Re: [Flashcoders] is there a recognised date format for xml?
 
  Isn't that always the case no matter how you construct the date object?
 
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/
 
  Cor wrote:
   Yes, but still it is depending of the localtime.
  
   Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00
  GMT+0200
   2008
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
 Kenneth
   Kawamoto
   Sent: dinsdag 26 augustus 2008 12:22
   To: Flash Coders List
   Subject: Re: [Flashcoders] is there a recognised date format for xml?
  
   If so I'd ask my PHP coder to generate formatted string so that I need
   to code less ;)
  
   e.g.
   var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
   var targetDate:Date = new Date([EMAIL PROTECTED]());
  
   ...a lot less code than yours!
  
   Kenneth Kawamoto
   http://www.materiaprima.co.uk/
  
   Cor wrote:
   In PHP you can do whatever you want: see http://nl.php.net/date
   I think it can also depend on your server.
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
 allandt
   bik-elliott (thefieldcomic.com)
   Sent: dinsdag 26 augustus 2008 11:48
   To: Flash Coders List
   Subject: [Flashcoders] is there a recognised date format for xml?
  
   hi guys
  
   i'm speccing an xml file for a server side dev that needs to return a
   target
   date and time and i wanted to make sure i wasn't doing anything stupid
  
   what would a php dev be expecting to use for time / date and how would
   that
   be supplied in an xml file? And what would the best way of converting
  the
   return string for flash to use?
  
   I was thinking something along the lines of
   data date=2008,08,26 time=12,0,0 /
  
   and using something like
  
   var sDate:String = node.attributes.date;
   var sTime:String = node.attributes.time;
  
   var arDate:Array = sDate.split(,);
   var nYear:Number = Number(arDate[0]);
   var nMonth:Number = Number(arDate[1]-1); // months start at 0
   var nDate:Number = Number(arDate[2]);
  
   var arTime:Array = sTime.split(,);
   var nTimeHours:Number = Number(arTime[0]);
   var nTimeMinutes:Number = Number(arTime[1]);
   var nTimeSeconds:Number = Number(arTime[2]);
  
   var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
   nTimeMinutes, nTimeSeconds);
  
  ___
  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] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
would that be the same as the php time() method? because that would be super

On Tue, Aug 26, 2008 at 1:27 PM, Hans Wichman 
[EMAIL PROTECTED] wrote:

 Hi,

 isnt milliseconds since 1970 easier?
 Something like:
 date value=103810313 /
 new Date ().setTime(103810313))

 greetz
 JC

 On Tue, Aug 26, 2008 at 1:33 PM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

  The app is designed for people only in the uk - it will show the current
  time and the amount of time remaining until the countdown is finished so
 it
  will probably be worth giving the time based on the server time and
 setting
  the time in flash based on that
 
  the original question was about the best practise for getting the time
 for
  flash from xml
 
  thanks for the input so far guys
  a
 
  On Tue, Aug 26, 2008 at 12:16 PM, Cor [EMAIL PROTECTED] wrote:
 
   So what if a user (from another continent) starts your app.
   The difference will be greater or even before the server time.
   So you would get a negative value???
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
 allandt
   bik-elliott (thefieldcomic.com)
   Sent: dinsdag 26 augustus 2008 12:56
   To: Flash Coders List
   Subject: Re: [Flashcoders] is there a recognised date format for xml?
  
   yes it's local
  
   On Tue, Aug 26, 2008 at 11:46 AM, Cor [EMAIL PROTECTED] wrote:
  
Mmmm, I don't know??
Somebody out there who does???
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
  Kenneth
Kawamoto
Sent: dinsdag 26 augustus 2008 12:43
To: 'Flash Coders List'
Subject: Re: [Flashcoders] is there a recognised date format for xml?
   
Isn't that always the case no matter how you construct the date
 object?
   
Kenneth Kawamoto
http://www.materiaprima.co.uk/
   
Cor wrote:
 Yes, but still it is depending of the localtime.

 Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00
GMT+0200
 2008



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
   Kenneth
 Kawamoto
 Sent: dinsdag 26 augustus 2008 12:22
 To: Flash Coders List
 Subject: Re: [Flashcoders] is there a recognised date format for
 xml?

 If so I'd ask my PHP coder to generate formatted string so that I
  need
 to code less ;)

 e.g.
 var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
 var targetDate:Date = new Date([EMAIL PROTECTED]());

 ...a lot less code than yours!

 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 Cor wrote:
 In PHP you can do whatever you want: see http://nl.php.net/date
 I think it can also depend on your server.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
   allandt
 bik-elliott (thefieldcomic.com)
 Sent: dinsdag 26 augustus 2008 11:48
 To: Flash Coders List
 Subject: [Flashcoders] is there a recognised date format for xml?

 hi guys

 i'm speccing an xml file for a server side dev that needs to
 return
  a
 target
 date and time and i wanted to make sure i wasn't doing anything
  stupid

 what would a php dev be expecting to use for time / date and how
  would
 that
 be supplied in an xml file? And what would the best way of
  converting
the
 return string for flash to use?

 I was thinking something along the lines of
 data date=2008,08,26 time=12,0,0 /

 and using something like

 var sDate:String = node.attributes.date;
 var sTime:String = node.attributes.time;

 var arDate:Array = sDate.split(,);
 var nYear:Number = Number(arDate[0]);
 var nMonth:Number = Number(arDate[1]-1); // months start at 0
 var nDate:Number = Number(arDate[2]);

 var arTime:Array = sTime.split(,);
 var nTimeHours:Number = Number(arTime[0]);
 var nTimeMinutes:Number = Number(arTime[1]);
 var nTimeSeconds:Number = Number(arTime[2]);

 var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
 nTimeMinutes, nTimeSeconds);

___
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: [SOLVED] [Flashcoders] is there a recognised date format for xml?

2008-08-26 Thread allandt bik-elliott (thefieldcomic.com)
that's great

thanks for all your help guys

because i'm using as2, i've decided to go with the
Date.getTime()/Date.setTime() and get the serverside devs to spit out the
number in milliseconds using time() (possibly *1000) as i can pass that
straight to the Date object and let that work everything out for me.



On Tue, Aug 26, 2008 at 2:37 PM, Mark Walters
[EMAIL PROTECTED]wrote:

 This is a good format to follow for date and time in XML:
 http://www.w3.org/TR/NOTE-datetime .

 Eg:

   Year:
   (eg 1997)
   Year and month:
  -MM (eg 1997-07)
   Complete date:
  -MM-DD (eg 1997-07-16)
   Complete date plus hours and minutes:
  -MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)
   Complete date plus hours, minutes and seconds:
  -MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)
   Complete date plus hours, minutes, seconds and a decimal fraction of a
 second
  -MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)

 where:

  = four-digit year
 MM   = two-digit month (01=January, etc.)
 DD   = two-digit day of month (01 through 31)
 hh   = two digits of hour (00 through 23) (am/pm NOT allowed)
 mm   = two digits of minute (00 through 59)
 ss   = two digits of second (00 through 59)
 s= one or more digits representing a decimal fraction of a second
 TZD  = time zone designator (Z or +hh:mm or -hh:mm)

 There's even a method in the DateUtil class included in the AS3CoreLib that
 parses this format.

 - Mark


 On Tue, Aug 26, 2008 at 5:48 AM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

  hi guys
 
  i'm speccing an xml file for a server side dev that needs to return a
  target
  date and time and i wanted to make sure i wasn't doing anything stupid
 
  what would a php dev be expecting to use for time / date and how would
 that
  be supplied in an xml file? And what would the best way of converting the
  return string for flash to use?
 
  I was thinking something along the lines of
  data date=2008,08,26 time=12,0,0 /
 
  and using something like
 
  var sDate:String = node.attributes.date;
  var sTime:String = node.attributes.time;
 
  var arDate:Array = sDate.split(,);
  var nYear:Number = Number(arDate[0]);
  var nMonth:Number = Number(arDate[1]-1); // months start at 0
  var nDate:Number = Number(arDate[2]);
 
  var arTime:Array = sTime.split(,);
  var nTimeHours:Number = Number(arTime[0]);
  var nTimeMinutes:Number = Number(arTime[1]);
  var nTimeSeconds:Number = Number(arTime[2]);
 
  var targetDate:Date = new Date(nYear, nMonth, nDate, nTimeHours,
  nTimeMinutes, nTimeSeconds);
  ___
  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] pythagoras question

2008-08-27 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

I'm doing something wrong in my pythagoras theorum but i'm not seeing what
it is right now

i'm trying to find out the coordinates for a point on a line. I know the
start x, end x, start y, end y, c length for the line and i know how far
along c the point should be (call it vector length) but i'm a little stumped
as to where to go from there

the psuedo code for what i've been trying is

vector x = start x / end x
vector y = start y / end y
train x = (vector x * vector length) + start x
train y = (vector x * vector length) + start y

I think i have my maths very wrong here - hope you guys can help

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


Re: [Flashcoders] [Flashcoders tweening glowfilter from inner to outer

2008-08-28 Thread allandt bik-elliott (thefieldcomic.com)
can you input negative values into one or the other?

On Wed, Aug 27, 2008 at 9:06 PM, Hans Wichman 
[EMAIL PROTECTED] wrote:

 Hi,

 I don't think tweening from inner to outer is possible, unless you use
 multiple glow filters.

 greetz
 JC

 On Wed, Aug 27, 2008 at 9:43 PM, eric e. dolecki [EMAIL PROTECTED]
 wrote:
  Can tweenfilterlite tween from inner to outer glows elegantly? The server
  isn't responding for me to check myself without setting up test code.
 Might
  do anyway.
  Eric
  ___
  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] XML and best method

2008-08-28 Thread allandt bik-elliott (thefieldcomic.com)
yes the second one is shorter :)

i try to keep child nodes to a minimum - 1 per 'object' and only really use
them when describing one of several same-level objects

On Thu, Aug 28, 2008 at 2:58 PM, Matt S. [EMAIL PROTECTED] wrote:

 Speaking from recent experience, lots of little XML files is ok if
 you're accessing them one at a time, but if you need to pull up more
 than one at a time, it can get slow quick. I had a project where I had
 to load 5-10 small xmls (really small, just basic image galleries, 10
 items max each), and it seemed like the initial process of loading the
 XML files (load one, increment xml ID, load the next, etc) was the
 lions share of the load time, so that when it was 10 xmls at once it
 started to take annoyingly long (especially since that was then
 followed by the actual images needing to be loaded). In the end we
 compiled all the xmls into one big XML and loaded that up front. But
 on other projects, when I was just loading single small xml files one
 at a time, it wasnt a problem.

 I would be curious though, my impression from that experience was that
 alot of the load time on an XML file comes from that initial loading
 of the file, not so much the stepping through the XML, is that
 accurate? And is there any difference in load time between this:

 image
   pathimageurl/path
   nameimagename.jpg/name
   width800/width
   height600/height
 /image

 vs this:

 image path=imageurl name=imagename.jpg width=800 height=600 /

 .m

 On Thu, Aug 28, 2008 at 9:35 AM, Lehr, Theodore M (N-SGIS)
 [EMAIL PROTECTED] wrote:
  I have a project that involves xml... I am wondering how I should
  organize my xml... would it be best (from a flash perspective) for it to
  be on huge xml file with lots and lots of children - or would I be
  better off breaking it into multiple xml files where one xml tag
  references another xml file and so on...
 
  ___
  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] XML and best method

2008-08-28 Thread allandt bik-elliott (thefieldcomic.com)
there might be - for loops are a pretty slow way of accessing an array for
instance (although they look lovely and keep things neat) - it's actually
faster to add each node of an array manually so in theory, the fewer times
the app has to loop through large nests of xml (similar process), the
better.

for really large xml files, i suppose the extra file weight of the extra
verbosity (is that a word?) of a heavy nest over one that makes more use of
attributes might make a difference in load times as well although i think
it'd have to be a seriously large file (or for a seriously slow connection)
to really be a consideration

that said, i would use a child node for large amounts of text / data - you
wouldn't put a whole paragraph into an attribute, for instance. Nor would
you want to put html formatted text into an attribute (i don't even think
you can?)

so:

?xml version=1.0 encoding=UTF-8?
trainupdate result=success currtime=1219755890344
targettime=122002920 distance=180 weather=rain winddir=45
windspeed=18
train position=26 speed=40 departing=Departing 1pm
stoptext=Leaves on line /
Here is a paragraph of copy describing the function and focus of the
train in question. I could go on like this for hours. Would you like me to?
/train
train position=65 speed=60 departing=Departing 3pm
stoptext=Signal failure /
Not as much but we're following a precedent
/train
/trainupdate


On Thu, Aug 28, 2008 at 6:05 PM, Matt S. [EMAIL PROTECTED] wrote:

 Thanks. Do you know if the difference is dramatic?  Just curious,
 especially since most experts eg Moock's books dont shy away from
 node-heavy XML generally, but if there are serious performance
 considerations you'd think they would.

 .m

 On Thu, Aug 28, 2008 at 10:27 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  yes the second one is shorter :)
 
  i try to keep child nodes to a minimum - 1 per 'object' and only really
 use
  them when describing one of several same-level objects
 
  On Thu, Aug 28, 2008 at 2:58 PM, Matt S. [EMAIL PROTECTED] wrote:
 
  Speaking from recent experience, lots of little XML files is ok if
  you're accessing them one at a time, but if you need to pull up more
  than one at a time, it can get slow quick. I had a project where I had
  to load 5-10 small xmls (really small, just basic image galleries, 10
  items max each), and it seemed like the initial process of loading the
  XML files (load one, increment xml ID, load the next, etc) was the
  lions share of the load time, so that when it was 10 xmls at once it
  started to take annoyingly long (especially since that was then
  followed by the actual images needing to be loaded). In the end we
  compiled all the xmls into one big XML and loaded that up front. But
  on other projects, when I was just loading single small xml files one
  at a time, it wasnt a problem.
 
  I would be curious though, my impression from that experience was that
  alot of the load time on an XML file comes from that initial loading
  of the file, not so much the stepping through the XML, is that
  accurate? And is there any difference in load time between this:
 
  image
pathimageurl/path
nameimagename.jpg/name
width800/width
height600/height
  /image
 
  vs this:
 
  image path=imageurl name=imagename.jpg width=800 height=600 /
 
  .m
 
  On Thu, Aug 28, 2008 at 9:35 AM, Lehr, Theodore M (N-SGIS)
  [EMAIL PROTECTED] wrote:
   I have a project that involves xml... I am wondering how I should
   organize my xml... would it be best (from a flash perspective) for it
 to
   be on huge xml file with lots and lots of children - or would I be
   better off breaking it into multiple xml files where one xml tag
   references another xml file and so on...
  
   ___
   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] OT: Hug a developer

2008-08-29 Thread allandt bik-elliott (thefieldcomic.com)
http://www.develop-one.net/blog/2008/08/27/HugADeveloper.aspx

really great - must be friday

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


[Flashcoders] strange as2 combobox issue

2008-08-29 Thread allandt bik-elliott (thefieldcomic.com)
Hi folks

I've got a combobox that is in a swf that get's dynamically loaded into a
master clip with a mask on the container (so the combobox is in a masked,
loaded swf). When it first shows on the stage, the text area shows the
default text (in this case 'Select') but when the cb is clicked on, none of
the contents are rendered until something is clicked again - either the
scrollbar or one of the fields, and then it works properly again.

Has anyone seen anything like this before? Is it something to do with the
focus manager? Will captain america come back from the dead?

thanks for all your help (don't need the third question answered - he
blatantly will)
alz
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] strange as2 combobox issue

2008-08-29 Thread allandt bik-elliott (thefieldcomic.com)
we did the lockroot thing - strange this is, without any rhyme or reason, it
still doesn't work when the loaded swf is viewed but when it's viewed
through the main swf, it's all lovely jubbly again

'sgot me knackered but i'm not touching anything :)



On Fri, Aug 29, 2008 at 12:18 PM, Ian Thomas [EMAIL PROTECTED] wrote:

 On Fri, Aug 29, 2008 at 11:53 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  Hi folks
 
  I've got a combobox that is in a swf that get's dynamically loaded into a
  master clip with a mask on the container (so the combobox is in a masked,
  loaded swf). When it first shows on the stage, the text area shows the
  default text (in this case 'Select') but when the cb is clicked on, none
 of
  the contents are rendered until something is clicked again - either the
  scrollbar or one of the fields, and then it works properly again.

 I eventually threw away the AS2 ComboBox because it was so buggy.

 However, some problems can be cured by:
 - Making sure there's a ComboBox instance in the top-level SWF (i.e.
 the SWF that is doing the loading); even if it's off-stage somewhere
 (or in a library symbol, as long as that library symbol is set to
 export in frame 1).
 - Using _lockroot=true on the loaded clip.

 HTH,
  Ian
 ___
 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] strange as2 combobox issue

2008-08-29 Thread allandt bik-elliott (thefieldcomic.com)
if i use this._lockroot = true on the loaded swf (the one with the cbox),
will that mess it up if it is used on it's own

the behaviour seems to be that it is flaky when tested using command-return
but when viewed in the browser as part of the bigger site, it 'seems' fine.

On Fri, Aug 29, 2008 at 12:29 PM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 we did the lockroot thing - strange this is, without any rhyme or reason,
 it still doesn't work when the loaded swf is viewed but when it's viewed
 through the main swf, it's all lovely jubbly again

 'sgot me knackered but i'm not touching anything :)




 On Fri, Aug 29, 2008 at 12:18 PM, Ian Thomas [EMAIL PROTECTED] wrote:

 On Fri, Aug 29, 2008 at 11:53 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  Hi folks
 
  I've got a combobox that is in a swf that get's dynamically loaded into
 a
  master clip with a mask on the container (so the combobox is in a
 masked,
  loaded swf). When it first shows on the stage, the text area shows the
  default text (in this case 'Select') but when the cb is clicked on, none
 of
  the contents are rendered until something is clicked again - either the
  scrollbar or one of the fields, and then it works properly again.

 I eventually threw away the AS2 ComboBox because it was so buggy.

 However, some problems can be cured by:
 - Making sure there's a ComboBox instance in the top-level SWF (i.e.
 the SWF that is doing the loading); even if it's off-stage somewhere
 (or in a library symbol, as long as that library symbol is set to
 export in frame 1).
 - Using _lockroot=true on the loaded clip.

 HTH,
  Ian
 ___
 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] strange as2 combobox issue

2008-08-29 Thread allandt bik-elliott (thefieldcomic.com)
in that case, i suspect i might develop a problem in testing - we'll see



On Fri, Aug 29, 2008 at 5:12 PM, Ian Thomas [EMAIL PROTECTED] wrote:

 It shouldn't, no - all _lockroot=true does is tell the loaded clip to
 treat its own timeline as _root, rather than _root being the timeline
 of the top-level clip.

 Ian

 On Fri, Aug 29, 2008 at 4:18 PM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  if i use this._lockroot = true on the loaded swf (the one with the cbox),
  will that mess it up if it is used on it's own
 ___
 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] combobox still giving grief

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
sorry to necro an old thread but i still have a problem

file structure:
one index swf that preloads the main swf
main swf that loads in several different section swfs and masks them in a
frame
the combobox is in one of the masked sections

the issue is this:
i have a combo box that uses an array populated by a loaded xml file as a
dataprovider. It all works just fine apart from that when the combo box is
first opened, the first 'page' of entries doesn't render. If the list is
scrolled or an entry is selected (it's fully populated), the entire list
renders properly, including the entry that's selected.

This happens when the site is viewed on a server and when the file is 'test
movie'd on it's own but it doesn't happen when the index swf is 'test
movie'd or when the site is viewed locally in a browser

The cb uses fonts used throughout the site and they are embedded (i've added
the code for the cb below). It's been suggested that maybe the cb is loaded
before the fonts so that it doesn't get a chance to render properly but i
can't see how that is happeneing  - i've tried added a textfield with the
fonts embedded make sure that that wasn't it (although i haven't added the
fonts to a frame loaded before the cb - i'm trying that now)

the cb is placed manually onstage and has the following code added on the
timeline:

function init():Void {
xml.ignoreWhite = true;
xmlFile = (xmldata != undefined) ? xmldata : PATH();
xml.load(xmlFile);
xml.onData = function (src:String) {
if (src == undefined) {
this.onLoad(false);
} else {
this.parseXML(src);
this.loaded = true;
this.onLoad(true);
parse(); // creates the arrays
}
}

var cBox:Object = {};
cBox.change = function(o:Object):Void
{
//Selection.setFocus(c); // didn't work
//o.target.onKillFocus=undefined; // didn't work
getGeoEvents(
arrayOfUniversitiesNames[mc_university.cb_listOfUniversities.selectedIndex]
); // sends user to correct tab
lock();
}

 // this is the script for the cb
var c:MovieClip = mc_university.cb_listOfUniversities;
c.setStyle(fontFamily, VAG Rounded Light);
c.setStyle(embedFonts, true);
c.addEventListener(change, cBox);
c.dataProvider = arrayOfUniversitiesNames;
c.text = Select;
//Selection.setFocus(c); // didn't work
changeTab(bt_tab);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] combobox still giving grief

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
i've tried amending the combo box to instantiate it on the fly and that
doesn't seem to work either

// first attempt using the component as an mc
//var c:MovieClip = mc_university.cb_listOfUniversities;
//var c:MovieClip = mc_university.attachMovie(ComboBox,
cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
_y:133.6, _width:245});

// second attempt using createClassObject

import mx.controls.ComboBox;

var c:ComboBox = mc_university.createClassObject(ComboBox,
cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
_y:133.6, _width:245});
c.setStyle(fontFamily, Lloyds TSB VAG Rounded Light);
c.setStyle(embedFonts, true);
c.addEventListener(change, cBox);
c.dataProvider = arrayOfUniversitiesNames;
c.text = Select;
//Selection.setFocus(c);
changeTab(bt_tab_university);
unlock();
}


On Wed, Sep 3, 2008 at 11:35 AM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 nope


 On Wed, Sep 3, 2008 at 11:23 AM, Hans Wichman 
 [EMAIL PROTECTED] wrote:

 Hi,
 you're not using runtime file sharing right?
 greetz
 JC

 On Wed, Sep 3, 2008 at 11:48 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  sorry to necro an old thread but i still have a problem
 
  file structure:
  one index swf that preloads the main swf
  main swf that loads in several different section swfs and masks them in
 a
  frame
  the combobox is in one of the masked sections
 
  the issue is this:
  i have a combo box that uses an array populated by a loaded xml file as
 a
  dataprovider. It all works just fine apart from that when the combo box
 is
  first opened, the first 'page' of entries doesn't render. If the list is
  scrolled or an entry is selected (it's fully populated), the entire list
  renders properly, including the entry that's selected.
 
  This happens when the site is viewed on a server and when the file is
 'test
  movie'd on it's own but it doesn't happen when the index swf is 'test
  movie'd or when the site is viewed locally in a browser
 
  The cb uses fonts used throughout the site and they are embedded (i've
 added
  the code for the cb below). It's been suggested that maybe the cb is
 loaded
  before the fonts so that it doesn't get a chance to render properly but
 i
  can't see how that is happeneing  - i've tried added a textfield with
 the
  fonts embedded make sure that that wasn't it (although i haven't added
 the
  fonts to a frame loaded before the cb - i'm trying that now)
 
  the cb is placed manually onstage and has the following code added on
 the
  timeline:
 
 function init():Void {
 xml.ignoreWhite = true;
 xmlFile = (xmldata != undefined) ? xmldata : PATH();
 xml.load(xmlFile);
 xml.onData = function (src:String) {
 if (src == undefined) {
 this.onLoad(false);
 } else {
 this.parseXML(src);
 this.loaded = true;
 this.onLoad(true);
 parse(); // creates the arrays
 }
 }
 
 var cBox:Object = {};
 cBox.change = function(o:Object):Void
 {
 //Selection.setFocus(c); // didn't work
 //o.target.onKillFocus=undefined; // didn't work
 getGeoEvents(
 
 arrayOfUniversitiesNames[mc_university.cb_listOfUniversities.selectedIndex]
  ); // sends user to correct tab
 lock();
 }
 
   // this is the script for the cb
 var c:MovieClip = mc_university.cb_listOfUniversities;
 c.setStyle(fontFamily, VAG Rounded Light);
 c.setStyle(embedFonts, true);
 c.addEventListener(change, cBox);
 c.dataProvider = arrayOfUniversitiesNames;
 c.text = Select;
 //Selection.setFocus(c); // didn't work
 changeTab(bt_tab);
 }
  ___
  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] combobox still giving grief

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
just tried putting the box on the stage and applying the style to it on the
first frame and putting the rest of the code on the second but no joy

On Wed, Sep 3, 2008 at 11:49 AM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 i've tried amending the combo box to instantiate it on the fly and that
 doesn't seem to work either

 // first attempt using the component as an mc
 //var c:MovieClip = mc_university.cb_listOfUniversities;
 //var c:MovieClip = mc_university.attachMovie(ComboBox,
 cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
 _y:133.6, _width:245});

 // second attempt using createClassObject

 import mx.controls.ComboBox;

 var c:ComboBox = mc_university.createClassObject(ComboBox,
 cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
 _y:133.6, _width:245});
 c.setStyle(fontFamily, Lloyds TSB VAG Rounded Light);
 c.setStyle(embedFonts, true);
 c.addEventListener(change, cBox);
 c.dataProvider = arrayOfUniversitiesNames;
 c.text = Select;
 //Selection.setFocus(c);
 changeTab(bt_tab_university);
 unlock();

 }


 On Wed, Sep 3, 2008 at 11:35 AM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

 nope


 On Wed, Sep 3, 2008 at 11:23 AM, Hans Wichman 
 [EMAIL PROTECTED] wrote:

 Hi,
 you're not using runtime file sharing right?
 greetz
 JC

 On Wed, Sep 3, 2008 at 11:48 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  sorry to necro an old thread but i still have a problem
 
  file structure:
  one index swf that preloads the main swf
  main swf that loads in several different section swfs and masks them in
 a
  frame
  the combobox is in one of the masked sections
 
  the issue is this:
  i have a combo box that uses an array populated by a loaded xml file as
 a
  dataprovider. It all works just fine apart from that when the combo box
 is
  first opened, the first 'page' of entries doesn't render. If the list
 is
  scrolled or an entry is selected (it's fully populated), the entire
 list
  renders properly, including the entry that's selected.
 
  This happens when the site is viewed on a server and when the file is
 'test
  movie'd on it's own but it doesn't happen when the index swf is 'test
  movie'd or when the site is viewed locally in a browser
 
  The cb uses fonts used throughout the site and they are embedded (i've
 added
  the code for the cb below). It's been suggested that maybe the cb is
 loaded
  before the fonts so that it doesn't get a chance to render properly but
 i
  can't see how that is happeneing  - i've tried added a textfield with
 the
  fonts embedded make sure that that wasn't it (although i haven't added
 the
  fonts to a frame loaded before the cb - i'm trying that now)
 
  the cb is placed manually onstage and has the following code added on
 the
  timeline:
 
 function init():Void {
 xml.ignoreWhite = true;
 xmlFile = (xmldata != undefined) ? xmldata : PATH();
 xml.load(xmlFile);
 xml.onData = function (src:String) {
 if (src == undefined) {
 this.onLoad(false);
 } else {
 this.parseXML(src);
 this.loaded = true;
 this.onLoad(true);
 parse(); // creates the arrays
 }
 }
 
 var cBox:Object = {};
 cBox.change = function(o:Object):Void
 {
 //Selection.setFocus(c); // didn't work
 //o.target.onKillFocus=undefined; // didn't work
 getGeoEvents(
 
 arrayOfUniversitiesNames[mc_university.cb_listOfUniversities.selectedIndex]
  ); // sends user to correct tab
 lock();
 }
 
   // this is the script for the cb
 var c:MovieClip = mc_university.cb_listOfUniversities;
 c.setStyle(fontFamily, VAG Rounded Light);
 c.setStyle(embedFonts, true);
 c.addEventListener(change, cBox);
 c.dataProvider = arrayOfUniversitiesNames;
 c.text = Select;
 //Selection.setFocus(c); // didn't work
 changeTab(bt_tab);
 }
  ___
  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] [solved] combobox still giving grief

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
i thought maybe the style needed to be applied before the data is added

I found the problem - the data provider wasn't full so i've moved the code
into the onLoad of the xml and it's all behaving lovely jubbly now

thanks for your time guys - i really appreciate it
a

On Wed, Sep 3, 2008 at 12:32 PM, Cor [EMAIL PROTECTED] wrote:

 Why can't you put all the code in the first frame?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of allandt
 bik-elliott (thefieldcomic.com)
 Sent: woensdag 3 september 2008 13:22
 To: Flash Coders List
 Subject: Re: [Flashcoders] combobox still giving grief

 just tried putting the box on the stage and applying the style to it on the
 first frame and putting the rest of the code on the second but no joy

 On Wed, Sep 3, 2008 at 11:49 AM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

  i've tried amending the combo box to instantiate it on the fly and that
  doesn't seem to work either
 
  // first attempt using the component as an mc
  //var c:MovieClip = mc_university.cb_listOfUniversities;
  //var c:MovieClip = mc_university.attachMovie(ComboBox,
  cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
  _y:133.6, _width:245});
 
  // second attempt using createClassObject
 
  import mx.controls.ComboBox;
 
  var c:ComboBox = mc_university.createClassObject(ComboBox,
  cb_listOfUniversities, mc_university.getNextHighestDepth(), {_x:74,
  _y:133.6, _width:245});
  c.setStyle(fontFamily, Lloyds TSB VAG Rounded Light);
  c.setStyle(embedFonts, true);
  c.addEventListener(change, cBox);
  c.dataProvider = arrayOfUniversitiesNames;
  c.text = Select;
  //Selection.setFocus(c);
  changeTab(bt_tab_university);
  unlock();
 
  }
 
 
  On Wed, Sep 3, 2008 at 11:35 AM, allandt bik-elliott (thefieldcomic.com)
 
  [EMAIL PROTECTED] wrote:
 
  nope
 
 
  On Wed, Sep 3, 2008 at 11:23 AM, Hans Wichman 
  [EMAIL PROTECTED] wrote:
 
  Hi,
  you're not using runtime file sharing right?
  greetz
  JC
 
  On Wed, Sep 3, 2008 at 11:48 AM, allandt bik-elliott
  (thefieldcomic.com) [EMAIL PROTECTED] wrote:
   sorry to necro an old thread but i still have a problem
  
   file structure:
   one index swf that preloads the main swf
   main swf that loads in several different section swfs and masks them
 in
  a
   frame
   the combobox is in one of the masked sections
  
   the issue is this:
   i have a combo box that uses an array populated by a loaded xml file
 as
  a
   dataprovider. It all works just fine apart from that when the combo
 box
  is
   first opened, the first 'page' of entries doesn't render. If the list
  is
   scrolled or an entry is selected (it's fully populated), the entire
  list
   renders properly, including the entry that's selected.
  
   This happens when the site is viewed on a server and when the file is
  'test
   movie'd on it's own but it doesn't happen when the index swf is 'test
   movie'd or when the site is viewed locally in a browser
  
   The cb uses fonts used throughout the site and they are embedded
 (i've
  added
   the code for the cb below). It's been suggested that maybe the cb is
  loaded
   before the fonts so that it doesn't get a chance to render properly
 but
  i
   can't see how that is happeneing  - i've tried added a textfield with
  the
   fonts embedded make sure that that wasn't it (although i haven't
 added
  the
   fonts to a frame loaded before the cb - i'm trying that now)
  
   the cb is placed manually onstage and has the following code added on
  the
   timeline:
  
  function init():Void {
  xml.ignoreWhite = true;
  xmlFile = (xmldata != undefined) ? xmldata : PATH();
  xml.load(xmlFile);
  xml.onData = function (src:String) {
  if (src == undefined) {
  this.onLoad(false);
  } else {
  this.parseXML(src);
  this.loaded = true;
  this.onLoad(true);
  parse(); // creates the arrays
  }
  }
  
  var cBox:Object = {};
  cBox.change = function(o:Object):Void
  {
  //Selection.setFocus(c); // didn't work
  //o.target.onKillFocus=undefined; // didn't work
  getGeoEvents(
  
 
 arrayOfUniversitiesNames[mc_university.cb_listOfUniversities.selectedIndex]
   ); // sends user to correct tab
  lock();
  }
  
// this is the script for the cb
  var c:MovieClip = mc_university.cb_listOfUniversities;
  c.setStyle(fontFamily, VAG Rounded Light);
  c.setStyle(embedFonts, true);
  c.addEventListener(change, cBox);
  c.dataProvider = arrayOfUniversitiesNames;
  c.text = Select;
  //Selection.setFocus(c); // didn't work
  changeTab(bt_tab

Re: RE : [Flashcoders] combobox still giving grief ...

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
ah - i solved the problem - the dataprovider wasn't populated properly

thanks for the response

On Wed, Sep 3, 2008 at 12:46 PM, S0 F1 [EMAIL PROTECTED] wrote:

 In regards to this part of your question:

 ---
 If the list is scrolled or an entry is selected (it's fully populated), the
 entire list renders properly, including the entry that's selected.
 ---

 Can you force or simulate whatever event or function is fired when any of
 the above occurs?, before the user actually does anything?
 ___
 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] MouseEvents on overlapping siblings in AS3

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
yeh hittests are the slowest way of doing things but they have their place



On Wed, Sep 3, 2008 at 9:26 AM, Matthias Dittgen [EMAIL PROTECTED]wrote:

 Thanks for all the answers!!!

 So I went back to a solution where the upper MovieClip listens to the
 MouseMove event and hittest while the lower MovieClip is using
 Rollover now. That works for me. But nonetheless it is frustrating
 that there is no other way to get an ROLLOVER event for two or even
 more overlapping siblings other than hittesting them all.
 When it comes to performance - hittests are usually more cpu intensive
 than rollovers, right?


 On Tue, Sep 2, 2008 at 7:31 PM, Meinte van't Kruis [EMAIL PROTECTED]
 wrote:
  I think rollover means it will fire once, wether or not it 'rolls' over a
  child of that parent. With mouseover,
  the event will fire each time the mouse also get's over a child of the
  parent which is listening to the event.
  (in short; rollover is like a parent with mouseover only with
 mousechildren
  set to false).
 
  On Tue, Sep 2, 2008 at 5:26 PM, EECOLOR [EMAIL PROTECTED] wrote:
 
  Just a guess, but you could change the listener to MOUSE_OVER instead of
  ROLL_OVER. The difference between the two is very subtle and explained
 at
  the reference documentation of InteractiveObject. I am not sure if it is
  applicable to the problem posed.
 
  Greetz Erik
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
  --
  M.A. van't Kruis
  http://www.malatze.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

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


Re: [Flashcoders] Open Source YouTube Player

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
or there's swf and flv player on the mac
http://www.apple.com/downloads/macosx/video/swfflvplayer.html



On Wed, Sep 3, 2008 at 8:59 AM, Ashim D'Silva [EMAIL PROTECTED]wrote:

 The JW Player seems to be popular. Haven't used it yet, but I intend to
 soon.
 http://www.jeroenwijering.com/?item=JW_FLV_Player

 2008/9/3 Elia Morling [EMAIL PROTECTED]

  Is there a stable open source FLV player? Or should I reinvent the wheel?
 
  Thanks,
  Elia
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 The Random Lines
 My online portfolio
 www.therandomlines.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] Dynamic Scrollable textfield

2008-09-05 Thread allandt bik-elliott (thefieldcomic.com)
there's an event based as3 scrollbar here
http://www.kirupa.com/forum/showthread.php?t=245468

if you look later on in the thread, there's some modifications that allow
all sorts of different setups

a

On Fri, Sep 5, 2008 at 2:23 AM, sebastian [EMAIL PROTECTED] wrote:

 for AS3 check out this scroll bar source code:

 http://www.flashscaper.com/blog/?p=3

 if someone knows of the same kind of scroll bar, but also with standard OS
 functionality of 'clicking between scroll bar button area in emptey area
 moves you 1 page up/down', please advise.
 :)

 seb.


 Merrill, Jason wrote:

 is there a simple way like this in as?


 You sound like you're talking AS2 - please specify.  Google be yer
 friend:

 http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp
 .htm?context=LiveDocs_Partsfile=2774.html


 Jason Merrill Bank of America Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community
 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  Innovative Learning Blog  subscribe.
 ___
 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] fun with embedFonts - NOT

2008-09-05 Thread allandt bik-elliott (thefieldcomic.com)
Hi guys

I'm in AS2 and trying to create a textfield, embed fonts in and apply a
stylesheet - if i use embedfonts it doesn't render but if i omit it,
everything renders fine (but the fonts aren't embedded so won't render
properly elsewhere)

i can't see what's going wrong - could you take a look please?

private function setupCopy():Void
{
_tfMoreText = _mcPanelViewer.createTextField(_tfMoreText,
_mcPanelViewer.getNextHighestDepth(), _nTypeStartX, _nTypeStartY,
_nPanelTotalWidth, 30);
//_tfMoreText.embedFonts = true; // making the text disappear
_tfMoreText.html = true;
_tfMoreText.styleSheet = _cssStyles;
_tfMoreText.selectable = true;
_tfMoreText.border= true;
_tfMoreText.borderColor = 0x99;
_tfMoreText.htmlText = _sMoreText;

trace(_tfMoreText.htmlText); // traces 'p class=bodyTextspan
class=whiteMy text/span/p'
}

fonts are fun

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


Re: [Flashcoders] fun with embedFonts - NOT

2008-09-08 Thread allandt bik-elliott (thefieldcomic.com)
thanks for all your help on this guys - i managed to crack the problem by
using the order sebastian gave but those tutes look awesome - i'm grabbing
them now to take a look

Fonts is one of those things that Adobe just hasn't seemed to make any
easier no matter what they tried, so having loads of really experienced
coders to answer questions about this subject is a real boon.

3 FlashCoders



On Mon, Sep 8, 2008 at 9:57 AM, Glen Pike [EMAIL PROTECTED] wrote:

 Hi,

   These 2 articles were a great help for Embedding - CSS vs AS seemed to be
 slightly different and caused me headaches before I cracked it.

   http://www.connectedpixel.com/blog/fonts/embedding

   http://www.connectedpixel.com/blog/fonts/cssembedding


 http://web.archive.org/web/20030205231143/http://www.waxpraxis.org/archives/62.html

   I also uploaded an example I got working from these tut's that loads a
 SWF with shared fonts and applies CSS to a text field with loaded HTML text.

   I included the fonts in there too so you can install these and see it
 working, then play.
 http://glenpike.co.uk/misc/css_styling_shared_fonts.zip

   Tips - make sure font names with spaces are enclosed in quotes in your
 CSS - Benjamin Gothic
   Use the system names for fonts in your CSS you can still name your font
 symbols differently.
   Loading order for this example IS important - check out frame 1 - Actions
 layer in demo_from_scratch.fla
   Read the html_text_demo.txt file for some more info.

   HTH

   Glen


 Ian Thomas wrote:

 Also note it doesn't need to be offstage (i.e. on the main timeline). It
 can
 be inside a clip in the library, as long as the clip is set to export on
 first frame.
 HTH,
  Ian

 On Mon, Sep 8, 2008 at 2:55 AM, Muzak [EMAIL PROTECTED] wrote:



 With an off-stage textfield you can (and should) set a range of
 characters
 to include, thus reducing filesize. Something which is not possible with
 library fonts.

 regards,
 Muzak



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





 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk


 ___
 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] Firefox 3 and adblock problems

2008-09-09 Thread allandt bik-elliott (thefieldcomic.com)
came across this on digg and thought you guys might be interested

http://www.asfusion.com/blog/entry/firefox-3-adblock-disaster
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tween multiple rotations

2008-09-10 Thread allandt bik-elliott (thefieldcomic.com)
found this on the greensock site - might work for you

TweenMax.sequence(target:Object, tweenObjects:Array):Array

   - *Description:* Provides an easy way to sequence a set of tweens, one
   after the other, for the same target. It's essentially the same thing as
   making a bunch of individual TweenMax.to() calls on the object with
   overwrite set to 0, and their delays stacked. Use the multiSequence() method
   if you have multiple targets
   - *Parameters:*
  1. *target : Object* - The object whose properties to tween.
  2. *tweenObjects : Array* - An Array of tween objects. IMPORTANT: each
  object must contain a time property defining the duration of
that tween.
  Example:



On Tue, Sep 9, 2008 at 11:13 PM, Glen Pike [EMAIL PROTECTED]wrote:

 Hi,

   I am trying to rotate an object through 1080 (3 * 360) degrees with
 TweenLite.

   Does anyone know if I have to join a sequence of 360 tweens together to
 do this, or is there a way of cheating so it just does as you would hope?

   Thanks

   Glen
 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk

 ___
 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] Tween multiple rotations

2008-09-11 Thread allandt bik-elliott (thefieldcomic.com)
yeh - i love Tweener but the performance increase from using TweenLite /
TweenMax cannot be denied and as the lightest engine, TweenLite just seems
to make it's way into my work more often these days

a

On Thu, Sep 11, 2008 at 1:59 AM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Your generalizations are interesting to say the least. Web 2.0 application
 development has nothing to do with the demands on a tween engine, I'm
 building a social networking app and the way the interface renders, a
 lightweight tween engine is essential.   But if my interface was not as
 demanding, Fuse might be OK (though way more K than I would prefer).  It
 really depends on how the animation is used. Web 2.0 has no relevance -
 apples to oranges.

 Greensock's tween engine does animation sequencing too.

 Jason Merrill
 Bank of America
 Instructional Technology  Media
 Join the Bank of America Flash Platform Developer Community
 Are you a Bank of America associate interested in innovative learning ideas
 and technologies?
 Check out our internal  Innovative Learning Blog  subscribe.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of sebastian
 Sent: Wednesday, September 10, 2008 8:41 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Tween multiple rotations

 Ooops on the simple solution for a relative rotation [my bad]! Much
 better than my suggestion...
 :P

 Why Fuse? - Sequencing, passing  writing animation objects.

 It is true for small applications, like banners; it's overkill when kbs
 are in dire need. But for web 2.0 application development, a few extra
 kb is insignificant.

 Check the last pages of this primer for what sets it apart when building
 complex or dynamic animation sequences:

 http://www.mosessupposes.com/Fuse/speakernotes-mgunesch.pdf

 mind you i am now coding primarily only in AS3... and 'Fuse3: Go'
 doesn't do it for me [why would I want to write my own tweens? isn't
 that the point of using an engine, so i don't have to write my own
 tweens anymore?...]
 :P

 :)
 Seb.

 Merrill, Jason wrote:
  On AS3 there isn't as good a package as fuse around [yet?];
 
  What does FUSE have over TweenLite and TweenMax?  FUSE always bloated my
 projects and had problems in high stress situations.
 
  Jason Merrill
  Bank of America
  Instructional Technology  Media
  Join the Bank of America Flash Platform Developer Community
  Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
  Check out our internal  Innovative Learning Blog  subscribe.
 
 
  ___
  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] TweenMax subversion?

2008-09-11 Thread allandt bik-elliott (thefieldcomic.com)
Hi - does anyone know if there's a subversion link for TweenMax/Lite please?

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


Re: [Flashcoders] TweenMax subversion?

2008-09-12 Thread allandt bik-elliott (thefieldcomic.com)
cheers jack

On Thu, Sep 11, 2008 at 9:54 PM, Jack Doyle [EMAIL PROTECTED] wrote:

 No, not *YET*

 Sorry. For now, you'll need to snag updates at www.TweenMax.com or
 www.TweenLite.com

 Jack

 -Original Message-
 From: allandt bik-elliott (thefieldcomic.com) [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 11, 2008 10:45 AM
 To: Flash Coders List
 Subject: [Flashcoders] TweenMax subversion?

 Hi - does anyone know if there's a subversion link for TweenMax/Lite
 please?

 ta



 ___
 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] flushing memory

2008-10-04 Thread allandt bik-elliott (thefieldcomic.com)
i've tried delete Question (Question is the main object that gets
populated) but that didn't cut it

On Fri, Oct 3, 2008 at 7:27 PM, eric e. dolecki [EMAIL PROTECTED] wrote:

 Handle it without using a timeline at all and use code straight instead?

 On Fri, Oct 3, 2008 at 2:11 PM, Allandt Bik-Elliott (Receptacle) 
 [EMAIL PROTECTED] wrote:

  hi folks
 
  is there any way i can completely flush the memory for the flash plugin?
 
  i have a spelling game that uses classes on symbols placed on the
 timeline
  and when i hit a replay button at the end of my game, the playhead is
 moved
  to the start of the timeline (so none of the symbols are present any
 more)
  and then the game is started up again
 
  the only problem is that when the game goes through it's second pass, all
  of the questions are duplicated.
 
  I've tried delete'ing all of the objects in the class itself at the end
 of
  the game before i move back to the start but it still happens
 
  the only way i can see around it is to reload the whole page but that's a
  hit on the server which seems a little over the top
 
  cheers
  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] online .swf generator

2008-11-27 Thread allandt bik-elliott (thefieldcomic.com)
could you use some kind of code injection like flashdev used to do (and
prolly still does)?

a

On Wed, Nov 26, 2008 at 8:53 PM, Latcho [EMAIL PROTECTED] wrote:

 One way: You can compile an swf serverside with flex-sdk and ant, that way
 you can feed it whatever you want as a main class, config class and orher
 generic created text var classes.
 You for ex build a php wrapper around all the command executions.
 Latcho


 Michael Stocke wrote:

 The output file will be a banner ad. The user will be able to choose from
 about 5 different designs and list of company-approved
 graphics/logos/imagery. The user will also be able to enter a limited amount
 of text. My vision is to create templates for each of the 5 designs with
 blank text fields and placeholders for the logos/graphics. The user will
 modify a configuration file of some kind through the interface I create,
 then I will use a yet-to-be-named tool to generated the .swf from a .fla (or
 other core file) and the customized configuration file (XML, MXML, .txt,
 etc.). This is why I mentioned JSFL, because I already know how to do this
 with JSFL.

 I have zero experience with Flex, so something with the Flash IDE or
 Flash-based tools would be better.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Axel Aigret
 Sent: Wednesday, November 26, 2008 12:01 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] online .swf generator

 Hi :)

  Can you explain more in detail what must be arrange in your .swf and
 how ( a gui in flash or you don't care ? ) .
  What sort of asset , animation , text ?
  What will be the creation at the end to understand what you want more
 easier.

 Axel Aigret


 Michael Stocke a écrit :


 Good morning group.


 I am looking for an online .swf generation tool. Specifically, a user
 designs a .swf online through a tool that I create, then they submit
 their work which generates a .swf output. The tool will allow the user
 to choose from several templates, then customize them by selecting
 various assets from pre-determined lists and adding some free-form text.
 From my research so far I'm mainly seeing tools based on Java and C++,
 both of which aren't really options for me. I have some very limited
 knowledge of Ming (PHP), but this option is too programming intensive
 for this scenario. I think JSFL would be my best bet, but I can't find
 any information about using it for an online server-side implementation.
 My experience has been for local batching purposes only.


 Does anyone have any suggestions? The client is open to purchasing an
 application depending on the cost.


 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370


 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog:
 http://Threeminds.Organic.com http://threeminds.organic.com/ Website:
 www.Organic.com http://www.organic.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

 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]



 ___
 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] online .swf generator

2008-11-27 Thread allandt bik-elliott (thefieldcomic.com)
would that not cause a security problem? or do you mean to store it on the
host server?

On Thu, Nov 27, 2008 at 2:48 PM, Adrian Ionut Beschea [EMAIL PROTECTED]
 wrote:

 we used  flex sdk on the server side and it proved to be very slow
 if you need it for on-the-fly generation I don't think it's an option.
 why not using an general swf for all banners and just  slip the
 configuration file on the server.

 --- On Thu, 11/27/08, poste9 [EMAIL PROTECTED] wrote:
 From: poste9 [EMAIL PROTECTED]
 Subject: Re: [Flashcoders] online .swf generator
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Date: Thursday, November 27, 2008, 3:57 PM

 openslaszlo http://www.openlaszlo.org/ r0x

 2008/11/27 mike cann [EMAIL PROTECTED]

  You can render the output client side to a BitmapData object then use a
  compression lib in AS3 to convert it to GIF or PNG or something then
 upload
  that image to the server and avoid the whole SWF part?
 
  2008/11/27 allandt bik-elliott (thefieldcomic.com)
 [EMAIL PROTECTED]
 
   could you use some kind of code injection like flashdev used to do
 (and
   prolly still does)?
  
   a
  
   On Wed, Nov 26, 2008 at 8:53 PM, Latcho [EMAIL PROTECTED]
 wrote:
  
One way: You can compile an swf serverside with flex-sdk and
 ant, that
   way
you can feed it whatever you want as a main class, config class
 and
  orher
generic created text var classes.
You for ex build a php wrapper around all the command
 executions.
Latcho
   
   
Michael Stocke wrote:
   
The output file will be a banner ad. The user will be able
 to choose
   from
about 5 different designs and list of company-approved
graphics/logos/imagery. The user will also be able to enter
 a limited
   amount
of text. My vision is to create templates for each of the 5
 designs
  with
blank text fields and placeholders for the logos/graphics.
 The user
  will
modify a configuration file of some kind through the
 interface I
  create,
then I will use a yet-to-be-named tool to generated the .swf
 from a
  .fla
   (or
other core file) and the customized configuration file (XML,
 MXML,
  .txt,
etc.). This is why I mentioned JSFL, because I already know
 how to do
   this
with JSFL.
   
I have zero experience with Flex, so something with the
 Flash IDE or
Flash-based tools would be better.
   
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Axel
 Aigret
Sent: Wednesday, November 26, 2008 12:01 PM
To: Flash Coders List
Subject: Re: [Flashcoders] online .swf generator
   
Hi :)
   
 Can you explain more in detail what must be arrange in
 your .swf
   and
how ( a gui in flash or you don't care ? ) .
 What sort of asset , animation , text ?
 What will be the creation at the end to understand what
 you want
   more
easier.
   
Axel Aigret
   
   
Michael Stocke a écrit :
   
   
Good morning group.
   
   
I am looking for an online .swf generation tool.
 Specifically, a user
designs a .swf online through a tool that I create, then
 they submit
their work which generates a .swf output. The tool will
 allow the
  user
to choose from several templates, then customize them by
 selecting
various assets from pre-determined lists and adding some
 free-form
   text.
From my research so far I'm mainly seeing tools
 based on Java and
  C++,
both of which aren't really options for me. I have
 some very limited
knowledge of Ming (PHP), but this option is too
 programming intensive
for this scenario. I think JSFL would be my best bet,
 but I can't
  find
any information about using it for an online server-side
   implementation.
My experience has been for local batching purposes only.
   
   
Does anyone have any suggestions? The client is open to
 purchasing an
application depending on the cost.
   
   
Mike Stocke
Interface Engineer
   
Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills,
 MI 48302
t: 248.454.4015  |  f: 248.454.3370
   
   
Email: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] Blog:
http://Threeminds.Organic.com
 http://threeminds.organic.com/
   Website:
www.Organic.com http://www.organic.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
   
   
 
This email is intended only for the person or entity to
 which it is
addressed and may contain information that is privileged,
 confidential
   or
otherwise protected from disclosure

[Flashcoders] adding physics to pivot object around a point

2008-12-01 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

could anyone point me in the right direction to do the following, please?

I'd like an object that is dragged to correctly respond to being pulled
around by pivoting around the point it is dragged by (also applying downward
force to represent gravity)

for example, if i hold a pencil lightly at one end, it will pivot around the
point i am holding and swing until it comes to a rest pointing straight
down.

does anyone know of any tutorials that go into this kind of thing?

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


[Flashcoders] Re: adding physics to pivot object around a point

2008-12-01 Thread allandt bik-elliott (thefieldcomic.com)
So I guess what i'm trying to get at is that I'd like to apply gravity and
momentum to an objects angle rather than directly to their y axis

anyone have any ideas?

thanks
a

--


hi guys

could anyone point me in the right direction to do the following, please?

I'd like an object that is dragged to correctly respond to being pulled
around by pivoting around the point it is dragged by (also applying downward
force to represent gravity)

for example, if i hold a pencil lightly at one end, it will pivot around the
point i am holding and swing until it comes to a rest pointing straight
down.

does anyone know of any tutorials that go into this kind of thing?

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


Re: [Flashcoders] Re: adding physics to pivot object around a point

2008-12-01 Thread allandt bik-elliott (thefieldcomic.com)
it's also very extensive for what i want to do - mine is for a banner to
look nice

a

On Mon, Dec 1, 2008 at 6:25 PM, Todd Kerpelman [EMAIL PROTECTED] wrote:

 Well, I know you could do something like this very easily using a physics
 engine like Box2D (http://box2dflash.sourceforge.net/), but the very
 easily part only kicks in after you spend several hours converting your
 entire application to using a third party physics engine.

 If you're just trying to do some more basic faux-gravity rotation, there's
 probably simpler ways of doing it. If I were gonna fake it and I had a
 simple shape like a rectangle to work with, I might esimate what portion of
 the sprite was to the left and the right of my cursor, use that to apply a
 little force to some internal _angularVelocity variable, and then combine
 that with the MatrixTransfrmer.rotateAroundInternalPoint method to rotate
 my
 object around the mouse cursor. But I can't promise you that'll necessarily
 look any good, though. That's just a guess.

 --T


 On Mon, Dec 1, 2008 at 10:12 AM, allandt bik-elliott (thefieldcomic.com) 
 [EMAIL PROTECTED] wrote:

  So I guess what i'm trying to get at is that I'd like to apply gravity
 and
  momentum to an objects angle rather than directly to their y axis
 
  anyone have any ideas?
 
  thanks
  a
 
  --
 
 
  hi guys
 
  could anyone point me in the right direction to do the following, please?
 
  I'd like an object that is dragged to correctly respond to being pulled
  around by pivoting around the point it is dragged by (also applying
  downward
  force to represent gravity)
 
  for example, if i hold a pencil lightly at one end, it will pivot around
  the
  point i am holding and swing until it comes to a rest pointing straight
  down.
 
  does anyone know of any tutorials that go into this kind of thing?
 
  thanks for your help
  a
  ___
  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] adding physics to pivot object around a point

2008-12-01 Thread allandt bik-elliott (thefieldcomic.com)
yes that's definitely close - the only difference that i can see is that i
want to be able to move the pivot and have it react accordingly

thanks for the help guys
a

On Mon, Dec 1, 2008 at 7:48 PM, Glen Pike [EMAIL PROTECTED] wrote:

 Hi,

   Sounds like a pendulum to me - you want to work out the angular velocity,
 it's probably a good idea to start with something like below, then roughly
 simulate your gravity / angular velocity enough for it to look nice:
 http://www.myphysicslab.com/pendulum1.html

   If that does not work try Googling pendulum and angular velocity.

   Glen


 allandt bik-elliott (thefieldcomic.com) wrote:

 hi guys

 could anyone point me in the right direction to do the following, please?

 I'd like an object that is dragged to correctly respond to being pulled
 around by pivoting around the point it is dragged by (also applying
 downward
 force to represent gravity)

 for example, if i hold a pencil lightly at one end, it will pivot around
 the
 point i am holding and swing until it comes to a rest pointing straight
 down.

 does anyone know of any tutorials that go into this kind of thing?

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





 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk


 ___
 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] display trace() in text field

2008-12-04 Thread allandt bik-elliott (thefieldcomic.com)
function debug(s:String):Void
{
_root.pathToTextField.myText.text += /n+s;
}

then instead of trace(someString);
you use
debug(someString);

a

On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Trace only sends strings to the Flash or Flexbuilder output window, so no.
  However, all you have to do is set the variable you want to see to the text
 property of the textfield:

 myTextField.text  = myVariableIdLikeToSee


 Jason Merrill
 Bank of America Instructional Technology  Media   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/




 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]


 ___
 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] The flash job hunt

2008-12-05 Thread allandt bik-elliott (thefieldcomic.com)
i'm with major players in london and they've kept me busy for the best part
of 5 years between print and (this year) flash

i also get paid within 5 days of putting in my invoice if i do it by monday
6pm

the only thing is that you are kind of limited to what they pay but as it's
pretty much on par with what i would charge anyway, it's not been a problem
for me
a

On Tue, Dec 2, 2008 at 4:11 PM, Joel Stransky [EMAIL PROTECTED]wrote:

 Excellent suggestion Helmut.

 On Tue, Dec 2, 2008 at 8:33 AM, Helmut Granda [EMAIL PROTECTED]
 wrote:

  * Ask your connections for connections on your city. You might be
 surprised
  of them knowing some one in the area.
  * Contact some one such Aquent. I was in the same position as you are and
  they helped me to get in the door with some great agencies. For sure you
  wont get the salary you might get on your own since they have to get paid
  too but they pay on time and might lead you to new connections.
 
  On Mon, Dec 1, 2008 at 10:02 PM, Joel Stransky [EMAIL PROTECTED]
  wrote:
 
   Yeah I'm already compiling a list of local agencies. I had a ton of
   connections in my last city but I'm new out here in D.C. Just wondering
   what
   other avenues there might be.
  
   On Mon, Dec 1, 2008 at 9:46 PM, dr.ache [EMAIL PROTECTED] wrote:
  
you should contact agencies... those who are in online advertisement
  for
bigger
companies... these guys always have to few people to do all the work.
try to get on their freelancer list and work hard - so they can see
 you
   can
do their
work in a short time then it should not be a problem to get work
 on
  a
regular
basis... but do not stick with only one company. instead of show up
 at
maybe three...
   
Joel Stransky schrieb:
   
 A bit off topic plus I don't know where to search recent flashcoders
archives.
I've been living off of freelance work for more than a year now but
   lately
it's getting difficult to drum up contracts. I figured I'd hit up
 the
   pros
to see how you guys are finding work.
Do you have a favorite job listing site? Fond of craigslist?
 Spending
  a
lot
on advertising?
I really need to get more work on a steady basis. Thanks for any
  input.
   
   
   
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
  
  
  
   --
   --Joel Stransky
   stranskydesign.com
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
 
 
 
  --
  ...helmut
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



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


Re: [Flashcoders] My rights - site not paid for.

2008-12-08 Thread allandt bik-elliott (thefieldcomic.com)
i wouldn't tip your hand about the ftp details - it would be very cheap for
him to pay someone to change them

a

On Mon, Dec 8, 2008 at 11:31 AM, Sidney de Koning [EMAIL PROTECTED]wrote:

 Hi Stephen,

 Here in Holland we have something called 'terms and conditions' for
 freelancers, which you have to make legal with an notary.
 This is a document which basically protects you from this kind of stuff,
 and this document can be taken to court if it ever comes to this.

 If you don't have this, it is a good thing to have, you probably have the
 same thing in the UK, and its well worth the money. (converted it costs
 about 300 pounds)

 If you made a contract with this person, and you both singed it, by law he
 is bound by it. (And legal steps can be under taken when broken).
 If you don't have a contract, your basically fucked. Plain and simple. Even
 though a verbal agreement is also legal binding it is very hard to prove.

 first thing you can do is send another invoice after about 4 weeks, if he
 doesn't respond to it, call him and say you will place and 'under
 construction' banner on the site, and that you will change the ftp password
 ( but dont do this just jet), if he still doesn't respond use an agency to
 collect the outstanding invoice (don't know what they are called in engish)
 if he still doesn't respond, place that 'underconstruction  banner' online.

 Hope this helps,

 Good luck with it!

 Sid



 On Dec 8, 2008, at 12:02 PM, Stephen Matthews wrote:

  What are my rights ( in the UK ) for taking down a site which has not been
 paid for?

 The owner of the company is happy with his site, but is not coughing up.

 I still have FTP access.

 He says the site took too long, and makes lots of excuses for not paying -
 which do not tally.
 He changed the site drastically at least three times - I think it took too
 long too, due to this.
 He is updating the news section and other sections whenever he has new
 material.

 I would be interested in your thoughts.

 This person won an award for being a top business man this year - is this
 what you have to do to be a top business man - screw people?

 I am not the kind of person to take this action really, but I may consider
 it.

 Thanks

 S



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


 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical writer @ www.insideria.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] My rights - site not paid for.

2008-12-08 Thread allandt bik-elliott (thefieldcomic.com)
if the site hasn't been paid for, don't you still officially own the site
files?

i would put a message across the bottom of the site saying This site has
not yet been paid for. To settle the invoice and remove this message please
contact me at emailaddress or something similar where you get advertising
and he gets bad publicity. The site is live so you've fulfilled any
contractual obligation but he gets bad press the more he uses the site.

alz



On Mon, Dec 8, 2008 at 11:24 AM, poste9 [EMAIL PROTECTED] wrote:

 give ftp information to some brazilian where there isnt internet's law.
 its an option too.

 2008/12/8 Eamonn Faherty [EMAIL PROTECTED]

  This is a grey area.  Did you draw up a contract when you started the
  job?  Deleting the live site could be deemed as an infringement of the
  computer misuse act.
 
  Do the easiest thing, sell the debt to a debt management agency and move
  on to another job.
 
  I bet the money you will lose doing this will be far less than the
  amount you can make on another job in the time it takes to chase this
  up!
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Stephen
  Matthews
  Sent: 08 December 2008 11:03
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] My rights - site not paid for.
 
  What are my rights ( in the UK ) for taking down a site which has not
  been paid for?
 
  The owner of the company is happy with his site, but is not coughing up.
 
  I still have FTP access.
 
  He says the site took too long, and makes lots of excuses for not
  paying - which do not tally.
  He changed the site drastically at least three times - I think it took
  too long too, due to this.
  He is updating the news section and other sections whenever he has new
  material.
 
  I would be interested in your thoughts.
 
  This person won an award for being a top business man this year - is
  this what you have to do to be a top business man - screw people?
 
  I am not the kind of person to take this action really, but I may
  consider it.
 
  Thanks
 
  S
 
 
 
  ___
  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
 



 --
 New blog post: UTM JavaScript Library, trabalhando com classes
 http://tinyurl.com/5dvasg
 =
 New blog post: Desenvolvimento Ágil, construindo um gerador de classes.
 http://tinyurl.com/64xa2h
 =
 Vox Tecnologia  Grupo Comunidade de Comunicação
 Rafael Lúcio 29809.099333,
 http://www.postenove.com.br
 ___
 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] Soma Protest

2008-12-08 Thread allandt bik-elliott (thefieldcomic.com)
looks nice - thanks for the heads up

On Mon, Dec 8, 2008 at 1:18 PM, Romuald Quantin 
[EMAIL PROTECTED] wrote:

 Hi everyone,

 Not spam intended and just to try to help the community. I've built a
 site-demo for the framework Soma, please have a look:

 http://www.soundstep.com/blog/2008/12/08/soma-protest/
 http://www.soundstep.com/somaprotest/

 Thanks

 Romu
 www.soundstep.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] Audio lag on KeyboardEvent.KEY_DOWN

2008-12-08 Thread allandt bik-elliott (thefieldcomic.com)
did you use updateAfterEvent() to force it to play immediately? if not, it
might be waiting for the next frame to process the event

On Mon, Dec 8, 2008 at 12:14 PM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 Hi List,

 I'm dipping my toe into AS3 and thought I'd play around with sound by
 making
 a little piano keyboard which is played by pressing keys on the computer
 keyboard.

 It works - the appropriate sounds play on KeyboardEvent.KEY_DOWN - however,
 I've noticed that there is often a lag between the keyboard event and the
 actual sound playing. The occurrence of the lag seems pretty random.

 The sounds are MP3s which are load()ed into Sound objects on init(). On
 KeyboardEvent.KEY_DOWN, the appropriate Sound is play()ed.

 I've checked all the MP3s, and they don't have extra silence at the
 beginning. I don't think it has to do with the number of MP3s involved
 (14),
 because I noticed the lag even when I was testing it out with 2 sounds.

 Has anyone dealt with this before, and know what the problem might be? You
 can see (or rather, hear) the lag for yourself here:
 http://snipurl.com/7ndr2-meep

 Thanks!

 In hope,
 CB.
 ___
 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] Soma Protest

2008-12-09 Thread allandt bik-elliott (thefieldcomic.com)
ta

On Tue, Dec 9, 2008 at 10:27 AM, Romuald Quantin 
[EMAIL PROTECTED] wrote:

 yes, SVN are there:

 http://www.soundstep.com/blog/downloads/somaui/

 Romu
 www.soundstep.com


 allandt bik-elliott (thefieldcomic.com) wrote:

 do you have an svn repo or a google code area?

 On Mon, Dec 8, 2008 at 6:30 PM, Brenda Hicks [EMAIL PROTECTED]
 wrote:



 Great minds think alike! I had the same vision in my head -- especially
 since my son works in the SOMA district for an ad agency.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Mcfarland
 Sent: Monday, December 08, 2008 8:50 AM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: re: [Flashcoders] Soma Protest

 Living near San Francisco, at first glance I thought this thread was
 going
 to be about a protest in the South-of-Market (SOMA) neighborhood. I
 began
 to visualize angry FlashCoders taking to the streets, demanding (a better
 IDE?) (a return to some AS2 features?)
 ___
 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] use get / set functions or make your own

2008-12-09 Thread allandt bik-elliott (thefieldcomic.com)
i would have to agree - i use the built in ones and can't see any benefit
from using bespoke ones apart from maybe being able to use the variable name
i want rather than adding extra characters to it (although i use a leading
underscore for class variables anyway)

On Tue, Dec 9, 2008 at 10:48 AM, Ian Thomas [EMAIL PROTECTED] wrote:

 I use Actionscript getters and setters.

 Because I can start off using ordinary public properties, and change
 them into getters and setters if I need more control/notification
 without changing any of the code that _uses_ my class.

 In order to achieve that otherwise, I'd have to make a getValue() and
 setValue() for every single public property (as is done in Java). And
 a fair few of those would simply be this._property=value (setter) or
 return this._property (getter) i.e. essentially just placeholder
 methods that bloat the code.

 The beauty of the actionscript get and set functions is that they are
 indistinguishable from public properties from the outside of the
 class. It's a huge improvement over Java.

 Ian

 On Tue, Dec 9, 2008 at 10:24 AM, allandt bik-elliott
 (thefieldcomic.com) [EMAIL PROTECTED] wrote:
  hi guys
 
  quick poll - Do you use the actionscript getter/setter functions or do
 you
  make your own, and why.
 
  I've noticed with a lot of the public domain code (like SWFAddress, for
  instance) that you see a lot of 'public function getVariable()' type
 getters
  instead of using the flash 'public function get variable()' adobe
  recommended getters(and setters) and i was wondering why people do this?
 
  thanks
  a
  ___
  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] use get / set functions or make your own

2008-12-09 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

quick poll - Do you use the actionscript getter/setter functions or do you
make your own, and why.

I've noticed with a lot of the public domain code (like SWFAddress, for
instance) that you see a lot of 'public function getVariable()' type getters
instead of using the flash 'public function get variable()' adobe
recommended getters(and setters) and i was wondering why people do this?

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


Re: [Flashcoders] Soma Protest

2008-12-09 Thread allandt bik-elliott (thefieldcomic.com)
do you have an svn repo or a google code area?

On Mon, Dec 8, 2008 at 6:30 PM, Brenda Hicks [EMAIL PROTECTED]wrote:

 Great minds think alike! I had the same vision in my head -- especially
 since my son works in the SOMA district for an ad agency.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Mcfarland
 Sent: Monday, December 08, 2008 8:50 AM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: re: [Flashcoders] Soma Protest

 Living near San Francisco, at first glance I thought this thread was going
 to be about a protest in the South-of-Market (SOMA) neighborhood. I began
 to visualize angry FlashCoders taking to the streets, demanding (a better
 IDE?) (a return to some AS2 features?)
 ___
 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] My rights - site not paid for.

2008-12-09 Thread allandt bik-elliott (thefieldcomic.com)
the thing about going through a specialised debt collecting solicitor is
that they start very polite - they usually have 2 rounds of letters to send
to the client before they start getting heavy and to be honest, if it comes
to that, you're better off without the client

a bad client will be more trouble than the work is worth, even in troubled
times. They will abuse your relationship, demand unreasonable amounts of
unpaid extra work and monopolise your time so that you start to neglect your
good-paying clients and probably start to ask for long-time client discounts
(like you owe them something for giving you the work). Saying that you might
lose possible future work would sound like a blessing with a client like
that

i have had a client like this and if i'd known about the debt collectors,
i'd have phoned them in a shot.

a


On Tue, Dec 9, 2008 at 2:19 AM, Helmut Granda [EMAIL PROTECTED]wrote:

 But having the power to access to the server through FTP doesnt make the
 coder a good guy either :)

 On Mon, Dec 8, 2008 at 4:51 PM, laurent [EMAIL PROTECTED] wrote:

  Having no contract does not make the none payer a good guy, he apparently
  does not want to pay. And if he have problems I guess the coder have too,
 so
  he should deal with his own stuff as we do here and if he can't he should
  commnicate about it. But I don't think the problem is here. The best
 thing
  is to call a lawyer that will get in contact with him, you won't even
 have
  to get to court, the guy will pay straight away. As far as he can't
 handle
  dirty hands I guess...but you will win.
 
  L
 
  Helmut Granda a écrit :
 
   Im with Doctor H here,
 
  We don't know the details or both parties information about the project,
  if
  you are a freelancer/contractor this might harm you in the long run.
  Granted, you might get the money you are owed but in the end of the day
 it
  might be 1+ (many more) possible non clients. Remember that the bad
 press
  travels a lot faster than good rep and good rep is always hard to come
 by.
 
  If I read correctly you don't have a written contract which in the end
 is
  also a bad practice and you have to take your losses.
 
  On Mon, Dec 8, 2008 at 1:13 PM, dr.ache [EMAIL PROTECTED] wrote:
 
 
 
  Have you ever thought about what that makes for your image?
  I would encourage you to stay polite and willing to accept their delay
 as
  long
  as it is possible for you. You can deny to work with this client in the
  future anyways
  but do not threaten somebody with court or anything before there is no
  other way around.
 
  Have always in mind that there can be a reason you could not even
 imagine
  behind that
  delay. You are dealing with people - just try to image this guy really
  has
  problems and
  dont want you to know about that, or anybody else. When you take him to
  the
  court you
  might get your money but a very very bad image in the head of that
  guy,too.
 
  The other way round - if he finally pays you and he saw that you are
  flexible he might
  recommend you the next time. Have the good parts about people in mind,
  dont
  make
  assumtions.
 
  My cents...
 
 
 
 
  Pete Hotchkiss schrieb:
 
   Eamons point about the computer misuse act is not strictly true - you
 
 
  own the site unless a contract exists explicitly licensing full
  ownership of everything up payment completion.
 
  My advise however is to leave the site up and get Thomas Higgins on
 the
  case. He's BRILLIANT and has a ni on 100% record for recovering debts.
  He's completely ruthless and gets results
 
  http://www.thomas-higgins.co.uk/
 
  Trust me - use these guys and you'll have you money before the month
 is
  out
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Piers
  Cowburn
  Sent: 08 December 2008 11:51
  To: Flash Coders List
  Subject: Re: [Flashcoders] My rights - site not paid for.
 
  I've been in this situation before and done the same as Paul, it ended
  up going to a small claims court and the client didn't even turn up
 for
  the hearing. I got paid and the costs were covered by the client.
 
  Piers
 
 
  On 8 Dec 2008, at 11:38, Paul Steven wrote:
 
 
 
 
 
  Hi Stephen
 
  I had a similar situation about a year ago and in this case I had no
  contract but just emails from the client agreeing on the cost for the
  work.
 
  Anyway I simply made a claim via
  https://www.moneyclaim.gov.uk/csmco2/index.jsp and I won my case. It
  was
  really simple and will cost you nothing as you get all your costs
 paid
  for
  by the customer if you win.
 
  I would be reluctant to take the site down as doing so will then mean
  the
  customer has nothing to pay for. By leaving the site up and running,
  you
  have fulfilled your obligations.
 
  Anyway good luck!!
 
  Paul
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Stephen
  Matthews
  Sent: 08 December 2008 11:03
  To: 

[Flashcoders] colour and transform matrices

2008-12-10 Thread allandt bik-elliott (thefieldcomic.com)
Hi guys

After a brief discussion with some of the devs where i'm working at the mo,
i was wondering if anyone could point me at a decent tutorial for using and
manipulating objects and colours using matrices. It seems to be one of those
things that people only learn a teeny bit of but could be immensly powerful
in the wrong... i mean right hands.

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


  1   2   3   4   >