Re: [Flashcoders] Rates of pay in Europe...

2007-03-12 Thread Sam Thorne
Actually it's more us Brits.
'Europe' or 'The continent' is the name we use for the big landmass the
other side of the channel...


On 12/3/07 14:26, Merrill, Jason [EMAIL PROTECTED] wrote:

 My girlfriend and i are looking at getting out of the UK for
 a bit - and moving to live and work in Europe.
 
 Darn those French, do they still consider the UK to be not part of
 Europe?  ;) 
 
 Jason Merrill
 Bank of America  
 Global Technology  Operations
 Learning  Leadership Development
 eTools  Multimedia Team
 
 
  
 ___
 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] Q:input textfield woes setting maximum lines

2007-03-12 Thread Sam Thorne
That's generally how I deal with text fields that have to be centered with
localisable text.

Attach a dummy textfield, enter the text, see how big it is then apply the
positioning information to the real field and remove the dummy one.

Adding/removing a field and getting the values out within 3 lines is quick
enough that you don't see it drawing.

It's a bit awkward, but it works!

On 11/3/07 14:56, Latcho [EMAIL PROTECTED] wrote:

 anoyher fix might be overlaying the displaying field, you don't want to
 have overflowed your max lines with
 an input field that has _alpha 100, and has an embed font. Use the later
 as input, ans if maxscroll  2 after onKeyup,
 feed it to the underlaying visible textfield. Otherwise ,restore its
 content with the previous buffered text and don't feed it to the visible
 field.
 Dirty but worling I guess.
 
 Latcho.

___
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] flv playback stalling

2007-01-31 Thread Sam Thorne

Hi All,

I have an flv loading into an instance of flvPlayback, all of a  
sudden it has started freezing about 2 seconds into the playback, and  
just stalls.


The rest of the ui is still interactive, and I can use buttons to  
jump to other sections of the site etc. so it's not that flash is  
freezing up.
I can also open the flv in quicktime and it plays through fine, so  
the video appears to be ok.


The video is playing locally (it will be running from a cd) and is  
not the largest video we're using, so it doesn't seem to be any  
obvious issue.


Anyone got any clues to help me out?

Thanks a lot

Sam
___
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 Don't reply to an old thread when you're creating a new thread!

2006-12-07 Thread Sam Thorne

Hi All,

Just a suggestion, but perhaps people posting new threads could do so  
using a new email rather than a reply to an old thread and changing  
the subject.


I don't know about you, but for me replying to an old thread and  
changing the subject results in broken message threading when I'm  
reading through the list.
Message threading works on email id's, not on subject contents, so  
you end up with several totally different topics grouped into the  
same thread the way we're currently going.


Just click the flashcoders@chattyfig.figleaf.com link at the bottom  
of an email instead of the reply button.


(Don't meant to piss anyone off, just thought it might be helpful :))


Cheers,

Sam
___
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: [Flickr] Your Photo Upload Failed

2006-11-28 Thread Sam Thorne
I've already contacted Flickr about it, and got this response, so we  
shouldn't get any more bounces:



Hello,

Flickr allows its users to upload photos via email to a
secret email address tied to their account.  These can be
uploads from a cameraphone or other device, or a script, or
a regular ol' email client.  When we encounter problems with
the upload, we respond back to the email address that the
upload was sent from to let them know.  In this case, the
email appeared to be from a mailing list you are a member
of, so the error response got sent there.  I've added the
address of your mailing list to our block list to make sure
this doesn't happen again, and gotten in touch with the user
involved to try and figure out if these upload attempts were
done on purpose or not.

Thanks for your report.

Cheers,
Myles



Not so secret anymore then...




On 28 Nov 2006, at 01:23, Dave Watts wrote:



This happens whenever anyone posts to the list. Unfortunately,  
there is no

flickr.com address or any address containing effective53person on
Flashcoders, so I don't know which address to unsubscribe. I also  
don't have
an easy way to see what addresses have been added to the list in  
the last

few days, so I'm kind of in the dark about what address it might be.

I've sent a request to Flickr, to see if I can find out what they're
receiving. In the meantime, if you think your address might be  
causing this,

please send me an email directly ([EMAIL PROTECTED]). Thanks!

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

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

2006-11-27 Thread Sam Thorne
I think the other important point about components is the usability  
factor.


It's about having a consistent user experience across different Flash  
applications, which can only really happen we use the same components.
Otherwise behaviours change from application to application and the  
user has no real idea how applications are going to behave.


This already causes problems with Flash, so the fact that there is a  
standard component library is at least attempting to address it is a  
very good thing in my opinion.
Perhaps that framework needs refining over time, but the more people  
use the same components with the same behaviours the better; it's not  
just about using them because they're quick or easy.


Sam

On 25 Nov 2006, at 22:45, Michael Bedar wrote:

Using a component someone else made to suit a general audience is  
almost always going to be less good than creating a custom  
component for a specific task/project, given a sufficiently skilled  
developer, no matter how good the general component is. So if you  
use a 3rd party component, it should be because you lack the time,  
skill and/or desire to create it yourself. Using a set of  
components extends this idea, where now the set is even less likely  
to perfectly suit the task at hand, but also the work required and  
skill needed to instead create manually all components needed  
increases as well.


I have never personally used any component sets, but that is only  
about 90% practicality, and 10% stubbornness in my own partial  
estimation. There are certainly a few sets out there that seem  
eminently usable, and now the Flex 2 framework presents us with a  
very tempting basis for development, but I am very uncomfortable  
with the idea of using code in my projects that I have not written,  
since it seems like a somewhat slippery slope. I am getting to the  
point where I am contemplating using 3rd party libraries, which is  
less invasive than components, but still something that did not  
exist a few years ago.. but if one looks at the wonderful 3D Flash  
libraries coming out now; they have gained a level of complexity  
where I have to admit that I am not interested in trying to produce  
a functional equivalent on my own.


Mike


___
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: [Flickr] Your Photo Upload Failed

2006-11-27 Thread Sam Thorne

Hi,

I just replied to a mailing list i'm subscribed to and got this  
message from Flickr.
I don't have a Flickr account and my email had no images and was  
addressed to flashcoders@chattyfig.figleaf.com, so I'm not sure  
what's happened.


Seems someone may have subscribed your upload address to the mailing  
list, but I can't find an '[EMAIL PROTECTED]' on  
Flickr.


Sam

On 27 Nov 2006, at 10:04, Flickr Mail wrote:


Your photo upload has failed with the following message:

no images were found attached to the email


If you think you shouldn't be getting this error, please
send us an email - help [at] flickr.com - and we'll do our
best to help!

Thanks,

The Flickr Team

www.flickr.com

-

This information might be of use to us when diagnosing what
went wrong:

To Address:
Cc Address:
From Address:
Parsed Addresses: flashcoders@chattyfig.figleaf.com
  [EMAIL PROTECTED]
Handling Server:  www1
Handler Version:  1.166
Transaction Log:  www1-1164621863.email
Logged Date:  27-11-2006
User NSID:
Blog Id:







___
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: [Flickr] Your Photo Upload Failed

2006-11-27 Thread Sam Thorne

Sorry list.

(Though maybe someone can claim ownership? I keep getting these  
flickr bounces)



On 27 Nov 2006, at 10:15, Sam Thorne wrote:


Hi,

I just replied to a mailing list i'm subscribed to and got this  
message from Flickr.
I don't have a Flickr account and my email had no images and was  
addressed to flashcoders@chattyfig.figleaf.com, so I'm not sure  
what's happened.


Seems someone may have subscribed your upload address to the  
mailing list, but I can't find an  
'[EMAIL PROTECTED]' on Flickr.


Sam



___
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] Command line compile

2006-06-14 Thread Sam Thorne
Hi List,

I'm working on a project where we're looking at switching to nightly builds for 
the development process, building on MS Windows.

At the moment a cron job attempts to run the compile and gets stuck on our 
Flash compilation.
This is probably because the build machine isn't running as a logged in user, 
but as a system process. This means when Flash tries to throw up a splash 
screen etc. it is probably falling over.
We can't run it as a logged in user (and thus get the windowing environment), 
as it breaches company security to have a dummy user logged in all the time and 
the machine will auto logout after a couple of minutes.

We can't use mtasc, because of issues with using an unsupported compiler for 
production code.

Is there any way to do a command line compile with pure actionscript 2.0 .as 
and .fla based source files without a windowing environment?
Is this something that Flex can do for us, or would we have to rewrite into 
mxml?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Command line compile

2006-06-14 Thread Sam Thorne

Hi Scott,

Yeah, I've seen this, but the problem isn't making the compile call,  
it's running Flash while not in a windowing environment.


All Mike's script really does is build a custom jsfl script on the  
fly, open Flash and run the script.
It's the 'Open Flash' bit that we're stuck with, as we have no logged  
in user.


On 14 Jun 2006, at 14:29PM, Scott Hyndman wrote:


http://weblogs.macromedia.com/mesh/archives/2003/11/ 
flashcommand_fl.html


On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:


Do your command line from a .bat wrapped with a SU command (substitut
user with the password).  I don't have an example with me but will  
try

to get one from home.  I've used that trick a lot but it was over 6
years ago.

A+

Sam Thorne a écrit :
 Hi List,

 I'm working on a project where we're looking at switching to  
nightly builds for the development process, building on MS Windows.


 At the moment a cron job attempts to run the compile and gets  
stuck on our Flash compilation.
 This is probably because the build machine isn't running as a  
logged in user, but as a system process. This means when Flash  
tries to throw up a splash screen etc. it is probably falling over.
 We can't run it as a logged in user (and thus get the windowing  
environment), as it breaches company security to have a dummy user  
logged in all the time and the machine will auto logout after a  
couple of minutes.


 We can't use mtasc, because of issues with using an unsupported  
compiler for production code.


 Is there any way to do a command line compile with pure  
actionscript 2.0 .as and .fla based source files without a  
windowing environment?
 Is this something that Flex can do for us, or would we have to  
rewrite into mxml?





Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971___
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] Command line compile

2006-06-14 Thread Sam Thorne

Scott  Stacey:
Yeah, seems crazy not to use mtasc, but unfortunately that's not my  
decision to make.
In the timeline we have it seems very unlikely that we'll change  
compiler in the middle of a release schedule.


Éric:
With the su batch script, I've not seen an su for windows before, is  
that a third party app or running through cygwin?
A quick look on google brings up runas as a possible command, or is  
the su you're referring to a throw back from win 98 or so? To be  
honest, i'm more a unix/os x person than windows, so I'm not up to  
date with any of this.


Thanks all!

On 14 Jun 2006, at 15:51PM, Scott Hyndman wrote:


Oh, sorry about that. Didn't read carefully enough.

I don't think there is a solution given your contraints...but I'm
going to offer my two cents. Forget MM's compiler. It might as well be
unsupported. Tech support will cost a fortune to speak to and I'm
pretty sure they wouldn''t be able to fix your problems anyway.

Switch to MTASC. Convince whoever you're working for that it's a good
idea. Your life will be easier and consequently, so will everyone
elses. I've been using it for more than a year building major
libraries (ActionStep -- http://tinyurl.com/lupmv) and at this point
there is absolutely nothing to worry about. A large and well-versed
user base will be right at your fingertips. Lots of coders were fed up
with MMC a long time ago, and are now happily enjoying Flash
development again.

Hope you didn't mind the rant, good luck,
Scott


 On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:

 Do your command line from a .bat wrapped with a SU command  
(substitut

 user with the password).  I don't have an example with me but will
 try
 to get one from home.  I've used that trick a lot but it was  
over 6

 years ago.

 A+



Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Large video and the Camera class

2006-04-24 Thread Sam Thorne

Hi List,

We're trying to integrate large amounts of video (hi def) through a  
Flash UI to control the streams.
We can't encode to flv because of other constraints, and using C# to  
composite knockout areas in flash is causing a lot of flicker.


Has anyone tried using the Camera object to deal with large amounts  
of video, are there any limitations on the Camera object that might  
stop this?
Could we fool flash into thinking the video stream it's getting is  
from a web cam?


This seems like a possible work around, it'd be great if anyone could  
confirm it, thanks!



Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Duplicating a MovieClip that contains Sub-Clips

2006-04-13 Thread Sam Thorne

Yes, duplicateMovieClip duplicates the clip and all it's subclips.

On 13 Apr 2006, at 09:20AM, Mike Anderson wrote:


Hello All,

If you duplicate a MovieClip that happens to contain children sub- 
clips,

does the newly created MovieClip also contain all the identical
sub-clips?

If this is not the case, how would one go about doing that?  Duplicate
the MovieClip, but then loop through all the sub-clips that the  
original

MovieClip originally contained?

If any of you could clarify this topic, I'd greatly appreciate it.

Thanks,

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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Duplicate Class errors

2006-04-07 Thread Sam Thorne

Hi List,

We've been developing an application over here and sending updates to  
a colleague, all has been fine until he started getting compilation  
errors.


The odd thing is, the class that is supposed to be conflicting, is in  
fact conflicting with itself.



: Line 6: The name of this class,
'com.native.components.ScreenElement',
conflicts with the name of another class that was loaded,
'com.native.components.ScreenElement'.
 class com.native.components.ScreenElement {


Previously clearing ASO cache files worked fine, but it seems it's  
this isn't working now either.
Unzipping a different copy somewhere else on his machine has also  
failed with the same error.


Anyone got any idea what might be happening here?

Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] large projects

2006-04-05 Thread Sam Thorne

Using some sort of versioning system is an absolute must.

Subversion is great, handles fla/ai/etc files as binary properly and  
deals with Mac resource forks and so on.
Pretty easy to set up, and with a couple of nice GUI apps on both  
platforms (svnX for mac, tortoise for Win).


http://subversion.tigris.org/

On 5 Apr 2006, at 13:44PM, Mark Lorah wrote:

This is a general question about workflow. For a long time I have  
been working on Flash projects independently. Over time everything  
has gotten bigger. Projects are now at a scale where I must  
collaborate with other Flash programmers. I am looking for  
suggestions about best practices for organizing and dividing up  
work on large Flash projects. What are problems and solutions that  
people have encountered when sharing work?

___
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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] MTASC and spaces in classpath

2006-04-03 Thread Sam Thorne

Thanks guys, the flashout spaces issue was the problem.
Right now I've abandoned eclipse/mtasc anyway, deadlines and all.

But now I know how to get it working, I'll look into using it  
properly after this project, and explore Ant a bit more too.


On 2 Apr 2006, at 03:06AM, Chris Allen wrote:


Oh yes, the old Flashout on Macintosh problem; sorry that I didn't
realize that was what you were referring to.  I haven't been using
Flashout; I find that Ant just works better for my work flow.  Many
others seem to agree.  Anyway, if you are interested there are some
excellent Ant utilities for building Flash from as2lib called as2ant
that might be of interest.  You can find more information on that
here: http://osflash.org/ant

-Chris

On 4/1/06, Alain Rousseau [EMAIL PROTECTED] wrote:

Escaping spaces is fine in the Terminal, but not in Eclipse using
Flashout. That's the issue here, how to define the Class Path in  
Eclipse.

I've read a post about it at
http://www.pixelmotive.de/blog/archives/2005/06/fame_on_mac.php
Basically what it says is to create a shell script that catches the
call to mtasc then echoes the full mtasc command line into a seperate
shell scripts and returns mtasc's output.

Here is a shell script that works for me, you can save it anywhere  
and

give it a name with the .sh extension
make it executable like this

chmod a+x locmtasc.sh


and here is the shell script itself

#!/bin/sh
echo  #!/bin/sh  subc.sh
echo /usr/local/bin/mtasc $@  subc.sh
chmod a+x subc.sh
./subc.sh
exit $?


note that the shell will create a shell file for you, you don't  
need to

create an empty one yourself.
once this is done go in the Eclipse Preferences - Flashout
in the Location of mtasc.exe enter the path to your locmtasc.sh :
/Users/username/Documents/workspace/locmtasc.sh

and voilà you sould be able to make Flashout work with mtasc

The thing is that Eclipse adds quotes around the Macromedia Class  
Path,
but it fails to parse correctly through Flashout. With this shell  
script

the problem is solved.

Alain




Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] MTASC and spaces in classpath

2006-03-30 Thread Sam Thorne

Hi all,

I'm getting the error Class not found Support.Macromedia.Flash when  
my classpath is
/Users/sam/Library/Application Support/Macromedia/Flash 8/en/ 
Configuration/Classes


Seems Mtasc doesn't like classpaths which have spaces in them on OS  
X, it tries to interpret the a directory name (such as Application  
Support, where the core classes are) as separate classes.


I can't symlink because Eclipse sees a symlink as a file, and I can't  
use an alias because it isn't recognised as a folder even though I  
can browse into it.


Any ideas?

Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] [OT] Sparx Enterprise Architecht generatingActionscript

2006-03-23 Thread Sam Thorne

A bit more OT than the original.

Does anyone know of an equivalent application for Mac OS X?
I've come across Visual Paradigm for UML and MagicDraw UML, both Java  
apps which would be great as we're a mixed platform outfit.
The thing that's missing is code generation for Actionscript, a  
feature of EA that I can't seem to find anywhere else.


On 23 Mar 2006, at 13:03PM, Yehia Shouman wrote:


To get an import statement in your generated code,

Create a diagram, on which you will draw the relationships between  
classes


Use the Aggregate or compose under Class Section in the Toolbox on  
the left.


When you describe a compose or aggregate relationship between 2  
classes, the one that is aggregating the other will get an import  
statement in its generated code.


- Original Message - From: David Rorex [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 23, 2006 4:29 AM
Subject: Re: [Flashcoders] [OT] Sparx Enterprise Architecht  
generatingActionscript



On 3/22/06, jim [EMAIL PROTECTED] wrote:


Hi all,

I started playing with EA getting it to generate Actionscript. I  
need to

know how to place an import statement into a class like:

import com.something.MyClass;

I see it can handle doing this as I have reverse engineered one of my
projects and on regenerating the code the import statements are still
there
but I cannot see where it is in EA.

Any help would be great.
Jim




Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Protecting Shared Objects

2006-03-22 Thread Sam Thorne
Just as long as you document it somewhere or off the option to  
uninstall, so that when someone actually is deleting things for a  
good reason, they can be sure they really are removing the whole  
application, including the archiver and it's backup.



John Mark Hawley schrieb:
I'm working on a CD product that needs to store a lot of data  
locally for easy lookup. Before your eyes glaze over and you point  
me at Zinc, know that this poor little product needs to run on OS  
9, OSX, and Windows. Zinc doesn't do OS 9.
But, aha, local shared objects! We can use them! Sure we can, but  
then there's a problem that some wiseguy could wipeout our entire  
database by clicking around in the Flash plugin settings for a good  
long time.
So: the tentative plan says we could run a little executable via an  
fscommand at startup that checks to see if the LSO's are in good  
order, and archives them elsewhere if so. If they've been hosed,  
the little executable would un-archive the last backup and put them  
back in the right location.
This sounds a little a rinky-dink, but it seems a heck of a lot  
easier than wrestling with a custom director wrapper and a real  
database. Just how icky does this sound to everyone? Anyone ever  
attempt something similar?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread Sam Thorne
hqx are not macintosh projectors per se, they are the encoded  
versions of Macintosh (including the rsrc fork) projectors that _can_  
be copied around, you would then decode the hqx on a Mac or using  
something like CDEverywhere on a PC, which decodes the hqx on the fly  
as it creates a disc image to burn in Nero et al.


It's a bit old now, but I wrote the FAQ and tutorial on FlashKit in  
the Macintosh forum http://flashkit.com/board/showthread.php?t=396320


On 21 Mar 2006, at 15:31PM, erixtekila wrote:


This question is pretty usefull.

I presume that the .hqx files that are Mac's flash projector use a  
ressource fork.

Once you copy this on another os, you loose it.
Without it the file won't launch again.

Zipping it is not a solution as it doesn't preserve ressource forks.
You could use .sit, but there are no AFAIK a windows analog.

The .iso is a good alternative.

BTW, is there a utility to give a broken .hqx is resource again ?
Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Save file from Mac / Pc Projector on CDROM to Hard drive

2006-03-21 Thread Sam Thorne
I wrote an applescript a few years back that does this on Mac, on PC  
you'll need to use something like a batch script or one of those  
proxy exes you can call with fscommand.

http://flashkit.com/board/showthread.php?t=396320
(There are lots of free ones which will do just that, rather than  
something bigger (and more expensive) like Zinc).


On 21 Mar 2006, at 16:49PM, Paul Steven wrote:

I need to include a button in a cdrom projector that when clicked  
will copy
a particular file from the CDROM to the users hard drive with a  
dialogue box

asking them where to save it to.

Any suggestions?

It must work on PC and MAC

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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Save file from Mac / Pc Projector on CDROM to Harddrive

2006-03-21 Thread Sam Thorne

Oops, yes sorry.


I'd posted a copy script there before, but obviously not put it in  
the FAQ, here  you go:


--set the name of the file to copy
property fileName : my file.doc
--get the path to the containing folder
set myPath to (path to me as string)
set AppleScript's text item delimiters to :
set the parentFolder to ¬
((text items 1 thru -2 of myPath)  ) as string
set AppleScript's text item delimiters to 
-- find the flash file
try
set targetFile to alias (the parentFolder  fileName)
on error
--ie if there's no file here by this name, it will quit.
return quit
end try
tell application Finder
move file targetFile to desktop
--If it's a read only volume (like a cd), move will actually copy
end tell



On 21 Mar 2006, at 17:21PM, Paul Steven wrote:


Thanks Sam

Looks like you are opening the file

tell application Finder
open file targetFile
end tell

Is there an equivalent to just copy / save the file to the users  
hard drive?


Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Thorne
Sent: 21 March 2006 17:14
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Save file from Mac / Pc Projector on  
CDROM to

Harddrive


I wrote an applescript a few years back that does this on Mac, on PC
you'll need to use something like a batch script or one of those
proxy exes you can call with fscommand.
http://flashkit.com/board/showthread.php?t=396320
(There are lots of free ones which will do just that, rather than
something bigger (and more expensive) like Zinc).

On 21 Mar 2006, at 16:49PM, Paul Steven wrote:


I need to include a button in a cdrom projector that when clicked
will copy
a particular file from the CDROM to the users hard drive with a
dialogue box
asking them where to save it to.

Any suggestions?

It must work on PC and MAC

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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] AS IDE for OSX

2006-03-16 Thread Sam Thorne

The XCode posts may be over a year old, but they still work pretty well.
svn included in the ide, and you can make nice project templates with  
auto filling classnames and so on.
It's what I use for development, plus Mike Chambers' publish script  
for Flash or something else to call mtasc.


http://blog.pixelconsumption.com/index.php?p=15

On 16 Mar 2006, at 19:10PM, Nik Derewianka wrote:


Hey all,

Title pretty much says it - what are peoples using for an AS IDE on  
the mac
?  Flash itself is actually worse than director in this regard,  
SEPY is

great on PC, cant even do copy and paste on a mac and last build seems
broken, ive seen some blog posts regarding AS integration into  
Xcode but

they are all over a year old.

I dont want a text editor (i already have and love TextMate) but an  
IDE that
can organise all my files, syntax highlighting, code completion,  
jump to
handler definitions and compilation, version control integration  
would be a

bonus (pref svn).

Does such a beast exist ?

Regards,
--
:: Nik Derewianka ::
___
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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Timing Tweens Effectively

2006-03-15 Thread Sam Thorne

Check out Fuse:
http://www.mosessupposes.com/

On 15 Mar 2006, at 14:11PM, Kevin Cannon wrote:


Hi,

I'm looking to improve my handling of timed events for the sites  
I'm building.


I'm using a lot of tweens, and stacking them using callbacks, and  
sometimes
setInterval to achieve what I want. It's not particularly clean, so  
I was
wondering if there's any methods or libraries, to code timed events  
in a

more efficient manner.

Thanks,

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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Send to friend....Doesn't make sense.

2006-03-14 Thread Sam Thorne
Even better than Delegate is Proxy, http://www.person13.com/articles/ 
proxy/Proxy.htm


On 12 Mar 2006, at 05:12AM, [EMAIL PROTECTED]  
[EMAIL PROTECTED] wrote:


I'm not going to check your email verification but  you could do  
somethign
like this for loadvars rather than using loadvariables. Also have  
your php

write back a response so that flash knows whether it worked or not.

Some tidbits of advice - your submit mail button should call a  
validation

process - it shouldn't hold it in the scope of its onRelease handler -
that might introduce a scoping problem. So create a function that  
is like

validateEmail(emailString), and have your button call it.
submit_mail_btn.onRelease=Delegate.create(this,validateEmail).


Delegate in Flash 7 and up is your friend. It fies the scope madness.
Also, test your validation bit outside of the onRelease and determine
where its failing.




import mx.utils.Delegate;
lv:LoadVars=new LoadVars();
var validEmail=isEmail(email_txt.text);
lv.vemail=vemail;
lv.onLoad=Delegate.create(this,onEmailResponse);
lv.sendAndLoad(../mailinglist.php,lv,GET)

function onEmailResponse(success){
if(p_success){
  email.text = THANK YOU!;
}else{
  email.text = Problem Dude!;
}
}

function isEmail(str:String):Boolean{
// do your email validation here and return true or false
// By creating a function, you can use it again and again -
// so your submit buttons should call a validation process, not
// hold the validation process in the scope of its onRelease.
return(valid)

}


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Flash Web Browser Component

2006-03-09 Thread Sam Thorne
Depends on the content of the web page of course, but this component  
does pretty well.


http://sourceforge.net/projects/fpxhtmlrender

On 8 Mar 2006, at 17:56PM, Greg Conover wrote:

Does anyone know of a Flash component that allows you to call up a  
URL and

display a Web page? Standard components don't have that capability, it
seems.


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] 9-slice bugs

2006-03-07 Thread Sam Thorne

Hi list,

I'm trying to get 9-slice scaling to work with several clips at the  
same time, which seems ridiculously buggy.


If I have two instances of the same clip with 9-slice applied on  
stage, and scale them both with a Tween object, they scale fine.
However, if I have two instances of different clips with 9 slice  
scaling, one of them will stop scaling properly (i.e. revert to the  
traditional way) and the other will work fine.
The only difference between the clips is that the assets have their  
registration points changed so that they scale in from either sides  
of the stage.


I've tried all sorts of things; originally they were based on the  
same assets, I've broken the clips apart, and recreated them from  
shapes.
I've tried the hint in LiveDocs that mentions only editing Library  
assets directly (not instances) to avoid unpredictable behaviour.


Seems like the 9-slice implementation is totally messed up, anyone  
got any hints?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] Newbiew question AS3

2006-03-06 Thread Sam Thorne
AS3 is not part of Flash 8, which is why you didn't find anything on  
it in the official documentation.



On 6 Mar 2006, at 12:42PM, Forums @ Existanze wrote:


Hello all,

This is my first post in this mailing list after reading it for  
about week,
just to get the feel of thing. I have seen actionscript v3 being  
mentioned
here. I am a programmer, not so much of a designer, so I would be  
really
interested to find out more about v3, changes and new functionality  
in the
language. I went to the formerly macromedia site to look for  
changes in
flash8 but I saw no mention of as v3? Can anyone point me to a  
reference to

it?



Thank you for reading

Gyftus



___
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


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] C# and ExternalInterface problems

2006-03-01 Thread Sam Thorne

Hi All,

We've been working on integrating Flash with C# through External  
Interface, but have hit a brick wall with an odd error.


We've go ExternalInterface calling C# functions fine, it's the  
reverse which is not working.


C# in .NET throws an Unspecified Error when calling an exposed  
Actionscript function with both the stuff I've written and another  
example we've got off the net.
However, if we use  VB .NET (which apparently should compile to the  
same thing), the same Flash files work fine (both the in-house things  
and the examples from the net).


Has anyone come across this before and know of a solution?
At the moment it looks like we'll have to wrap VB in the C# just to  
let C# call AS functions, which is pretty irritating.


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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