[Flashcoders] Multiplying a Vector3D by a projection Matrix3D

2009-05-07 Thread Fumio Nonaka
Vector3D.project() method in [Help] says:
If the current Vector3D object is the result of multiplying a Vector3D
object by a projection Matrix3D object, the w property can hold the
transform value.
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Vector3D.html#project()

How can you multiply a Vector3D object by a projection Matrix3D object?
 I had thought the Matrix3D.transformVector() method do it.  However the
Vector3D.w property of the reslut instance did not hold its value but
was set to 1.  I could not find out other methods for multiplication.

var myMatrix3D:Matrix3D = new Matrix3D();
var myVector3D:Vector3D = new Vector3D();
trace(myVector3D, myVector3D.w);  // Output: Vector3D(0, 0, 0) 0
myVector3D = myMatrix3D.transformVector(myVector3D);
trace(myVector3D, myVector3D.w);  // Output: Vector3D(0, 0, 0) 1

Any advices or suggestions would be very appreciated.
-- 
Fumio Nonaka
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] File access

2009-05-07 Thread Karl DeSaulniers
Is there a way to display the thumbnail of a file? Like a .PSD  
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to do  
that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] File access

2009-05-07 Thread Glen Pike

Hi,

   Don't think you could do this in Flash without loading the whole 
image file, even if it did have a thumbnail - not sure if this is a 
feature of the JPEG / PNG spec or not?
  
   If you are loading images from the server, you could run a script 
that generates thumbnails on the fly, (hopefully caching them for 
further browser requests).  There are loads of free scripts - phpThumb 
is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD 
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to do 
that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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




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


Re: [Flashcoders] File access

2009-05-07 Thread Karl DeSaulniers

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the  
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you  
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

   Don't think you could do this in Flash without loading the whole  
image file, even if it did have a thumbnail - not sure if this is a  
feature of the JPEG / PNG spec or not?
 If you are loading images from the server, you could run a  
script that generates thumbnails on the fly, (hopefully caching  
them for further browser requests).  There are loads of free  
scripts - phpThumb is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD  
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to  
do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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




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


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


Re: [Flashcoders] File access

2009-05-07 Thread Glen Pike

Hi,

   The open-file dialog is an OS thing - the thumbs come from the OS 
rather than the image.  PSD's are an exception - the thumbnail appears 
in the Adobe style dialogue for these...


   I am guessing AS3 + AIR may allow a bit more flexibility with 
opening and accessing file data in the way you would like, but as you 
are using AS2, you are probably restricted to uploading a file, making a 
thumbnail then displaying it...  Be aware that if you are thinking of 
doing something like this, image uploading, even with phpThumb, is often 
exploited by hackers - read the doc's / fix list if you are thinking of 
using ready made scripts and weigh up pros/cons.


   Glen

Karl DeSaulniers wrote:

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the 
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you 
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

   Don't think you could do this in Flash without loading the whole 
image file, even if it did have a thumbnail - not sure if this is a 
feature of the JPEG / PNG spec or not?
 If you are loading images from the server, you could run a 
script that generates thumbnails on the fly, (hopefully caching 
them for further browser requests).  There are loads of free scripts 
- phpThumb is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD 
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to 
do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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




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


___
Flashcoders mailing list
Flashcoders@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] Recommendation for AS3 decompiler?

2009-05-07 Thread jimmi
Hey, you should check out HP swfscan, it decompiles everything just
fine(as2 and 3) and it's free.

On Wed, May 6, 2009 at 12:11 PM, Glen Pike g...@engineeredarts.co.uk wrote:
 Hi,

   If you can run windows software, check out Burak's ASV - it's definitely
 worth the money and paying users can get access to the latest beta's of the
 AS3 decompiler...

   I find ASV really good for getting the AS code out and SoThink was good
 for rescuing movieclips from SWF's without FLA's...

   Glen

 Gerry Beauregard wrote:

 Thanks Anthony, very useful to know.   BTW, I just noticed that the Mac
 version of SoThink's SWF Decompiler is at version 4.5, whereas the Windows
 version is now at 5.0.   I need v5 to decompile AS3 code for FlashPlayer 10,
 so I'll run the Windows version under VMWare Fusion for now.

 On 2009-05-05  , at 23:40 , Anthony Pace wrote:

 When I have deleted the fla, I only have my swf, and I need to reuse a
 bit of code, sothink has come to the rescue quite a few times; however, I am
 on windows.

 If it has to be a mac, even though it crashes, I think sothink is your
 best bet.


 Gerry Beauregard wrote:

 Does anyone have a recommendation for a good tool for decompiling SWFs
 (and if possible SWCs) written in ActionScript 3?  Must run on MacOS 10.5.
  I was considering buying the SoThink SWF Decompiler for Mac, but
 unfortunately it often crashes when I select an SWF I just built with Flex
 Builder 3, and even when it doesn't crash, the trial version doesn't 
 display
 ActionScript code.

 Incidentally, I have no intention of ripping off anyone else's
 ActionScript code.  Quite the contrary, I'm developing new code, and want 
 to
 see what people using a decompiler would be able to figure out if I don't
 use obfuscation. If I conclude that obfuscation is necessary at all, I'll
 need a decompiler to evaluate obfuscation options...

 -Gerry
 ___
 Flashcoders mailing list
 Flashcoders@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] File access

2009-05-07 Thread Sidney de Koning

Hi Karl,

I think Adobe has their own project of getting meta data out of file,  
especially for their 'own' file formats, i'm guessing PSD aswell

I have not looked in to this but maybe it can help you;  its called XMP.

http://labs.adobe.com/technologies/xmplibrary/

http://www.adobe.com/devnet/xmp/
http://www.adobe.com/products/xmp/


Hope this helps you,

Sid

On May 7, 2009, at 11:01 AM, Glen Pike wrote:


Hi,

  The open-file dialog is an OS thing - the thumbs come from the OS  
rather than the image.  PSD's are an exception - the thumbnail  
appears in the Adobe style dialogue for these...


  I am guessing AS3 + AIR may allow a bit more flexibility with  
opening and accessing file data in the way you would like, but as  
you are using AS2, you are probably restricted to uploading a file,  
making a thumbnail then displaying it...  Be aware that if you are  
thinking of doing something like this, image uploading, even with  
phpThumb, is often exploited by hackers - read the doc's / fix list  
if you are thinking of using ready made scripts and weigh up pros/ 
cons.


  Glen

Karl DeSaulniers wrote:

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the  
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you  
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

  Don't think you could do this in Flash without loading the whole  
image file, even if it did have a thumbnail - not sure if this is  
a feature of the JPEG / PNG spec or not?
If you are loading images from the server, you could run a  
script that generates thumbnails on the fly, (hopefully caching  
them for further browser requests).  There are loads of free  
scripts - phpThumb is one I have seen that may do the caching too.


  HTH

  Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD  
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way  
to do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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




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


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




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


Sidney de Koning - be a geek, in rockstar style!
Flash / AIR Developer @ www.funky-monkey.nl
Technical Writer @ www.insideria.com

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


Re: [Flashcoders] OT - Running windows with bootcamp

2009-05-07 Thread Geografiek

Hi,
I tried bootcamp some time ago and couldn't get it working.
Just a few days ago I bought Parallels, installed Windows XP. Works  
like a charm alingside MacOS 10.5.

hth,
Willem van den Goorbergh
(not a windows power user though ;-))

Op 4-mei-2009, om 21:46 heeft Patrick Matte het volgende geschreven:

I’m about to buy a new laptop and I was thinking of getting a  
macbook pro to

run windows. Has anybody ever had any problems running windows with
bootcamp? I’m a little worried about driver problems with  
peripherals. I’m
also using some MIDI controllers and a DMX interface regularly.  
Basically I
just want to know if getting a macbook pro is safe for a Windows  
power user..



This e-mail is intended only for the named person or entity to  
which it is addressed and contains valuable
business information that is proprietary, privileged, confidential  
and/or otherwise protected from disclosure.


If you received this e-mail in error, any review, use,  
dissemination, distribution or copying of this e-mail
is strictly prohibited. Please notify us immediately of the error  
via e-mail to disclai...@tbwachiat.com and
please delete the e-mail from your system, retaining no copies in  
any media. We appreciate your cooperation.


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





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

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





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


[Flashcoders] e.target subobjects how do I refrence??

2009-05-07 Thread zurie


I have a loop that is assigning event listeners to target. My targets
are named btn1, btn2, btn3, etc etc. 

inside each btn, I have a movie clip called menuSquare_mc which I want
to animate. how can I target menuSquare_mc of each button using only 1
function??? 

function down($e:MouseEvent ):void { 

 trace($e.type +  :  +$e.target ) ; 

 if ($e.type == mouseOver) { 

 TweenMax.to($e.target.menuSquare_mc, .3, {alpha:.06, delay:0,
ease:Sine.easeOut}); 

}  

} 

the above code fails... I want it to say btn1.menuSquare_mc,
btn2.menuSquare_mc, etc) using just 1 function...  

in fact, my idea would be to use if $e.type == mouseDown do another
function just like the over and one just like the out.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Multiplying a Vector3D by a projection Matrix3D

2009-05-07 Thread Ron Wheeler

Fumio Nonaka wrote:

Vector3D.project() method in [Help] says:
If the current Vector3D object is the result of multiplying a Vector3D
object by a projection Matrix3D object, the w property can hold the
transform value.
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Vector3D.html#project()

How can you multiply a Vector3D object by a projection Matrix3D object?
 I had thought the Matrix3D.transformVector() method do it.  However the
Vector3D.w property of the reslut instance did not hold its value but
was set to 1.  I could not find out other methods for multiplication.

var myMatrix3D:Matrix3D = new Matrix3D();
var myVector3D:Vector3D = new Vector3D();
trace(myVector3D, myVector3D.w);  // Output: Vector3D(0, 0, 0) 0
myVector3D = myMatrix3D.transformVector(myVector3D);
trace(myVector3D, myVector3D.w);  // Output: Vector3D(0, 0, 0) 1

Any advices or suggestions would be very appreciated.
  
I am not an expert on matrix multiplication (was much better at it 40 
years ago), so you can take my comments with a grain of salt.


You seem to be multiplying a null vector(zero length located at 0,0,0 at 
the best interpretation) by a null or zero transformation. The results 
will not be very interesting .


Perhaps you might try it with a not null vector and a not null 
transformation and see if you get something more interesting.


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


Re: [Flashcoders] AS2 known? bug with _yscale property when class extends MovieClip

2009-05-07 Thread Olivier Besson
it's probably the classical scope issue in as2: you set the value in a 
listener, or in a function which is passed as a parameter.
use mx.utils.Delegate.create(this, yourFunction) instead of 
yourFunction where you pass the parameter.


Such scope issues also appear if you use super keyword.. but it's less 
usual.


 Olivier

Andrew Sinning a écrit :

I'm setting the value inside of the class which extends MovieClip.

It is really bizarre that it would change the yscale of _root.  This 
mc is buried 5 clips deep inside of a swf that is in turn imported 
into the _root.


Jordan L. Chilcott wrote:
Are you dealing with anything that may represent a scoping issue? 
Where are you setting your _yscale?


jord

Andrew Sinning wrote:
I'm using AS2 and I have a symbol linked to a class that extends 
MovieClip.


There's a place in the class where the mc gets scaled.  Because it 
extends MovieClip, I didn't bother to use this, as in 
this._yscale = 90.  I simply typed _yscale = 90.


Curiously, without the this, the command causes the _root movie to 
be scaled.  Seems like a bug.  Is this a known issue?










--
Olivier Besson (gludion) - (33 1) 44 64 78 99
http://www.gludion.com
http://blog.gludion.com

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


Re: [Flashcoders] OT - Running windows with bootcamp

2009-05-07 Thread Anthony Pace

Hi,

I was at this dissatisfying thing a while back, and an Adobe sales rep 
was relying on Bootcamp to show me how adobe Audition Performed with 
some of my DirectX VSTs of choice, particularly Izotope Trash.


It worked beautifully well, with very low latency, and she was able to 
install the drivers for my portable Tascam US-144 on the spot, in order 
for me to test it out (I had it on me, along with my Shure SM58 Mic, 
because I was going to be recording something for my 
non-tech-savvy-friend in his basement, and she, the Adobe Rep was 
willing because she bored to tears, had some free time, and was really 
nice).


Because of Bootcamp I am going to be purchasing a higher end MAC 
Notebook when the Toshiba I am on crashes (GIFT, I wouldn't buy it).


Since I was on the topic, with regard to Audition 3, I have worked with 
it a little, and I have to say:
-it has very nice features that make it a great alternative for people 
used to adobe style interfaces
-has been pretty darn stable from my experience; although, use has been 
limited, and its engine and my tascam driver clash a little once in a 
while, with a lot of pops and clicks when I push my system too hard
-forces me to manually change my driver to 96k instead of 44.1k in an 
ini file, so my ASIO driver works the way I want it to
-lacks some very sweet features that Sonar and Protools have, that I 
just can't live without.


Take care,
Anthony



Geografiek wrote:

Hi,
I tried bootcamp some time ago and couldn't get it working.
Just a few days ago I bought Parallels, installed Windows XP. Works 
like a charm alingside MacOS 10.5.

hth,
Willem van den Goorbergh
(not a windows power user though ;-))

Op 4-mei-2009, om 21:46 heeft Patrick Matte het volgende geschreven:

I’m about to buy a new laptop and I was thinking of getting a macbook 
pro to

run windows. Has anybody ever had any problems running windows with
bootcamp? I’m a little worried about driver problems with 
peripherals. I’m
also using some MIDI controllers and a DMX interface regularly. 
Basically I
just want to know if getting a macbook pro is safe for a Windows 
power user..



This e-mail is intended only for the named person or entity to which 
it is addressed and contains valuable
business information that is proprietary, privileged, confidential 
and/or otherwise protected from disclosure.


If you received this e-mail in error, any review, use, dissemination, 
distribution or copying of this e-mail
is strictly prohibited. Please notify us immediately of the error via 
e-mail to disclai...@tbwachiat.com and
please delete the e-mail from your system, retaining no copies in any 
media. We appreciate your cooperation.


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





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

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





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


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


[Flashcoders] Embed Fonts in Main SWF

2009-05-07 Thread Dav
Hi guys, simple question for you!

If I have a main swf file that has font's embedded via AS3.
I load a child swf into a movieclip on the main swf.
Can the child swf use the embedded fonts from the main swf?

I've tried and so far I haven't managed to get this working, obviously if I
embed the fonts into the child swf the fonts appear as expected.

Cheers!
Dav

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


Re: [Flashcoders] OT - Running windows with bootcamp

2009-05-07 Thread Dave Watts
 I¹m about to buy a new laptop and I was thinking of getting a macbook pro to
 run windows. Has anybody ever had any problems running windows with
 bootcamp? I¹m a little worried about driver problems with peripherals. I¹m
 also using some MIDI controllers and a DMX interface regularly. Basically I
 just want to know if getting a macbook pro is safe for a Windows power user..

Yes, it is - my coworker has this configuration, and while he's not
quite happy with it, the Windows OS runs very nicely on it. Any
driver/peripheral issues will be because of other things (64-bit vs
32-bit, for example).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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


Re: [Flashcoders] Recommendation for AS3 decompiler?

2009-05-07 Thread Alain Rousseau
If you want to have your MXML back from a SWF than there isn't a tool 
out there that can do that. You will get some Classes but they may not 
reflect the project's structure in the begining. Otherwise only SoThink 
SWF Decompiler can read AS3 based SWFs.


Gordon and Eltima Trillix only decompile up to AS2.

You would have to go with the PC decompilers, and my favourite so far is 
burak's  Action Script Viewer (http://www.buraks.com/asv/)


Hope this helps

Alain

Gerry Beauregard wrote:
Does anyone have a recommendation for a good tool for decompiling SWFs 
(and if possible SWCs) written in ActionScript 3?  Must run on MacOS 
10.5.  I was considering buying the SoThink SWF Decompiler for Mac, 
but unfortunately it often crashes when I select an SWF I just built 
with Flex Builder 3, and even when it doesn't crash, the trial version 
doesn't display ActionScript code.


Incidentally, I have no intention of ripping off anyone else's 
ActionScript code.  Quite the contrary, I'm developing new code, and 
want to see what people using a decompiler would be able to figure out 
if I don't use obfuscation. If I conclude that obfuscation is 
necessary at all, I'll need a decompiler to evaluate obfuscation 
options...


-Gerry
___
Flashcoders mailing list
Flashcoders@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] Recommendation for AS3 decompiler?

2009-05-07 Thread Dave Watts
 If you want to have your MXML back from a SWF than there isn't a tool out
 there that can do that. You will get some Classes but they may not reflect
 the project's structure in the begining. Otherwise only SoThink SWF
 Decompiler can read AS3 based SWFs.

There never will be a tool that can give you the MXML, I think. My
understanding is that this gets converted to AS3 prior to compilation.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Recommendation for AS3 decompiler?

2009-05-07 Thread Anthony Pace
Why would you want it to?  Why not just learn the AS3? If you know as3, 
you can use what you have learned and apply it to other languages.


SoThink is not the only de-compiler; I just Checked out swfscan, and its 
not bad at all.


Dave Watts wrote:

If you want to have your MXML back from a SWF than there isn't a tool out
there that can do that. You will get some Classes but they may not reflect
the project's structure in the begining. Otherwise only SoThink SWF
Decompiler can read AS3 based SWFs.



There never will be a tool that can give you the MXML, I think. My
understanding is that this gets converted to AS3 prior to compilation.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@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] Recommendation for AS3 decompiler?

2009-05-07 Thread Anthony Pace
Oops , I just realized they don't seem to have a Mac version, and that 
was probably what was meant by Sothink is the only option.


Anthony Pace wrote:
Why would you want it to?  Why not just learn the AS3? If you know 
as3, you can use what you have learned and apply it to other languages.


SoThink is not the only de-compiler; I just Checked out swfscan, and 
its not bad at all.


Dave Watts wrote:
If you want to have your MXML back from a SWF than there isn't a 
tool out
there that can do that. You will get some Classes but they may not 
reflect

the project's structure in the begining. Otherwise only SoThink SWF
Decompiler can read AS3 based SWFs.



There never will be a tool that can give you the MXML, I think. My
understanding is that this gets converted to AS3 prior to compilation.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@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] Recommendation for AS3 decompiler?

2009-05-07 Thread Dave Watts
 Why would you want it to?  Why not just learn the AS3? If you know as3, you
 can use what you have learned and apply it to other languages.

Well, MXML and AS3 are used for different things in a typical Flex
application. MXML is much better than AS3 for layout manager stuff.
AS3 is much better than MXML for everything else. So a typical Flex
app uses both appropriately. Any Flex programmer will, in fact, know
AS3 because you can't write a useful Flex app with MXML alone. Well,
maybe you could, but I really wouldn't want to try.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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


RE: [Flashcoders] Recommendation for AS3 decompiler?

2009-05-07 Thread Merrill, Jason
 My understanding is that this gets converted to AS3 prior to
compilation.

This is true.  You could infer some MXML structure based on the AS3
code, but it would be complicated to do.  

. Any Flex programmer will, in fact, know
 AS3 because you can't write a useful Flex app with MXML alone.

This is true as well.  Not that I am a complete pro at Flex, but I have
found you want to know both MXML and Actionscript fairly equally.  On
large projects, I spend more time in Actionscript, but having the MXML
makes life much easier and is important to make use of, MXML can save
you a lot of time and headaches.   I do think there are uses for MXML
that are non-visual though, like setting up a webservice connection,
describing effects (which I guess you could argue is visual, but it not
a layout thing) or even loading XML, but for the most part, I think
you're right.  MXML for the view - what you see, and Actionscript for
most everything else.  You can even write arrays and stuff with MXML but
I've never seen a good reason for that.

Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

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


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


Re: [Flashcoders] Recommendation for AS3 decompiler?

2009-05-07 Thread Dave Watts
 This is true as well.  Not that I am a complete pro at Flex, but I have
 found you want to know both MXML and Actionscript fairly equally.

And, of course, the class library is the same in either, so if you
know how to invoke something via MXML, you basically know how to
invoke it in AS3 and vice-versa. The basic syntax of both MXML and AS3
can be picked up quite easily by any experienced programmer in a day
or so.

 I do think there are uses for MXML that are non-visual though, like setting 
 up a
 webservice connection, describing effects (which I guess you could argue is
 visual, but it not a layout thing) or even loading XML, but for the most 
 part,
 I think you're right.  MXML for the view - what you see, and Actionscript for
 most everything else.  You can even write arrays and stuff with MXML but
 I've never seen a good reason for that.

Yeah, I generally use MXML for WebService, HTTPService, RemoteObject,
etc, but they're not really part of the view, it's just what I'm used
to. The syntax for doing this just seems to be a bit cleaner to me.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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


[Flashcoders] if only flash would incorporate these features

2009-05-07 Thread Anthony Pace

http://vimeo.com/1669862?pg=embedsec=1669862
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] if only flash would incorporate these features

2009-05-07 Thread Pedro Kostelec
Impressive. But we're gonna have to wait a lot before such think comes to
Flash. First it will be introduced in 3D packages i guess. Such a thing
could make me like 3D modeling.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] if only flash would incorporate these features

2009-05-07 Thread Merrill, Jason
That's awesome!  Major time saver and very Star Trek.  Thanks for the
link, I Tweeted and Facebook'ed it.


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

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



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony
Pace
Sent: Thursday, May 07, 2009 4:31 PM
To: Flash Coders List
Subject: [Flashcoders] if only flash would incorporate these features

http://vimeo.com/1669862?pg=embedsec=1669862
___
Flashcoders mailing list
Flashcoders@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] cs3 compiler vs cs4 compiler

2009-05-07 Thread Samuel Adu
I'm hoping that somebody else other than me has noticed this, and that
perhaps somebody else out there would know why adobe made this change,
so here goes...

I've found that the cs4 as3 compiler is doing little or no
optimization when ity comes to compiling a swf when a code library swc
is sitting in my fla library. Let's take the google maps as3 code
library swc as an example. In cs3 i'd place the swc into my library,
and import one class and instantiate it. Publish the swf and the end
result is a swf that weighs very little. Examining the swf with hp's
swfscan shows that only the class and dependants are compiled in.

Repeating the same process with cs4 results in a swf weighing over
50k. It appears that every class definition from the swc gets compiled
in. Even removing all import statements makes no difference, so long
as the swc is in the library, all the classes go into your swf!

Anybody out there aware of this? Is there a way to prevent this
behaviour? Was this intended by adobe, or is this an oversight?

Any comments/pointers appreciated!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Embed Fonts in Main SWF

2009-05-07 Thread Steven Sacks

You can embed specific ranges like this:

http://www.gaiaflashframework.com/index.php/topic,1678.msg7436.html#msg7436

If you put the font in the library, you can just set the font to  
export in frame 1, give it a class name and then


Font.registerFont(fontClassName);

Easy peasy.


On May 7, 2009, at 9:51 AM, Dav wrote:


Hi guys, simple question for you!

If I have a main swf file that has font's embedded via AS3.
I load a child swf into a movieclip on the main swf.
Can the child swf use the embedded fonts from the main swf?

I've tried and so far I haven't managed to get this working,  
obviously if I

embed the fonts into the child swf the fonts appear as expected.

Cheers!
Dav

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


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