[Flashcoders] 大人の関係を望む人 達の為の出会いのスポット!!

2007-07-19 Thread 18歳以上限定

恋人から割り切りセフレまで幅広く多数の男女が登録中!
確実に会える相手を見つけるのに苦労してませんか?

会いたい時に会えるのも凄く大切だと思います。

純粋な「出会い」を前提とした
大人の関係を望む人達の為の出会いのスポット!!
もちろん大人の関係だから18歳以上であれば年齢制限ナシ
http://pittarism.com/KT/




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Installing CS3

2007-07-19 Thread Laurie Jensen
Hello Dennis,
You will find a lot of information about installation problems on the
Creative Suite forum
http://www.adobeforums.com/cgi-bin/webx/.2ccd8a3f/

Here is my story, which might give you some hints;
http://www.adobeforums.com/cgi-bin/webx/.3bc3cbb0/2

Regards,
Laurie Jensen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Landi
Sent: Friday, 20 July 2007 2:18 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Installing CS3

Hi, 

I am hoping others here can help or refer me to the appropriate forum.

I have recently purchased the CS3 Web Premium edition and I am attempting to
install it.

Yesterday, I attempted to install it and it started by creating a series of
directories with CAB files for each product int the Web bundle.  



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Installing CS3

2007-07-19 Thread Dennis Landi
Hi, 

I am hoping others here can help or refer me to the appropriate forum.

I have recently purchased the CS3 Web Premium edition and I am attempting to 
install it.

Yesterday, I attempted to install it and it started by creating a series of 
directories with CAB files for each product int the Web bundle.  

The problem is that the install process seems to hang at 20%.  The install app 
still seems responsive and the CPU seems pegged at 50 % activity from the 
install process but nothing else seems to be happen.  This morning I canceled 
the process and rebooted and tried again with the same result.  The install 
process seems stuck at 20%.

Anybody else see this?  Does it just take a long time to install?

I might add that the machine I am installing CS3 on is a dual 3.0 gigahertz CPU 
with 2 gigs of RAM, so I would think the machine is big enough.
 

Dennis Landi
Allied Data,   Inc.
http://www.allied-data.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread David Ngo
Sorry if my post came across as pro-PHP. Trust me, I'm anything but that. I
guess I should've added some benefits of Java over PHP. Java is much more
scalable than PHP (by a long shot). I don't think I would ever want to build
anything using PHP, except maybe an image gallery with limited server
functionality needed. Everything I've ever had to build with has had some
major backend/model framework in place to interface with, and I would much
rather have that sledgehammer there to get things working exactly how you
want it rather than peruse through 1 lines of script code.

If anything, I'm much more of a full-blown OOP/structured language fanboy
and would rather work with .NET/Java than touch PHP.


David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler
Sent: Thursday, July 19, 2007 9:06 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Backend compiled Java or scripted PHP?

Eclipse, Spring, Hibernate, AXIS and Java is a pretty nice toolkit.

Ron

David Ngo wrote:
> Well, in my opinion, Java is much more OOP. PHP is really nothing more
than
> just scripts. It will eventually hit a ceiling and be limited in what it
can
> do. Java, on the other hand, is much more robust, which is why the
majority
> of large corporations still use Java as their application backbone. But as
> with anything too complex, it's also very complex to set up. Java will
need
> its own application container/server to run on and setting that up takes a
> lot of time, money and even more effort to get it working right.
>
> PHP on the other hand, is very easy to implement and deploy. It can be
quite
> powerful if used correctly and there are tons of frameworks out for PHP to
> help lighten development time. I would say to look at your requirements
and
> see what the best fit for your needs are.
>
>  
> David
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Weldon
> MacDonald
> Sent: Thursday, July 19, 2007 12:01 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Backend compiled Java or scripted PHP?
>
> I've been using ActionScript for a while now, but my next project will
> require a lot more server side work. In the past I've used PHP, but
> only in a pidgin kind of way. alternatively, I have some Java skills,
> though not specifically for the web. Either way I have to spend some
> time developing an appropriate skill level, the question becomes,
> which skills.
>
> The times I've used PHP, it seemed straight forward enough, and from
> what I've read Java is a little trickier to implement on the web
> (correct?). On the other hand, PHP is a pretty specific niche whereas
> Java has a much wider usefulness (correct?)
>
> There are a lot of strong opinions out there.
>
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
>
> and  in response,
>
> How they can compare PHP with Java at all? (most people who are
> praising PHP are either bad programmers or they are not programmers at
> all)
>
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78
> 718&start=0
>
> PHP is faster to develop, java is faster to run, or is that runs faster?
> PHP is harder to maintain, and Java has more tools ...etc...
>
> What's a guy to beloieve? Any opin... any more opinions?
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
>   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Ron Wheeler

Eclipse, Spring, Hibernate, AXIS and Java is a pretty nice toolkit.

Ron

David Ngo wrote:

Well, in my opinion, Java is much more OOP. PHP is really nothing more than
just scripts. It will eventually hit a ceiling and be limited in what it can
do. Java, on the other hand, is much more robust, which is why the majority
of large corporations still use Java as their application backbone. But as
with anything too complex, it's also very complex to set up. Java will need
its own application container/server to run on and setting that up takes a
lot of time, money and even more effort to get it working right.

PHP on the other hand, is very easy to implement and deploy. It can be quite
powerful if used correctly and there are tons of frameworks out for PHP to
help lighten development time. I would say to look at your requirements and
see what the best fit for your needs are.

 
David



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weldon
MacDonald
Sent: Thursday, July 19, 2007 12:01 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Backend compiled Java or scripted PHP?

I've been using ActionScript for a while now, but my next project will
require a lot more server side work. In the past I've used PHP, but
only in a pidgin kind of way. alternatively, I have some Java skills,
though not specifically for the web. Either way I have to spend some
time developing an appropriate skill level, the question becomes,
which skills.

The times I've used PHP, it seemed straight forward enough, and from
what I've read Java is a little trickier to implement on the web
(correct?). On the other hand, PHP is a pretty specific niche whereas
Java has a much wider usefulness (correct?)

There are a lot of strong opinions out there.

Andreessen: PHP succeeding where Java isn't
http://news.com.com/2100-1012-5903187.html?tag=tb

and  in response,

How they can compare PHP with Java at all? (most people who are
praising PHP are either bad programmers or they are not programmers at
all)
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78
718&start=0

PHP is faster to develop, java is faster to run, or is that runs faster?
PHP is harder to maintain, and Java has more tools ...etc...

What's a guy to beloieve? Any opin... any more opinions?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread R�kos Attila

I used both PHP and Java for server-side development, and although my
clients mostly ask for PHP (this is due to the strange PHP loving of
hosting providers here), I far more prefer Java. Just few points
why:

Language features
# PHP
  - no strict typing
  - horror of automatic type conversions (by the way it also increases
vulnerability; PHP is the only language where "5 apples" * "3 astronauts"
results in 15 :))
  - limited OOP

# Java
  + strict typing
  + full OOP
  + generics
  - a little bit defective generics
  - lack of properties

Technologies and APIs
# PHP
  - lack of a well-structured and designed standard class library
  - no standard APIs (PHP's "builtin" APIs are no more than an
unorganized stack of functions, which use different aspects,
follow different conventions, etc.)
  - no standard database access layer
  - no standard templating system (for web development)
  - limited implementations of standard technologies (XML, SOAP, etc.)
  + some efforts to create a standard library (PEAR), but it is still
seems to be a "random" collection of unrelated packages
  - new versions (including even subversions) are often incompatible with
previuos ones, which causes a bunch of extra work for updating
older applications

# Java
  + huge class library
  + standard database access layer (JDBC)
  + standard and effective templating system (JSP, JSF)
  + well-designed and powerful third-party technologies (Hibernate,
Struts, etc.)
  + new versions are compatible with previous ones

Maintenance & others
# PHP
  + multiplatform
  + almost doesn't require expertise (read 1-2 tutorials and setup
your own server)
  - applications are distributed as source files by default (there are
commercial bytecode compilers)
  + cheap hosting and there is a huge number of service providers (if
you do not want to have your own server)


# Java
  + multiplatform
  - requires more knowledge and experience
  - requires relatively stronger hardware
  + applications are distributed in compiled (bytecode) form (but
there are decompilers of course)
  - relatively more expensive hosting, often with limited access (Java
applications - especially bigger ones - perform best if they are
hosted on your own server, which of course increases expenses)

In general both PHP and Java are suitable for developing relatively
small applications, but as the size of the application increases the
PHP code requires more and more attention and work to keep it
well-structured, easy to maintain, etc., while Java's advanteges
become more and more clear. If somebody is a well-trained, skilled and
experienced developer, he/she can develop huge and well-organized
applications in PHP, too, but it is a lot easier in Java. In PHP you
have to create and write a lot of things from scratch, and the lack of
some useful language features (especially type checking) requires a
lot of care and additional work. Although the developers of PHP work
hard to make it better, it still suffers from the fact, that
originally it was created for far simpler purposes than it's todays
usage, while Java was targeted for creating big (and also small)
applications from the very beginnings.

And one more subjective aspect: I know people who migrated to Java
(or .NET, which is very similar) from PHP, but I don't know anyone
who dropped Java (or .NET) in favour of PHP.

PHP is very wide-spread technology, but it doesn't mean that it is the
best one. I can agree that most of the dynamic sites on the internet
have PHP as their back-end (I have no statistics, but think it's
around 80-90%), but the profit produced by these sites is no more than
5% of the total and the remaining 10-20% of Java, .NET, etc. based
sites produce the other 95%. IMHO of course :)

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Weldon MacDonald <[EMAIL PROTECTED]>
To:  Flashcoders mailing list 
Date:Thursday, July 19, 2007, 6:01:13 PM
Subject: [Flashcoders] Backend compiled Java or scripted PHP?
--===--
I've been using ActionScript for a while now, but my next project will
require a lot more server side work. In the past I've used PHP, but
only in a pidgin kind of way. alternatively, I have some Java skills,
though not specifically for the web. Either way I have to spend some
time developing an appropriate skill level, the question becomes,
which skills.

The times I've used PHP, it seemed straight forward enough, and from
what I've read Java is a little trickier to implement on the web
(correct?). On the other hand, PHP is a pretty specific niche whereas
Java has a much wider usefulness (correct?)

There are a lot of strong opinions out there.

Andreessen: PHP succeeding where Java isn't
http://news.com.com/2100-1012-5903187.html?tag=tb

and  in response,

How they can compare PHP with Java at all? (most people who are
prais

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Douglas Pearson
If you want to check first whether the object is on the display list you can
use the "contains" method of DisplayObjectContainer:

// Won't throw any errors
if (myObject != null && parent.contains(myObject))
   parent.removeChild(myObject)

Doug

-Original Message-
From: Michael Trim [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 19, 2007 9:08 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Object Detection AS3

Thanks for the solution, that's neat. Agree that try-catch is not an ideal
solution (but thank you too Sunil).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: 19 July 2007 16:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object Detection AS3

it should be fine, but i come from a background where catching an error is
not considered a sollution.
its an error and you should deal with it, not a very real and potential use
case

On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> If you use the try, catch method that shouldn't be a problem.
>
> ---
> try {
> removeChild(myObject);
> } catch (e:Error) {
> //object doesn't exist as a child, do nothing }
> -
>
> That should fail unless myObject has been added to the stage.
>
> Or am I missing something here?
>
> Sunil
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Johannes
> Nel
> Sent: 19 July 2007 15:40
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Object Detection AS3
>
> the problem with your approach is that if the object does exist but is 
> not on the display tree it will fail
>
>
> On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
> >
> >
> > This works for me:
> >
> > -
> >
> > var myObject:Object;
> >
> > if (myObject) {
> > removeChild(myObject);
> > }
> >
> > ---
> >
> > Another method would be to catch the error:
> >
> > -
> >
> > try {
> > removeChild(myObject);
> > } catch (e:Error) {
> > //do nothing
> > }
> >
> > --
> >
> > Or you can compare it to "null":
> >
> > --
> >
> > if (myObject != null) {
> > removeChild(myObject);
> > }
> >
> > --
> >
> > Sunil
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> Michael
> > Trim
> > Sent: 19 July 2007 13:58
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Object Detection AS3
> >
> > Hi Flashcoders,
> >
> > Learning AS3 in the deep end at the moment, so excuse the questions
if
> > too newb for this list.
> >
> > In AS2 I may have done something like the following.
> >
> > _1___
> >
> > if(myObject){
> >
> > myObject.removeMovieClip();
> >
> > }
> >
> > this.attachMovie("MyObject","myObject",1);
> > _
> >
> >
> > What would similar code look like in AS3? As
> >
> >
> > _2
> >
> > removeChild(myObject);
> > _
> >
> > fails if myObject doesn't exist yet as does
> >
> >
> > _3___
> >
> > if(myObject)
> > _
> >
> > Which I don't think you can do anyway?
> >
> > It's the last one I'm really interested in, how do you detect if 
> > something exists?
> >
> > Thanks
> >
> > Michael
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com 
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com
> >
>
>
>
> --
> j:pn
> http://www.memorphic.com/news/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and T

RE: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Hairy Dog Digital
> Wouldn't anybody who could get that far be too busy writing their own
code?

That's what many of us would do, but there are the others that will expend
more energy to not do work (or work that *could not do*), rather than just
doing it.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Dave Mennenoh
I guess it depends on what you know and what you need. PHP is no more harder 
to maintain than ActionScript - it all depends on who's coding it. 
Personally, I really like PHP - the syntax is similar enough to ActionScript 
that development in it is quite straightforward for an AS person. If you're 
making executables then Java of course would be better, but if you're 
creating server-side stuff for Flash movies then I'd recommend PHP... I 
think it's a bit like mac's vs pc's - they both work fine - use what works 
for you.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Muzak
Flash/Flex + Coldfusion + Flash/Flex Remoting.

Coldfusion has a Flash/Flex gateway built in.
CFML is just a scripting layer for J2EE, so Java integration is peanuts.

Coldfusion 8 beta is currently available from Adobe labs if you want to see/try 
the new stuff.
http://labs.adobe.com/technologies/coldfusion8/

what's new:
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
release notes:
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_releasenotes_052907.pdf

regards,
Muzak

- Original Message - 
From: "Weldon MacDonald" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, July 19, 2007 6:01 PM
Subject: [Flashcoders] Backend compiled Java or scripted PHP?


> I've been using ActionScript for a while now, but my next project will
> require a lot more server side work. In the past I've used PHP, but
> only in a pidgin kind of way. alternatively, I have some Java skills,
> though not specifically for the web. Either way I have to spend some
> time developing an appropriate skill level, the question becomes,
> which skills.
>
> The times I've used PHP, it seemed straight forward enough, and from
> what I've read Java is a little trickier to implement on the web
> (correct?). On the other hand, PHP is a pretty specific niche whereas
> Java has a much wider usefulness (correct?)
>
> There are a lot of strong opinions out there.
>
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
>
> and  in response,
>
> How they can compare PHP with Java at all? (most people who are
> praising PHP are either bad programmers or they are not programmers at
> all)
> http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0
>
> PHP is faster to develop, java is faster to run, or is that runs faster?
> PHP is harder to maintain, and Java has more tools ...etc...
>
> What's a guy to beloieve? Any opin... any more opinions?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Andy Herrman

I haven't done any work in PHP so I can't really comment on its
usefulness, but I've found doing web stuff in Java isn't particularly
hard.  There are a number of possibilities for doing Java work on the
server that makes it easier too.

We use Apache Tomcat here.  It handles all the HTTP handling and such
and makes things pretty easy, and we do some very complex processing.
However, as others have mentioned, if you're just doing simple
processing tasks then it's most likely overkill.

As far as building up a skillet, I think Java is more generally useful
(you'll be doing server work but the skills you learn can be applied
to client code as well, and even embedded stuff to some extent, though
I haven't done any of that).  PHP, on the other hand, tends to be more
limited in where it's used (from my understanding).

 -Andy

On 7/19/07, Joshua Sera <[EMAIL PROTECTED]> wrote:

You have to worry much less about Memory leaks, and
syntactically, the language is simpler than C++, so
saying that it's become more complicated than C++ is
total bull.

Still, they're just different beasts. I'd rather write
most web apps in PHP, but you could never write your
own server in PHP either. PHP is really just about
doing things with HTML. The filesystem, image
manipulation, and other functions are secondary to
that.

Java is meant for applications, which means that you
can make it mangle HTML, but it takes longer.

You could never write a server in PHP, but if you
wanted to throw a simple XML file at a Flash
application, Java would be total overkill.

--- Weldon MacDonald <[EMAIL PROTECTED]> wrote:

> I've been using ActionScript for a while now, but my
> next project will
> require a lot more server side work. In the past
> I've used PHP, but
> only in a pidgin kind of way. alternatively, I have
> some Java skills,
> though not specifically for the web. Either way I
> have to spend some
> time developing an appropriate skill level, the
> question becomes,
> which skills.
>
> The times I've used PHP, it seemed straight forward
> enough, and from
> what I've read Java is a little trickier to
> implement on the web
> (correct?). On the other hand, PHP is a pretty
> specific niche whereas
> Java has a much wider usefulness (correct?)
>
> There are a lot of strong opinions out there.
>
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
>
> and  in response,
>
> How they can compare PHP with Java at all? (most
> people who are
> praising PHP are either bad programmers or they are
> not programmers at
> all)
>
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0
>
> PHP is faster to develop, java is faster to run, or
> is that runs faster?
> PHP is harder to maintain, and Java has more tools
> ...etc...
>
> What's a guy to beloieve? Any opin... any more
> opinions?
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>





Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread Ivan Dembicki

Hello David,


this is not final decision, just to show the idea.

== root =

import as.Test;
new Test();


== as.Test.as ===
import as.MultiLocalConnection;

class as.Test {

   private var test1_lc : MultiLocalConnection;
   private var test2_lc : MultiLocalConnection;
   private var test3_lc : MultiLocalConnection;
   private var test4_lc : MultiLocalConnection;

   public function Test() {
   this.init();
   }

   private function init() : Void {

   this.test1_lc = new MultiLocalConnection();
   this.test2_lc = new MultiLocalConnection();
   this.test3_lc = new MultiLocalConnection();
   this.test4_lc = new MultiLocalConnection();

   this.test1_lc.onTest = function () {
   trace("test1_lc.onTest("+arguments+")");
   };
   this.test2_lc.onTest = function () {
   trace("test2_lc.onTest("+arguments+")");
   };

   this.test1_lc.connect("test");
   this.test2_lc.connect("test");

   this.test3_lc.send("test", "onTest", ["test", 1,
"third param"]);
   this.test4_lc.send("test", "onTest", ["test", 2,
"third param"]); // this send isn't work - thie same frame

   Mouse.addListener(this);
   }

   private function onMouseUp ():Void {
   this.test4_lc.send("test", "onTest", ["test", 2,
"third param"]); // this send isn't work
   }

}

== class as.MultiLocalConnection 
import mx.utils.Delegate;

dynamic class as.MultiLocalConnection {

   private var local_connection:LocalConnection;
   private var uid:String;

   public function MultiLocalConnection(Void) {
   this.init();
   }

   private function init() : Void {
   this.local_connection = new LocalConnection();
   this.local_connection["onMessage"]  =
Delegate.create(this, this.onMessage);
   this.uid = new Date().getTime()+"_"+random(1);
   }

   public function connect (connectionName:String):Boolean {
   this.addMultiListener(connectionName);
   var connect_to:String = connectionName+this.uid;
   return this.local_connection.connect(connect_to);
   }

   public function send (connectionName:String,
methodName:String, args:Object):Boolean {
   var listeners_so:SharedObject =
SharedObject.getLocal(connectionName);
   var listeners_str:String = listeners_so.data[connectionName];
   var listeners:Array = listeners_str.split("|");
   // remove all connections
   listeners_so.data[connectionName] = "";

   args = [connectionName, methodName, args];
   args = args.toString();
   for (var i:Number=0, len:Number=listeners.length; ihttp://www.artlebedev.ru | http://www.sharedfonts.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Sascha
Yes I thought that too. Strange is IE gives me a HTTPStatus Event while
Firefox does not.
I'm using my own written IO class framework which is quite complex so
unfortunately cutting out some code isn't done in a minute. I always thought
that everything Flash-internal should run the same on every browser, the
only thing that could be make trouble are some security features. Correct me
if I'm wrong but otherwise the problem must a security-related thing.

I'll try to post some code until tomorrow, it's getting late here.

Thanks,
Sascha



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of David Ngo
> Sent: Thursday, July 19, 2007 21:49
> To: flashcoders@chattyfig.figleaf.com
> Subject: RE: [Flashcoders] XML File doesn't load on Flash Player9 in
> IE6, IE7
> 
> An HTTP code of 200 usually means success. Do you have any sample code
> you
> can show?
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sascha
> Sent: Thursday, July 19, 2007 8:04 AM
> To: flashcoders
> Subject: [Flashcoders] XML File doesn't load on Flash Player9 in IE6,
> IE7
> 
> Hi list,
> 
> I'm loading a XML file with the URLLoader class into a v9 SWF. On
> Firefox it
> all works without problem but on IE 6 and 7 the XML file doesn't get
> loaded,
> instead I get HTTPStatus 200.
> I don't have much experience with all the new AS3 Security stuff yet so
> I'd
> like to ask what I would have to do to make this work. I've read about
> crossdomain.xml files and Security Domains but these all seem not to
> apply
> to simple text/xml files. But I could be totally wrong. Would be great
> to
> get some hints on this!
> 
> Thanks,
> Sascha
> 
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Mark Winterhalder

On 7/19/07, Jon Bradley <[EMAIL PROTECTED]> wrote:

On Jul 19, 2007, at 8:29 AM, Mark Winterhalder wrote:

> But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
> decompiler is likely to assume AS3 has been used, and maybe haXe
> creates sufficiently different bytecode to confuse it.

That doesn't really matter.  If it's FP9, it's AS3. The bytecode has
to be AVM2 bytecode no matter where it comes from.


I'm not so sure about that. The generated bytecode patterns for things
like loops might be different. Stuff like that. There are many ways
how to use opcodes in sequence to achieve a certain result. IIRC, it
confused decompilers when you did manual optimizations with flasm for
the old VM.


The general point is - intrinsic methods in the Player are hardcoded
and available. References or calls to those methods can be followed,
no matter if they're named funky or not.


Exactly. That's why, if somebody would add encryption to the main SWF,
'loadBytes' would be the string I'd search for...


Let's say you call "blahblah.mask = something" and that gets
obfuscated to _3457._3 = _537.  Any sufficiently designed decompiler
will be able to mark that as _3457.mask = _537. Following those
references, a decompiler could then figure out the raw type of _537
and _3457 and mark those as maybe "spriteInstance1" or
"shapeInstance45" or whatever.

Then, the decompiler results in spriteInstance1.mask =
shapeInstance45. Legible enough to work with. I don't believe that
scenario can be avoided, no matter what compiler/obfuscator you use.


Yeah, I totally agree. It's just about making it non-trivial.

Mark
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Joshua Sera
You have to worry much less about Memory leaks, and
syntactically, the language is simpler than C++, so
saying that it's become more complicated than C++ is
total bull.

Still, they're just different beasts. I'd rather write
most web apps in PHP, but you could never write your
own server in PHP either. PHP is really just about
doing things with HTML. The filesystem, image
manipulation, and other functions are secondary to
that.

Java is meant for applications, which means that you
can make it mangle HTML, but it takes longer.

You could never write a server in PHP, but if you
wanted to throw a simple XML file at a Flash
application, Java would be total overkill. 

--- Weldon MacDonald <[EMAIL PROTECTED]> wrote:

> I've been using ActionScript for a while now, but my
> next project will
> require a lot more server side work. In the past
> I've used PHP, but
> only in a pidgin kind of way. alternatively, I have
> some Java skills,
> though not specifically for the web. Either way I
> have to spend some
> time developing an appropriate skill level, the
> question becomes,
> which skills.
> 
> The times I've used PHP, it seemed straight forward
> enough, and from
> what I've read Java is a little trickier to
> implement on the web
> (correct?). On the other hand, PHP is a pretty
> specific niche whereas
> Java has a much wider usefulness (correct?)
> 
> There are a lot of strong opinions out there.
> 
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
> 
> and  in response,
> 
> How they can compare PHP with Java at all? (most
> people who are
> praising PHP are either bad programmers or they are
> not programmers at
> all)
>
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0
> 
> PHP is faster to develop, java is faster to run, or
> is that runs faster?
> PHP is harder to maintain, and Java has more tools
> ...etc...
> 
> What's a guy to beloieve? Any opin... any more
> opinions?
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 



   

Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multiline DataGrid Fields in Flash CS3

2007-07-19 Thread Paul Steven
Perhaps I am going about this the wrong way. I have searched all afternoon 
for any info on having multiline cells in an AS3 datagrid with no joy! The 
only example I did find did not work.


Anyway I also need to have a drop down list withn this datagrid which I 
assume will be equally as difficult to do.


Here is a screenshot of what I need to do

http://www.mediakitchen.co.uk/mark_sheet.jpg

I populate this using data read in from xml data returned from a server 
script.


Can anyone suggest an alternative method for creating this? Flex perhaps?

Thanks

Paul


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
That makes sense. I've always wondered if it was improper use of
try/catch.

Do you know what a better solution for this would be?

And would you say you're supposed to use try/catch? 

Just curious. :)

Thanks,

Sunil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: 19 July 2007 16:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object Detection AS3

it should be fine, but i come from a background where catching an error
is
not considered a sollution.
its an error and you should deal with it, not a very real and potential
use
case

On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> If you use the try, catch method that shouldn't be a problem.
>
> ---
> try {
> removeChild(myObject);
> } catch (e:Error) {
> //object doesn't exist as a child, do nothing
> }
> -
>
> That should fail unless myObject has been added to the stage.
>
> Or am I missing something here?
>
> Sunil
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Johannes
> Nel
> Sent: 19 July 2007 15:40
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Object Detection AS3
>
> the problem with your approach is that if the object does exist but is
> not
> on the display tree it will fail
>
>
> On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
> >
> >
> > This works for me:
> >
> > -
> >
> > var myObject:Object;
> >
> > if (myObject) {
> > removeChild(myObject);
> > }
> >
> > ---
> >
> > Another method would be to catch the error:
> >
> > -
> >
> > try {
> > removeChild(myObject);
> > } catch (e:Error) {
> > //do nothing
> > }
> >
> > --
> >
> > Or you can compare it to "null":
> >
> > --
> >
> > if (myObject != null) {
> > removeChild(myObject);
> > }
> >
> > --
> >
> > Sunil
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> Michael
> > Trim
> > Sent: 19 July 2007 13:58
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Object Detection AS3
> >
> > Hi Flashcoders,
> >
> > Learning AS3 in the deep end at the moment, so excuse the questions
if
> > too newb for this list.
> >
> > In AS2 I may have done something like the following.
> >
> > _1___
> >
> > if(myObject){
> >
> > myObject.removeMovieClip();
> >
> > }
> >
> > this.attachMovie("MyObject","myObject",1);
> > _
> >
> >
> > What would similar code look like in AS3? As
> >
> >
> > _2
> >
> > removeChild(myObject);
> > _
> >
> > fails if myObject doesn't exist yet as does
> >
> >
> > _3___
> >
> > if(myObject)
> > _
> >
> > Which I don't think you can do anyway?
> >
> > It's the last one I'm really interested in, how do you detect if
> > something exists?
> >
> > Thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Using Bitmap as mask

2007-07-19 Thread Clark Kent
I am having problem using a bitmap as a Mask.
   
  I have a bitmap that uses scale9 that i want to use to mask a layer into 
which i will draw.
   
  Initially I couldnt get the mask to work at all but eventually I figured out 
that I needed to set cacheAsBitmap  to true and it started to work.
   
  However the problem is that it doesnt scale9 if being used as a mask..
   
  If I dont call set it as a mask it display correctly, if I set as a mask it 
just blows up the image instead of scaling it.
   
  Has anyone ever used a bitmap as a mask.. if so how..
   
  tks 

   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] OT: SCORM 2004 conversion

2007-07-19 Thread Danny Kodicek
I'm currently re-entering the nightmare world of SCORM packaging (honestly,
how can something so simple have been made so damn complicated?). I'm
wondering if anyone knows of some good resources on SCORM 2004 - in
particular, does anyone by any chance have a simple tool that can convert an
IMS-compliant (not sure if it's SCORM 1.2 compliant, but it imports into
most VLEs so I assume it is) file into a SCORM 2004 one? It'll save me a
*lot* of work even if it's not perfect.

Thanks
Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread David Ngo
Well, in my opinion, Java is much more OOP. PHP is really nothing more than
just scripts. It will eventually hit a ceiling and be limited in what it can
do. Java, on the other hand, is much more robust, which is why the majority
of large corporations still use Java as their application backbone. But as
with anything too complex, it's also very complex to set up. Java will need
its own application container/server to run on and setting that up takes a
lot of time, money and even more effort to get it working right.

PHP on the other hand, is very easy to implement and deploy. It can be quite
powerful if used correctly and there are tons of frameworks out for PHP to
help lighten development time. I would say to look at your requirements and
see what the best fit for your needs are.

 
David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weldon
MacDonald
Sent: Thursday, July 19, 2007 12:01 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Backend compiled Java or scripted PHP?

I've been using ActionScript for a while now, but my next project will
require a lot more server side work. In the past I've used PHP, but
only in a pidgin kind of way. alternatively, I have some Java skills,
though not specifically for the web. Either way I have to spend some
time developing an appropriate skill level, the question becomes,
which skills.

The times I've used PHP, it seemed straight forward enough, and from
what I've read Java is a little trickier to implement on the web
(correct?). On the other hand, PHP is a pretty specific niche whereas
Java has a much wider usefulness (correct?)

There are a lot of strong opinions out there.

Andreessen: PHP succeeding where Java isn't
http://news.com.com/2100-1012-5903187.html?tag=tb

and  in response,

How they can compare PHP with Java at all? (most people who are
praising PHP are either bad programmers or they are not programmers at
all)
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78
718&start=0

PHP is faster to develop, java is faster to run, or is that runs faster?
PHP is harder to maintain, and Java has more tools ...etc...

What's a guy to beloieve? Any opin... any more opinions?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread hermit
> What's a guy to beloieve? Any opin... any more opinions?

PHP is a KIA, Java is a 1 ton 4x4 Dodge Ram pickup.  Both can be used to
get to the grocery store, but the trip also involves carrying a load of
concrete blocks

It seems to depend on what you will be using it for ultimately.




> I've been using ActionScript for a while now, but my next project will
> require a lot more server side work. In the past I've used PHP, but
> only in a pidgin kind of way. alternatively, I have some Java skills,
> though not specifically for the web. Either way I have to spend some
> time developing an appropriate skill level, the question becomes,
> which skills.
>
> The times I've used PHP, it seemed straight forward enough, and from
> what I've read Java is a little trickier to implement on the web
> (correct?). On the other hand, PHP is a pretty specific niche whereas
> Java has a much wider usefulness (correct?)
>
> There are a lot of strong opinions out there.
>
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
>
> and  in response,
>
> How they can compare PHP with Java at all? (most people who are
> praising PHP are either bad programmers or they are not programmers at
> all)
> http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0
>
> PHP is faster to develop, java is faster to run, or is that runs faster?
> PHP is harder to maintain, and Java has more tools ...etc...
>
> What's a guy to beloieve? Any opin... any more opinions?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Updating playerglobal.swc for ActionScript 3.0 for Fullscreen

2007-07-19 Thread Matt Muller

I forgot to mention, you need to add the FLVPlayback component into the
library to get this.

On 7/19/07, Matt Muller <[EMAIL PROTECTED]> wrote:


Hi, I've just updated my swc as instructed to do so here for Flash CS3

http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW


Im getting this error

1046: Type was not found or was not a compile-time constant:
FullScreenEvent.

with the new swc, has anyone seen this?

Cheers,

MaTT




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Michael Trim
Thanks for the solution, that's neat. Agree that try-catch is not an
ideal solution (but thank you too Sunil).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: 19 July 2007 16:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object Detection AS3

it should be fine, but i come from a background where catching an error
is
not considered a sollution.
its an error and you should deal with it, not a very real and potential
use
case

On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
> If you use the try, catch method that shouldn't be a problem.
>
> ---
> try {
> removeChild(myObject);
> } catch (e:Error) {
> //object doesn't exist as a child, do nothing
> }
> -
>
> That should fail unless myObject has been added to the stage.
>
> Or am I missing something here?
>
> Sunil
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Johannes
> Nel
> Sent: 19 July 2007 15:40
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Object Detection AS3
>
> the problem with your approach is that if the object does exist but is
> not
> on the display tree it will fail
>
>
> On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
> >
> >
> > This works for me:
> >
> > -
> >
> > var myObject:Object;
> >
> > if (myObject) {
> > removeChild(myObject);
> > }
> >
> > ---
> >
> > Another method would be to catch the error:
> >
> > -
> >
> > try {
> > removeChild(myObject);
> > } catch (e:Error) {
> > //do nothing
> > }
> >
> > --
> >
> > Or you can compare it to "null":
> >
> > --
> >
> > if (myObject != null) {
> > removeChild(myObject);
> > }
> >
> > --
> >
> > Sunil
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> Michael
> > Trim
> > Sent: 19 July 2007 13:58
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Object Detection AS3
> >
> > Hi Flashcoders,
> >
> > Learning AS3 in the deep end at the moment, so excuse the questions
if
> > too newb for this list.
> >
> > In AS2 I may have done something like the following.
> >
> > _1___
> >
> > if(myObject){
> >
> > myObject.removeMovieClip();
> >
> > }
> >
> > this.attachMovie("MyObject","myObject",1);
> > _
> >
> >
> > What would similar code look like in AS3? As
> >
> >
> > _2
> >
> > removeChild(myObject);
> > _
> >
> > fails if myObject doesn't exist yet as does
> >
> >
> > _3___
> >
> > if(myObject)
> > _
> >
> > Which I don't think you can do anyway?
> >
> > It's the last one I'm really interested in, how do you detect if
> > something exists?
> >
> > Thanks
> >
> > Michael
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> j:pn
> http://www.memorphic.com/news/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figlea

[Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Weldon MacDonald

I've been using ActionScript for a while now, but my next project will
require a lot more server side work. In the past I've used PHP, but
only in a pidgin kind of way. alternatively, I have some Java skills,
though not specifically for the web. Either way I have to spend some
time developing an appropriate skill level, the question becomes,
which skills.

The times I've used PHP, it seemed straight forward enough, and from
what I've read Java is a little trickier to implement on the web
(correct?). On the other hand, PHP is a pretty specific niche whereas
Java has a much wider usefulness (correct?)

There are a lot of strong opinions out there.

Andreessen: PHP succeeding where Java isn't
http://news.com.com/2100-1012-5903187.html?tag=tb

and  in response,

How they can compare PHP with Java at all? (most people who are
praising PHP are either bad programmers or they are not programmers at
all)
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0

PHP is faster to develop, java is faster to run, or is that runs faster?
PHP is harder to maintain, and Java has more tools ...etc...

What's a guy to beloieve? Any opin... any more opinions?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Updating playerglobal.swc for ActionScript 3.0 for Fullscreen

2007-07-19 Thread Matt Muller

Hi, I've just updated my swc as instructed to do so here for Flash CS3

http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW

Im getting this error

1046: Type was not found or was not a compile-time constant:
FullScreenEvent.

with the new swc, has anyone seen this?

Cheers,

MaTT
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-19 Thread Jason Burnett

Not sure who all the "cool kids" are, but I thought for sure that the best
solution for tweening was the Fuse Kit: http://mosessupposes.com/fuse/

Ya wanna talk about overengineering, pfew. But, none the less, if you can't
make the Fuse engine do everything you want (including cooking you breakfast
and respecting you in the morning), than you you certainly aren't going to
be satisfied with any other tweening solution.

8)'

jase
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] [announce]Another png encoder which support 8-bit indexed color

2007-07-19 Thread iiley

Hi guys,


Days ago, i searched the interenet to try to find a ActionScript png encoder
that support 8-bit indexed color, finally i can't.

Because of true color encoding generate large size file, some times you
maybe need a low quality picture but small size, then you need 8-bit color
image encoder.
If you need this encoder, see details at http://www.aswing.org/?p=160

Cheers~

--
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel

the problem with your approach is that if the object does exist but is not
on the display tree it will fail


On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:



This works for me:

-

var myObject:Object;

if (myObject) {
removeChild(myObject);
}

---

Another method would be to catch the error:

-

try {
removeChild(myObject);
} catch (e:Error) {
//do nothing
}

--

Or you can compare it to "null":

--

if (myObject != null) {
removeChild(myObject);
}

--

Sunil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Trim
Sent: 19 July 2007 13:58
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Object Detection AS3

Hi Flashcoders,

Learning AS3 in the deep end at the moment, so excuse the questions if
too newb for this list.

In AS2 I may have done something like the following.

_1___

if(myObject){

myObject.removeMovieClip();

}

this.attachMovie("MyObject","myObject",1);
_


What would similar code look like in AS3? As


_2

removeChild(myObject);
_

fails if myObject doesn't exist yet as does


_3___

if(myObject)
_

Which I don't think you can do anyway?

It's the last one I'm really interested in, how do you detect if
something exists?

Thanks

Michael
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel

it should be fine, but i come from a background where catching an error is
not considered a sollution.
its an error and you should deal with it, not a very real and potential use
case

On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:


If you use the try, catch method that shouldn't be a problem.

---
try {
removeChild(myObject);
} catch (e:Error) {
//object doesn't exist as a child, do nothing
}
-

That should fail unless myObject has been added to the stage.

Or am I missing something here?

Sunil


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: 19 July 2007 15:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object Detection AS3

the problem with your approach is that if the object does exist but is
not
on the display tree it will fail


On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
>
> This works for me:
>
> -
>
> var myObject:Object;
>
> if (myObject) {
> removeChild(myObject);
> }
>
> ---
>
> Another method would be to catch the error:
>
> -
>
> try {
> removeChild(myObject);
> } catch (e:Error) {
> //do nothing
> }
>
> --
>
> Or you can compare it to "null":
>
> --
>
> if (myObject != null) {
> removeChild(myObject);
> }
>
> --
>
> Sunil
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Michael
> Trim
> Sent: 19 July 2007 13:58
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Object Detection AS3
>
> Hi Flashcoders,
>
> Learning AS3 in the deep end at the moment, so excuse the questions if
> too newb for this list.
>
> In AS2 I may have done something like the following.
>
> _1___
>
> if(myObject){
>
> myObject.removeMovieClip();
>
> }
>
> this.attachMovie("MyObject","myObject",1);
> _
>
>
> What would similar code look like in AS3? As
>
>
> _2
>
> removeChild(myObject);
> _
>
> fails if myObject doesn't exist yet as does
>
>
> _3___
>
> if(myObject)
> _
>
> Which I don't think you can do anyway?
>
> It's the last one I'm really interested in, how do you detect if
> something exists?
>
> Thanks
>
> Michael
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] rss xml

2007-07-19 Thread minglei miao
Dear all
   
  var news_path = this;
  var news_xml = new XML ();
  news_xml.ignoreWhite = true;
  news_xml.onLoad = function (success)
  {
 if (success)
 {
//trace (this);
CreateMenu (this);
 } 
 else
 {
trace ("error load xml files");
 }
  };
  news_xml.load ("ld_xml/jianglb_xml.xml");
  //news_xml.load ("http://jianglb.com/wp-rss2.php";);
   
  In my flash website, I get the rss news by xml file in two ways, it works if 
I lunch it as soon as I get into the flash website, but it doesn’t work from 
the next time I lunch the rss part of the flash website, and it just generate 
some disorder code. I have no idea about it.
   
  Thank you very much.

   
-
抢注雅虎免费邮箱3.5G容量,20M附件! 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
If you use the try, catch method that shouldn't be a problem.

---
try {
removeChild(myObject);
} catch (e:Error) {
//object doesn't exist as a child, do nothing
}
-

That should fail unless myObject has been added to the stage.

Or am I missing something here?

Sunil


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: 19 July 2007 15:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Object Detection AS3

the problem with your approach is that if the object does exist but is
not
on the display tree it will fail


On 7/19/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
>
>
> This works for me:
>
> -
>
> var myObject:Object;
>
> if (myObject) {
> removeChild(myObject);
> }
>
> ---
>
> Another method would be to catch the error:
>
> -
>
> try {
> removeChild(myObject);
> } catch (e:Error) {
> //do nothing
> }
>
> --
>
> Or you can compare it to "null":
>
> --
>
> if (myObject != null) {
> removeChild(myObject);
> }
>
> --
>
> Sunil
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Michael
> Trim
> Sent: 19 July 2007 13:58
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Object Detection AS3
>
> Hi Flashcoders,
>
> Learning AS3 in the deep end at the moment, so excuse the questions if
> too newb for this list.
>
> In AS2 I may have done something like the following.
>
> _1___
>
> if(myObject){
>
> myObject.removeMovieClip();
>
> }
>
> this.attachMovie("MyObject","myObject",1);
> _
>
>
> What would similar code look like in AS3? As
>
>
> _2
>
> removeChild(myObject);
> _
>
> fails if myObject doesn't exist yet as does
>
>
> _3___
>
> if(myObject)
> _
>
> Which I don't think you can do anyway?
>
> It's the last one I'm really interested in, how do you detect if
> something exists?
>
> Thanks
>
> Michael
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] AS3: XMLSocket re-connection problem

2007-07-19 Thread Tomáš Lehuta

Hello Flashers & Flexers!

I've got a problem with XMLSocket re-connection in ActionScript 3.

I need the Flash client to connect to the server automatically when it drops
connection for some reason.
XMLSocket dispatches Event.CLOSE event when connection drops but when I
automatically call XMLSocket.open(...)
it is not able to connect and even does not dispatch any event to be
handled.
This only works in the case when Flash client drops connection by
XMLSocket.close() and then XMLSocket.open(...) is called.
But I need to handle disconnections from the server side..
I'm creating only one instance of XMLSocket class and then add all isteners
with XMLSocket.addEventListener().

Is there something I'm doing wrong?
Can anybody help?

best regards

Tomas Lehuta
---
http://lharp.net
http://www.linkedin.com/in/lharp
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread David Cohn


Yes indeed, but doesn't this seem to be arbitrarily restrictive?

Suppose you're trying to coordinate loading pictures between 3 or 4  
plugins-- how can you do it without implementing a fairly complex  
scheme of attempted connects and changing connection names?





On Jul 19, 2007, at 2:00 AM, flashcoders- 
[EMAIL PROTECTED] wrote:



Only one server can be active (connected) with a particular connection
identifier. If you try to connect another LocalConnection server with
an already existing identifier (even in another movie), connect() will
fail and return false.

var lc1: LocalConnection = new LocalConnection();
trace(lc1.connect("myconnection")); // true

var lc2: LocalConnection = new LocalConnection();
trace(lc2.connect("myconnection")); // false


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] AS3: MAJOR ISSUE WITH GOTOANDSTOP! HELP!

2007-07-19 Thread Max Kaufmann
In AS3, when I call MovieClip.gotoAndStop(), any symbol that are added to the 
stage are *not* immediately available to scripts after the call.  However, the 
numChildren *does* count the newly added symbols but getChildAtIndex() only 
returns null!

Worse, after the function stack is cleared and event are called, all the 
symbols on the frames in between dispatch consecutive “added” and “removed” 
events!

This is a *major* break from AS2 where I was used to doing this:

clip.gotoAndStop(“labelWhereFooLives”);
trace(clip.foo); //__level0.clip.foo

Now I get this:

clip.gotoAndStop(“labelWhereFooLives”);
trace(clip.foo); // null
trace(clip.numChildren); //1
trace(clip.getChildAtIndex(0)); //null --> wht?

Trying to work around it is making my code terribly complex and crofty.  HELP!!

Max Kaufmann l Technical Artist
-
2105 Sarah St  |  Pittsburgh, PA 15203 
O (412) 567-4606 W www.silvertreemedia.com
C (440) 915-8277 E [EMAIL PROTECTED]

 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly

This works for me:

-

var myObject:Object;

if (myObject) {
removeChild(myObject);
} 

---

Another method would be to catch the error:

-

try {
removeChild(myObject);
} catch (e:Error) {
//do nothing
}

--

Or you can compare it to "null":

--

if (myObject != null) {
removeChild(myObject);
}

--

Sunil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Trim
Sent: 19 July 2007 13:58
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Object Detection AS3

Hi Flashcoders,

Learning AS3 in the deep end at the moment, so excuse the questions if
too newb for this list.

In AS2 I may have done something like the following.

_1___

if(myObject){

 myObject.removeMovieClip();

}

this.attachMovie("MyObject","myObject",1);
_


What would similar code look like in AS3? As 


_2

removeChild(myObject); 
_

fails if myObject doesn't exist yet as does 


_3___

if(myObject) 
_

Which I don't think you can do anyway?

It's the last one I'm really interested in, how do you detect if
something exists?

Thanks

Michael
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Infinite scroll problems

2007-07-19 Thread Marcelo Wolfgang

Hi list,

I'm having a problem with a regular infinite scroll. I have the same
code in 3 different fla's and it's working on 2 of them only and I can't
find what's causing the problem

The problem is that it get itself playing both the 'if's' when it's
scrolling to the right ( or if I change the if order, it stops when it's
scrolling to the left)

Here's the code from the fla that is working:

var speedLimiter:Number = 25;
var colStartX:Number = colScroll_mc._x;
var space:Number = 20;
var scrollReset:Number = colStartX - colScroll_all_mc._width - space;

function initColScroll() {
var colScroll_all2_mc:MovieClip =
colScroll_all_mc.duplicateMovieClip('colScroll_all2_mc',
this.getNextHighestDepth());
colScroll_all2_mc._x = colScroll_all_mc._x + colScroll_all_mc._width +
space;
colScroll_mc.setMask(colScrollMask_mc);
this.onEnterFrame = function() {
var point:Object = {x:_xmouse, y:_ymouse};
localToGlobal(point);
var isOverMask:Boolean = colScrollMask_mc.hitTest(point.x, point.y);
if (isOverMask) {
var moveScroll:Number = colScrollMask_mc._xmouse;
colScroll_mc._x -= (moveScroll - (colScrollMask_mc._width / 2)) /
speedLimiter;
if (colScroll_mc._x >= colStartX) {
colScroll_mc._x = scrollReset;
}
if (colScroll_mc._x <= scrollReset) {
colScroll_mc._x = colStartX;
}
}
};
}

initScroll()

And here's the code for the page that isn't working ( only the part
between the if(isOverMask)), all the other stuff is equal

if (isOverMask) {
var moveScroll:Number = capasMasks_mc._xmouse;
capas_mc._x -= (moveScroll - (capasMasks_mc._width / 2)) / speedLimiter;
trace(capasStartX + '>=' + capas_mc._x + '<= ' + scrollReset);
if (capas_mc._x <= scrollReset) {
capas_mc._x = capasStartX;
}
if (capas_mc._x >= capasStartX) {
capas_mc._x = scrollReset;
}
}

also I've uploaded the one who isn't working to
http://www.zerocinco.com.br/bottero/scroll/

Please advice

[]ÂŽs
Marcelo Wolfgang

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Infinite scroll problems

2007-07-19 Thread Marcelo Wolfgang

Hi list,

I'm having a problem with a regular infinite scroll. I have the same 
code in 3 different fla's and it's working on 2 of them only and I can't 
find what's causing the problem


The problem is that it get itself playing both the 'if's' when it's 
scrolling to the right ( or if I change the if order, it stops when it's 
scrolling to the left)


Here's the code from the fla that is working:

var speedLimiter:Number = 25;
var colStartX:Number = colScroll_mc._x;
var space:Number = 20;
var scrollReset:Number = colStartX - colScroll_all_mc._width - space;

function initColScroll() {
var colScroll_all2_mc:MovieClip = 
colScroll_all_mc.duplicateMovieClip('colScroll_all2_mc', 
this.getNextHighestDepth());
colScroll_all2_mc._x = colScroll_all_mc._x + colScroll_all_mc._width + 
space;

colScroll_mc.setMask(colScrollMask_mc);
this.onEnterFrame = function() {
var point:Object = {x:_xmouse, y:_ymouse};
localToGlobal(point);
var isOverMask:Boolean = colScrollMask_mc.hitTest(point.x, point.y);
if (isOverMask) {
var moveScroll:Number = colScrollMask_mc._xmouse;
colScroll_mc._x -= (moveScroll - (colScrollMask_mc._width / 2)) / 
speedLimiter;

if (colScroll_mc._x >= colStartX) {
colScroll_mc._x = scrollReset;
}
if (colScroll_mc._x <= scrollReset) {
colScroll_mc._x = colStartX;
}
}
};
}

initScroll()

And here's the code for the page that isn't working ( only the part 
between the if(isOverMask)), all the other stuff is equal


if (isOverMask) {
var moveScroll:Number = capasMasks_mc._xmouse;
capas_mc._x -= (moveScroll - (capasMasks_mc._width / 2)) / speedLimiter;
trace(capasStartX + '>=' + capas_mc._x + '<= ' + scrollReset);
if (capas_mc._x <= scrollReset) {
capas_mc._x = capasStartX;
}
if (capas_mc._x >= capasStartX) {
capas_mc._x = scrollReset;
}
}

also I've uploaded the one who isn't working to 
http://www.zerocinco.com.br/bottero/scroll/


Please advice

[]´s
Marcelo Wolfgang
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jim Kremens

"So, maybe half your code in the end will be pretty funked up. That's
still probably more than enough to make use of the decompiled code."

Wouldn't anybody who could get that far be too busy writing their own code?

Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel

if(myObj.stage)
will give you back if its on the siplay tree otherwise
myObj.parent == parentObj

On 7/19/07, Michael Trim <[EMAIL PROTECTED]> wrote:


Hi Flashcoders,

Learning AS3 in the deep end at the moment, so excuse the questions if
too newb for this list.

In AS2 I may have done something like the following.

_1___

if(myObject){

myObject.removeMovieClip();

}

this.attachMovie("MyObject","myObject",1);
_


What would similar code look like in AS3? As


_2

removeChild(myObject);
_

fails if myObject doesn't exist yet as does


_3___

if(myObject)
_

Which I don't think you can do anyway?

It's the last one I'm really interested in, how do you detect if
something exists?

Thanks

Michael
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.memorphic.com/news/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

On Jul 19, 2007, at 8:29 AM, Mark Winterhalder wrote:


But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
decompiler is likely to assume AS3 has been used, and maybe haXe
creates sufficiently different bytecode to confuse it.


That doesn't really matter.  If it's FP9, it's AS3. The bytecode has  
to be AVM2 bytecode no matter where it comes from.


The general point is - intrinsic methods in the Player are hardcoded  
and available. References or calls to those methods can be followed,  
no matter if they're named funky or not.


Let's say you call "blahblah.mask = something" and that gets  
obfuscated to _3457._3 = _537.  Any sufficiently designed decompiler  
will be able to mark that as _3457.mask = _537. Following those  
references, a decompiler could then figure out the raw type of _537  
and _3457 and mark those as maybe "spriteInstance1" or  
"shapeInstance45" or whatever.


Then, the decompiler results in spriteInstance1.mask =  
shapeInstance45. Legible enough to work with. I don't believe that  
scenario can be avoided, no matter what compiler/obfuscator you use.


- jon



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Eric Priou

But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
decompiler is likely to assume AS3 has been used, and maybe haXe
creates sufficiently different bytecode to confuse it.

I don't know about haxe as3 pcode.
BTW, I know that haxe as2 version use some differents structures in  
the compiled swf.

Suffice to say that a decompiler *may* be fooled (at the beginning)

---
Eric Priou aka erixtekila
Dev notes : http://www.v-i-a.net/inprogress
Oregano XMLSocket server forum : http://www.v-i-a.net/forum


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Cedric Muller

Another idea...
Would it be possible to add to the SWF some malicious bytecode ?

The process:
user tries to decompile a SWF. When trying to read the bytecode,  
decompiler stumbles upon the malicious bytecode which makes, let's  
say, windows, go out of reach... ? (overflow, bluescreen ...?)


of course, this is platform specific ...


Though, one could just use Haxe instead...


Yeah, I prefer it anyway.
But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
decompiler is likely to assume AS3 has been used, and maybe haXe
creates sufficiently different bytecode to confuse it.

Mark



On 7/19/07, Jon Bradley <[EMAIL PROTECTED]> wrote:

It's basically a macro process for compiling AS classes.

One of the side effects is that it can be to obfuscate SWF files by
using your own re-write rules. Hit up the second page of the thread
to see a bit more information.

Macros are pretty cool stuff. Though the author of the toolset isn't
quite accurate in the decompiling aspect of things - basically saying
you can munge the intrinsic classes, which isn't possible. Those
classes still make calls to Player internals and can be followed
backward through the classes to 'fix' any obfuscation. So, maybe half
your code in the end will be pretty funked up. That's still probably
more than enough to make use of the decompiled code.

Bit tricky to setup and use, but it's pretty powerful if you need to
do conditional compiling and get some serious speed boosts (similar
to flasm hacking). Though, one could just use Haxe instead...

cheers,

jon


On Jul 18, 2007, at 7:32 PM, Latcho wrote:

> whats this?
>
> Jon Bradley wrote:
>> Or, if you're a masochist:
>>
>> http://www.kirupa.com/forum/showthread.php?t=256400
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Multiline DataGrid Fields in Flash CS3

2007-07-19 Thread Paul Steven



I am using the datagrid for the first time and would like to make one of 
the columns enable text to word wrap if the text is too long for the width 
of the cell.


Here is what I have so far which works but is only giving me a single line 
of text in the cell


   dg.setSize(340, 300);
   dg.columns = ["No", "AssessmentCriteria", "MarkRange", "Mark"];
   dg.columns[0].width = 40;
   dg.columns[1].width = 120;
   dg.columns[2].width = 80;
   dg.columns[3].width = 40;
   dg.move(20,150);

// ---
// Rename column headings with readable names
// --

dg.getColumnAt(0).headerText = "No.";
dg.getColumnAt(1).headerText = "Assessment Criteria";
dg.getColumnAt(2).headerText = "Mark Range"; 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Object Detection AS3

2007-07-19 Thread Michael Trim
Hi Flashcoders,

Learning AS3 in the deep end at the moment, so excuse the questions if
too newb for this list.

In AS2 I may have done something like the following.

_1___

if(myObject){

 myObject.removeMovieClip();

}

this.attachMovie("MyObject","myObject",1);
_


What would similar code look like in AS3? As 


_2

removeChild(myObject); 
_

fails if myObject doesn't exist yet as does 


_3___

if(myObject) 
_

Which I don't think you can do anyway?

It's the last one I'm really interested in, how do you detect if
something exists?

Thanks

Michael
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread David Ngo
An HTTP code of 200 usually means success. Do you have any sample code you
can show?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sascha
Sent: Thursday, July 19, 2007 8:04 AM
To: flashcoders
Subject: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

Hi list,

I'm loading a XML file with the URLLoader class into a v9 SWF. On Firefox it
all works without problem but on IE 6 and 7 the XML file doesn't get loaded,
instead I get HTTPStatus 200.
I don't have much experience with all the new AS3 Security stuff yet so I'd
like to ask what I would have to do to make this work. I've read about
crossdomain.xml files and Security Domains but these all seem not to apply
to simple text/xml files. But I could be totally wrong. Would be great to
get some hints on this!

Thanks,
Sascha


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Muzak
HTTPStatus 200 means "OK"
http://www.btinternet.com/~wildfire/reference/httpstatus/200.htm

In other words, everything should be fine.
Show us some code..

regards,
Muzak

- Original Message - 
From: "Sascha" <[EMAIL PROTECTED]>
To: "flashcoders" 
Sent: Thursday, July 19, 2007 2:04 PM
Subject: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7


> Hi list,
>
> I'm loading a XML file with the URLLoader class into a v9 SWF. On Firefox it
> all works without problem but on IE 6 and 7 the XML file doesn't get loaded,
> instead I get HTTPStatus 200.
> I don't have much experience with all the new AS3 Security stuff yet so I'd
> like to ask what I would have to do to make this work. I've read about
> crossdomain.xml files and Security Domains but these all seem not to apply
> to simple text/xml files. But I could be totally wrong. Would be great to
> get some hints on this!
>
> Thanks,
> Sascha


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Mark Winterhalder

Though, one could just use Haxe instead...


Yeah, I prefer it anyway.
But I wonder, did anybody compare haXe vs AS3 bytecode yet? A
decompiler is likely to assume AS3 has been used, and maybe haXe
creates sufficiently different bytecode to confuse it.

Mark



On 7/19/07, Jon Bradley <[EMAIL PROTECTED]> wrote:

It's basically a macro process for compiling AS classes.

One of the side effects is that it can be to obfuscate SWF files by
using your own re-write rules. Hit up the second page of the thread
to see a bit more information.

Macros are pretty cool stuff. Though the author of the toolset isn't
quite accurate in the decompiling aspect of things - basically saying
you can munge the intrinsic classes, which isn't possible. Those
classes still make calls to Player internals and can be followed
backward through the classes to 'fix' any obfuscation. So, maybe half
your code in the end will be pretty funked up. That's still probably
more than enough to make use of the decompiled code.

Bit tricky to setup and use, but it's pretty powerful if you need to
do conditional compiling and get some serious speed boosts (similar
to flasm hacking). Though, one could just use Haxe instead...

cheers,

jon


On Jul 18, 2007, at 7:32 PM, Latcho wrote:

> whats this?
>
> Jon Bradley wrote:
>> Or, if you're a masochist:
>>
>> http://www.kirupa.com/forum/showthread.php?t=256400
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Language expert onembedding fontsfordifferent language sets

2007-07-19 Thread Dennis - I Sioux

Hey,

Interesting thought for reducing filesize :)
If the brand's are known, you could always just incluse their characters.. 
but i take it you ment that.


I went for a look at the designers pc..99% sure it's Font Lab Studio 
(version 5) ..

Their might be a newer one out.. or a better program for this..

But you can open your special font.. then open the installed arial font.. 
and you see all the spot's  with their names for the special characters.

You can copy it and edit the single index you want.. with the "y" stuff.

Good luck with the project.. interested how it works out.

With kind regards,

Dennis
I Sioux

- Original Message - 
From: "Michael Ypes" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 12:37 PM
Subject: RE: [Flashcoders] Language expert onembedding fontsfordifferent 
language sets




Thanks Dennis

This app needs 28 countries, i.e. the whole of Europe which is why we are
using Arial as it has the full character set needed including Armenian,
Cyrillic and Greek. It's just that I wanted to split it into its different
locales so that countries did not need to load in unwanted/unneeded font
sets. However I have just been informed that the company will need the 
latin

font set to a certain extent as they will want to include there
brand/product names which are all in latin. So for the other languages, 
i.e.

Cyrillic, Armenian and Greek I shall embed only the basic latin along with
Upper/Lower, punctuation and numerals along with their specific language
set. I am hoping that should cover it...

I did do a project a few months ago which got translated from English to
welsh and we had problems with the font. The font was a bespoke 
handwritten

font which did not have the welsh character of a "y with a hat/circumflex"
so if you know of a bit of software that enables you to extend a character
set then I would definitely like to know. It was an absolute nightmare
converting all that text into another font...

Cheers

M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis - I
Sioux
Sent: 19 July 2007 10:51
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Language expert on embedding fontsfordifferent
language sets

Now i think of it..
I believe the character extending program works with indexes where you can
place/draw the character.. to get the right index/spot where a new 
character


should go in a font i believe we compared it with Arial.. the reason was
that Arial was pretty complete.

Not sure what the program was called though.. (designer is on vacation
aswell).. if you can't find any just give a call.. then i'll look it up 
for

you.

With kind regards,

Dennis
Isioux

- Original Message - 
From: "Dennis - I Sioux" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 11:42 AM
Subject: Re: [Flashcoders] Language expert on embedding fontsfordifferent
language sets



Hey Michael,

For a big european platform i have a multilanguage application that has 
11



languages in it now.
English, Dutch, German, French, Spanish, Portugees, Italian, Polish,
Swedish, Denish and for Norway.

I remember collecting info from sites like listed below:

http://www.unicode.org/charts/
http://www.columbia.edu/kermit/csettables.html
http://www.biega.com/special-char.html
http://www.tony-franks.co.uk/UTF-8.htm

In flash 7 (was big project.. so mutch work to turn to flash cs :-D ) ..
i'm using the following sets:
-Uppercase

-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended Add'l


Mind that i'm not using the > -Latin Extended B.

So far we had no complaints with that not being enough characters..
Some fonts we had to extend though.. you got small programs for that..
easy enough to extend the special fonts you'r using.
Don't remember if we had to extend Arial though.. i believe it pretty
mutch covered everything.
Don't know about Greek either though..

Hope this helps you along..

With kind regards,

Dennis
I Sioux




- Original Message - 
From: "Michael Ypes" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 10:26 AM
Subject: RE: [Flashcoders] Language expert on embedding fonts 
fordifferent



language sets


By the lack of feedback do I take it that no one is knowledgeable on 
this

topic???

Any help would be appreciated or pointers to some information on this. I
can't believe I am the only person on this list that has had to make an
application for Europe!

I have searched myself but with no luck.

Cheers

M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Ypes
Sent: 18 July 2007 16:20
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Language expert on embedding fonts for different
language sets

I am implementing a multilingual site for all the European countries and
I
am creating separate font libraries for which I will just load the right
one
based on the locale. From what I can gather there are fo

[Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Sascha
Hi list,

I'm loading a XML file with the URLLoader class into a v9 SWF. On Firefox it
all works without problem but on IE 6 and 7 the XML file doesn't get loaded,
instead I get HTTPStatus 200.
I don't have much experience with all the new AS3 Security stuff yet so I'd
like to ask what I would have to do to make this work. I've read about
crossdomain.xml files and Security Domains but these all seem not to apply
to simple text/xml files. But I could be totally wrong. Would be great to
get some hints on this!

Thanks,
Sascha


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

A better link for those interested in obfuscation of AS3 code.

http://www.kirupa.com/forum/showthread.php?t=266992

peace,

jon

On Jul 18, 2007, at 7:32 PM, Latcho wrote:


whats this?

Jon Bradley wrote:

Or, if you're a masochist:

http://www.kirupa.com/forum/showthread.php?t=256400

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley

It's basically a macro process for compiling AS classes.

One of the side effects is that it can be to obfuscate SWF files by  
using your own re-write rules. Hit up the second page of the thread  
to see a bit more information.


Macros are pretty cool stuff. Though the author of the toolset isn't  
quite accurate in the decompiling aspect of things - basically saying  
you can munge the intrinsic classes, which isn't possible. Those  
classes still make calls to Player internals and can be followed  
backward through the classes to 'fix' any obfuscation. So, maybe half  
your code in the end will be pretty funked up. That's still probably  
more than enough to make use of the decompiled code.


Bit tricky to setup and use, but it's pretty powerful if you need to  
do conditional compiling and get some serious speed boosts (similar  
to flasm hacking). Though, one could just use Haxe instead...


cheers,

jon


On Jul 18, 2007, at 7:32 PM, Latcho wrote:


whats this?

Jon Bradley wrote:

Or, if you're a masochist:

http://www.kirupa.com/forum/showthread.php?t=256400

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Language expert on embedding fontsfordifferent language sets

2007-07-19 Thread Michael Ypes
Thanks Dennis

This app needs 28 countries, i.e. the whole of Europe which is why we are
using Arial as it has the full character set needed including Armenian,
Cyrillic and Greek. It's just that I wanted to split it into its different
locales so that countries did not need to load in unwanted/unneeded font
sets. However I have just been informed that the company will need the latin
font set to a certain extent as they will want to include there
brand/product names which are all in latin. So for the other languages, i.e.
Cyrillic, Armenian and Greek I shall embed only the basic latin along with
Upper/Lower, punctuation and numerals along with their specific language
set. I am hoping that should cover it...

I did do a project a few months ago which got translated from English to
welsh and we had problems with the font. The font was a bespoke handwritten
font which did not have the welsh character of a "y with a hat/circumflex"
so if you know of a bit of software that enables you to extend a character
set then I would definitely like to know. It was an absolute nightmare
converting all that text into another font...

Cheers

M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis - I
Sioux
Sent: 19 July 2007 10:51
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Language expert on embedding fontsfordifferent
language sets

Now i think of it..
I believe the character extending program works with indexes where you can 
place/draw the character.. to get the right index/spot where a new character

should go in a font i believe we compared it with Arial.. the reason was 
that Arial was pretty complete.

Not sure what the program was called though.. (designer is on vacation 
aswell).. if you can't find any just give a call.. then i'll look it up for 
you.

With kind regards,

Dennis
Isioux

- Original Message - 
From: "Dennis - I Sioux" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 19, 2007 11:42 AM
Subject: Re: [Flashcoders] Language expert on embedding fontsfordifferent 
language sets


> Hey Michael,
>
> For a big european platform i have a multilanguage application that has 11

> languages in it now.
> English, Dutch, German, French, Spanish, Portugees, Italian, Polish, 
> Swedish, Denish and for Norway.
>
> I remember collecting info from sites like listed below:
>
> http://www.unicode.org/charts/
> http://www.columbia.edu/kermit/csettables.html
> http://www.biega.com/special-char.html
> http://www.tony-franks.co.uk/UTF-8.htm
>
> In flash 7 (was big project.. so mutch work to turn to flash cs :-D ) .. 
> i'm using the following sets:
> -Uppercase
>> -Lowercase
>> -Numerals
>> -Punctuation
>> -Basic Latin
>> -Latin I
>> -Latin Extended A
>> -Latin Extended Add'l
>
> Mind that i'm not using the > -Latin Extended B.
>
> So far we had no complaints with that not being enough characters..
> Some fonts we had to extend though.. you got small programs for that.. 
> easy enough to extend the special fonts you'r using.
> Don't remember if we had to extend Arial though.. i believe it pretty 
> mutch covered everything.
> Don't know about Greek either though..
>
> Hope this helps you along..
>
> With kind regards,
>
> Dennis
> I Sioux
>
>
>
>
> - Original Message - 
> From: "Michael Ypes" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 19, 2007 10:26 AM
> Subject: RE: [Flashcoders] Language expert on embedding fonts fordifferent

> language sets
>
>
>> By the lack of feedback do I take it that no one is knowledgeable on this
>> topic???
>>
>> Any help would be appreciated or pointers to some information on this. I
>> can't believe I am the only person on this list that has had to make an
>> application for Europe!
>>
>> I have searched myself but with no luck.
>>
>> Cheers
>>
>> M
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Michael 
>> Ypes
>> Sent: 18 July 2007 16:20
>> To: flashcoders@chattyfig.figleaf.com
>> Subject: [Flashcoders] Language expert on embedding fonts for different
>> language sets
>>
>> I am implementing a multilingual site for all the European countries and 
>> I
>> am creating separate font libraries for which I will just load the right 
>> one
>> based on the locale. From what I can gather there are four main ones 
>> which
>> is Latin, Armenian, Cyrillic and Greek. The question I am asking is what
>> font sets do you embed for the particular language set. I am using the 
>> Arial
>> font as that tends to have all the necessary glyphs and have embedded the
>> characters as shown below. Now this works but I feel I am using a sledge
>> hammer to crack a nut as I am not sure what languages use which and
>> therefore I am embedding the latin into the other character sets which I 
>> am
>> assuming is not needed. Any help, advice or pointers to information
>> regarding this would be fantastic.
>>
>> The font sets I am embedding are as follows - are these right, wrong or

Re: [Flashcoders] Language expert on embedding fontsfordifferent language sets

2007-07-19 Thread Dennis - I Sioux

Now i think of it..
I believe the character extending program works with indexes where you can 
place/draw the character.. to get the right index/spot where a new character 
should go in a font i believe we compared it with Arial.. the reason was 
that Arial was pretty complete.


Not sure what the program was called though.. (designer is on vacation 
aswell).. if you can't find any just give a call.. then i'll look it up for 
you.


With kind regards,

Dennis
Isioux

- Original Message - 
From: "Dennis - I Sioux" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 11:42 AM
Subject: Re: [Flashcoders] Language expert on embedding fontsfordifferent 
language sets




Hey Michael,

For a big european platform i have a multilanguage application that has 11 
languages in it now.
English, Dutch, German, French, Spanish, Portugees, Italian, Polish, 
Swedish, Denish and for Norway.


I remember collecting info from sites like listed below:

http://www.unicode.org/charts/
http://www.columbia.edu/kermit/csettables.html
http://www.biega.com/special-char.html
http://www.tony-franks.co.uk/UTF-8.htm

In flash 7 (was big project.. so mutch work to turn to flash cs :-D ) .. 
i'm using the following sets:

-Uppercase

-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended Add'l


Mind that i'm not using the > -Latin Extended B.

So far we had no complaints with that not being enough characters..
Some fonts we had to extend though.. you got small programs for that.. 
easy enough to extend the special fonts you'r using.
Don't remember if we had to extend Arial though.. i believe it pretty 
mutch covered everything.

Don't know about Greek either though..

Hope this helps you along..

With kind regards,

Dennis
I Sioux




- Original Message - 
From: "Michael Ypes" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 10:26 AM
Subject: RE: [Flashcoders] Language expert on embedding fonts fordifferent 
language sets




By the lack of feedback do I take it that no one is knowledgeable on this
topic???

Any help would be appreciated or pointers to some information on this. I
can't believe I am the only person on this list that has had to make an
application for Europe!

I have searched myself but with no luck.

Cheers

M

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

Sent: 18 July 2007 16:20
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Language expert on embedding fonts for different
language sets

I am implementing a multilingual site for all the European countries and 
I
am creating separate font libraries for which I will just load the right 
one
based on the locale. From what I can gather there are four main ones 
which

is Latin, Armenian, Cyrillic and Greek. The question I am asking is what
font sets do you embed for the particular language set. I am using the 
Arial

font as that tends to have all the necessary glyphs and have embedded the
characters as shown below. Now this works but I feel I am using a sledge
hammer to crack a nut as I am not sure what languages use which and
therefore I am embedding the latin into the other character sets which I 
am

assuming is not needed. Any help, advice or pointers to information
regarding this would be fantastic.

The font sets I am embedding are as follows - are these right, wrong or 
just

plain ridiculous??##!!

Latin language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l

Armenian language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Armenian

Cyrillic language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Cyrillic

Greek language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Greek


Thanks in advance :)

Michael


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you 

Re: [Flashcoders] Language expert on embedding fonts fordifferent language sets

2007-07-19 Thread Dennis - I Sioux

Hey Michael,

For a big european platform i have a multilanguage application that has 11 
languages in it now.
English, Dutch, German, French, Spanish, Portugees, Italian, Polish, 
Swedish, Denish and for Norway.


I remember collecting info from sites like listed below:

http://www.unicode.org/charts/
http://www.columbia.edu/kermit/csettables.html
http://www.biega.com/special-char.html
http://www.tony-franks.co.uk/UTF-8.htm

In flash 7 (was big project.. so mutch work to turn to flash cs :-D ) .. i'm 
using the following sets:

-Uppercase

-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended Add'l


Mind that i'm not using the > -Latin Extended B.

So far we had no complaints with that not being enough characters..
Some fonts we had to extend though.. you got small programs for that.. easy 
enough to extend the special fonts you'r using.
Don't remember if we had to extend Arial though.. i believe it pretty mutch 
covered everything.

Don't know about Greek either though..

Hope this helps you along..

With kind regards,

Dennis
I Sioux




- Original Message - 
From: "Michael Ypes" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 19, 2007 10:26 AM
Subject: RE: [Flashcoders] Language expert on embedding fonts fordifferent 
language sets




By the lack of feedback do I take it that no one is knowledgeable on this
topic???

Any help would be appreciated or pointers to some information on this. I
can't believe I am the only person on this list that has had to make an
application for Europe!

I have searched myself but with no luck.

Cheers

M

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

Sent: 18 July 2007 16:20
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Language expert on embedding fonts for different
language sets

I am implementing a multilingual site for all the European countries and I
am creating separate font libraries for which I will just load the right 
one

based on the locale. From what I can gather there are four main ones which
is Latin, Armenian, Cyrillic and Greek. The question I am asking is what
font sets do you embed for the particular language set. I am using the 
Arial

font as that tends to have all the necessary glyphs and have embedded the
characters as shown below. Now this works but I feel I am using a sledge
hammer to crack a nut as I am not sure what languages use which and
therefore I am embedding the latin into the other character sets which I 
am

assuming is not needed. Any help, advice or pointers to information
regarding this would be fantastic.

The font sets I am embedding are as follows - are these right, wrong or 
just

plain ridiculous??##!!

Latin language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l

Armenian language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Armenian

Cyrillic language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Cyrillic

Greek language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Greek


Thanks in advance :)

Michael


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Language expert on embedding fonts for different language sets

2007-07-19 Thread Michael Ypes
By the lack of feedback do I take it that no one is knowledgeable on this
topic???

Any help would be appreciated or pointers to some information on this. I
can't believe I am the only person on this list that has had to make an
application for Europe!

I have searched myself but with no luck.

Cheers

M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Ypes
Sent: 18 July 2007 16:20
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Language expert on embedding fonts for different
language sets

I am implementing a multilingual site for all the European countries and I
am creating separate font libraries for which I will just load the right one
based on the locale. From what I can gather there are four main ones which
is Latin, Armenian, Cyrillic and Greek. The question I am asking is what
font sets do you embed for the particular language set. I am using the Arial
font as that tends to have all the necessary glyphs and have embedded the
characters as shown below. Now this works but I feel I am using a sledge
hammer to crack a nut as I am not sure what languages use which and
therefore I am embedding the latin into the other character sets which I am
assuming is not needed. Any help, advice or pointers to information
regarding this would be fantastic.

The font sets I am embedding are as follows - are these right, wrong or just
plain ridiculous??##!!

Latin language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l

Armenian language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Armenian

Cyrillic language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Cyrillic

Greek language settings

-Uppercase
-Lowercase
-Numerals
-Punctuation
-Basic Latin
-Latin I
-Latin Extended A
-Latin Extended B
-Latin Extended Add'l
-Greek


Thanks in advance :)

Michael


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com