[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager

Hello,

i am not at all a mathematic/calculus wonder and would therefore like
some help with the following.
I need to round numbers up or down to a certain step size. As an example:

nVal = 100,1
nStep = 0,15
outcome = 225,15

nVal = 100,35
nStep = 0,5
outcome = 100,5

nVal = 100,175
nStep = 0,125
outcome = 100,125

I just havent got a clue on how to approach this problem. Can somebody
shed some light on a possible way to go?

Thank you,

Jiri


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


Re: [Flashcoders] Is Key Object Changed With New Plugin Update?

2008-01-08 Thread Alexander Farber
On MSIE, don't you need to click the flash lugin first?

On Jan 8, 2008 9:43 AM,  [EMAIL PROTECTED] wrote:
 It works fine in Firefox, but this is related to IE 7,and it's fairly new.
 This is on Windows XP, I have not been able to test any other configs.
  It has to be something updated in IE7 or the plugin.

 // track CTRL+5
 if (Key.isDown(Key.CONTROL)  Key.getCode() == 53) {trace(yes);}

Regards
Alex

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


Re: [Flashcoders] Is Key Object Changed With New Plugin Update?

2008-01-08 Thread elia . lists

It works fine in Firefox, but this is related to IE 7,and it's fairly new.
This is on Windows XP, I have not been able to test any other configs.
It has to be something updated in IE7 or the plugin.

// track CTRL+5
if (Key.isDown(Key.CONTROL)  Key.getCode() == 53) {trace(yes);}

Elia

- Original Message - 
From: Dave Mennenoh [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, January 07, 2008 11:27 PM
Subject: Re: [Flashcoders] Is Key Object Changed With New Plugin Update?



Works fine here. How / where is it not working for you?

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager

Hello,

i am not at all a mathematic/calculus wonder and would therefore like
some help with the following.
I need to round numbers up or down to a certain step size. As an example:

nVal = 100,1
nStep = 0,15
outcome = 225,15

nVal = 100,35
nStep = 0,5
outcome = 100,5

nVal = 100,175
nStep = 0,125
outcome = 100,125

I just havent got a clue on how to approach this problem. Can somebody
shed some light on a possible way to go?

Thank you,

Jiri

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


Re: [Flashcoders] Preloading images

2008-01-08 Thread Shang
bulk loader.

http://code.google.com/p/bulk-loader/

On Jan 8, 2008 11:49 AM, Dave Wood [EMAIL PROTECTED] wrote:
 Hi

 Another approach (if the number and size of the images isn't too
 great) is to grab the bitmapdata from each one once it's loaded and
 store that in an array.

 David


  What have you guys found is the best way to load images in the bg, for
  example with an image gallery, where once image 1 loads, the rest
  start loading up in the bg? I've been using an MCL, which loads in the
  background and then immediately deletes onComplete and starts the next
  one, but I'm wondering if theres a better way. Or rather, I'm sure
  there's a better way and I just havent found it yet... ;)
 
  .m
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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


Re: [Flashcoders] Zinc port hell

2008-01-08 Thread Shang
I worked with zinc for a while, but I didn't have the absolute or
relative path problem at all. My Problem was more like Ben stated, the
document was not accurate especially the return object type.

On Jan 8, 2008 7:16 AM, ben gomez farrell [EMAIL PROTECTED] wrote:
 I've found that Zinc has been pretty stable for what I've used it for in
 Flash 8 so far (unfortunately the product had some blue screen of death
 effect that I'm not sure if we can chalk that up to DirectX in Zinc or
 the DRM system we used).

 Anyway, using Zinc wasn't hell for me.  LEARNING to use Zinc was hell
 for me.  I came across so many inaccuracies in the documentation - like
 differences in the types of objects you get returned from methods or
 what types of objects you send in a parameter were just plain marked up
 in the documentation wrong.  So a lot of times, I had to figure this
 stuff out on my own, or look for use cases in the Multidmedia forums.

 So if all you're doing is looking at the docs, you may want to get some
 demos, or look at the forums, because you may be doing something wrong
 and not know it.

 Orwho knows, it's not so stable for AS3.
 ben

 August Gresens wrote:
  Hello
 
  Sorry for the dramatic title. I've got a finished game that was developed in
  AS3 for the standalone Flash 9 Player. The publisher now wants to migrate
  the game to run under to a C++ wrapper product to get rid of the right mouse
  contextual menu on Windows.
 
  Since the only commercial product that seems to do this for Mac and PC is
  Zinc, I gave this a try and was surprised at the disparity between the way
  the game runs in Zinc vs. the standalone Flash player.
 
  Mostly the issues seem to revolve around how external swfs are loaded and
  handled. After converting the game to use absolute paths, the external swf
  files fail to load in some cases and in others they load but show up black
  with a bizarre echo in the audio.
 
  Even if I'm able to work around those issues, I'm afraid of what may lay
  beyond these initial problems.  A few questions for those with zinc
  experience:
 
  * Is this a stable/reliable product for AS3 yet?
 
  * How much does the actionscipt code need to be tailored to work around zinc
  idiosyncrasies? (meaning the actionscript itself and not the mdm commands).
 
  * To develop for both mac and pc, what is the additional effort here to make
  it run on the mac? Does the Mac version of zinc have it's own idiosyncrasies
  that will have to be dealt with?
 
  Thanks,
 
  August
 
 

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




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


Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Hans Wichman
Hi,
sonething like:
trace (Math.round(100.1/0.15)*0.15);
trace (Math.round(100.35/0.5)*0.5);
trace (Math.round(100.175/0.125)*0.125);
greetz
JC

On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED]
wrote:

  Hello,

 i am not at all a mathematic/calculus wonder and would therefore like
 some help with the following.
 I need to round numbers up or down to a certain step size. As an example:

 nVal = 100,1
 nStep = 0,15
 outcome = 225,15

 nVal = 100,35
 nStep = 0,5
 outcome = 100,5

 nVal = 100,175
 nStep = 0,125
 outcome = 100,125

 I just havent got a clue on how to approach this problem. Can somebody
 shed some light on a possible way to go?

 Thank you,

 Jiri


 ___
 Flashcoders mailing list
 Flashcoders@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] Step rouding numbers

2008-01-08 Thread Jiri Heitlager

Great, that seems to work like a charm.
Thanks a million..

Jiri

Hans Wichman wrote:

Hi,
sonething like:
trace (Math.round(100.1/0.15)*0.15);
trace (Math.round(100.35/0.5)*0.5);
trace (Math.round(100.175/0.125)*0.125);
greetz
JC

On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED]
wrote:


 Hello,

i am not at all a mathematic/calculus wonder and would therefore like
some help with the following.
I need to round numbers up or down to a certain step size. As an example:

nVal = 100,1
nStep = 0,15
outcome = 225,15

nVal = 100,35
nStep = 0,5
outcome = 100,5

nVal = 100,175
nStep = 0,125
outcome = 100,125

I just havent got a clue on how to approach this problem. Can somebody
shed some light on a possible way to go?

Thank you,

Jiri


___
Flashcoders mailing list
Flashcoders@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] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Hmm, i understand the logic now, but there is this small thing I dont 
understand


Math.round(100.2/0.15)*0.15)

results in 100.2 it should actually be 100.15...

Is it possible to get this result, can somebody please help me out (again)

Jiri

Hans Wichman wrote:

Hi,
sonething like:
trace (Math.round(100.1/0.15)*0.15);
trace (Math.round(100.35/0.5)*0.5);
trace (Math.round(100.175/0.125)*0.125);
greetz
JC

On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED]
wrote:


 Hello,

i am not at all a mathematic/calculus wonder and would therefore like
some help with the following.
I need to round numbers up or down to a certain step size. As an example:

nVal = 100,1
nStep = 0,15
outcome = 225,15

nVal = 100,35
nStep = 0,5
outcome = 100,5

nVal = 100,175
nStep = 0,125
outcome = 100,125

I just havent got a clue on how to approach this problem. Can somebody
shed some light on a possible way to go?

Thank you,

Jiri


___
Flashcoders mailing list
Flashcoders@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] Problems loading AS2 into AS2 then into AS3 holder

2008-01-08 Thread Alistair Colling
Hi there, I have an AS3 movie in to which I load as AS2 movie, this  
works great.
My problem starts when I then load another AS2 movie into the first  
AS2 movie. I am using MovieClipLoader and although the swf I am  
loading loads (I have put a trace on its timeline so I know it's  
there), the onLoadComplete/onLoadInit events do not fire!
If anyone could let me now if this is a known problem or if there is  
a way around this I would be really grateful, I can call a function  
from my loaded movie's timeline but this is soon going to get very  
messy as the app is quite complex.


Any suggestions, advice or simply encouragement much appreciated  
otherwise I'm going to have to convert my AS3 app back into old AS2 :(

Cheers

Alistair


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


Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Hans Wichman
Hi Jiri,

well not really, since 100 / 0.15 is not a whole number, it is 666,6
etc.
Although this is a great number home to many a great song, 100.05 is
divisible by 0.15 hence the result.

If you really want to do what you want you should deduct the
Math.floorfirst, perform the step calculations on the remainder and
add the deducted
Math.floor, eg in pseudo:

100,2 is split into 100 and 0.2
100 + Math.round (0.2/0.15)*0.15
trace(100 + Math.round (0.2/0.15)*0.15);

Im not sure you wont get rounding errors though...

greetz
JC


On Jan 8, 2008 12:08 PM, Jiri Heitlager [EMAIL PROTECTED]
wrote:

 Hmm, i understand the logic now, but there is this small thing I dont
 understand

 Math.round(100.2/0.15)*0.15)

 results in 100.2 it should actually be 100.15...

 Is it possible to get this result, can somebody please help me out (again)

 Jiri

 Hans Wichman wrote:
  Hi,
  sonething like:
  trace (Math.round(100.1/0.15)*0.15);
  trace (Math.round(100.35/0.5)*0.5);
  trace (Math.round(100.175/0.125)*0.125);
  greetz
  JC
 
  On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED]
  wrote:
 
   Hello,
 
  i am not at all a mathematic/calculus wonder and would therefore like
  some help with the following.
  I need to round numbers up or down to a certain step size. As an
 example:
 
  nVal = 100,1
  nStep = 0,15
  outcome = 225,15
 
  nVal = 100,35
  nStep = 0,5
  outcome = 100,5
 
  nVal = 100,175
  nStep = 0,125
  outcome = 100,125
 
  I just havent got a clue on how to approach this problem. Can somebody
  shed some light on a possible way to go?
 
  Thank you,
 
  Jiri
 
 
  ___
  Flashcoders mailing list
  Flashcoders@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] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Jer Brand
Okay, random question sparked by Glen Pike's response in another thread:

I was under the impression that any use of Flash 8 assets in a Flex 2
(and by extension Flash 9) by either embedding or loading caused the
new Player to instantiate a virtual FP8 player for each instance.
Does it apply only to loadMovie-ish commands?

Is this correct or did my reading comprehension fail me while first
learning Flex?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Zinc port hell

2008-01-08 Thread August Gresens
Here's an update, just in case someone else is having the same problems.

From looking around more on the zinc forums, it seems others are having
problems running AS3/Flash Player 9 apps in Zinc 2.5. I also tested another
wrapper called Janus which worked, so this confirmed that the problem is
with Zinc.

Since Janus is not cross platform and doesn't have the controls to disable
the right mouse button, we will likely wait until Zinc 3.0 comes out and try
again.

August

On Jan 8, 2008 4:49 AM, Shang [EMAIL PROTECTED] wrote:

 I worked with zinc for a while, but I didn't have the absolute or
 relative path problem at all. My Problem was more like Ben stated, the
 document was not accurate especially the return object type.

 On Jan 8, 2008 7:16 AM, ben gomez farrell [EMAIL PROTECTED] wrote:
  I've found that Zinc has been pretty stable for what I've used it for in
  Flash 8 so far (unfortunately the product had some blue screen of death
  effect that I'm not sure if we can chalk that up to DirectX in Zinc or
  the DRM system we used).
 
  Anyway, using Zinc wasn't hell for me.  LEARNING to use Zinc was hell
  for me.  I came across so many inaccuracies in the documentation - like
  differences in the types of objects you get returned from methods or
  what types of objects you send in a parameter were just plain marked up
  in the documentation wrong.  So a lot of times, I had to figure this
  stuff out on my own, or look for use cases in the Multidmedia forums.
 
  So if all you're doing is looking at the docs, you may want to get some
  demos, or look at the forums, because you may be doing something wrong
  and not know it.
 
  Orwho knows, it's not so stable for AS3.
  ben
 
  August Gresens wrote:
   Hello
  
   Sorry for the dramatic title. I've got a finished game that was
 developed in
   AS3 for the standalone Flash 9 Player. The publisher now wants to
 migrate
   the game to run under to a C++ wrapper product to get rid of the right
 mouse
   contextual menu on Windows.
  
   Since the only commercial product that seems to do this for Mac and PC
 is
   Zinc, I gave this a try and was surprised at the disparity between the
 way
   the game runs in Zinc vs. the standalone Flash player.
  
   Mostly the issues seem to revolve around how external swfs are loaded
 and
   handled. After converting the game to use absolute paths, the external
 swf
   files fail to load in some cases and in others they load but show up
 black
   with a bizarre echo in the audio.
  
   Even if I'm able to work around those issues, I'm afraid of what may
 lay
   beyond these initial problems.  A few questions for those with zinc
   experience:
  
   * Is this a stable/reliable product for AS3 yet?
  
   * How much does the actionscipt code need to be tailored to work
 around zinc
   idiosyncrasies? (meaning the actionscript itself and not the mdm
 commands).
  
   * To develop for both mac and pc, what is the additional effort here
 to make
   it run on the mac? Does the Mac version of zinc have it's own
 idiosyncrasies
   that will have to be dealt with?
  
   Thanks,
  
   August
  
  
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



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




-- 
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

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


Re: [Flashcoders] Zinc port hell

2008-01-08 Thread Ian Thomas
It was quite some time ago now, but we had a lot of problems with Zinc's
stability; in particular, upgrades to Zinc broke existing (critical for us)
functionality and a fix wasn't issued for several months.

As a result, we moved away from the product.

Ian

On Jan 8, 2008 1:50 PM, August Gresens [EMAIL PROTECTED] wrote:

 Here's an update, just in case someone else is having the same problems.

 From looking around more on the zinc forums, it seems others are having
 problems running AS3/Flash Player 9 apps in Zinc 2.5. I also tested
 another
 wrapper called Janus which worked, so this confirmed that the problem is
 with Zinc.

 Since Janus is not cross platform and doesn't have the controls to disable
 the right mouse button, we will likely wait until Zinc 3.0 comes out and
 try
 again.

 August


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


RE: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Matthew James Poole
Flash 8 movies loaded into a Flash 9 movie use the AVM1, whereas
anything AS3 uses the AVM2. I wasn't aware that multiple AVM1 instances
would be started up though... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jer
Brand
Sent: 08 January 2008 13:59
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

Okay, random question sparked by Glen Pike's response in another thread:

I was under the impression that any use of Flash 8 assets in a Flex 2
(and by extension Flash 9) by either embedding or loading caused the new
Player to instantiate a virtual FP8 player for each instance.
Does it apply only to loadMovie-ish commands?

Is this correct or did my reading comprehension fail me while first
learning Flex?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


[Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Sidney de Koning

Hi List,

Is there a push/pull model in AIR like there is in Flex? I need to show 
a popup if the database has changed.

What is the best way of realizing this?
My idea was this;
let the air app contact a server/database (through php) with an interval 
of 5 minutes orso to see if the data has changed, and if so, show the 
popup. To simulate a push model.


If anybody has some ground breaking ideas, or a really good way of 
realizing this, i'd love to hear!


Thanks,

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


RE: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
... Also you could look into using BlazeDS if you know any Java you
could implement a JMS adapter for it... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
James Poole
Sent: 08 January 2008 15:00
To: Flash Coders List
Subject: RE: [Flashcoders] PUSH/PULL model in AIR

Everything you can do in Flex you can do in AIR, with the addition that
the security model is more relaxed. So yes polling a php script would
work. Or you could use XMLSocker or BinarySocker to have actual push -
though you'd need a socket server to achieve this... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 08 January 2008 14:30
To: Flash Coders List
Subject: [Flashcoders] PUSH/PULL model in AIR

Hi List,

Is there a push/pull model in AIR like there is in Flex? I need to show
a popup if the database has changed.
What is the best way of realizing this?
My idea was this;
let the air app contact a server/database (through php) with an interval
of 5 minutes orso to see if the data has changed, and if so, show the
popup. To simulate a push model.

If anybody has some ground breaking ideas, or a really good way of
realizing this, i'd love to hear!

Thanks,

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London
NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net


-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and
privileged. If you are not the named addressee of this e-mail, you may
not copy or use it, or forward or otherwise disclose it to anyone else.
If you have received this e-mail in error, please e-mail the sender by
replying to this message and then fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the
author and do not necessarily represent those of Amplefuture Group.
Amplefuture Group reserves the right to monitor e-mail communications
from both external and internal sources for the purposes of ensuring
correct and appropriate use of our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


Re: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Sidney de Koning

Hi Matthew!

With a socket server, can you tell me how to go? What software would i 
need, and how long would it take to set up a socket server? (can this be 
done with php, or do i need another language? because it needs to 
support quite some people).


Can you also explain the difference tween a socket server and BlazeDS?

Thanks in advance,

Sidney

Matthew James Poole wrote:

Everything you can do in Flex you can do in AIR, with the addition that
the security model is more relaxed. So yes polling a php script would
work. Or you could use XMLSocker or BinarySocker to have actual push -
though you'd need a socket server to achieve this... 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 08 January 2008 14:30
To: Flash Coders List
Subject: [Flashcoders] PUSH/PULL model in AIR

Hi List,

Is there a push/pull model in AIR like there is in Flex? I need to show
a popup if the database has changed.
What is the best way of realizing this?
My idea was this;
let the air app contact a server/database (through php) with an interval
of 5 minutes orso to see if the data has changed, and if so, show the
popup. To simulate a push model.

If anybody has some ground breaking ideas, or a really good way of
realizing this, i'd love to hear!

Thanks,

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

  


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


Re: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Glen Pike

Hi,

   I think by using [Embed], the Flex compiler Transcodes stuff at 
compile time - it also whinges about AS2 code if you are coding in AS3, 
so I am guessing it maybe does not use the AVM1.


   Runtime loading is different, but outside my expertise.

   Glen

Matthew James Poole wrote:

Flash 8 movies loaded into a Flash 9 movie use the AVM1, whereas
anything AS3 uses the AVM2. I wasn't aware that multiple AVM1 instances
would be started up though... 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jer
Brand
Sent: 08 January 2008 13:59
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

Okay, random question sparked by Glen Pike's response in another thread:

I was under the impression that any use of Flash 8 assets in a Flex 2
(and by extension Flash 9) by either embedding or loading caused the new
Player to instantiate a virtual FP8 player for each instance.
Does it apply only to loadMovie-ish commands?

Is this correct or did my reading comprehension fail me while first
learning Flex?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  


Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. 


Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


  


--

Glen Pike
01736 759321
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] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
Hi Sidney,

It is possible to write socket servers in PHP (theres one in the Pear
library), but php is not generally considered a good language to write
one in. As such most Socket Servers used with Flash are written in Java
(or sometimes .Net).

It really depends on what you are trying to achieve, for example if its
multiuser games or chat then there are plenty of 3rd party solutions out
there - SmartFox and ElectroServer being just two. Also have you
considered using FMS? The new FMSI (or FMS 3.0) is looking like it will
be very good... 

... If the data doesn't need to be instantly synchronised across all
users then you might be better opting for polling your php on interval.

BlazeDS is the new Open Source remoting and web messagaing solution from
Adobe. I believe it used to be part of Life Cycle Data services which is
a paid-for product, but Adobe have now opened it up. Ultimately there
will be some sort of socket server involved in BlazeDS. BlazeDS is more
the framework that makes it easy to integrate distributed data into
Flex/AIR (also its written in Java so you'd need some sort of Java
application server such as Apache Tomcat (free) or IBM Websphere (not
free) etc).

Heres the BlazeDS link on labs:
http://labs.adobe.com/technologies/blazeds/

Hope all this helps

Cheers
Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 08 January 2008 15:54
To: Flash Coders List
Subject: Re: [Flashcoders] PUSH/PULL model in AIR

Hi Matthew!

With a socket server, can you tell me how to go? What software would i
need, and how long would it take to set up a socket server? (can this be
done with php, or do i need another language? because it needs to
support quite some people).

Can you also explain the difference tween a socket server and BlazeDS?

Thanks in advance,

Sidney

Matthew James Poole wrote:
 Everything you can do in Flex you can do in AIR, with the addition 
 that the security model is more relaxed. So yes polling a php script 
 would work. Or you could use XMLSocker or BinarySocker to have actual 
 push - though you'd need a socket server to achieve this...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sidney

 de Koning
 Sent: 08 January 2008 14:30
 To: Flash Coders List
 Subject: [Flashcoders] PUSH/PULL model in AIR

 Hi List,

 Is there a push/pull model in AIR like there is in Flex? I need to 
 show a popup if the database has changed.
 What is the best way of realizing this?
 My idea was this;
 let the air app contact a server/database (through php) with an 
 interval of 5 minutes orso to see if the data has changed, and if so, 
 show the popup. To simulate a push model.

 If anybody has some ground breaking ideas, or a really good way of 
 realizing this, i'd love to hear!

 Thanks,

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

 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs.
 http://www.virtual-universe.net

   

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

___
Flashcoders mailing 

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager

Hans,

thank you for the very clear answer. I have a feeling now why things 
went wrong and will work with your suggested psuedo code.

Thank you again.

Jiri

Hans Wichman wrote:

Hi Jiri,

well not really, since 100 / 0.15 is not a whole number, it is 666,6
etc.
Although this is a great number home to many a great song, 100.05 is
divisible by 0.15 hence the result.

If you really want to do what you want you should deduct the
Math.floorfirst, perform the step calculations on the remainder and
add the deducted
Math.floor, eg in pseudo:

100,2 is split into 100 and 0.2
100 + Math.round (0.2/0.15)*0.15
trace(100 + Math.round (0.2/0.15)*0.15);

Im not sure you wont get rounding errors though...

greetz
JC


On Jan 8, 2008 12:08 PM, Jiri Heitlager [EMAIL PROTECTED]
wrote:


Hmm, i understand the logic now, but there is this small thing I dont
understand

Math.round(100.2/0.15)*0.15)

results in 100.2 it should actually be 100.15...

Is it possible to get this result, can somebody please help me out (again)

Jiri

Hans Wichman wrote:

Hi,
sonething like:
trace (Math.round(100.1/0.15)*0.15);
trace (Math.round(100.35/0.5)*0.5);
trace (Math.round(100.175/0.125)*0.125);
greetz
JC

On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED]
wrote:


 Hello,

i am not at all a mathematic/calculus wonder and would therefore like
some help with the following.
I need to round numbers up or down to a certain step size. As an

example:

nVal = 100,1
nStep = 0,15
outcome = 225,15

nVal = 100,35
nStep = 0,5
outcome = 100,5

nVal = 100,175
nStep = 0,125
outcome = 100,125

I just havent got a clue on how to approach this problem. Can somebody
shed some light on a possible way to go?

Thank you,

Jiri


___
Flashcoders mailing list
Flashcoders@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] Making a flash game safe for work

2008-01-08 Thread Alexander Farber
Hello flashcoders,

I'm developing a small multiplayer card game
in AS2 (and embedded in a phpBB 3 forum).

I'd like to target corporate users too
and have spent extra efforts to keep the
game playable through proxies+firewalls.

Additionally I'd like to offer an option to the
users, so that they can select a stealth
forum style (grey text on white background)
which will also pass an additional HTML-
parameter to the flash game.

Do you have any ideas for the flash part?

I wonder, if there is a way in ActionScript
to turn my graphical assets (card images)
to grey on white programmatically.
Or will I have to do prepare separate
assets by hand?

Also I was thinking of replacing the whole
flash movie by a white rectangle when
the mouse pointer is moved away from it
(haven't tried to implement it yet).

Regards
Alex

PS: Of course I'll display a warning to the
   users not to risk their jobs and also remind
   them about web/network loggers etc.

   Let's concentrate on the technical (and
   creative) part of my question please :-)

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


Re: [Flashcoders] Making a flash game safe for work

2008-01-08 Thread Zeh Fernando
If you enclose your whole movie by a movieclip, you can then apply 
filters to it to change colors, desaturate, use a threshold to make it 
black + white, etc.


But if you're really going for a safe-for-work game, it'd be a better 
choice to go with a version that replaced graphic assets with text only.



Zeh

Alexander Farber wrote:

Hello flashcoders,

I'm developing a small multiplayer card game
in AS2 (and embedded in a phpBB 3 forum).

I'd like to target corporate users too
and have spent extra efforts to keep the
game playable through proxies+firewalls.

Additionally I'd like to offer an option to the
users, so that they can select a stealth
forum style (grey text on white background)
which will also pass an additional HTML-
parameter to the flash game.

Do you have any ideas for the flash part?

I wonder, if there is a way in ActionScript
to turn my graphical assets (card images)
to grey on white programmatically.
Or will I have to do prepare separate
assets by hand?

Also I was thinking of replacing the whole
flash movie by a white rectangle when
the mouse pointer is moved away from it
(haven't tried to implement it yet).

Regards
Alex

PS: Of course I'll display a warning to the
   users not to risk their jobs and also remind
   them about web/network loggers etc.

   Let's concentrate on the technical (and
   creative) part of my question please :-)


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


RE: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Matthew James Poole
Yeah I think it may ignore any AS2 code when you embed an FP8 swf and
runs in the AVM2 as a simple animation... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: 08 January 2008 16:42
To: Flash Coders List
Subject: Re: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

Hi,

I think by using [Embed], the Flex compiler Transcodes stuff at
compile time - it also whinges about AS2 code if you are coding in AS3,
so I am guessing it maybe does not use the AVM1.

Runtime loading is different, but outside my expertise.

Glen

Matthew James Poole wrote:
 Flash 8 movies loaded into a Flash 9 movie use the AVM1, whereas 
 anything AS3 uses the AVM2. I wasn't aware that multiple AVM1 
 instances would be started up though...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jer 
 Brand
 Sent: 08 January 2008 13:59
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

 Okay, random question sparked by Glen Pike's response in another
thread:

 I was under the impression that any use of Flash 8 assets in a Flex 2 
 (and by extension Flash 9) by either embedding or loading caused the 
 new Player to instantiate a virtual FP8 player for each instance.
 Does it apply only to loadMovie-ish commands?

 Is this correct or did my reading comprehension fail me while first 
 learning Flex?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs.
 http://www.virtual-universe.net

 __

 Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  
 NW6 6RJ

 Tel:  +44 (0) 870 788 6000  

 Fax: +44 (0) 870 788 6689

 Web:www.virtual-universe.net

 --
 ---

 CONFIDENTIALITY NOTICE

 This e-mail may contain information which is confidential and
privileged. If you are not the named addressee of this e-mail, you may
not copy or use it, or forward or otherwise disclose it to anyone else.
If you have received this e-mail in error, please e-mail the sender by
replying to this message and then fully delete it from your system. 

 Any views or opinions presented in this e-mail are solely those of the
author and do not necessarily represent those of Amplefuture Group.
Amplefuture Group reserves the right to monitor e-mail communications
from both external and internal sources for the purposes of ensuring
correct and appropriate use of our communication equipment.



 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs. 
 http://www.virtual-universe.net

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


   

-- 

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


RE: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
Its sounds like you want to investigate using an XMLSocket Server users
connect and stay connected such that when a change occurs all connected
clients get the data instantly (plus or minus the latency / wire time) 

Download the trials of one of both of these and have a play:

http://www.smartfoxserver.com/
http://www.electro-server.com/

I can help suggest architechtures for these if you like...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 08 January 2008 17:15
To: Flash Coders List
Subject: Re: [Flashcoders] PUSH/PULL model in AIR

Hi Matthew,

Thanks for the reply, it cleared things up.

What i 'm trying to achieve is this: I have a application that is just
listening to updates according to the preferences within tha app, and
checks every 5 minutes if there is an update. However with the push
model , as soon as an update is available it is pushed to all connected
clients. And this is what i would like to accomplish, to have updates
pushed to my app. Updates are in the form of xml or text (dont know how
an socket server pushes its data, or in what format it is. is there and
uniform format or can i specify?)

Thanks

Sidney


Matthew James Poole wrote:
 Hi Sidney,

 It is possible to write socket servers in PHP (theres one in the Pear
 library), but php is not generally considered a good language to write
 one in. As such most Socket Servers used with Flash are written in
Java
 (or sometimes .Net).

 It really depends on what you are trying to achieve, for example if
its
 multiuser games or chat then there are plenty of 3rd party solutions
out
 there - SmartFox and ElectroServer being just two. Also have you
 considered using FMS? The new FMSI (or FMS 3.0) is looking like it
will
 be very good... 

 ... If the data doesn't need to be instantly synchronised across all
 users then you might be better opting for polling your php on
interval.

 BlazeDS is the new Open Source remoting and web messagaing solution
from
 Adobe. I believe it used to be part of Life Cycle Data services which
is
 a paid-for product, but Adobe have now opened it up. Ultimately there
 will be some sort of socket server involved in BlazeDS. BlazeDS is
more
 the framework that makes it easy to integrate distributed data into
 Flex/AIR (also its written in Java so you'd need some sort of Java
 application server such as Apache Tomcat (free) or IBM Websphere (not
 free) etc).

 Heres the BlazeDS link on labs:
 http://labs.adobe.com/technologies/blazeds/

 Hope all this helps

 Cheers
 Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sidney
 de Koning
 Sent: 08 January 2008 15:54
 To: Flash Coders List
 Subject: Re: [Flashcoders] PUSH/PULL model in AIR

 Hi Matthew!

 With a socket server, can you tell me how to go? What software would i
 need, and how long would it take to set up a socket server? (can this
be
 done with php, or do i need another language? because it needs to
 support quite some people).

 Can you also explain the difference tween a socket server and BlazeDS?

 Thanks in advance,

 Sidney

 Matthew James Poole wrote:
   
 Everything you can do in Flex you can do in AIR, with the addition 
 that the security model is more relaxed. So yes polling a php script 
 would work. Or you could use XMLSocker or BinarySocker to have actual

 push - though you'd need a socket server to achieve this...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
Sidney
 

   
 de Koning
 Sent: 08 January 2008 14:30
 To: Flash Coders List
 Subject: [Flashcoders] PUSH/PULL model in AIR

 Hi List,

 Is there a push/pull model in AIR like there is in Flex? I need to 
 show a popup if the database has changed.
 What is the best way of realizing this?
 My idea was this;
 let the air app contact a server/database (through php) with an 
 interval of 5 minutes orso to see if the data has changed, and if so,

 show the popup. To simulate a push model.

 If anybody has some ground breaking ideas, or a really good way of 
 realizing this, i'd love to hear!

 Thanks,

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


__
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs.
 http://www.virtual-universe.net

   
 

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

 __
 This e-mail has been scanned for viruses by the Virtual Universe
e-mail
 security system - powered by MessageLabs.
 http://www.virtual-universe.net

 

RE: [Flashcoders] capture and email

2008-01-08 Thread Matthew James Poole
If its AS3 You could use the JPEGEncoder class to send a ByteArray over
remoting using AMF3 and create the jpg serevr side and add it to an
attachment of an email you send or embed it...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bo
Parker
Sent: 08 January 2008 17:26
To: Flashcoders mailing list
Subject: [Flashcoders] capture and email

I have an application that allows people to build, and customize
buildings. The client would like the functionality available to screen
capture their final building and attach to an email through a flash
based email form. The email form is no problem but
1) Im not sure how to is best to capture what they have built on screen

2) not sure how to take that capture and attach the email.

Can you guys possibly steer me in the right direction?

Thanks,

--
Bo Parker, AIGA
Bo Co. Design
650 W Vickery
Suite 130
Fort Worth, Texas  76104

817.332.4700 phone
817.332.4710 facsimile

www.rmcfw.com


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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


[Flashcoders] capture and email

2008-01-08 Thread Bo Parker
I have an application that allows people to build, and customize  
buildings. The client would like the functionality available to  
screen capture their final building and attach to an email through a  
flash based email form. The email form is no problem but
1) Im not sure how to is best to capture what they have built on  
screen 

2) not sure how to take that capture and attach the email.

Can you guys possibly steer me in the right direction?

Thanks,

--
Bo Parker, AIGA
Bo Co. Design
650 W Vickery
Suite 130
Fort Worth, Texas  76104

817.332.4700 phone
817.332.4710 facsimile

www.rmcfw.com


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


Re: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Jer Brand
That's good to know -- I think I got it into my head the embed was
using AVM1 because of some performance issues I was having embedding a
swf / flv in one of my first Flex experiments.

@Matthew -- I'm going to have to look around on that one. I know I
read that each F8 swf loaded had it's own isolated AVM1 -- but that's
not to say the source was correct in their statements.

It's not all that important for me, as I just want to utilize art
assets generated in F8 (still haven't had the dough to upgrade to F9).

Thanks for the help on the random question!

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


RE: [Flashcoders] Zinc port hell

2008-01-08 Thread Kerry Thompson
Ian Thomas wrote:


 It was quite some time ago now, but we had a lot of problems with Zinc's
 stability; in particular, upgrades to Zinc broke existing (critical for
 us) functionality and a fix wasn't issued for several months.
 
 As a result, we moved away from the product.

I haven't used Zinc, so I can't comment on it. Adobe does publish two very
viable alternatives, AIR and Director. 

Personally, I would go with the Adobe product--my choice is Director because
it is so powerful in its own right, and because it's what I'm familiar with
(and also what I own a license for). It is well integrated with Flash, and
was the standard for multimedia applications for nearly a decade before
Flash came of age. Adobe have announced a new version Real Soon Now, so the
Director is Dead rumors are false. Except for 3D, it's not a real viable
Web platform, but it's unrivaled on the desktop.

I do know that the new version of Director will support Unicode--that's
public knowledge. I don't have specific knowledge of other capabilities, but
I'm hoping that MacIntel support will be in the new version.

Flash remains my choice for RIA's, but I haven't found anything better than
Director for the desktop or for a Flash wrapper for desktop apps.

Cordially,

Kerry Thompson


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


Re: [Flashcoders] Zinc port hell

2008-01-08 Thread August Gresens
Interesting that you mention Director. I've been also been a Director
developer since 1995. I'm hoping for a comeback as well. For awhile it was
looking as though it was completely dead, which is why we made the switch.

I would prefer an Adobe solution as well. Not being able to use the Flex
debugger (and the profiler in Flex 3) with Zinc is a shame. Looking forward
to AIR, although I've seen some posts that suggest the runtime performance
will not be as great as these wrapper things. I suppose only the benchmarks
will tell.

August



On Jan 8, 2008 2:42 PM, Kerry Thompson [EMAIL PROTECTED] wrote:

 Ian Thomas wrote:


  It was quite some time ago now, but we had a lot of problems with Zinc's
  stability; in particular, upgrades to Zinc broke existing (critical for
  us) functionality and a fix wasn't issued for several months.
 
  As a result, we moved away from the product.

 I haven't used Zinc, so I can't comment on it. Adobe does publish two very
 viable alternatives, AIR and Director.

 Personally, I would go with the Adobe product--my choice is Director
 because
 it is so powerful in its own right, and because it's what I'm familiar
 with
 (and also what I own a license for). It is well integrated with Flash, and
 was the standard for multimedia applications for nearly a decade before
 Flash came of age. Adobe have announced a new version Real Soon Now, so
 the
 Director is Dead rumors are false. Except for 3D, it's not a real viable
 Web platform, but it's unrivaled on the desktop.

 I do know that the new version of Director will support Unicode--that's
 public knowledge. I don't have specific knowledge of other capabilities,
 but
 I'm hoping that MacIntel support will be in the new version.

 Flash remains my choice for RIA's, but I haven't found anything better
 than
 Director for the desktop or for a Flash wrapper for desktop apps.

 Cordially,

 Kerry Thompson


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




-- 
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

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


[Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread Adrian Park
This is my first post to the list in 2008 so hi and compliments of the
season to y'all.
So, here's the context...

I have an application framework built in AS3 and based on the MVC pattern.
One of my Views loads a compiled swf also built in AS3. When it is that
View's turn to be displayed, it gets added to the display list and then
needs to call a custom method on the loaded swf so that loaded swf does its
thing (it's a game).

Here's the problem...

Although I can invoke the required method on the loaded swf, I couldn't get
the compiler to stop complaining (it's compiling in Strict mode) so I had to
do a bit of a kludge to trick the compiler. I am sure there is a better and
proper way of doing this - can you tell me what it is?

Here's the code that loads the game swf (for the sake of context)...

gameLoader = new Loader();
// some listeners registered here
var request:URLRequest = new URLRequest( gameURL );
gameLoader.load(request);

The Document Class of the swf at 'gameURL' contains a method call 'startup'
and this is the one I want to invoke. So I tried this...
gameLoader.content.startup();

Predictably, the compiler utters the following...
1061: Call to a possibly undefined method startup through a reference with
static type flash.display:DisplayObject.

I tried a few things (including casting gameLoader.content to the Document
Class) but the only thing I could get to work is this...
gameLoader.content[startup]();

Any ideas? Thanks in advance.

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


Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread August Gresens
I'm doing a lot of this too (also have my own MVC style framework and would
be interested in discussing this in another thread).

I think the problem here is that you need to cast it to the swf's custom
type to access the custom methods. This won't work, however, unless the
custom type's class has been compiled into the containing swf.

Something like:

import com.game.customSWFGame;

var myGame:customSWFGame = gameLoader.content as customSWFGame;
myGame.startup();

You can also cast it to a common interface if you have a lot of these
minigames that you need to handle in a generic way.

August

On Jan 8, 2008 2:45 PM, Adrian Park [EMAIL PROTECTED] wrote:

 This is my first post to the list in 2008 so hi and compliments of the
 season to y'all.
 So, here's the context...

 I have an application framework built in AS3 and based on the MVC pattern.
 One of my Views loads a compiled swf also built in AS3. When it is that
 View's turn to be displayed, it gets added to the display list and then
 needs to call a custom method on the loaded swf so that loaded swf does
 its
 thing (it's a game).

 Here's the problem...

 Although I can invoke the required method on the loaded swf, I couldn't
 get
 the compiler to stop complaining (it's compiling in Strict mode) so I had
 to
 do a bit of a kludge to trick the compiler. I am sure there is a better
 and
 proper way of doing this - can you tell me what it is?

 Here's the code that loads the game swf (for the sake of context)...

 gameLoader = new Loader();
 // some listeners registered here
 var request:URLRequest = new URLRequest( gameURL );
 gameLoader.load(request);

 The Document Class of the swf at 'gameURL' contains a method call
 'startup'
 and this is the one I want to invoke. So I tried this...
 gameLoader.content.startup();

 Predictably, the compiler utters the following...
 1061: Call to a possibly undefined method startup through a reference
 with
 static type flash.display:DisplayObject.

 I tried a few things (including casting gameLoader.content to the Document
 Class) but the only thing I could get to work is this...
 gameLoader.content[startup]();

 Any ideas? Thanks in advance.

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




-- 
-


August Gresens
Senior Developer
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

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


RE: [Flashcoders] Compile .fla from Flex?

2008-01-08 Thread Merrill, Jason
Why target a .fla?  Do you mean .swf?  

I think FlashDevelop + Flex SDK compiler is a great combo and very easy
to set up.

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

Bank of America Flash Platform Developer Community



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


Re: [Flashcoders] Compile .fla from Flex?

2008-01-08 Thread Jason Van Cleave
On a Mac so FlashDevelop isn't an option. What I am looking to do is hit the
run button from inside Eclipse/Flex Builder have it jump over to Flash and
compile.

It's a minor inconvenience when compared to editing ActionScript in the
Flash Editor but I was hoping someone had built a bridge somehow.



On Jan 8, 2008 3:56 PM, Merrill, Jason [EMAIL PROTECTED]
wrote:

 Why target a .fla?  Do you mean .swf?

 I think FlashDevelop + Flex SDK compiler is a great combo and very easy
 to set up.

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

 Bank of America Flash Platform Developer Community



 ___
 Flashcoders mailing list
 Flashcoders@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] Fluid.com looking for Lead Flex/Flash Engineer

2008-01-08 Thread Ameet Mehta

Flashcoders,


Fluid (http://www.fluid.com) develops and sells the Fluid Retail(TM) 
suite of online merchandising tools that simplify, automate, and 
optimize online merchandising. Fluid also designs and develops 
award-winning interactive digital retail experiences for clients 
including Reebok, Timberland, JanSport, Mattel, and The North Face. We 
are looking for a skilled, experienced, and passionate engineer to join 
our engineering services team to own and lead projects built using Adobe 
Flex / Flash technologies.


-Write superior AS 3.0 / AS 2.0 and MXML code
-OO analysis and design using UML and design patterns
-Clear communication with team members, verbally and in writing
-Experience understanding requirements and writing tech specs
-Manage time effectively and adhere to schedules
-In addition to Flex, candidates will be likely to interact with the 
following technologies: SQL, JavaScript, dHTML, Java, .NET, Apache, IIS, 
XML, ecom platforms, CMS systems, and web traffic analytics packages.

-Leadership, Artistic, and IA design experience highly valued

The opening is located in Fluid's San Francisco office at 2 South Park, 
94107. Please email your resume or linkedIn profile, a cover letter and 
sample MXML / ActionScript code to: 
[EMAIL PROTECTED]


Thanks for your time!





--
ameet mehta | director of engineering | F L U I D | fluid.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Compile .fla from Flex?

2008-01-08 Thread Merrill, Jason
Well, you didn't say Mac.  :) minor omission. 

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

Bank of America Flash Platform Developer Community



 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Jason Van Cleave
Sent: Tuesday, January 08, 2008 4:59 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Compile .fla from Flex?

On a Mac so FlashDevelop isn't an option. What I am looking 
to do is hit the run button from inside Eclipse/Flex Builder 
have it jump over to Flash and compile.

It's a minor inconvenience when compared to editing 
ActionScript in the Flash Editor but I was hoping someone had 
built a bridge somehow.



On Jan 8, 2008 3:56 PM, Merrill, Jason 
[EMAIL PROTECTED]
wrote:

 Why target a .fla?  Do you mean .swf?

 I think FlashDevelop + Flex SDK compiler is a great combo and very 
 easy to set up.

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

 Bank of America Flash Platform Developer Community



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

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

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


Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread Steven Sacks

http://jessewarden.com/2007/09/no-excludexml-in-flash-cs3-for-as3-solution-via-bridge-pattern.html

Might want to check this out as I think it's similar.  Bridge pattern.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Actionscript 2.0 / Flash Contractor needed for high profile project at Fluid

2008-01-08 Thread Ameet Mehta

Greetings Flashcoders,

Fluid (http://www.fluid.com) develops award-winning interactive digital 
retail experiences for clients including Reebok, Timberland, JanSport, 
Mattel, and The North Face.  We are looking for a skilled, experienced, 
and passionate contractor to work on a high profile RIA built using 
Adobe Flash.

Skills Required:

-Write superior Actionscript 2.0 classes with an understanding of Object 
Oriented analysis and design

-Write custom user interface components
-Programmatically translate design comps into pixel perfect user 
interfaces using Flash's drawing API and filters
-Be able to follow techspec guidelines and implement code and 
functionality as indicated

-Communicate clearly with team members, verbally and in writing.
-Manage time effectively and adhere to schedules.
-Artistic and design experience highly valued

This is a 2 month contract beginning early February.

Please email your resume/LinkedIn profile, cover letter, and sample 
Actionscript code to:


[EMAIL PROTECTED]

Thanks for your time!



--
ameet mehta | director of engineering | F L U I D | fluid.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Compile .fla from Flex?

2008-01-08 Thread Jason M Horwitz
You could do this with Ant and JSFL - check out the buildfile  and
safeTestMovie.jsfl from my FDTKit project:
http://fdtkit.googlecode.com/svn/trunk/build.xml
http://fdtkit.googlecode.com/svn/trunk/bin/scripts/SafeTestMovie.jsfl

I think the test_movie ant target does pretty much what you're looking for:
automates switching from Eclipse (or FlexBuilder) to Flash for compiling (in
this case whatever the current/open fla is).

What I do is have Eclipse/FDT/Flex open in one space (assuming OS X), and
Flash with my fla in another and simply do a good old fashioned Cmd+Enter
(which I map the default ant task keybinding in eclipse). The result is a
nice test movie which switches focus/spaces screen from eclipse to flash and
does a preview, a simple Cmd+W, Cmd+Tab closes the preview and returns me to
where I left off in Eclipse.

Hope this helps,

...
. jason m horwitz // Sekati

On Jan 8, 2008 3:47 PM, Jason Van Cleave [EMAIL PROTECTED] wrote:

 I know FDT can do this but I am having issues with the new version and
 AS3.
 Has anyone found a way of targeting a .fla from a Flex Builder
 Actionscript
 Project?
 ___
 Flashcoders mailing list
 Flashcoders@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] flash and 3d asset options

2008-01-08 Thread Shannon Romano
Hi List

I came across this site the other day while researching 3d games and 
possibilities with Flash:
www.nbc.com/american_gladiators/gameshttp://www.nbc.com/american_gladiators/games

I don't think it's a Papervision game although I could be wrong.  Rather, it 
looks to me some 3d models were exported out for use within Flash.  Does anyone 
have experience with this or give me your opinion please?  I have looked into 
the Swift3D tools (http://www.erain.com/products/Plug-ins/ ) ( after extensive 
Google trolling ) for exporting from 3DStudio Max but I don't have an 
first-hand knowledge of Swift Tools.  If anyone has used it I would love to 
hear how well it works.

Thanks for your time,
-shannon
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Beginning of String matching algorithm?

2008-01-08 Thread Steven Loe
I have a plan, but I suspect that it not a great approach:

I have an alpha sorted xml file containing hundreds of titles. I'd like to 
create an
array of items whose beginning contains my search string. 

So if the search string is Ba and this is my list, I'd want the 3rd and 4th 
items
only:

10 Things I Hate About You
Agent Cody Banks
Baby Story, A
Back to the Future
Yoga for Back Care
Zona de Batalla

My plan is: Do a binary search on the keyCode of the first letter, get all of 
the items
that start with B. Then, use substring to see which of these items start with 
Ba
and add these to my array. What do you think? Is there a better way to approach 
this?

Thanks for your time


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Beginning of String matching algorithm?

2008-01-08 Thread Glen Pike

if you are in AS3 / Flex, look at the filters for ArrayCollection / XML.

Glen

Steven Loe wrote:

I have a plan, but I suspect that it not a great approach:

I have an alpha sorted xml file containing hundreds of titles. I'd like to 
create an
array of items whose beginning contains my search string. 


So if the search string is Ba and this is my list, I'd want the 3rd and 4th 
items
only:

10 Things I Hate About You
Agent Cody Banks
Baby Story, A
Back to the Future
Yoga for Back Care
Zona de Batalla

My plan is: Do a binary search on the keyCode of the first letter, get all of 
the items
that start with B. Then, use substring to see which of these items start with 
Ba
and add these to my array. What do you think? Is there a better way to approach 
this?

Thanks for your time


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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


  


--

Glen Pike
01736 759321
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] Compile .fla from Flex?

2008-01-08 Thread Ed McManus
In FlexBuilder you should be able to do this by referencing assets in an SWC
made from your .fla (To do this in Flash CS3 check Export SWC in Publish
Settings)

However, there is a bug with the Flex SDK and CS3 SWC's. You'll need to
install the following patch if you want to do anything with the Flex SDK (or
FlexBuilder) and CS3:
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401493

Best,
Ed



On Jan 8, 2008 3:43 PM, Jason M Horwitz [EMAIL PROTECTED] wrote:

 You could do this with Ant and JSFL - check out the buildfile  and
 safeTestMovie.jsfl from my FDTKit project:
 http://fdtkit.googlecode.com/svn/trunk/build.xml
 http://fdtkit.googlecode.com/svn/trunk/bin/scripts/SafeTestMovie.jsfl

 I think the test_movie ant target does pretty much what you're looking
 for:
 automates switching from Eclipse (or FlexBuilder) to Flash for compiling
 (in
 this case whatever the current/open fla is).

 What I do is have Eclipse/FDT/Flex open in one space (assuming OS X), and
 Flash with my fla in another and simply do a good old fashioned Cmd+Enter
 (which I map the default ant task keybinding in eclipse). The result is a
 nice test movie which switches focus/spaces screen from eclipse to flash
 and
 does a preview, a simple Cmd+W, Cmd+Tab closes the preview and returns me
 to
 where I left off in Eclipse.

 Hope this helps,

 ...
 . jason m horwitz // Sekati

 On Jan 8, 2008 3:47 PM, Jason Van Cleave [EMAIL PROTECTED] wrote:

  I know FDT can do this but I am having issues with the new version and
  AS3.
  Has anyone found a way of targeting a .fla from a Flex Builder
  Actionscript
  Project?
  ___
  Flashcoders mailing list
  Flashcoders@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] Compile .fla from Flex?

2008-01-08 Thread Yogesh Singh
How can I unregister from group?

With Regards
Yogesh Singh
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason M
Horwitz
Sent: Wednesday, January 09, 2008 5:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Compile .fla from Flex?

You could do this with Ant and JSFL - check out the buildfile  and
safeTestMovie.jsfl from my FDTKit project:
http://fdtkit.googlecode.com/svn/trunk/build.xml
http://fdtkit.googlecode.com/svn/trunk/bin/scripts/SafeTestMovie.jsfl

I think the test_movie ant target does pretty much what you're looking
for:
automates switching from Eclipse (or FlexBuilder) to Flash for compiling
(in
this case whatever the current/open fla is).

What I do is have Eclipse/FDT/Flex open in one space (assuming OS X),
and
Flash with my fla in another and simply do a good old fashioned
Cmd+Enter
(which I map the default ant task keybinding in eclipse). The result is
a
nice test movie which switches focus/spaces screen from eclipse to flash
and
does a preview, a simple Cmd+W, Cmd+Tab closes the preview and returns
me to
where I left off in Eclipse.

Hope this helps,

...
. jason m horwitz // Sekati

On Jan 8, 2008 3:47 PM, Jason Van Cleave [EMAIL PROTECTED]
wrote:

 I know FDT can do this but I am having issues with the new version and
 AS3.
 Has anyone found a way of targeting a .fla from a Flex Builder
 Actionscript
 Project?
 ___
 Flashcoders mailing list
 Flashcoders@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