Re: [Flashcoders] Adding n days to dateField.selectedDate

2008-04-14 Thread Michael William Ypes

What about daylight savings!

I just created a tv listings app in flex and this approach did not  
work. Recently the clocks changed and 7pm became 8pm because of the  
daylight savings. I can't believe that there is not any other way to  
add a day without doing it through milliseconds.


Because I knew what time my shows started I could always use the  
setHours method. However I don't feel that this was or is the most  
scaleable solution.


Cheers

Michael


On 14 Apr 2008, at 00:50, Matthew Houliston wrote:


On 14/04/2008 01:34, Gabino Travassos wrote:

If I want 283 days in the future I add 1208129349 + (283 days *24  
hours*60 minutes*60second) = 1232580549 and I convert that to  
whatever date format I want.


Gabino's right, and the Date class makes it easy :

var d:Date=new Date(2008,3,14);
d.time+=(8640*283); // 283 days, in milliseconds
trace(d.getFullYear()+/+(d.getMonth()+1)+/+d.getDate());
// 2009/1/21
___
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] better logic statement

2008-04-14 Thread natalia Vikhtinskaya
Hi
I build slideshow with 10 visible thumbnails. After each 10 pictures I
move thumbnails to show next 10.
Another words
if  (id==11  || id==21 || id==31) {do something}
How to write more wise if statement?
Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


AW: [Flashcoders] better logic statement

2008-04-14 Thread Kai Feldmaier
Use
if ( anynumber % 10 == 1 ) {do something}

 Hi
 I build slideshow with 10 visible thumbnails. After each 10 pictures I
 move thumbnails to show next 10.
 Another words
 if  (id==11  || id==21 || id==31) {do something}
 How to write more wise if statement?
 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] better logic statement

2008-04-14 Thread Christoffer Enedahl

Untested email code. But you get the gits of it, I hope

// properties
var ThumbnailSetSize = 10;
var i = 0;
var page = 0;

/// on next image
i++;
if (i == ThumbnailSetSize ){
   page++;
   i=0;
   //Do something
}
id = (page*ThumbnailSetSize ) + i;

HTH/Christoffer


natalia Vikhtinskaya skrev:

Hi
I build slideshow with 10 visible thumbnails. After each 10 pictures I
move thumbnails to show next 10.
Another words
if  (id==11  || id==21 || id==31) {do something}
How to write more wise if statement?
Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


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


[Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Stuart (FunkDaWeb)
Hi guys ive been trying to figure this out now for over a week, i want to 
dynamically set the registration point of a dynamically created movieclip. ive 
come across a class by Oscar Trelles (a re-written AS1/2 class) that does what 
im after but it does not seam to be very portable and can not get it to work 
with my app.

I have also tried to use negative values by creating a blank mc and loading the 
image into it, this gives me an image that's in the correct place but the blank 
MC does not use the negative values set so i have an overall MC thats bigger 
that it should be!

So heres my question

I want to create a movieclip with the X/Y set to 0 but have the actual 
registration point set to X = mc.width / 2 and Y = mc.height / 2 so when i use 
the transform controls ive created it scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a colorpicker 
box via actionscript? this too also seams to be really hard to find the answer!

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


Re: [Flashcoders] better logic statement

2008-04-14 Thread natalia Vikhtinskaya
Thank you! What if I want to show 8 or 12 images?

2008/4/14, Kai Feldmaier [EMAIL PROTECTED]:
 Use
 if ( anynumber % 10 == 1 ) {do something}

  Hi
  I build slideshow with 10 visible thumbnails. After each 10 pictures I
  move thumbnails to show next 10.
  Another words
  if  (id==11  || id==21 || id==31) {do something}
  How to write more wise if statement?
  Thanks
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


AW: [Flashcoders] better logic statement

2008-04-14 Thread Kai Feldmaier

Only change 10 to any other number. % means mod - it calculates the rest
of the division. So if you want to show 8 images, write
if ( anynumber % 8 == 1 ) {do something}

anynumber % 8 == 1 happens when anynumber is 9, 17, ...

same to 12 or any other modular event



 Thank you! What if I want to show 8 or 12 images?

 2008/4/14, Kai Feldmaier [EMAIL PROTECTED]:
  Use
  if ( anynumber % 10 == 1 ) {do something}
 
   Hi
   I build slideshow with 10 visible thumbnails. After each 10 pictures I
   move thumbnails to show next 10.
   Another words
   if  (id==11  || id==21 || id==31) {do something}
   How to write more wise if statement?
   Thanks
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] better logic statement

2008-04-14 Thread natalia Vikhtinskaya
Thank you again, it what I need.

2008/4/14, Kai Feldmaier [EMAIL PROTECTED]:

 Only change 10 to any other number. % means mod - it calculates the rest
 of the division. So if you want to show 8 images, write
 if ( anynumber % 8 == 1 ) {do something}

 anynumber % 8 == 1 happens when anynumber is 9, 17, ...

 same to 12 or any other modular event

 
 
  Thank you! What if I want to show 8 or 12 images?
 
  2008/4/14, Kai Feldmaier [EMAIL PROTECTED]:
   Use
   if ( anynumber % 10 == 1 ) {do something}
  
Hi
I build slideshow with 10 visible thumbnails. After each 10 pictures I
move thumbnails to show next 10.
Another words
if  (id==11  || id==21 || id==31) {do something}
How to write more wise if statement?
Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes

I have used that class to great effect,

http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

What seems to be the problem. the map mentioned above is in as3 and  
changes the registration point all the time depending on where the  
user clicks or pans to. What does your code look like?



On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:

Hi guys ive been trying to figure this out now for over a week, i  
want to dynamically set the registration point of a dynamically  
created movieclip. ive come across a class by Oscar Trelles (a re- 
written AS1/2 class) that does what im after but it does not seam to  
be very portable and can not get it to work with my app.


I have also tried to use negative values by creating a blank mc and  
loading the image into it, this gives me an image that's in the  
correct place but the blank MC does not use the negative values set  
so i have an overall MC thats bigger that it should be!


So heres my question

I want to create a movieclip with the X/Y set to 0 but have the  
actual registration point set to X = mc.width / 2 and Y =  
mc.height / 2 so when i use the transform controls ive created it  
scales, rotates etc... from the centre.


I also have a second question how do i set the initial value of a  
colorpicker box via actionscript? this too also seams to be really  
hard to find the answer!


SM
___
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 memory management - loaded content

2008-04-14 Thread Matt S.
Can anyone explain the logic for this feature? It seems like an
unloadMovie or deleteMovie built in function would be an absolute
no-brainer, and even essential. But I say this as a
designer-turned-coder so I'm probably missing something that real
programmers already know. And I can understand the issues with garbage
collection and memory usage, but for the mc to actually keep executing
all functions and basically remain in an undead state seems odd. Can
someone edumacate me?

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


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Stuart (FunkDaWeb)
I have got the code working in the way they do it however i need to use it in a 
different way!

I want to set the registration point to an already created movieclip and it 
seams using Oscars class you have to use his new dynamicmovie()

I dont need all the functions that come with it i just want it to set a new X/Y 
position 
  - Original Message - 
  From: Michael William Ypes 
  To: Flash Coders List 
  Sent: Monday, April 14, 2008 1:54 PM
  Subject: Re: [Flashcoders] setting registration point via actionscript [AS3]


  I have used that class to great effect,

  
http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

  What seems to be the problem. the map mentioned above is in as3 and  
  changes the registration point all the time depending on where the  
  user clicks or pans to. What does your code look like?


  On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:

   Hi guys ive been trying to figure this out now for over a week, i  
   want to dynamically set the registration point of a dynamically  
   created movieclip. ive come across a class by Oscar Trelles (a re- 
   written AS1/2 class) that does what im after but it does not seam to  
   be very portable and can not get it to work with my app.
  
   I have also tried to use negative values by creating a blank mc and  
   loading the image into it, this gives me an image that's in the  
   correct place but the blank MC does not use the negative values set  
   so i have an overall MC thats bigger that it should be!
  
   So heres my question
  
   I want to create a movieclip with the X/Y set to 0 but have the  
   actual registration point set to X = mc.width / 2 and Y =  
   mc.height / 2 so when i use the transform controls ive created it  
   scales, rotates etc... from the centre.
  
   I also have a second question how do i set the initial value of a  
   colorpicker box via actionscript? this too also seams to be really  
   hard to find the answer!
  
   SM
   ___
   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] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Sorry for posting such a basic but I did google first... I am trying:

 

As: 

 

loadVariablesNum (mail.php, 0, POST);

 

php:

?php

 

$comment=$_GET['ucomment'];

$name=$_GET['uname'];

$email=$_GET['uemail'];

 

mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

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


RE: [Flashcoders] sending email as/php

2008-04-14 Thread Pete Hotchkiss
your using POST to send the data - and then trying to retrieve with GET


-Original Message-
From: [EMAIL PROTECTED] on behalf of Lehr, Theodore M (N-SGIS)
Sent: Mon 14/04/2008 16:29
To: Flash Coders List
Subject: [Flashcoders] sending email as/php
 
Sorry for posting such a basic but I did google first... I am trying:

 

As: 

 

loadVariablesNum (mail.php, 0, POST);

 

php:

?php

 

$comment=$_GET['ucomment'];

$name=$_GET['uname'];

$email=$_GET['uemail'];

 

mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes
Can you load the dynamic movieclip into a movieclip that extends  
oscars class. That way you just change the coords on the container and  
not necessarily on the dynamic movie. Either way it should have  
exactly the same effect.


Would that help or am I just not getting your problem?




On 14 Apr 2008, at 15:47, Stuart (FunkDaWeb) wrote:

I have got the code working in the way they do it however i need to  
use it in a different way!


I want to set the registration point to an already created movieclip  
and it seams using Oscars class you have to use his new dynamicmovie()


I dont need all the functions that come with it i just want it to  
set a new X/Y position

 - Original Message -
 From: Michael William Ypes
 To: Flash Coders List
 Sent: Monday, April 14, 2008 1:54 PM
 Subject: Re: [Flashcoders] setting registration point via  
actionscript [AS3]



 I have used that class to great effect,

 
http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

 What seems to be the problem. the map mentioned above is in as3 and
 changes the registration point all the time depending on where the
 user clicks or pans to. What does your code look like?


 On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:


Hi guys ive been trying to figure this out now for over a week, i
want to dynamically set the registration point of a dynamically
created movieclip. ive come across a class by Oscar Trelles (a re-
written AS1/2 class) that does what im after but it does not seam to
be very portable and can not get it to work with my app.

I have also tried to use negative values by creating a blank mc and
loading the image into it, this gives me an image that's in the
correct place but the blank MC does not use the negative values set
so i have an overall MC thats bigger that it should be!

So heres my question

I want to create a movieclip with the X/Y set to 0 but have the
actual registration point set to X = mc.width / 2 and Y =
mc.height / 2 so when i use the transform controls ive created it
scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a
colorpicker box via actionscript? this too also seams to be really
hard to find the answer!

SM
___
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] sending email as/php

2008-04-14 Thread Gabino Travassos

hi Theodore

Use $_POST if you're sending POST. Use $_GET when you're pulling variables 
out of the url, like index.php?id=980;


I'd also recommend strip_tags().

$comment=strip_tags($_POST['ucomment']);

And look up sql injection.

Gabino

- Original Message - 
From: Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php



Sorry for posting such a basic but I did google first... I am trying:



As:



loadVariablesNum (mail.php, 0, POST);



php:

?php



   $comment=$_GET['ucomment'];

   $name=$_GET['uname'];

   $email=$_GET['uemail'];



   mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?



I am not getting the variable values...

___
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] archived F9r28 and earlier F9r* Player installers not working under Windows

2008-04-14 Thread Andrew Sinning
I'm trying to trouble shoot some problems possibly related to a specific 
versions of the player.  So, I've downloaded the Flash Player 
Uninstaller and the complete set of installers for F8 and F9 (these are 
the files fp8_archive.zip and fp9_archive.zip).


I'm currently working under Windows XP.  I use the SWFObject.js from 
Geoff Stearns at deconcept.com to load Flash content.


If I do the uninstall and then run any version of the installers for F8 
(ActiveX and plugin), then IE and Firefox both run just fine.


However, if I do the same thing but with F9r28 installer or earlier, 
then neither the ActiveX nor the plugins are detected.  The tester who 
is having trouble is running 9r28; he can view the content for the most 
part, with just a few quirks, which I'm trying to fix


Are there known issues with using these older installers?

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


RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Thanks for the response - but I am getting the same results

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabino
Travassos
Sent: Monday, April 14, 2008 12:00 PM
To: Flash Coders List
Subject: Re: [Flashcoders] sending email as/php

hi Theodore

Use $_POST if you're sending POST. Use $_GET when you're pulling
variables 
out of the url, like index.php?id=980;

I'd also recommend strip_tags().

$comment=strip_tags($_POST['ucomment']);

And look up sql injection.

Gabino

- Original Message - 
From: Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php


 Sorry for posting such a basic but I did google first... I am trying:



 As:



 loadVariablesNum (mail.php, 0, POST);



 php:

 ?php



$comment=$_GET['ucomment'];

$name=$_GET['uname'];

$email=$_GET['uemail'];



mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
 .$email.\n\nComment: .$comment);

 ?



 I am not getting the variable values...

 ___
 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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Merrill, Jason
Does anyone know if Adobe is fixing this huge FP9 problem?

http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

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  GTO Innovative Learning Blog  subscribe.



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


Re: [Flashcoders] sending email as/php

2008-04-14 Thread Glen Pike

You might also want to look up email injection too:

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



Gabino Travassos wrote:

hi Theodore

Use $_POST if you're sending POST. Use $_GET when you're pulling 
variables out of the url, like index.php?id=980;


I'd also recommend strip_tags().

$comment=strip_tags($_POST['ucomment']);

And look up sql injection.

Gabino

- Original Message - From: Lehr, Theodore M (N-SGIS) 
[EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php



Sorry for posting such a basic but I did google first... I am trying:



As:



loadVariablesNum (mail.php, 0, POST);



php:

?php



   $comment=$_GET['ucomment'];

   $name=$_GET['uname'];

   $email=$_GET['uemail'];



   mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?



I am not getting the variable values...

___
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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Same results if I:
$comment=$_POST['ucomment'];
$name=$_POST['uname'];
$email=$_POST['uemail'];



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pete
Hotchkiss
Sent: Monday, April 14, 2008 11:55 AM
To: Flash Coders List; Flash Coders List
Subject: RE: [Flashcoders] sending email as/php

your using POST to send the data - and then trying to retrieve with GET


-Original Message-
From: [EMAIL PROTECTED] on behalf of Lehr,
Theodore M (N-SGIS)
Sent: Mon 14/04/2008 16:29
To: Flash Coders List
Subject: [Flashcoders] sending email as/php
 
Sorry for posting such a basic but I did google first... I am trying:

 

As: 

 

loadVariablesNum (mail.php, 0, POST);

 

php:

?php

 

$comment=$_GET['ucomment'];

$name=$_GET['uname'];

$email=$_GET['uemail'];

 

mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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


[Flashcoders] RE: AS3 memory management - loaded content

2008-04-14 Thread dave matthews

thanks Steve and Matt,

  Right.  Grant wrote about this GROSS MEMORY BUG in the player months ago too!

  There must be others on this list with an opinion about the player being 
unable to control loaded content!  This BUG essentially means we can't use 
closed source components for fear of serious memory issues during use by our 
clients.  How can collaborative work be done if any line of code in any .swf 
can eventually cause the player to stall and crash or hog all the resources?

  Then what are we supposed to do with AIR where any tool one builds might be 
open for weeks at a time - often consuming data delivered using some outside 
companies Flash based widget.swf ?...  Tell our customers it's Adobe's fault?

   This issue is far more complex than code on buried frames used to be in 
terms of application construction.

  And after a year we have no response from the Adobe guys...  time to look 
into Sliverlight - i guess - nice.


Dave Matthews
http://www.2GoTo.com

--original---
Message: 6
Date: Sat, 12 Apr 2008 13:55:41 -0700
From: Steven Sacks 
Subject: Re: [Flashcoders] AS3 memory management - loaded content
To: Flash Coders List 
Message-ID: 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Dave,

http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html

Grant Skinner recently blogged about this.  Major issue. What's worse is
Adobe really has no intention of fixing it.  I believe Grant's blog post
was an intention to put mucho pressure on Adobe by exposing how bad the
issue is as well as expose how they refuse to fix it. I dunno if it's
going to work but it's better than nothing.

-original--


Message: 16
Date: Mon, 14 Apr 2008 09:35:30 -0400
From: Matt S. 
Subject: Re: [Flashcoders] AS3 memory management - loaded content
To: Flash Coders List 
Message-ID:

Content-Type: text/plain; charset=ISO-8859-1

Can anyone explain the logic for this feature? It seems like an
unloadMovie or deleteMovie built in function would be an absolute
no-brainer, and even essential. But I say this as a
designer-turned-coder so I'm probably missing something that real
programmers already know. And I can understand the issues with garbage
collection and memory usage, but for the mc to actually keep executing
all functions and basically remain in an undead state seems odd. Can
someone edumacate me?

.m
-end 
original-



_
Get in touch in an instant. Get Windows Live Messenger now.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sending email as/php

2008-04-14 Thread Glen Pike

Hi,

   First try to load mail.php in the browser - if there are any errors 
in your code you will find out quickly...


   If there are no errors and it's still not working, try doing a basic 
HTML form to post to the page to test that part and then echo the 
variables back after the call to mail():


   //not tested, but you should get the picture...
   $result = mail(...);
   echo comment= .$comment .amp;name= .$name .amp;email= 
.$email .amp;result= .((TRUE == $result) ? true : false);


   Then look at LiveHTTPHeaders for Firefox, or Service Capture / 
Charles proxy debuggers to see if Flash is sending the variables.


   Glen

Glen Pike wrote:

You might also want to look up email injection too:

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



Gabino Travassos wrote:

hi Theodore

Use $_POST if you're sending POST. Use $_GET when you're pulling 
variables out of the url, like index.php?id=980;


I'd also recommend strip_tags().

$comment=strip_tags($_POST['ucomment']);

And look up sql injection.

Gabino

- Original Message - From: Lehr, Theodore M (N-SGIS) 
[EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php



Sorry for posting such a basic but I did google first... I am trying:



As:



loadVariablesNum (mail.php, 0, POST);



php:

?php



   $comment=$_GET['ucomment'];

   $name=$_GET['uname'];

   $email=$_GET['uemail'];



   mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?



I am not getting the variable values...

___
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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-04-14 Thread Muzak

Guess the best way to find out is to file a bug in the new FP bug system :-)
https://bugs.adobe.com/jira/browse/FP

- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 6:32 PM
Subject: [Flashcoders] Is Adobe fixing this big FP9 problem?



Does anyone know if Adobe is fixing this huge FP9 problem?

http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


Jason Merrill
Bank of America  


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


[Flashcoders] Re: looking for an object-explorer/trouble-shooting widget

2008-04-14 Thread Andrew Sinning

Clarification:  I'm using AS2.

Andrew Sinning wrote:
I've found that the F8 debugger is completely useless for any project 
using more than a few hundred lines are a few classes.  The 
Flash-Tracer widget is really helpful, but I need something more.


Is there a widget anywhere that a person could use to explore the 
properties of objects in a movie running in a browser?  It'd be really 
cool if there were a way to issue commands from such a widget, too.


Thanks!



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


[Flashcoders] Re: looking for an object-explorer/trouble-shooting widget

2008-04-14 Thread Andrew Sinning

Clarification:  I'm using AS2.

Andrew Sinning wrote:
I've found that the F8 debugger is completely useless for any project 
using more than a few hundred lines are a few classes.  The 
Flash-Tracer widget is really helpful, but I need something more.


Is there a widget anywhere that a person could use to explore the 
properties of objects in a movie running in a browser?  It'd be really 
cool if there were a way to issue commands from such a widget, too.


Thanks!



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


Re: [Flashcoders] Re: looking for an object-explorer/trouble-shooting widget

2008-04-14 Thread Glen Pike

XRay

http://osflash.org/xray

Andrew Sinning wrote:

Clarification:  I'm using AS2.

Andrew Sinning wrote:
I've found that the F8 debugger is completely useless for any project 
using more than a few hundred lines are a few classes.  The 
Flash-Tracer widget is really helpful, but I need something more.


Is there a widget anywhere that a person could use to explore the 
properties of objects in a movie running in a browser?  It'd be 
really cool if there were a way to issue commands from such a widget, 
too.


Thanks!



___
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


Re: [Flashcoders] RE: AS3 memory management - loaded content

2008-04-14 Thread Steven Sacks
On the AIR tip, here's the thing.  Desktop application development is an 
entirely different beast than website application development and Flash 
website development.  You must be extremely conscientious about your 
memory management with desktop applications because they might be 
running for days or even weeks at a time, whereas website apps and Flash 
sites will only be running for maximum a few hours.


In this way, AIR is inviting trouble because they're attempting to bring 
Desktop development appealing to the masses, when really, the masses 
have no idea what they're getting into, or what they're subjecting their 
users to.  Of course, you gotta learn sometime and all the memory 
management stuff you learn can be applied to your Flash sites, as well.


This expose by Grant Skinner is important specifically because of Adobe 
AIR more so than anything else.  I was developing Flash desktop 
applications with Flash wrappers and Director for a few years so I know 
a lot of the pitfalls, one of the biggest being tight memory management. 

This extremely bad memory leak in AS3 is a death knell for AIR.  Until 
it is fixed, AIR can no longer be seriously considered as a reliable 
platform for desktop application development.  People are better off 
using AS2 and one of the other wrappers out there.  There's just no room 
for terribly bad memory leaks like this in the world of desktop 
application development, especially when they're completely out of your 
control even when you do everything right and you have no way of fixing it.


Adobe has really dug themselves into a deep hole here.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] looking for an object-explorer/trouble-shooting widget

2008-04-14 Thread Andrew Sinning
I've found that the F8 debugger is completely useless for any project 
using more than a few hundred lines are a few classes.  The Flash-Tracer 
widget is really helpful, but I need something more.


Is there a widget anywhere that a person could use to explore the 
properties of objects in a movie running in a browser?  It'd be really 
cool if there were a way to issue commands from such a widget, too.


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


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

2008-04-14 Thread Steven Sacks
No they are not.  In fact, their absolute refusal to fix it is the 
reason for Grant's post.


If you want it fixed, you're going to have to put pressure on Adobe, 
which they have certainly earned with this.  Talk about it on every 
online forum and blog.  Point to Grant's blog entry.  Expose the huge 
memory leak in the player.  Talk about how it has crippled AIR as a 
legitimate desktop application platform.  Make major companies like 
Disney and Turner wary of using AS3 for their Flash sites.


Think about the line about automobile recalls in Fight Club.  A times B 
times C equals X.  If X is less than the cost of a recall, we don't do one.


Unless this affects Adobe financially or embarrass them publicly in the 
tech industry, they aren't going to do anything about it.



Merrill, Jason wrote:

Does anyone know if Adobe is fixing this huge FP9 problem?

http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 


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


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

2008-04-14 Thread Steven Sacks
And just a note here, but the blogosphere is starting to come alive with 
people talking about this issue.


Funny that MXNA has been down for the past couple of days.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-04-14 Thread Brian Mays
I don't completely understand everything it's describing but I sent it on to
our programming team who responded with the words wow...heinous bug.

Brian Mays


On 4/14/08 12:58 PM, Steven Sacks [EMAIL PROTECTED] wrote:

 And just a note here, but the blogosphere is starting to come alive with
 people talking about this issue.
 
 Funny that MXNA has been down for the past couple of days.

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


Re: [Flashcoders] setting registration point via actionscript [AS3]

2008-04-14 Thread Michael William Ypes
Same thing, load the text box into a movieclip and transform the  
movieclip which will in turn transform the dynamic textfield.


On 14 Apr 2008, at 18:01, Stuart (FunkDaWeb) wrote:

I had a rethink after reading your emails and managed to get it to  
work, i now need to make this work on a dynamically generated  
textbox any ideas?

 - Original Message -
 From: Michael William Ypes
 To: Flash Coders List
 Sent: Monday, April 14, 2008 4:32 PM
 Subject: Re: [Flashcoders] setting registration point via  
actionscript [AS3]



 Can you load the dynamic movieclip into a movieclip that extends
 oscars class. That way you just change the coords on the container  
and

 not necessarily on the dynamic movie. Either way it should have
 exactly the same effect.

 Would that help or am I just not getting your problem?




 On 14 Apr 2008, at 15:47, Stuart (FunkDaWeb) wrote:


I have got the code working in the way they do it however i need to
use it in a different way!

I want to set the registration point to an already created movieclip
and it seams using Oscars class you have to use his new  
dynamicmovie()


I dont need all the functions that come with it i just want it to
set a new X/Y position
- Original Message -
From: Michael William Ypes
To: Flash Coders List
Sent: Monday, April 14, 2008 1:54 PM
Subject: Re: [Flashcoders] setting registration point via
actionscript [AS3]


I have used that class to great effect,

http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

What seems to be the problem. the map mentioned above is in as3 and
changes the registration point all the time depending on where the
user clicks or pans to. What does your code look like?


On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:


Hi guys ive been trying to figure this out now for over a week, i
want to dynamically set the registration point of a dynamically
created movieclip. ive come across a class by Oscar Trelles (a re-
written AS1/2 class) that does what im after but it does not seam to
be very portable and can not get it to work with my app.

I have also tried to use negative values by creating a blank mc and
loading the image into it, this gives me an image that's in the
correct place but the blank MC does not use the negative values set
so i have an overall MC thats bigger that it should be!

So heres my question

I want to create a movieclip with the X/Y set to 0 but have the
actual registration point set to X = mc.width / 2 and Y =
mc.height / 2 so when i use the transform controls ive created it
scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a
colorpicker box via actionscript? this too also seams to be really
hard to find the answer!

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



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



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



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


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

2008-04-14 Thread eric e. dolecki
Indeed, its pretty bad and pretty unworkable in some circumstances as Grant
has pointed out. Ick.

On Mon, Apr 14, 2008 at 2:25 PM, Brian Mays [EMAIL PROTECTED] wrote:

 I don't completely understand everything it's describing but I sent it on
 to
 our programming team who responded with the words wow...heinous bug.

 Brian Mays


 On 4/14/08 12:58 PM, Steven Sacks [EMAIL PROTECTED] wrote:

  And just a note here, but the blogosphere is starting to come alive with
  people talking about this issue.
 
  Funny that MXNA has been down for the past couple of days.

 ___
 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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Francis Cheng
Hi Steven,

Where in Grant's post does he say that Adobe refuses to fix this
problem? I must have missed that part. If anyone from Adobe has made
such a statement, please point it out to me, because I'd have a bone to
pick with that person. 

Grant's post is helpful because he discusses the issue in such detail,
but it would be even more helpful to have a concrete test case that
exhibits this problem. As Muzak suggested earlier, please take a look at
the new Flash Player public bugbase. There's currently a bug titled
Memory leak in AS3:

https://bugs.adobe.com/jira/browse/FP-49

If this bug report describes the same problem that you experience,
please register on the site and vote for the bug. If it doesn't describe
what you are experiencing, please help us out and file a new bug report
that describes your problem and upload test files if at all possible.

Francis Cheng | Senior Technical Writer | Adobe Systems, Inc.
http://blogs.adobe.com/fcheng

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: Monday, April 14, 2008 10:48 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

No they are not.  In fact, their absolute refusal to fix it is the 
reason for Grant's post.

If you want it fixed, you're going to have to put pressure on Adobe, 
which they have certainly earned with this.  Talk about it on every 
online forum and blog.  Point to Grant's blog entry.  Expose the huge 
memory leak in the player.  Talk about how it has crippled AIR as a 
legitimate desktop application platform.  Make major companies like 
Disney and Turner wary of using AS3 for their Flash sites.

Think about the line about automobile recalls in Fight Club.  A times B

times C equals X.  If X is less than the cost of a recall, we don't do
one.

Unless this affects Adobe financially or embarrass them publicly in the 
tech industry, they aren't going to do anything about it.


Merrill, Jason wrote:
 Does anyone know if Adobe is fixing this huge FP9 problem?

 http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


 Jason Merrill
 Bank of America  
 GTO and Risk LLD Solutions Design  Development 
 eTools  Multimedia 

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


Re: [Flashcoders] RE: AS3 memory management - loaded content

2008-04-14 Thread Matt S.
I emailed Lee Brimelow at TheFlashBlog.com about this issue, I'd love
to hear what someone within Adobe has to say re this issue. I dont
expect a personal response of course but maybe if enough of us email
him he'll write a post on it.

.m

On Mon, Apr 14, 2008 at 1:37 PM, Steven Sacks [EMAIL PROTECTED] wrote:
 On the AIR tip, here's the thing.  Desktop application development is an
 entirely different beast than website application development and Flash
 website development.  You must be extremely conscientious about your memory
 management with desktop applications because they might be running for days
 or even weeks at a time, whereas website apps and Flash sites will only be
 running for maximum a few hours.

  In this way, AIR is inviting trouble because they're attempting to bring
 Desktop development appealing to the masses, when really, the masses have no
 idea what they're getting into, or what they're subjecting their users to.
 Of course, you gotta learn sometime and all the memory management stuff you
 learn can be applied to your Flash sites, as well.

  This expose by Grant Skinner is important specifically because of Adobe AIR
 more so than anything else.  I was developing Flash desktop applications
 with Flash wrappers and Director for a few years so I know a lot of the
 pitfalls, one of the biggest being tight memory management.
  This extremely bad memory leak in AS3 is a death knell for AIR.  Until it
 is fixed, AIR can no longer be seriously considered as a reliable platform
 for desktop application development.  People are better off using AS2 and
 one of the other wrappers out there.  There's just no room for terribly bad
 memory leaks like this in the world of desktop application development,
 especially when they're completely out of your control even when you do
 everything right and you have no way of fixing it.

  Adobe has really dug themselves into a deep hole here.


  ___
  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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Steven Sacks

Francis Cheng wrote:

Grant's post is helpful because he discusses the issue in such detail,
but it would be even more helpful to have a concrete test case that
exhibits this problem.
  

Francis,

With all due respect, the Flash team knows about this, and they don't 
need any more concrete test cases.  We've got better things to do than 
play into Adobe's attempt to buy time by deflecting it back on the 
developers to come up with examples while the Flash team tries to get 
out of their blunder.


It's clear that Grant had discussions with Adobe before he wrote that 
blog post and I'm certain that others have approached the Flash player 
team with this issue for awhile.  Nothing has been done to fix it, so 
you end up with a public exposure of the issue, as Grant has done.  The 
Flash player team has egg on its face because in AS2 if you unload a 
swf, it unloads, and in AS3, it doesn't.  Period end of statement.  The 
Flash GC engine's inner workings is something that nobody outside of 
Adobe has access into and we can't possibly make tests that demonstrate 
whether it is or isn't working.  The proof is in the pudding and Grant's 
post is all the evidence you need.


Let's not get into a situation where we are insulting each other's 
intelligence by acting like the Flash team hasn't been aware of this 
issue for quite some time.  The Flash team is well aware of it, they 
know why it exists and they know it's difficult to fix.  In all 
likelihood, they knew about it before any developer discovered it.  I 
mean, after all, it works exactly like it was coded to work.  It's not 
technically a bug, it's an engineering decision that is coming back to 
haunt them.



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


Re: [Flashcoders] AS3 - first site

2008-04-14 Thread Forrest Maready
slide.mouseChildren = false;

On Mon, Apr 14, 2008 at 11:43 AM, Corban Baxter [EMAIL PROTECTED] wrote:

 Hey guys I am having some issues with understanding AS3 and how all my
 scope etc works. Can I get some type of explanation on this. Below is
 some code I am trying to use in my first AS3 project but I can't seem
 to get a few things to work out.

 The problem I see is that since my pictLdr is being put in the slide
 it inherits the slide's click event. But I don't want the pictLdr to
 have a click event I just want the slide (container) to have the
 event. When the pictLdr gets clicked now I am returned with a name
 value for the pictLdr but I only want the name of the slide since it
 will have the 'num' var in it and can tell me its position in the
 slide list. But pictLdr can't.

 I hope what I am asking makes sense. But I am slightly confused on all
 this. I understand why pictLdr is getting the event now since its part
 of the slide and with the new event model this is possible. But with
 my old AS2 mind I can't work around on how I am supposed to work
 through this. Please help! Thanks!

 function createSlides(slides:Array):void {
var totalSlides:Number = slides.length;
//trace(totalSlides);

//create container to hold all the clips

for (var i:int = 0; i  totalSlides; i++) {
//trace(slides[i].num +   + slides[i].pages[0]);

var slide:SlideContainer = new SlideContainer();

slide.x = 130;
slide.y = -180 + (320 * i);//position slide along the
 y-axis
slide.num = i;
slide.name = slide + i;
slide.buttonMode = true;
slide.addEventListener(MouseEvent.CLICK, clicked);



container.addChildAt(slide, i);//container for each of the
 slides and is a MC


//this will hold additional info like a background for the
 images and a holder
var pictLdr:Loader = new Loader();
pictLdr.x = 22;
pictLdr.y = 19;
pictLdr.name = img;
slide.addChild(pictLdr);//code works fine if I addChild
 here.

var pictURL:String = gallery/ + slides[i].pages[0];//path
 to a jpg
 for the gallery
var pictURLReq:URLRequest = new URLRequest(pictURL);
pictLdr.load(pictURLReq);

pictLdr.contentLoaderInfo.addEventListener(Event.COMPLETE,
 imgLoaded);
}

 }


 function clicked(event:MouseEvent):void {
trace(event.target.name); //returns img
moveSlides(-1);
 }

 --
 Corban Baxter
 http://www.projectx4.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] Is Adobe fixing this big FP9 problem?

2008-04-14 Thread Barry Hannah
1) Are flv's affected?
2) Does it ruin Adobe media player?


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

Scanned by Bizo Email Filter


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


Re: [Flashcoders] sending email as/php

2008-04-14 Thread Yaakov Relkin
In AS3, If you want to send an email, all you have to do is this:

function sendData():void
{
??? var variables:URLVariables = new URLVariables();
??? variables.name = name_txt.text;
??? variables.email = email_txt.text;
??? variables.message = message_txt.text;

??? var _request:URLRequest = new URLRequest(mailer.php);

??? _request.data = variables;
??? _request.method = URLRequestMethod.POST;

??? var loader:URLLoader = new URLLoader();
??? loader.dataFormat = URLLoaderDataFormat.TEXT;
??? loader.addEventListener( Event.COMPLETE, sendComplete );
??? loader.load( _request );
}

function sendComplete( e:Event ):void
{
??? helpnotif_mc.helptip_txt.text = Message Sent! We will reply asap!;
??? helpnotif_mc.helptip_txt.textColor = 0x00ff00;

}
 
 
-

PHP:::



?php

/* mailer.php - version 1.0.1 */
/* creator - Jacob Relkin*/

/* Pull POST data from Flash */

$name = $_POST['name'];
$email = $_POST['email'];

/* Define html message */

$message = 'html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
titlePHP E-Mail/title
style type=text/css
!--
body,td,th {
??? font-family: Verdana, Arial, Helvetica, sans-serif;
??? font-size: 16px;
??? color: #00FF00;
}
body {
??? background-color: #00;
}
--
/style/head

body
div align=center' . $_POST['message'] . '/div/body/html';


/* Title of the E-mail */
$subject? = PHPMessage;

/* The e-mail address to send the message to. */
$toaddress = '[EMAIL PROTECTED]';

$name = trim($name);
$email = trim($email);

$subject = stripslashes($subject);
$message = stripslashes($message);

$headers = 'From: ' . $name . '  ' . $email . '';
$headers .= 'MIME-Version: 1.0' . \r\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n;

mail($toaddress, $subject, $message, $headers);

?

If you have any questions, you can email me at [EMAIL PROTECTED]

Jacob


 

-Original Message-
From: Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Mon, 14 Apr 2008 11:29 am
Subject: [Flashcoders] sending email as/php










Sorry for posting such a basic but I did google first... I am trying:

 

As: 

 

loadVariablesNum (mail.php, 0, POST);

 

php:

?php

 

$comment=$_GET['ucomment'];

$name=$_GET['uname'];

$email=$_GET['uemail'];

 

mail([EMAIL PROTECTED], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Muzak

My guess is that flv's are not affected..
And guessing some more.. external swf's that contain flv/audio are affected (e.g. audio will continue to play when unloading the 
swf).


- Original Message - 
From: Barry Hannah [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 11:06 PM
Subject: RE: [Flashcoders] Is Adobe fixing this big FP9 problem?



1) Are flv's affected?
2) Does it ruin Adobe media player?




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


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

2008-04-14 Thread Steven Sacks
Correct, Muzak.  They are affected.  You might remember I posted about 
this issue last month.  I cannot unload a swf that contains an embedded 
video on the timeline.  The best I can do is stop it.



Muzak wrote:

My guess is that flv's are not affected..
And guessing some more.. external swf's that contain flv/audio are 
affected (e.g. audio will continue to play when unloading the swf).


- Original Message - From: Barry Hannah [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 11:06 PM
Subject: RE: [Flashcoders] Is Adobe fixing this big FP9 problem?



1) Are flv's affected?
2) Does it ruin Adobe media player?




___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Steven Sacks
Let's get down to brass tax. 

Grant's post is not some bug report and everyone at Adobe knows it.  
Coming on here and trying to downplay it isn't going to get you very far 
because people are going to call bullshit.  It's a major problem for 
Adobe for this to be made public and one reason it was made public is 
because the Flash team wouldn't admit it or fix it.  It's not a good 
idea to lie to your development community.


The Flash team knows what they did.  They shouldn't have made this bad 
engineering decision and now they are in a bind because there's no going 
back and the best they can do is try and provide a usable workaround in 
the form of memory sandboxing.  Weak (no pun intended).


The rule for unloading a swf is that you have to remove all references, 
stop all timelines, stop all sounds, stop all timers, stop any enter 
frame listeners, etc, only then will it be allowed to unload.  This 
requirement set up the situation where you cannot run a trace inside the 
swf to prove that it still exists in memory, otherwise, you've violated 
the requirement that allows a swf to unload.  Interesting, huh?


This is the very thing that the Flash team has relied upon to shield 
themselves from this being exposed.  If you can't prove it, they don't 
have to fix it because they've got plausible deniability.  The GC is 
completely hidden from developers, which only compounds the issue.  Of 
course, this lack of transparency of the GC is by design, and that 
discussion is out of the scope of this conversation.


This is the Flash team's dirty secret.  They don't actually unload your 
swf.  But, if you stop all timelines, scripts, and clear all references 
then to the casual observer it appears that your clip is unloaded 
because you have no solid way of proving otherwsie.  Crafty, but not 
crafty enough.  Unfortunately for the Flash player team, some smart 
developers figured out a way to prove what's really going on, and 
because of their continued denials and refusal to fix it because of the 
difficulty in doing so, their dirty little secret has been exposed.


The fact of the matter is, if your references are within the scope of 
the swf, and you unload the swf, then the swf and everything inside it 
should unload.  You shouldn't have to turn off anything inside a swf if 
its scope stays within the swf.  You shouldn't have to call stop() on 
all timelines inside a swf that you're trying to unload, either.  AS2 
let you do it, so should AS3.


I don't know how Adobe, in good conscience, could be pushing newbie 
developers to learn AS3.







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


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

2008-04-14 Thread Francis Cheng
Steven,

Steven Sacks wrote:
 We've got better things to do than play into Adobe's attempt to buy
time
 by deflecting it back on the developers ...

I'm not trying to deflect anything or to buy time. I was just making a
statement that it's more helpful to have concrete test cases. You said
yourself that it's difficult to fix, so it seems reasonable to me that
having more concrete test cases will make it easier to fix.

 It's clear that Grant had discussions with Adobe before he wrote that
 blog post and I'm certain that others have approached the Flash player
 team with this issue for awhile.  

You seem to be implying that Grant wrote the blog post only after he was
rebuffed or stonewalled by the Flash Player team when he approached them
with this issue. I have no idea whether he has contacted the Flash
Player team about this issue, but he certainly doesn't explicitly talk
about it in his post. In fact, what he does say about the Flash Player
team seems to cut the other way:

The player team is a group of smart, dedicated people, who are
genuinely interested in what you have to say.

I'd like to humbly offer a possible alternative motive for Grant's post.
Perhaps he understands that the Player team gets a lot of feedback and
has to evaluate each issue based not only on its severity, but also on
the amount of content and the number of developers that the issue
affects. Perhaps his post was an attempt to clarify to the Flash Player
team that they have underestimated both the severity and scope of this
issue.

 The Flash GC engine's inner workings is something that nobody outside
of 
 Adobe has access into...

Not true. The Flash GC engine used in AVM2 is open-source (as part of
the Tamarin project). I'm just mentioning this as a point of interest.
I'm not in any way deflecting the issue here. I don't expect anyone on
this list to actually fix Tamarin GC bugs or to understand the inner
workings of the GC before filing a bug report. But if you are curious
about the AVM2 garbage collector, named MMgc, here's a link to the
Tamarin GC docs:
http://developer.mozilla.org/en/docs/MMgc

 Let's not get into a situation where we are insulting each other's 
 intelligence by acting like the Flash team hasn't been aware of this 
 issue for quite some time. 

I never said the player team hasn't heard about this. In fact, the bug
report I linked to in my last message was filed in late November 2007. 

Another side note--someone mentioned Grant's blog post on Flexcoders
last week, and Alex Harui, who is an order of magnitude smarter than I
am, responded:
http://tech.groups.yahoo.com/group/flexcoders/message/109455


Francis Cheng | Senior Technical Writer | Adobe Systems, Inc.
http://blogs.adobe.com/fcheng

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: Monday, April 14, 2008 12:45 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

Francis Cheng wrote:
 Grant's post is helpful because he discusses the issue in such detail,
 but it would be even more helpful to have a concrete test case that
 exhibits this problem.
   
Francis,

With all due respect, the Flash team knows about this, and they don't 
need any more concrete test cases.  We've got better things to do than 
play into Adobe's attempt to buy time by deflecting it back on the 
developers to come up with examples while the Flash team tries to get 
out of their blunder.

It's clear that Grant had discussions with Adobe before he wrote that 
blog post and I'm certain that others have approached the Flash player 
team with this issue for awhile.  Nothing has been done to fix it, so 
you end up with a public exposure of the issue, as Grant has done.  The 
Flash player team has egg on its face because in AS2 if you unload a 
swf, it unloads, and in AS3, it doesn't.  Period end of statement.  The 
Flash GC engine's inner workings is something that nobody outside of 
Adobe has access into and we can't possibly make tests that demonstrate 
whether it is or isn't working.  The proof is in the pudding and Grant's

post is all the evidence you need.

Let's not get into a situation where we are insulting each other's 
intelligence by acting like the Flash team hasn't been aware of this 
issue for quite some time.  The Flash team is well aware of it, they 
know why it exists and they know it's difficult to fix.  In all 
likelihood, they knew about it before any developer discovered it.  I 
mean, after all, it works exactly like it was coded to work.  It's not 
technically a bug, it's an engineering decision that is coming back to 
haunt them.


___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread laurent
You could write them an email saying you will do that if they don't fix 
this huge issue ending your mail with such an smiley ;)
Instead of being a huge sucker. I hope, Steven, this is just part of the 
strategy. How much money have you make since flash player is out...? 300 
000$ a year you saidhm FP team really sucks...wooo hell...


As if this issue was the end of the worldwhat the fuck is a flash 
player in the universe god damn it!


By the way, Disney just called me, they don't give a shit...
L

Steven Sacks a écrit :
No they are not.  In fact, their absolute refusal to fix it is the 
reason for Grant's post.


If you want it fixed, you're going to have to put pressure on Adobe, 
which they have certainly earned with this.  Talk about it on every 
online forum and blog.  Point to Grant's blog entry.  Expose the huge 
memory leak in the player.  Talk about how it has crippled AIR as a 
legitimate desktop application platform.  Make major companies like 
Disney and Turner wary of using AS3 for their Flash sites.


Think about the line about automobile recalls in Fight Club.  A times 
B times C equals X.  If X is less than the cost of a recall, we don't 
do one.


Unless this affects Adobe financially or embarrass them publicly in 
the tech industry, they aren't going to do anything about it.



Merrill, Jason wrote:

Does anyone know if Adobe is fixing this huge FP9 problem?

http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html


Jason Merrill
Bank of America  GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia

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


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

2008-04-14 Thread Steven Sacks

Thanks for the link to Alex Harui's post, Francis.

It unquestionably supports my stance that only advanced developers 
should be using AS3 and everyone else (95% of Flash developers) should 
stick with AS1/AS2.  This issue of not unloading swfs unless you 
explicitly turn everything off inside it is another prime reason why 
only expert developers should be coding AS3.  The fact that it doesn't 
actually work even when you do requires a high level of programming 
skill to manage correctly.  This is not the realm of designers, 
animators and low to mid level Flash developers.


Nobody wants to acknowledge the strictness in AS3 is not merely syntax, 
but extends to the entire way you develop.  Most Flash developers out 
there are not strict or disciplined programmers.  AS2's looseness (and 
the ability to unload swfs) is still best for creative Flash 
development except in the trained hands of Flash experts who know how to 
manage the memory management issues.


If the GC implementation in Flash was truly transparent, then somebody 
would be able to explain why Grant's localConnection hack to force the 
GC to run worked.  The Flash team would also provide some API methods 
into it.  There is no API to the GC, therefore it's implementation is 
not transparent.


And to the guy who said Disney doesn't give a shit, you're wrong.  
Disney is undergoing a major overhaul of all their Flash content to 
AS3.  They've been in touch with Adobe about this.  Let's not spread 
misinformation here.  I think Adobe has done enough.

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


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

2008-04-14 Thread Steven Sacks
Also I want to make clear that I am not putting any words into Grant's 
mouth.  I have not had any discussion with Grant personally on this topic.

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


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

2008-04-14 Thread Steven Sacks
Ha!  I never said I make $300,000 a year.  Where did you get such a 
crazy idea as that?  :)


The Flash player team knew they were in a pickle and instead of 
providing a way to punt something or forcibly shut it down, they opted 
to not say anything and hope that nobody figured it out.  That might be 
ok when you only have a few hundred users, but with the way Adobe's been 
pushing AS3 at everyone, getting people like Colin Moock to try and 
convert newbie developers to use AS3 claiming how much better it is, 
Adobe's behavior is completely irresponsible.


I make my living with Flash.  I don't need other companies out there 
pushing competing technologies to be able to point out that the Flash 
player has a major issue in it so come to the darkside.   Adobe needs to 
fix it, pronto. 


:)-- Smiley face

laurent wrote:
I hope, Steven, this is just part of the strategy. How much money have 
you make since flash player is out...? 300 000$ a year you said

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


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

2008-04-14 Thread laurent

Steven Sacks a écrit :

Thanks for the link to Alex Harui's post, Francis.

It unquestionably supports my stance that only advanced developers 
should be using AS3 and everyone else (95% of Flash developers) should 
stick with AS1/AS2.

Bullshit
This issue of not unloading swfs unless you explicitly turn everything 
off inside it is another prime reason why only expert developers 
should be coding AS3.

Bullcrap
The fact that it doesn't actually work even when you do requires a 
high level of programming skill to manage correctly.  This is not the 
realm of designers, animators and low to mid level Flash developers.

Who are you for god sake ?
I know who you are it's just to mean it means nothing.


Nobody wants to acknowledge the strictness in AS3 is not merely 
syntax, but extends to the entire way you develop.  Most Flash 
developers out there are not strict or disciplined programmers.

Nice. sources ?
I don't ask for your clean code here.
  AS2's looseness (and the ability to unload swfs) is still best for 
creative Flash development except in the trained hands of Flash 
experts who know how to manage the memory management issues.
yeah we know creatives are just a bunch of troubadour...nearly monkeys, 
give them bananas and they'll have fun.


If the GC implementation in Flash was truly transparent, then somebody 
would be able to explain why Grant's localConnection hack to force the 
GC to run worked.  The Flash team would also provide some API methods 
into it.  There is no API to the GC, therefore it's implementation is 
not transparent.
True they must be something hidden by the team, something nasty, their 
own shit I think. Remember shit is the essence of the world everything 
grows out of shit.


And to the guy who said Disney doesn't give a shit, you're wrong.  
Disney is undergoing a major overhaul of all their Flash content to 
AS3.  They've been in touch with Adobe about this.  Let's not spread 
misinformation here.  I think Adobe has done enough.
You can't even read you mail box...I don't know who's misinforming 
people here, where do you glance your informations, from true moment of 
inspiration or you work for the aliens...?


Laurent

Quoting Dsiney,
Hey man you know how much money we make in our parks, on exploiting 
poor students, comedians, other unknown artists make them play Dingo or 
Donal Duck ;) What is memory used for in a computer ? Memory is 
dangerous man.

___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Paul Andrews
- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 11:51 PM
Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem?


 I don't need other companies out there pushing competing technologies to 
be able to point out that the Flash player has a major issue in it so come 
to the darkside.


You're saving them the job. If I were reading this thread I'd wonder how 
anyone had ever done anything with Flash. 


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


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

2008-04-14 Thread Steven Sacks

Laurent, you're my hero!  teh internet is serious business INDEED!  :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-04-14 Thread Steven Sacks

Ha!

Paul Andrews wrote:
You're saving them the job. If I were reading this thread I'd wonder 
how anyone had ever done anything with Flash.

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


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

2008-04-14 Thread Barry Hannah
Can you please refrain from your personal tirade on this list?
I'm sick of your potty mouth, it's completely unprofessional and unnecessary.
If you have an axe to grind with Steven, email him directly.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent
Sent: Tuesday, 15 April 2008 10:57 a.m.
To: Flash Coders List
Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

Steven Sacks a écrit :
 Thanks for the link to Alex Harui's post, Francis.

 It unquestionably supports my stance that only advanced developers 
 should be using AS3 and everyone else (95% of Flash developers) should 
 stick with AS1/AS2.
Bullshit
 This issue of not unloading swfs unless you explicitly turn everything 
 off inside it is another prime reason why only expert developers 
 should be coding AS3.
Bullcrap
 The fact that it doesn't actually work even when you do requires a 
 high level of programming skill to manage correctly.  This is not the 
 realm of designers, animators and low to mid level Flash developers.
Who are you for god sake ?
I know who you are it's just to mean it means nothing.

 Nobody wants to acknowledge the strictness in AS3 is not merely 
 syntax, but extends to the entire way you develop.  Most Flash 
 developers out there are not strict or disciplined programmers.
Nice. sources ?
I don't ask for your clean code here.
   AS2's looseness (and the ability to unload swfs) is still best for 
 creative Flash development except in the trained hands of Flash 
 experts who know how to manage the memory management issues.
yeah we know creatives are just a bunch of troubadour...nearly monkeys, 
give them bananas and they'll have fun.

 If the GC implementation in Flash was truly transparent, then somebody 
 would be able to explain why Grant's localConnection hack to force the 
 GC to run worked.  The Flash team would also provide some API methods 
 into it.  There is no API to the GC, therefore it's implementation is 
 not transparent.
True they must be something hidden by the team, something nasty, their 
own shit I think. Remember shit is the essence of the world everything 
grows out of shit.

 And to the guy who said Disney doesn't give a shit, you're wrong.  
 Disney is undergoing a major overhaul of all their Flash content to 
 AS3.  They've been in touch with Adobe about this.  Let's not spread 
 misinformation here.  I think Adobe has done enough.
You can't even read you mail box...I don't know who's misinforming 
people here, where do you glance your informations, from true moment of 
inspiration or you work for the aliens...?

Laurent

Quoting Dsiney,
Hey man you know how much money we make in our parks, on exploiting 
poor students, comedians, other unknown artists make them play Dingo or 
Donal Duck ;) What is memory used for in a computer ? Memory is 
dangerous man.
 ___
 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

Scanned by Bizo Email Filter


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


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

2008-04-14 Thread laurent
Yeah I'm sorry Steven, I don't have real technical arguments on all this 
and of course you're making a point that perhaps - because no one can 
prove it, even not the aliens, I'm working for them they have no clue, 
and I know you don't that was just to see how far you can go - perhaps 
adobe tried to hide a mistake ( and that's just fantasy), and who does 
not when managing his life, and how big is the mistake or how big are 
you making it, seriously Grant post is fare, and fare with the great 
adobe team. What best move to go as maximum open source as they 
can,it's a big montain to move, so it must involve great movement 
somewhere. Those are to care about.

.
To be serious, you posted this at 18:38 (Berlin time) the 26/03/08:

You're joking, right?  Talented Flash developers are in extremely high 
demand right now.  Every day I get 3-5 emails from recruiters or 
companies.  It's a seller's market and people are paying top dollar for 
AS3 and Flex devs.  Flash and Flex jobs are paying $75-$150/hr.  That's 
$150,000 - $300,000 a year.  If you can't afford a Porsche, you need to 
find a new job or grow a pair and ask for a raise.


That being said, I don't own a Porsche because I've got better things to 
do with my money.  ;)


Sorry I'm arguing in a really subjective nasty way here, but I get pist 
off sometimes and concerned
Nice words: I did learn very fast a lot about structuring my project in 
installing your Gaia framework. You must be a great programmer, so come 
back to us, Gaia Loves you (if you don't spit on it :)


L

Steven Sacks a écrit :

Laurent, you're my hero!  teh internet is serious business INDEED!  :)
___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Bob Wohl
I'm so confused... You bummed that you don't make that much, or: ticked that
he wants to force action on this bug, or: hate the color of his shirt, or





On Mon, Apr 14, 2008 at 4:44 PM, laurent [EMAIL PROTECTED] wrote:

 Yeah I'm sorry Steven, I don't have real technical arguments on all this
 and of course you're making a point that perhaps - because no one can
 prove it, even not the aliens, I'm working for them they have no clue, and I
 know you don't that was just to see how far you can go - perhaps adobe
 tried to hide a mistake ( and that's just fantasy), and who does not when
 managing his life, and how big is the mistake or how big are you making it,
 seriously Grant post is fare, and fare with the great adobe team. What best
 move to go as maximum open source as they can,it's a big montain to
 move, so it must involve great movement somewhere. Those are to care about.
 .
 To be serious, you posted this at 18:38 (Berlin time) the 26/03/08:

 You're joking, right?  Talented Flash developers are in extremely high
 demand right now.  Every day I get 3-5 emails from recruiters or companies.
  It's a seller's market and people are paying top dollar for AS3 and Flex
 devs.  Flash and Flex jobs are paying $75-$150/hr.  That's $150,000 -
 $300,000 a year.  If you can't afford a Porsche, you need to find a new job
 or grow a pair and ask for a raise.

 That being said, I don't own a Porsche because I've got better things to
 do with my money.  ;)
 
 Sorry I'm arguing in a really subjective nasty way here, but I get pist
 off sometimes and concerned
 Nice words: I did learn very fast a lot about structuring my project in
 installing your Gaia framework. You must be a great programmer, so come back
 to us, Gaia Loves you (if you don't spit on it :)

 L

 Steven Sacks a écrit :

  Laurent, you're my hero!  teh internet is serious business INDEED!  :)
  ___
  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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Ricky Bacon

Steven Sacks wrote:
And to the guy who said Disney doesn't give a shit, you're wrong.  
Disney is undergoing a major overhaul of all their Flash content to 
AS3.  They've been in touch with Adobe about this.  Let's not spread 
misinformation here.  I think Adobe has done enough.


Toyota is migrating/has migrated to AS3 too (and their coding standards 
are kinda sexy).


This issue may actually impact a project I was discussing with a client 
today.  The client wants to do an RIA with AIR and it will require the 
loading/unloading of content.  The nature of the content requires a lot 
of memory so, if this issue is as pervasive as has been described, AIR 
won't be an option.


Hmmm, the tests they have done so far were built Flex.  Now I have to 
see if this will present a problem overall.


:sigh:

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


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

2008-04-14 Thread Lukas Ruebbelke

I am absolutely amazed at the liberty that you have taken in passing off
your assumptions and opinions as fact. 

It unquestionably supports my stance that only advanced developers should
be using AS3 and everyone else (95% of Flash developers) should stick with
AS1/AS2.

Can you prove this with hard statistics? 

The fact that it doesn't actually work even when you do requires a high
level of programming skill to manage correctly.

You even used the word 'fact' this time. 

Most Flash developers out there are not strict or disciplined programmers.

Once again, this is nothing more than opinion.

Let's not spread misinformation here.  I think Adobe has done enough.

The sheer irony of this statement is astounding. 

Steve, your conspiracy theories and posturing is doing nothing to cement
professional opinions of your abilities and character.

Your intellect is entirely eclipsed by the collective intelligence of the
flash player team and only a fool would suggest they are not doing anything
to fix it. There are things you can do besides bickering and making
accusations that will actually HELP the problem. Write an article, explore
alternate solutions, submit a wish list, etc.

Be constructive not destructive.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
Sent: Monday, April 14, 2008 3:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

Thanks for the link to Alex Harui's post, Francis.

It unquestionably supports my stance that only advanced developers 
should be using AS3 and everyone else (95% of Flash developers) should 
stick with AS1/AS2.  This issue of not unloading swfs unless you 
explicitly turn everything off inside it is another prime reason why 
only expert developers should be coding AS3.  The fact that it doesn't 
actually work even when you do requires a high level of programming 
skill to manage correctly.  This is not the realm of designers, 
animators and low to mid level Flash developers.

Nobody wants to acknowledge the strictness in AS3 is not merely syntax, 
but extends to the entire way you develop.  Most Flash developers out 
there are not strict or disciplined programmers.  AS2's looseness (and 
the ability to unload swfs) is still best for creative Flash 
development except in the trained hands of Flash experts who know how to 
manage the memory management issues.

If the GC implementation in Flash was truly transparent, then somebody 
would be able to explain why Grant's localConnection hack to force the 
GC to run worked.  The Flash team would also provide some API methods 
into it.  There is no API to the GC, therefore it's implementation is 
not transparent.

And to the guy who said Disney doesn't give a shit, you're wrong.  
Disney is undergoing a major overhaul of all their Flash content to 
AS3.  They've been in touch with Adobe about this.  Let's not spread 
misinformation here.  I think Adobe has done enough.
___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread laurent
Certainly not the first one, perhaps a mix of the two last you wrote. 
There's way of doing things. And way to say as if as a professionnal way 
totally unprofessionnal things.


L

Bob Wohl a écrit :

I'm so confused... You bummed that you don't make that much, or: ticked that
he wants to force action on this bug, or: hate the color of his shirt, or





On Mon, Apr 14, 2008 at 4:44 PM, laurent [EMAIL PROTECTED] wrote:

  

Yeah I'm sorry Steven, I don't have real technical arguments on all this
and of course you're making a point that perhaps - because no one can
prove it, even not the aliens, I'm working for them they have no clue, and I
know you don't that was just to see how far you can go - perhaps adobe
tried to hide a mistake ( and that's just fantasy), and who does not when
managing his life, and how big is the mistake or how big are you making it,
seriously Grant post is fare, and fare with the great adobe team. What best
move to go as maximum open source as they can,it's a big montain to
move, so it must involve great movement somewhere. Those are to care about.
.
To be serious, you posted this at 18:38 (Berlin time) the 26/03/08:

You're joking, right?  Talented Flash developers are in extremely high
demand right now.  Every day I get 3-5 emails from recruiters or companies.
 It's a seller's market and people are paying top dollar for AS3 and Flex
devs.  Flash and Flex jobs are paying $75-$150/hr.  That's $150,000 -
$300,000 a year.  If you can't afford a Porsche, you need to find a new job
or grow a pair and ask for a raise.

That being said, I don't own a Porsche because I've got better things to
do with my money.  ;)

Sorry I'm arguing in a really subjective nasty way here, but I get pist
off sometimes and concerned
Nice words: I did learn very fast a lot about structuring my project in
installing your Gaia framework. You must be a great programmer, so come back
to us, Gaia Loves you (if you don't spit on it :)

L

Steven Sacks a écrit :



Laurent, you're my hero!  teh internet is serious business INDEED!  :)
___
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] Re: Adding n days to dateField.selectedDate

2008-04-14 Thread Alan Neilsen
Thanks Gabino, Matthew  Michael
 
Can anyone tell me why the following isn't working. I get an error that there 
is no property with the name 'time' referring to 'd.time+=(8640*283).
 
var d:Date=new Date(2008,3,14);
d.time+=(8640*283); // 283 days, in milliseconds
trace(d.getFullYear()+/+(d.getMonth()+1)+/+d.getDate());
// 2009/1/21



This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal and Goulburn Ovens Institute of TAFE
#
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Adding n days to dateField.selectedDate

2008-04-14 Thread Matthew Houliston

On 15/04/2008 03:15, Alan Neilsen wrote:


I get an error that there is no property with the name 'time' referring to 
'd.time+=(8640*283).


Date.time is an AS3 property - didn't realise you were in AS2.

This should work:

var d:Date=new Date(2008,3,14);
d.setTime(d.getTime()+(8640*283)); // 283 days, in milliseconds
trace(d.getFullYear()+/+(d.getMonth()+1)+/+d.getDate());
// 2009/1/21
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-04-14 Thread Bob Wohl
ah, clarity!


On Mon, Apr 14, 2008 at 5:13 PM, laurent [EMAIL PROTECTED] wrote:

 Certainly not the first one, perhaps a mix of the two last you wrote.
 There's way of doing things. And way to say as if as a professionnal way
 totally unprofessionnal things.

 L

 Bob Wohl a écrit :

  I'm so confused... You bummed that you don't make that much, or: ticked
  that
  he wants to force action on this bug, or: hate the color of his shirt,
  or
  
 
 
 
 
  On Mon, Apr 14, 2008 at 4:44 PM, laurent [EMAIL PROTECTED]
  wrote:
 
 
 
   Yeah I'm sorry Steven, I don't have real technical arguments on all
   this
   and of course you're making a point that perhaps - because no one
   can
   prove it, even not the aliens, I'm working for them they have no clue,
   and I
   know you don't that was just to see how far you can go - perhaps
   adobe
   tried to hide a mistake ( and that's just fantasy), and who does not
   when
   managing his life, and how big is the mistake or how big are you
   making it,
   seriously Grant post is fare, and fare with the great adobe team. What
   best
   move to go as maximum open source as they can,it's a big montain
   to
   move, so it must involve great movement somewhere. Those are to care
   about.
   .
   To be serious, you posted this at 18:38 (Berlin time) the 26/03/08:
  
   You're joking, right?  Talented Flash developers are in extremely
   high
   demand right now.  Every day I get 3-5 emails from recruiters or
   companies.
It's a seller's market and people are paying top dollar for AS3 and
   Flex
   devs.  Flash and Flex jobs are paying $75-$150/hr.  That's $150,000 -
   $300,000 a year.  If you can't afford a Porsche, you need to find a
   new job
   or grow a pair and ask for a raise.
  
   That being said, I don't own a Porsche because I've got better things
   to
   do with my money.  ;)
   
   Sorry I'm arguing in a really subjective nasty way here, but I get
   pist
   off sometimes and concerned
   Nice words: I did learn very fast a lot about structuring my project
   in
   installing your Gaia framework. You must be a great programmer, so
   come back
   to us, Gaia Loves you (if you don't spit on it :)
  
   L
  
   Steven Sacks a écrit :
  
  
  
Laurent, you're my hero!  teh internet is serious business INDEED!
 :)
___
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 Adobe fixing this big FP9 problem?

2008-04-14 Thread Kerry Thompson
Laurent wrote:

 what the f**k is a flash player in the universe god damn it!
 
 By the way, Disney just called me, they don't give a s**t...

Ouch. Ok, I'm old-fashioned, but, please, Laurent, out of consideration for
the more prudish members of the list like myself, could you refrain from
that sort of language? I'm not the list mom, and don't pretend to speak for
anybody but myself, but that does make me uncomfortable.

Please?

Cordially,

Kerry Thompson


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


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

2008-04-14 Thread Steven Sacks

Laurent wrote:

what the f**k is a flash player in the universe god damn it!

By the way, Disney just called me, they don't give a s**t...


Kerry Thompson wrote:

Ouch. Ok, I'm old-fashioned, but, please, Laurent, out of consideration for
the more prudish members of the list like myself, could you refrain from
that sort of language? I'm not the list mom, and don't pretend to speak for
anybody but myself, but that does make me uncomfortable.
  
Yeah, Jason Merrill works in corporate America and he has to be careful, 
too.  Put $10 in the swear jar.


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