Re: [Flashcoders] AS3 GModeler?

2008-06-02 Thread Mark Lapasa

I second violet uml. Pretty good and it's free!

If you're looking for paying round trip UML<-> AS3, look into Enterprise 
Architect



Romuald Quantin wrote:

The most well-known as3 frameworks are:

http://labs.adobe.com/wiki/index.php/Cairngorm
http://puremvc.org/

A full list there:
http://seantheflashguy.com/blog/2007/11/20/actionscript-30-uml-and-code-gene
ration-tools/

If you're an eclipse user (which I recommend):
http://alexdp.free.fr/violetumleditor/page.php

cross-platform:
http://staruml.sourceforge.net/en/

Romu


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ali Drongo
Sent: 28 May 2008 16:28
To: Flash Coders List
Subject: [Flashcoders] AS3 GModeler?

Hiya, I'm starting planning an AS3 project and have previously used  
Gmodeler to plan my classes.
Are there any similar apps that will generate my stub classes in the  
same way GModeler did for AS2?

Or can anyone recommend other AS3 // OOP planning apps they find useful?
Cheers
Ali


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

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




Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


Re: [Flashcoders] clean scripting

2008-03-11 Thread Mark Lapasa

Either way to me is a non-issue.

However, it is an issue if I want to implement lazy instantiation. That 
is, instantiating  objects  only right before you need them.

Thus, in your first example, the bulk of instantiation occurs up-front.

Lazy instantiation  
http://www.javaworld.com/javaworld/javatips/jw-javatip67.html



-mL


Allandt Bik-Elliott (Receptacle) wrote:

hi

just a semantic question really

when writing your classes, would you only declare variables in the 
class and assign variables later or would you assign values straight 
away if you had them?


so for instance, would you...:

package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;

internal class Class extends Sprite

{
// class variable declarations
private var cp:CommonProperties = new CommonProperties();
private var commonY:uint = cp. commonY;
private var commonCopy:String = cp.commonCopy;
private static var title:String = "Title";
private static var subtitle:String = "Subtitle";
   
public function Class()

{
myFunc1();
}

private function myFunc1()
{
trace ("function ran");
trace ("commonY is "+commonY);
trace ("commonCopy is "+commonCopy);
trace ("title is "+title);
trace ("subtitle is "+subtitle);
}
}
}

which works fine but is a little messy at the class level

or would you...:

package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;

internal class Class extends Sprite

{
// class variable declarations
private var cp:CommonProperties;
private var commonY:uint;
private var commonCopy:String
private static var title:String
private static var subtitle:String ;
   
public function Class()

{
setVars();
myFunc1();
}

private function setVars()
{
cp =  new CommonProperties();
commonY = cp. commonY;
commonCopy = cp.commonCopy;
title = "Title";
subtitle = "Subtitle";
}

private function myFunc1()
{
trace ("function ran");
trace ("commonY is "+commonY);
trace ("commonCopy is "+commonCopy);
trace ("title is "+title);
trace ("subtitle is "+subtitle);
}
}
}

which seems cleaner but is more round the houses.

thanks in advance
a


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




Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Mark Lapasa
I honestly think from what you've said so far, you're already on track. 
You've got quite a bit to get started. My only recommendation would be 
if you can have your client objects either interacting with an Interface 
class or a Facade instead of accessing directly the concrete 
class/implementation of your services.


By introducing an abstraction layer, you can 1) change the underlying 
implementation such that it adheres to a public declared interface. 
Connected client objects will not be too adversely affected by change 
since it is loosely coupled to the core implementation details of your 
api. 2) you can implement stub/dummy/hard code so that when client 
objects hit your API, they get the expected results in which case they 
don't know if they are getting the real deal or not. Once you have this 
in place, it's a matter of getting your internals of the api to actually 
deliver what the stub/dummy/hard code is responding back to client objects.


I think to a certain degree, you need to wear at least two hats. One is 
how is your API going to work internally. The other is how easy will it 
be to access the services your API will provide. I think librarification 
of code is well worth the trouble if it's going to be reused in more 
than one project.


Also the other bit of advice that I think people would agree is to keep 
it as simple as possible. It's very easy to offer an API with a 
ga-billion methods when client objects are only interested in a few if 
not one method call.






Sidney de Koning wrote:

He Glen,

Thanks for your post;
What i want to do is this; take data from an external source (an API 
for some service) and write a wrapper for flash (i found the right 
termonoligy :) )
But there is not that much documentation on writing this. Any good 
resources will help.


Thanks,

Sidney

Glen Pike wrote:

Hi,

   Do you mean you want to write Web Services or the AS3 code to use 
these?


   For the former, you would probably want to look on other lists as 
this will be server side code - for PHP, the only thing I can 
recommend is to look at Pear's libraries for common web services and 
see if you can extend the base classes to roll your own.  There are 
also lots of other libraries out there - CakePHP had some if I 
remember rightly.  Programmable Web http://www.programmableweb.com/ 
has a good list of API's available and may also mention some stuff 
that has been done in Flash already.


   For AS3, I would look at the documentation provided by the 
web-service providers and think about duplicating these functions on 
the client side...


   Have a look at the structure of some of the things I have 
mentioned - take them apart.  You will probably see common 
functionality:


   A set of functions duplicating the server side functions you can 
call, some error handling and some response handling.


   If you are making a solid class, you will probably have to deal 
with asynchronicity - you can't block your client code waiting for 
something to happen on the server side as this is unreliable, 
instead, you will need to think about the EventListener model, etc.


   I remembered a good tutorial on the Devnet site which is really 
useful for thinking about any application that talks to servers 
somewhere:


   http://www.adobe.com/devnet/flex/articles/blueprint.html

   The article provides source code to download, but the main point 
is that it separates the services from the rest of the application 
really nicely - what you want to do.


   Have a look at Flashr too - this was a nice example of something 
that provided a really nice interface to the Flickr web service.


   Glen

Sidney de Koning wrote:

Sounds like a very good tip :)

The thing is i want to start writing my own api's. But i have no 
idea where to begin, what is a good starting point for me?


Cheers, Sid

Mark Lapasa wrote:

(If you already know about this, my apologies in advance)

A useful API is a well documented one. If you haven't already 
looked into it, ASDoc is a code documentation tool that will 
generate your documentation based on how you apply the ASDoc syntax 
in your code.


Glen Pike wrote:

Hi,
 Have not written anything myself, but have played with quite 
a few AS2 ones.


   The SWXFormat project has quite a few API's for some of the 
services you mentioned, but they are still working on porting SWX 
to AS3.


   I guess one thing to suggest would be to get involved with the 
project and help them write the API's for these things.


   Yahoo is pretty up on Flash and has just released a few useful 
things.


   http://developer.yahoo.com/flash/

   The Adobe labs site has some examples links here:
 
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries 



   Hope this helps.

   Glen
 
Sidney de Koning wrote:

Hi List,

Are there people who write their own AS3 apis for web services? 
for instance tw

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Mark Lapasa

(If you already know about this, my apologies in advance)

A useful API is a well documented one. If you haven't already looked 
into it, ASDoc is a code documentation tool that will generate your 
documentation based on how you apply the ASDoc syntax in your code.


Glen Pike wrote:

Hi,
 Have not written anything myself, but have played with quite a 
few AS2 ones.


   The SWXFormat project has quite a few API's for some of the 
services you mentioned, but they are still working on porting SWX to AS3.


   I guess one thing to suggest would be to get involved with the 
project and help them write the API's for these things.


   Yahoo is pretty up on Flash and has just released a few useful things.

   http://developer.yahoo.com/flash/

   The Adobe labs site has some examples links here:
 
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries 



   Hope this helps.

   Glen
 
Sidney de Koning wrote:

Hi List,

Are there people who write their own AS3 apis for web services? for 
instance twitter, the nabaztag rabbit, amazon?
Do you have any good documentation on how and where to start? Special 
steps to take concerning events, things to
keep in the back of your mind when coding. Or is there a Hitchhikers 
guide to writing flash api's?


Any help would be highly appreciated1

Sid


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








Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


Re: [Flashcoders] Question about Arrays

2008-02-05 Thread Mark Lapasa

Wow, thx Erik. Great answer! I buy into that. -mL

EECOLOR wrote:

I believe it's type * so you should cast it.



This has nothing to do with that, hehe. There is a tiny difference beween
ClassToCastTo(value) and (value as ClassToCastTo). In the first case a
compiler error will be thrown. In the second case the cast will be tried. If
it fails the resulting value will be a null value.

  

why is -it- working



The pop method is typed as Object. Object is a dynamic class which means you
can add properties at
runtime. This in turn means that the compiler can not complain about
you calling a property that might not exist as you might be adding it
'dynamically' before you call it,


Greetz Erik


On 1/12/08, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
  

On Jan 11, 2008 11:34 PM, Mark Lapasa <[EMAIL PROTECTED]> wrote:


I too would expect that it would need to be casted.
  

Yes, one would think so.

I can't answer your question, either, but can't help but note that in
haXe you would declare your array as Array. The compiler
wouldn't let you put anything else into it, and likewise, everything
you'd pull out would be of type MyClass. haXe has a great type system
(including implied types and type templates), so if you're the kind of
coder that wonders about issues like that, I recommend you have a llok
at <http://haxe.org>.

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



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




Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


Re: [Flashcoders] Question about Arrays

2008-01-11 Thread Mark Lapasa

Thx eka + steven for your replies.

Forgot to mention my question which is not "why is this -not- working"

Rather "why is -it- working?"

Try creating an AS3 project in Flex called SampleClass.
Cut and paste the whole code.
I too would expect that it would need to be casted.

Thx,

-mL
knowledge.lapasa.net


Steven Sacks wrote:

I believe it's type * so you should cast it.

MyClass(a[0]).myFunction();





Mark Lapasa wrote:

In the following bit of code...
// START code
package {
   import flash.display.Sprite;

   public class SampleClass extends Sprite
   {
   public function SampleClass()
   {
   var a:Array = [new MyClass()];
   a[0].myFunction();
   a.pop().myFunction();
   }
   }
}

class MyClass
{
   public function myFunction():void
   {
   trace("you should see this twice");
   }
}
// END code


Does accessing the array (or poping an element off it) return 
something of type Object? or type MyClass? myFunction() is a part of 
the interface of MyClass so I am guessing when objects are stored in 
arrays, their type is also stored in the array as well.


Thx,

-mL
knowledge.lapasa.net


Notice of confidentiality:
The information contained in this e-mail is intended only for the use 
of the individual or entity named above and may be confidential. 
Should the reader of this message not be the intended recipient, you 
are hereby notified that any unauthorized dissemination, distribution 
or reproduction of this message is strictly prohibited. If you have 
received this message in error, please advise the sender immediately 
and destroy the e-mail.



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



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




Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


[Flashcoders] Question about Arrays

2008-01-11 Thread Mark Lapasa

In the following bit of code...
// START code
package {
   import flash.display.Sprite;

   public class SampleClass extends Sprite
   {
   public function SampleClass()
   {
   var a:Array = [new MyClass()];
   a[0].myFunction();
   a.pop().myFunction();
   }
   }
}

class MyClass
{
   public function myFunction():void
   {
   trace("you should see this twice");
   }
}
// END code


Does accessing the array (or poping an element off it) return something 
of type Object? or type MyClass? myFunction() is a part of the interface 
of MyClass so I am guessing when objects are stored in arrays, their 
type is also stored in the array as well.


Thx,

-mL
knowledge.lapasa.net


Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


Re: [Flashcoders] OOP design books

2007-12-13 Thread Mark Lapasa

Get head first design patterns.

If that doesn't change the way you program, you ought to never use 
patterns at all.


Great book.

Mattheis, Erik (MIN - WSW) wrote:

The information in the Lott/Patterson AS3 w/ Design Patterns is having
trouble sinking into my head. I understand the patterns as they describe
them, but I'm not getting much take-away. I don't put the book down
thinking "gee, I should use the iterator pattern in this app!"

 


Reading reviews, I'm thinking of getting the Sanders/Cumaranatunge AS 3
Design Patterns book as it appears to be much more thorough in
introducing OOP concepts. I've also read reviews that suggest the
HeadStart DesignPatterns for Java is the best design patterns book.
Which makes me wonder why not get the original GoF book. Then again,
maybe I should re-read the front material in the Lott/Patterson book.

 


Suggestions?

 


Erik J Mattheis

Sr. Web Programmer
Weber Shandwick 
Minneapolis, MN


T: (952) 346 6610 | M: (612) 377 2272

 


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




Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.


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


[Flashcoders] [JOB] Parlay is looking for Flash Developers

2007-09-17 Thread Mark Lapasa

[Position Summary]
Flash Developers will be responsible for integrating unique solutions 
within our Flash Gaming Suites. Parlay’s games use Flash front-ends to 
talk with Java servlet back-ends, this position will increase the size 
of our Flash development team. The position strongly emphasizes 
ActionScript programming, from core libraries to interface development. 
The position will be part of a team of 2-5 flash developers and 2-3 
graphic designers of varying experience.


[Key Responsibilities]
- Assist in the creation and maintenance of Parlay’s suite of Flash games
- Integrate solutions within Parlay’s Gaming Suites
- Flash skill requirement is largely ActionScript and interfacing with 
Java and Web components


[Required Skills and Competencies]
- Competency in the use of all Flash IDE’s from Flash MX 2004 onward
- Extensive Flash ActionScript experience with AS1 and AS2 with a 
workable understanding of AS3.
- Familiarity with OO concepts, design patterns and is comfortable with 
implementing them for Flash applications

- Familiarity with HTML
- Must be flexible and able to work with AS1, AS2, and AS3 scripts
- Formal training in programming is a requirement
- 2-3 years related experience
- Strong written and oral communication skills

[Definite Assets]
- Proficiency in Photoshop, Illustrator, Sound and Video Editing Software
- Understanding of Java, XML, HTML, and other web technologies
- Gaming experience
- A College Diploma or University Degree in a technology field

At Parlay Entertainment, we’re putting a new spin on Internet gaming. 
Based in Oakville, Ontario, we pride ourselves in our casual yet 
professional work environment, where both clients and employees are 
highly valued and treated with respect.


Parlay is always searching for bright minds with big talent. Think 
you’ve got what it takes to get in the game? If you’d like to join a 
team that mixes business with pleasure every day, e-mail your resume 
with cover letter to: [EMAIL PROTECTED]


Please visit our website at http://www.parlaygroup.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] JSFL - How to creater a folder layer within a folderlayer

2007-08-17 Thread Mark Lapasa

Thx Danny, that worked great!

Danny Kodicek wrote:
 
  

This is pretty easy making to layers.

fl.getDocumentDOM().getTimeline().addNewLayer("My Outer 
Folder", "folder", false); 
fl.getDocumentDOM().getTimeline().addNewLayer("My Inner 
Folder", "folder", false);


However, I want to next the inner into the outer. For the 
life of me, I can't figure this one out. Any guidance would 
be appreciated.



I think you need to set the parentLayer property of the second layer to the
first one.

Best
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


  



___
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] JSFL - How to creater a folder layer within a folder layer

2007-08-17 Thread Mark Lapasa

This is pretty easy making to layers.

fl.getDocumentDOM().getTimeline().addNewLayer("My Outer Folder", 
"folder", false);
fl.getDocumentDOM().getTimeline().addNewLayer("My Inner Folder", 
"folder", false);


However, I want to next the inner into the outer. For the life of me, I 
can't figure this one out. Any guidance would be appreciated.


Thx,

-mL
http://knowledge.lapasa.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


Re: [Flashcoders] breaking up long actions

2007-07-06 Thread Mark Lapasa
Do you really need to have all the objects running in memory at runtime? 
If it's really really big, you might want to offload those objects to 
the backend and modify your current solution into one that paginates 
only what is needed. Are we talking like 10,000+ objects?







Hans Wichman wrote:

Hi list,

I'm running a process on a tree of objects that require lots of 
objects to

be created.
This takes somewhere around 300ms on my pc, and will usually be run as 
the

swf starts or as all classes have been loaded.

300ms is enough for a stutter let alone when its run on slower pc's so I
want to break down the task in subtasks to have it more processor 
friendly.


I know this has been discussed a few times but cant seem to find any
resources on it.

At the moment I'm thinking of using a stack of nodes to process, and 
using
the stack and an alloted time, to complete the whole process, eg in 
pseudo:


onInterval() {
  if (process.isDone()) {
  clearInterval and send done event
  } else {
  process.continue();
  }
}

The problem is old but I was wondering if anyone has come up with good
solution to this. Usually by the time we find out a process is slow, 
the way

we built it doesnt really allow us to break it up in chunks easily,
especially with recursive structures etc.

regards,
JC
___
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] JOB: Full-time ActionScript Developer Needed For Established E-Gaming Company

2007-06-12 Thread Mark Lapasa

[Position Summary]
The Flash Developer will be responsible for integrating unique solutions 
within our Flash Gaming Suites. The position strongly emphasizes 
ActionScript programming, from core libraries to interface development. 
The position will be part of a team of 2-5 flash developers and 2-3 
graphic designers of varying experience.



[Key Responsibilities]
- Assist in the creation and maintenance of Parlay’s suite of Flash games
- Integrate solutions within Parlay’s Gaming Suites
- Flash skill requirement is largely ActionScript and interfacing with 
Java and Web components



[Required Skills and Competencies]
- Competency in the use of all Flash IDE’s from Flash MX 2004 onward
- Extensive Flash ActionScript experience with AS1 and AS2 with a 
workable understanding of AS3.
- Familiarity with OO concepts, design patterns and is comfortable with 
implementing them for Flash applications

- Familiarity with HTML
- Must be flexible and able to work with AS1, AS2, and AS3 scripts
- Formal training in programming is a requirement
- 2-3 years related experience
- Strong written and oral communication skills


[Definite Assets]
- Proficiency in Photoshop, Illustrator, Sound and Video Editing Software
- Understanding of Java, XML, HTML, and other web technologies
- Gaming experience
- A College Diploma or University Degree in a technology field



So if you are interested or you know someone who might be, please send 
your resume/CSV to careers at parlaygroup dot com. The role is focused 
on client-side application development and not website design. For more 
information about the company, please visit http://www.parlaygroup.com.



P.S. We're also looking for the following:

- Java Developer
- Junior Java Developer (Web Development)
- Project Manager
- QA Analyst - Automated Tester

See the career section for the website for details.




Mark Lapasa
Flash Developer
Parlay Entertainment
Where the World Plays Bingo.
mlapasa [at] parlaygroup [dot] com
www.parlaygroup.com
2305 Wyecroft Road, Second Floor,
Oakville, ON, Canada L6L 6R2


___
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] Full-time Pure ActionScript Position Available (No Websites)

2007-05-08 Thread Mark Lapasa

[Position Summary]
The Flash Developer will be responsible for integrating unique solutions 
within our Flash Gaming Suites. The position strongly emphasizes 
ActionScript programming, from core libraries to interface development. 
The position will be part of a team of 2-5 flash developers and 2-3 
graphic designers of varying experience.



[Key Responsibilities]
- Assist in the creation and maintenance of Parlay’s suite of Flash games
- Integrate solutions within Parlay’s Gaming Suites
- Flash skill requirement is largely ActionScript and interfacing with 
Java and Web components



[Required Skills and Competencies]
- Competency in the use of all Flash IDE’s from Flash MX 2004 onward
- Extensive Flash ActionScript experience with AS1 and AS2 with a 
workable understanding of AS3.
- Familiarity with OO concepts, design patterns and is comfortable with 
implementing them for Flash applications

- Familiarity with HTML
- Must be flexible and able to work with AS1, AS2, and AS3 scripts
- Formal training in programming is a requirement
- 2-3 years related experience
- Strong written and oral communication skills


[Definite Assets]
- Proficiency in Photoshop, Illustrator, Sound and Video Editing Software
- Understanding of Java, XML, HTML, and other web technologies
- Gaming experience
- A College Diploma or University Degree in a technology field



So if you are interested or you know someone who might be, please send 
me your resume/CSV at mlapasa [at] parlaygroup [dot] com. The role is 
focused on client-side application development and not website design. 
For more information about the company, please visit 
http://www.parlaygroup.com.





Mark Lapasa
Flash Developer
Parlay Entertainment
Where the World Plays Bingo.
mlapasa [at] parlaygroup [dot] com
www.parlaygroup.com
2305 Wyecroft Road, Second Floor,
Oakville, ON, Canada L6L 6R2

___
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] User Centred Design

2007-03-23 Thread Mark Lapasa
I personally found Task-Centered User Interface Design to be a valuable 
and good short read. The book is ancient but there is a reason why it is 
still used in graduate level courses today.


http://www.hcibib.org/tcuid/

Good luck,

-mL
http://knowledge.lapasa.net


Nick Weekes wrote:

One of my favourite books on this subject, "About Face 2:  Essentials of
Interaction Design":

http://www.amazon.co.uk/About-Face-2-0-Essentials-Interaction/dp/0764526413/
ref=sr_1_7/202-5343986-8502251?ie=UTF8&s=books&qid=1174494929&sr=8-7


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Huynen
Sent: 21 March 2007 15:39
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] User Centred Design

I checked it out and it's great!

I found this one myself: Also pretty good:

http://www.experientia.com/blog

Regards,

Tom

On 3/21/07, tzoli <[EMAIL PROTECTED]> wrote:
  
Here, you can find lot of articles on usability and design - 
http://www.alistapart.com/




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

Sent: Wednesday, March 21, 2007 10:50 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] User Centred Design

Hello friends,

For my graduation on multmedia design over here in The Netherlands I'm 
doing research on User Centred Design.
I've been coding in actionscript for a few years now and the purpose 
of the research is to be able to create beautifull interfaces with 
high usability standards.


So far I believe that user centred design comes from several 
disciplines

like:

Cognitive Psychology, Anthropology, Human-Computer Interaction, Visual 
and Graphic Arts, Communication, User-Interface Theory, Linguistics, 
Human-Factors, Information Design, Instructional Design, Color Theory, 
Typography, and more.


It's a bit off topic but I know that you guys are the right persons to 
ask for advise.
And so I would like to ask if anybody has any suggestions for me. 
Maybe on books or articles or just in general.


Thanks in advanced

Love you all!
___
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


  



___
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] bluetooth

2007-01-17 Thread Mark Lapasa

Hello,

There isn't any component that would allow BT communication between the 
Flash Player and a Bluetooth stack that I know of. If I were trying to 
take a stab at it, I would try develop a Java application that would 
make use of the JSR-82 API (Bluetooth for Java). Then in that 
application, you would have to serialize the information from a 
bluetooth device into a format that Flash could handle.


Best of luck!

-mL
http://knowledge.lapasa.net

Karlo Marcelo A. Estrada wrote:

Hello everyone!! Is there a bluetooth component in flash? Is flash
capable of communication with a Bluetooth or an infrared. In case, if
you want to transfer a file from PC to a mobile via Bluetooth or
infrared. 
 
Any thoughts? Pls help. Thank u so much!!
 
karlo

___
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] ActionScript switch/default syntax and interpretation

2006-12-22 Thread Mark Lapasa

Good question. Great thread. -mL

T. Michael Keesey wrote:

On 12/21/06, Wagner Amaral <[EMAIL PROTECTED]> wrote:

The last break on default is considered by some to be a coding
standard, by which you explicitly say you wanted to leave the default
block empty, and not just simply forgot.
Also, if unadvised people add code at the end of the switch without
realizing the missing break, your default will fall-through.


Good point. Well, in any event, it doesn't hurt, I suppose.




___
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] Model - Visual - Controler Design Software

2006-11-13 Thread Mark Lapasa
You can try creating your models in Enterprise Architect and then get 
the plug-in that will allow you to export your static class models into 
skeleton AS2 class files. From there, you would have to flesh it out.


-mL

Jorge Antonio Diaz Gutierrez wrote:

I mean something similar to Visual Paradigm/Rational Rose's Design Diagram. 
It's what I'm looking form. If it Outputs AS2 Code Better!!!



From: [EMAIL PROTECTED] on behalf of Ron Wheeler
Sent: Mon 13/11/2006 15:38
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Model - Visual - Controler Design Software



There are frameworks and there are modelling tools. Which are you
looking for?

If you search the archives you will finds lots of discussions. Try
Google as well.
You can also look of the osflash.org site.


Jorge Antonio Diaz Gutierrez wrote:
  

Hi everyone. I-m looking for some CASE software that allows me to Develop MVC 
Flash WEB Apps.
Thanks for any help
 



___
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] OO way to start RIA app

2006-11-12 Thread Mark Lapasa
This is advice is not exclusive to the realm of ActionScript but to OO 
in general. Unless carefully orchestrated, making method calls from 
within the constructor can result in unexpected results. It becomes more 
apparent when derived classes are instantiated and there is confusion 
between expecting a derived class to be initialized but the base class 
has not been fully initialized.


The other thing to note is that ActionScript does not have 
deconstructors (with the exception of MovieClip.onUnload which I find 
great). So when finishing an application, your objects must also know 
how to 'finish' themselves and those objects that it created. If you put 
great care into making a constructor method in each of your classes, you 
should put some thought in a dispose() method which will be responsible 
for cleaning up what it started (for example, remove the movieclips it 
created dynamically).



-mL
http://knowledge.lapasa.net

[EMAIL PROTECTED] wrote:

Hello,

Recently had to re-jig the start-up sequence to an AS2 flash app - caused
lots of unexpected side-effects

Struck me that there must be an agreed OO way to start/finish an
application.


Does anyone have some useful advice on best practice for app start-up from
an AS2 perpective?


regards

___
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:Coding : from Procedural to Class based code?

2006-11-01 Thread Mark Lapasa
The primary motivation for 'converting to class based code' should be to
establish a seperation of concerns. If your one routine does many things or
better said 'has many responsibilities', then you need to identify those
areas that do very distinct things and decouple them from the routine.

Over time as you break it up, not only will get closer to establishing
low-coupling, you will soon have each of your objects/classes be very
efficient in their respective responsibilities (this is called
'high-cohesion').

A well designed object oriented design will always be slower than tightly
coupled, low-cohesive procecdural design. However the trade off is an OO
design will promote change, code-reuse, easier to maintain because of
organization rather inhibit it.

One guideline to follow (and these are all guidelines) which would answer
your getter/setter question is to strive to have your objects designed in
such a manner that it is responsibile for changing it's own state. The
opposite of this would be to have other objects managing the state of the
object in some cases it is unavoidable. The reason why objects should be
responsibile for changing their own state is to prevent high coupling
between objects. The higher the coupling an object has, the more complexity
there is to it, the more spagahetti code it may become in the future.

Best of luck


-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 3:10 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q:Coding : from Procedural to Class based code?


Hi
I have a project that I'd like to convert to class based code but would
appreciate some advice on the best approach.

Basically I have a routine which attaches a number of library items to the
stage and, on either a rollover or press event, tweens these items(images)
out in a radial fashion.
They optionally return to their initial (overlapping) state.


Pretty simple stuff.
All of the tweening properties (number nodes, circle radius, duration out,
duration in, ease type, etc)  are predefined and passed in as a single
object.


My question is:
What is the best way to convert this into a Class?


Should I simply have a 'create' method in my class that takes the place of
my original method?
When attaching large numbers of library items, isn't there a 'speed hit'?
Should the tweening objects(basically containers for tween properties) have
their own class as well?


What's should the getters/setters return/set?


Any feedback greatly appreciated!

Jim Bachalo



[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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] Compiling with AS2.0 classes/packages online ...

2006-10-31 Thread Mark Lapasa
To follow up http://osflash.org/using_a_swf_as_a_dll


-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian
Thomas
Sent: Tuesday, October 31, 2006 5:55 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Compiling with AS2.0 classes/packages online
...


Yes, at runtime, but not at compile-time and not in the way that
you've specified.

The closest to what you're describing, I think, is the concept of a
runtime shared library - a bunch of code that you only load when the
app is actually running (and you can potentially choose at runtime
which code to load). The equivalent to a Windows DLL.

Essentially you'd compile all the 'loaded at runtime' classes into a
seperate .swf file. This becomes your runtime shared library.

The host .swf - the file that makes use of these classes - has to be
compiled in such a way that it doesn't actually include the classes,
but still compiles correctly. There are a couple of ways to achieve
this - first is to use intrinsics (Google the 'intrinsic' keyword or
look it up on the Adobe site), the second (and my preferred way) is to
use interfaces (Look up the 'interface' keyword).

I don't immediately have time to write a more in-depth explanation,
but I hope that points you in the right direction...

Ian

On 10/31/06, Stephen Ford <[EMAIL PROTECTED]> wrote:
> Is it possible to use actionscript classes that exist only online ?
>
> i.e: instead of:
>
> import com.website.utils.*;
>
> something like:
>
> import http://www.website.com/packages/com.website.utils*;
___
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] There is no method with the name 'super'

2006-10-26 Thread Mark Lapasa
Your code looks good to me. Mighty weird but it just might be the case
intrinsic classes like Rectangle cannot be extended.

http://www.kirupa.com/developer/oop2/AS2OOPClassStructure8.htm


-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim
Kremens
Sent: Thursday, October 26, 2006 12:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] There is no method with the name 'super'


Seems weird, as your code looks ok.  If it's any comfort, 'super()' is
called automatically, whether you explicitly call it or not... If you want
to override methods of Rectangle, just override them in your new class.

Jim Kremens


On 10/26/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
>
> Hi,
> there is no constructor Rectangle() in Rectangle.as, only function
> Rectangle( x : Number, y : Number, w : Number, h : Number );
>
> so you cannot call it. You could call super(0,0,0,0);
>
> greetz
> JC
>
>
> On 10/26/06, Quinten [ :: MediaMonks :: ] <[EMAIL PROTECTED]> wrote:
> >
> > I have 2 classes: 'Tester' wich extends a linked movie on the stage. And
> > RectangleExtender wich is called in Tester
> >
> > class Tester extends MovieClip
> > {
> >public function Tester()
> >{
> >var objRectangleExtender:RectangleExtender = new
> > RectangleExtender();
> >}
> > }
> >
> > and:
> >
> > import flash.geom.Rectangle;
> >
> > class RectangleExtender extends Rectangle
> > {
> >public function RectangleExtender()
> >{
> >super();
> >}
> > }
> >
> > Everything works fine until i put actionscript on a frame. (just a
> > simple stop(); on the first frame)
> >
> > then i get this error:
> >
> > **Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There
> > is no method with the name 'super'.
> > super();
> >
> > Total ActionScript Errors: 1  Reported Errors: 1
> >
> >
> > I really have no idea why flash suddenly throws this error. does anyone
> > has experience with this kind of error?
> >
> > I put the source files here:
> > http://stuff.mediamonks.net/quinten/SuperError.rar
> >
> > just remove the stop() command in the 'mcLinker' movieclip and you will
> > see that it works fine.
> >
> > --
> > regards,
> >
> > Quinten
> >
> > ==\\
> > Quinten Beek ; Game Monk
> > MediaMonks BV ; Interactive Art
> > Schapenkamp 2 | 1211 PA, Hilversum
> > The Netherlands | Europe
> > email : [EMAIL PROTECTED]
> > internet address : http://www.mediamonks.com
> > ||
> > * Member of the Creative Brotherhood.
> > ||
> > * Please quote all replies in correspondence.
> > ||
> >
> > ___
> > 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
>



--
Jim Kremens
___
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] Flash environment variables?

2006-10-26 Thread Mark Lapasa
A different (and long-term) approach to your problem would be not to use the
variable class path approach. Force your team to use a relative pathing
instead of the variable. Then instead of having your 'classes' or other
dependencies that your team relies on a shared drive on the network, use a
source control system like Visual SourceSafe or Subversion/TortoiseSVN.

It is a time-consuming task to get this setup but I think many here would
testify that having a source control software managing shared project
resources is an investment that will return many times.

-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 3:22 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash environment variables?


Hi there,

Just wondering if there is a way to create a new variable to use within the
IDE?
I'm not sure if that is clear enough so I'll explain what I'd like to do...

When setting the ClassPath in Flash 8 I see the default one is:
'$(LocalData)/Classes'

What I'd like to do is create something like '$(ProjectFolder)/Classes' so
every
member of the team can point to one location (most likely on a network).

Is this possible?

Thanks

*.*  Sherri

___
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] Space Clips in Circle

2006-10-25 Thread Mark Lapasa
I just spun this up right now, it's untested. (Robert Penner's book is
great).

-mL
http://knowledge.lapasa.net


/*
 * @param   nodes   The number of objects sitting on the circle
 * @param   radius  The radius of the circle
 * @return  an array of (x,y) objects
 */
function getCirclePositions(nodes:Number, radius:Number)
{
var thetaIncrement:Number = Math.round(360/nodes);
var currentTheta:Number = thetaIncrement;

var positionsArray:Array = new Array();

while (currentTheta <= 360)
{
var tmpX:Number = radius * Math.round(Math.cos(currentTheta *
Math.PI/180));
var tmpY:Number = radius * Math.round(Math.sin(currentTheta *
Math.PI/180));

positionsArray.push({x:tmpX, y:tmpY});
currentTheta += thetaIncrement;
}
return positionsArray;
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin
Aebig
Sent: Wednesday, October 25, 2006 6:10 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Space Clips in Circle


Hey all,



My goal is to space 12 clips in a circle evenly based on a radius. I'm
officially stumped after messing around with it for 3 days with no success.



Any help or insight appreciated.



Cheers,



!k

___
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] Some whining about AS2 interfaces

2006-10-23 Thread Mark Lapasa
Re: "only for polymorphism"

Interfaces are great for this because if you have a concrete class that
implements an interface, that instance gains another (abstract) type in
addition to it's concrete type. This allows you to upcast an instance to the
abstract type and allows client code (the code of other programmer's other
than yourself) to treat it in a very loosely un-coupled way. If the client
code communicates via the public methods of an interface, this will avoid
any kind of hard-wiring into the implementation of the concrete class.

The power in all of this is 'reducing the impact of change'. If you have a
publically facing interface and an implementation that is okay today but
tommorow it is not, all you have to do is substitute the implementation. The
new implementation will behave in the manner defined as the interface. In
the eyes of client code, they don't really care what it looks like so long
as it satisfies expectations (i.e. the interface).


...sounds great in theory! Even more fulfiling in practice.


As for singletons, I don't know much of a way either except to put that type
of implementation heavy stuff commented into the interface.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andreas R
Sent: Monday, October 23, 2006 4:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Some whining about AS2 interfaces


So i'm trying to build a framework around interfaces. To create an
application within this framework, ideally all you'd have to do is
implement the interfaces and satisfy their conditions.

However:

No static methods in interfaces means no static methods means no
singletons. Bummer.
No way to specify private constructors (also for singletons). Bummer.

How would you smart people work around this? Documentation?

It seems like a major disadvantage to interfaces, but i may just be
missing the point entirely. Some tell me interfaces are "only for
polymorphism", and while that's nice and all it doesn't make sense to me.

- Andreas R
___
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] ... client server flash dev

2006-10-06 Thread Mark Lapasa
Wow, could you give me the URL of the site so I can make a flash client that
will drop all their tables in the database?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sven Dens
Sent: Friday, October 06, 2006 6:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ... client server flash dev


Guy,

Probably they're not actually sending the SQL from within the .swf, but are
making a call in Flash through AMFPHP.
It's in the PHP service on the server that the actual SQL-request happens.
AMFPHP then returns a binary VO to Flash for you to use.

Check out http://www.amfphp.org/ if you want to read more on this subject,
and visit http://www.5etdemi.com/blog/, the weblog from AMFPHP's creator
Patrick Mineault.

Kind regards,
Sven


On 10/6/06, Seb L <[EMAIL PROTECTED]> wrote:
>
> It's not something that I personally would do, but then I generally
> avoid programming the back-end systems at all these days... :-)
>
> But yeah, SQL in the Flash seems wrong!
>
> Seb
>
> On 06/10/06, Guy Parton <[EMAIL PROTECTED]> wrote:
> > hi everyone,
> >
> > last night i received an email reviewing a very well designed site
> > (visually) ... and then i came to the following line in the article :
> >
> > "SQL statements are sent directly from in flash via PHP to access
> > records from the database..."
> >
> > now i have not developed a flash application in ages, but i have been
> part
> > of a web development team for sometime now - and one thing i have learnt
> > over the years is that your sql NEVER sits on your client - ie in the
> SWF -
> > or have i missed something.
> >
> > any other thoughts, agreements, disagreements about this application
> design
> > approach in flash - i would be interested in.
> >
> > tia
> >
> > :)
> >
> >
> >
> > ___
> > 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] Implicit Setters: Is validation considered a good orbad OOP practice ?

2006-09-25 Thread Mark Lapasa
The OO motivation behind using setter (and getters) is that it enforces the
notion that nobody should be able to manipulate the state of the object
except the object itself. If you follow this design principal as well as a
handful of others, you will keep your code low-coupled, less likely to be
spaghetti-like.

Today, your code compiles and looks great. However tommorow in the distant
future, under circumstances where you would work in teams or your code gets
in the hands of someone else, you cannot be certain they have the same
mentality as you did when you coded it out.

"Is it a good or bad practice to validate the value passed to the implicit
setter method" ? Sure, why not. However setter methods, if I can remember,
don't allow for a return so if it's a bad input, it cannot tell the object
that is modifying the setter property that something went wrong.

The 3 options you are presenting is a matter of unit testing. Can you
anticipate that other programmers can break your code under certain
circumstances by inputing certain kinds of parameters? If you have a set of
test cases that will fulfil your requirements, then you will have to
bulletproof your code to meet the degree of detail required to pass those
tests.

It's very easy to imagine how many ways something goes wrong but the real
enemy for most programmers is time. Do you have the time to write validation
code for every setter in every class? It's really your discretion.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David
Bellerive
Sent: Monday, September 25, 2006 10:19 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Implicit Setters: Is validation considered a good
orbad OOP practice ?


I've been reading and learning about OO design &
analysis for the past few months and I've just
recently started applying what I've learned in my
Flash projects ?

Learning a new language (like AS3) is no biggie but
learning how to code differently (from procedural to
OOP) is the real challenge for me !

So here's my first OOP question :

When using implicit setter methods (using the set
modifier), is it considered a good or bad practice to
validate the value passed to the implicit setter
method ?

For exemple, let's say I'm building a Flash Video
Player component and I decide that, amongst others, it
must have a volume component parameter which is a
Number.

In the implicit setter method for the volume, should I
validate the value that is passed to this method and
make sure it isn't null or undefined, it isn't NaN and
that it isn't lower than 0 or higher than 100 ?

Which of the following options is best :

1) Do not validate the value and let the user of my
component set the volume to undesired values like
null, undefined, NaN, -20, 973, etc. Here, the
assignment will work as expected whatever the value is
(unless it's of another datatype) but the component
might fail at runtime since a volume obviously can
never be NaN or null for exemple.

2) Validate the value and, if it is null, undefined or
NaN, do nothing. If it is lower than 0, set it to 0.
If it is higher than 100, set it to 100 ? Here, the
assignment might not work as expected if the valus is
undesired (like null or NaN for exemple) so this will
prevent the component from failing at runtime but the
user won't know that his assignment wasn't succesfull.

3) Validate the value and it it's an undesired value,
throw an error ? Here, the component prevents the user
from assigning and undesired value like NaN or
undefined and the user is alerted of the failure at
runtime provided that he used a try catch statement.

What do you guys think ?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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] Object.registerClass

2006-09-21 Thread Mark Lapasa
My bad. Thx! -mL

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
slangeberg
Sent: Wednesday, September 20, 2006 6:24 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Object.registerClass


Mark said:

> pass the movieclip into the constructor
of the movieclip

Did you mean to say:

pass the movieclip into the constructor of the class?

Scott

On 9/20/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
>
> What I normally do in this case is pass the movieclip into the constructor
> of the movieclip a.k.a. Decorator Design Pattern
>
> http://en.wikipedia.org/wiki/Decorator_pattern
>
> So rather than other objects dealing with the movieclip directly, they
> deal
> with the interface of the class you decorate the movieclip with.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Patrick
> Matte
> Sent: Wednesday, September 20, 2006 4:43 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Object.registerClass
>
>
> Flash help says that registerClass works with the attachMovie method but I
> was wondering if there was any way to register a class to a MovieClip
> created with the createEmptyMovieClip method.
>
>
> ___
> 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
>



--

: : ) Scott
___
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] Object.registerClass

2006-09-20 Thread Mark Lapasa
What I normally do in this case is pass the movieclip into the constructor
of the movieclip a.k.a. Decorator Design Pattern

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

So rather than other objects dealing with the movieclip directly, they deal
with the interface of the class you decorate the movieclip with.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Patrick
Matte
Sent: Wednesday, September 20, 2006 4:43 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Object.registerClass


Flash help says that registerClass works with the attachMovie method but I
was wondering if there was any way to register a class to a MovieClip
created with the createEmptyMovieClip method.


___
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] Find item in array

2006-09-19 Thread Mark Lapasa
...even more relevant, an AS1 implementation of BinarySearch.

http://proto.layer51.com/d.aspx?f=1333


-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Lapasa
Sent: Tuesday, September 19, 2006 4:44 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Find item in array


Wow, good thread.

Here's my 2 cents. Perhaps one other thing to factor is if the array is
sorted:

"If the array is not sorted the best you can do is iterate through all of
the items in the array, checking each element, until you either find the
matching string or reach the end of the array. This approach is said to run
in linear time since the amount of time required for the algorithm to run is
linearly proportional to the length of the array. That is, if the array
contains 1,000 elements, you will have to check at most 1,000 elements
(assuming the element is in the last position of the array, or is not found
at all in the array); if the array contains 1,000,000 elements, you will
have to check at most 1,000,000 elements. Hence, there is a linear
proportionality between the amount of work that needs to be done to search
the array and the size of the array (namely, a proportion of 1).

However, if your array is sorted there is a much faster algorithm you can
employ to determine whether or not a particular element exists within the
array, known as the binary search algorithm. In this article we will examine
how this algorithm works, its running time, and how to use the
Array.BinarySearch method, which searches a sorted array using the binary
search algorithm."



Src: http://aspnet.4guysfromrolla.com/articles/110602-1.aspx
Src: http://code.dreamincode.net/snippet515.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tyler
Wright
Sent: Tuesday, September 19, 2006 4:36 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Find item in array


:)

So, for the sake of another one of those big arguments over what's better
where no one ever test, I wrote some code to find out exact results:

The following code executes one particular test on my Windows XP machine.
For results I got an averate of 347 miliseconds executeing the --i -(-1) and
343 ms with the for..in loop. I was surprised at how close they were. Now
that being the difference over 10,000 iterations, I can't really say for..in
is much faster, if at all. Perhaps the results are different on someone
else's machine, or perhaps different results from a different type of array.
Now iterating through the entire array the for..in did seem to be faster,
but for the test I chose a value directly in the middle so each method had
the same amount of value's to cover. anyway, I conclude nothing. ;)

except that we should always test our results.

Tyler

var myArray:Array = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
"l", "m", "n", "o", "p"];

var time:Number = getTimer();
var loop:Number = ;
while (loop--)
{
/*/
var j:Number = myArray.length
while (--j -(-1)) {
if(myArray[j] == "h"){
break;
}
}
/*/
for (var j in myArray)
{
if (myArray[j] == "h")
break;
}
//*/
}
trace(getTimer() - time);

// 347
// 343

On 9/19/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> >>>>using a for..i..in loop will always be faster. Even more then --a
> -(-1)
>
> I'm ducking and running for cover.
>
> Jason Merrill
> Bank of America
> Learning & Organization Effectiveness - Technology Solutions
>
>
>
>
>
> ___
> 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] Find item in array

2006-09-19 Thread Mark Lapasa
Wow, good thread.

Here's my 2 cents. Perhaps one other thing to factor is if the array is
sorted:

"If the array is not sorted the best you can do is iterate through all of
the items in the array, checking each element, until you either find the
matching string or reach the end of the array. This approach is said to run
in linear time since the amount of time required for the algorithm to run is
linearly proportional to the length of the array. That is, if the array
contains 1,000 elements, you will have to check at most 1,000 elements
(assuming the element is in the last position of the array, or is not found
at all in the array); if the array contains 1,000,000 elements, you will
have to check at most 1,000,000 elements. Hence, there is a linear
proportionality between the amount of work that needs to be done to search
the array and the size of the array (namely, a proportion of 1).

However, if your array is sorted there is a much faster algorithm you can
employ to determine whether or not a particular element exists within the
array, known as the binary search algorithm. In this article we will examine
how this algorithm works, its running time, and how to use the
Array.BinarySearch method, which searches a sorted array using the binary
search algorithm."



Src: http://aspnet.4guysfromrolla.com/articles/110602-1.aspx
Src: http://code.dreamincode.net/snippet515.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tyler
Wright
Sent: Tuesday, September 19, 2006 4:36 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Find item in array


:)

So, for the sake of another one of those big arguments over what's better
where no one ever test, I wrote some code to find out exact results:

The following code executes one particular test on my Windows XP machine.
For results I got an averate of 347 miliseconds executeing the --i -(-1) and
343 ms with the for..in loop. I was surprised at how close they were. Now
that being the difference over 10,000 iterations, I can't really say for..in
is much faster, if at all. Perhaps the results are different on someone
else's machine, or perhaps different results from a different type of array.
Now iterating through the entire array the for..in did seem to be faster,
but for the test I chose a value directly in the middle so each method had
the same amount of value's to cover. anyway, I conclude nothing. ;)

except that we should always test our results.

Tyler

var myArray:Array = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
"l", "m", "n", "o", "p"];

var time:Number = getTimer();
var loop:Number = ;
while (loop--)
{
/*/
var j:Number = myArray.length
while (--j -(-1)) {
if(myArray[j] == "h"){
break;
}
}
/*/
for (var j in myArray)
{
if (myArray[j] == "h")
break;
}
//*/
}
trace(getTimer() - time);

// 347
// 343

On 9/19/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> using a for..i..in loop will always be faster. Even more then --a
> -(-1)
>
> I'm ducking and running for cover.
>
> Jason Merrill
> Bank of America
> Learning & Organization Effectiveness - Technology Solutions
>
>
>
>
>
> ___
> 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] My First oop AS 2.0 project, any tips or comments?

2006-09-18 Thread Mark Lapasa
It's good, it's not at bad. You got something going there. You got pretty
much the syntax and structure. Moock's book is a great introduction to get
started with OO in Flash. One suggestion to make is that your setX() and
setY() methods are suitable candidate for using setter/getter methods.




-mL
knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dave
Geurts
Sent: Saturday, September 16, 2006 4:49 PM
To: Flashcoders mailing list
Subject: [Flashcoders] My First oop AS 2.0 project, any tips or
comments?




  Ok Im taking the plunge, I just got Colin Mooks Book Essential
ActionScript 2.0  Started reading it last night as my first exposure to OOP.
I have coded something very simple that display 3 buttons in a menu for a
game. If anybody has time to look over my organization and code that would
be Awesome. I would like to correct bad habits before they are formed!!!

  THANK you to anyone that has time to check this out!!!


   source code: http://www.davegeurts.com/MiniGame.zip


  -Dave Geurts


___
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] Calling Actionscript from PHP

2006-09-18 Thread Mark Lapasa
You can have your Flash Client connect to a PHP Socket. When events happen
on the server-side, notify the socket which the Flash client will listen for
new data from the backend. The ActionScript XMLSocket handler will need to
fire the client-side method. Whoever is doing the ActionScript side of
things need not handle just XML, it can also handle URL-encoded strings.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Lechner
Sent: Monday, September 18, 2006 3:39 PM
To: Flashcoders
Subject: [Flashcoders] Calling Actionscript from PHP


Hello,

I'm a PHP/Perl developer who's not terribly familiar with Flash or
Actionscript.  A Flash developer friend of mine suggested I try asking a
question here.

I find myself in a position where I need to call an Actionscript function
from PHP.  This PHP page is not viewed by the user, it's just called via
AJAX from another page.  The server is running FreeBSD with PHP 4.  Is there
any way to accomplish this?

I would rather avoid having this function called on the client-side due to
security concerns.

If the above is impossible or financially prohibitive (via FMS), is there a
good Actionscript to PHP converter anyone can recommend?

Thank you very much for your time,
Andrew
___
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] integrating flash with java

2006-09-11 Thread Mark Lapasa
Javaflash is an LGPL Java Projector or Player for Flash. It is a glue
between Flash and Java. At the frontend, the programmer can embed Flash as a
widget into the Java GUI in a platform-independent manner. And at the
backend, Javaflash provides a service framework for communication between
Flash and Java and for easy development of new Javaflash applications.
Javaflash is a subproject of Wonder which aims to develop a cross-platform
flash-based desktop system.


http://www.osflash.org/pipermail/osflash_osflash.org/2005-December/005591.ht
ml



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
slangeberg
Sent: Monday, September 11, 2006 2:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] integrating flash with java


No, Java is not in the picture at all.

Is Java a requirement for your project?

Scott

On 9/11/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
>
> Screenweaver and Zinc can facilate transfer of objects between Java and
> Flash?
>
> That's impressive. However, I can't find it on either site how this is
> possible.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Arul
> Prasad M L
> Sent: Monday, September 11, 2006 3:28 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] integrating flash with java
>
>
> Check out the following:
> http://screenweaver.org/
> http://www.multidmedia.com/software/zinc/
>
> ~Arul Prasad.
>
>
> On 9/10/06, ozzy osbourne <[EMAIL PROTECTED]> wrote:
> >
> > hi everyone ,
> >
> > i  have a flash work which i want to work as a stand alone application
> ie
> > i want it to work like a light weight appln which will create files
> > the only problem is that i cannot save the work done in that appln as we
> > do in paint or text editors
> >
> > is there a way to integrate flash with java, or dotnet to save the work
> > done in the flash appln
> >
> > -
> > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> > countries) for 2¢/min or less.
> > ___
> > 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
>



--

: : ) Scott
___
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] integrating flash with java

2006-09-11 Thread Mark Lapasa
Screenweaver and Zinc can facilate transfer of objects between Java and
Flash?

That's impressive. However, I can't find it on either site how this is
possible.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Arul
Prasad M L
Sent: Monday, September 11, 2006 3:28 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] integrating flash with java


Check out the following:
http://screenweaver.org/
http://www.multidmedia.com/software/zinc/

~Arul Prasad.


On 9/10/06, ozzy osbourne <[EMAIL PROTECTED]> wrote:
>
> hi everyone ,
>
> i  have a flash work which i want to work as a stand alone application ie
> i want it to work like a light weight appln which will create files
> the only problem is that i cannot save the work done in that appln as we
> do in paint or text editors
>
> is there a way to integrate flash with java, or dotnet to save the work
> done in the flash appln
>
> -
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2¢/min or less.
> ___
> 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] mvc dillema

2006-08-29 Thread Mark Lapasa
Just to add to what has already been said here:

The only thing that is genuinely useless are those behaviors/requirements
that don't have a home. Adding a playlist feature is something that doesn't
belong in the controller because it doesn't help model-view relations. Nor
does it belong in the view as it doesn't any value there except maybe for
visualizing the list itself.

So what makes sense is to add your playlist functionality to the model as it
makes sense the model application object(s) should be held responsible for
that feature.

As it has been said, there are no hard and fast rules for these types of
decisions but there are certainly guidelines. Have a look into
Responsibility Driven Design for a nice heuristic for making these types of
decisions. It's not a moral dilema as in a case of ought or ought not to.
It's a matter of rationalizing who is responsible.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Britton
Sent: Tuesday, August 29, 2006 4:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] mvc dillema


You could use EventDispatcher in the Model, View and Controller, and
send the XML data to your Model through your Controller.  When the
Model changes, make it dispatch an event that updates the view, etc.

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@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] Question on Low-Coupled Application Design

2006-08-24 Thread Mark Lapasa
I am no expert in object or application design so I would like to ask for
some advice on a particular idea that I am throwing out there.
Orthogonality, as I have learned, is that between any n-number of objects,
if a change happens in one, it will not adversely affect the others. In
other words, low-coupling.

Can using Event-Dispatching/Event-Listeners be used wherever an interface
could be used to achieve this goal?
If so, can it be possible to create entire applications that are so
modularized that abstract typing with interfaces would be useless?

In other words, make a Flash application where the objects that make up the
system do not impose methods that an interface would traditionally enforce.
The advantage of going purely event-driven would mean developers would deal
less with implementing interface specifications and do event handling
instead.

An example of event driven system is the Yahoo! Maps API which expects
developers to create event handlers.

The following un-tested code snippets are attempts to illustrate the degree
of orthogonality I am talking about.




APPROACH I: No Interfaces

//MyInvokedClass.as
class MyInvokedClass
{
public function sayIt():Void
{
trace("Hello World");
}
}



// MyInvokingClass.as
import MyInvokedClass;
class MyInvokingClass
{
public var concrete:MyInvokedClass;

// Constructor
public function MyInvokingClass()
{
concrete = new MyInvokedClass();
}
public function sayIt():Void
{
concrete.sayIt();
}
}


// _root timeline
var tmp:MyInvokingClass =  new MyInvokingClass();
tmp.sayIt(); // Output: "Hello World"




COMMENTS
- Good that it works today; potentially problems in the future for
modication/change.
- MyInvokingClass is dealing with a concerete instance.
- Classes are mildly coupled because it will involve some plumbing in
extending.





APPROACH II: Using Interfaces


//Invokable.as
interface Invokable
{
public function sayIt():Void;
}



//MyInvokedClass.as
import Invokable;
class MyInvokedClass implements Invokable
{
public function sayIt():Void
{
trace("Hello World");
}
}



// MyInvokingClass.as
import Invokable;
import MyInvokedClass;
class MyInvokingClass
{
public var concrete:Invokable;

// Constructor
public function MyInvokingClass()
{
concrete = new MyInvokingClass();
}
public function sayIt():Void
{
concrete.sayIt();
}
}



// _root timeline
var tmp:MyInvokingClass =  new MyInvokingClass();
tmp.sayIt();// Output: "Hello World"


COMMENTS:
- Lower coupling than before, this code is in better position for change in
the future
- MyInvokingClass is dealing with an abstraction rather than a concerete
instance.
- MyInvokingClass can freely use any object to do a sayIt() as long as that
object implements the Invokable interface.





APPROACH III: Using Flash Event Model and No Interfaces


// MyInvokingClass.as
import mx.events.EventDispatcher;
class MyInvokingClass
{
function addEventListener(){};
function removeEventListener(){};
function dispatchEvent(){};
public function MyInvokingClass()
{
EventDispatcher.initialize(this);
}
public function sayIt()
{
dispatchEvent({type:"onSayIt"});
}
}



// MyInvokedClass.as
class MyInvokedClass
{
function onSayIt():Void
{
trace("Hello World");
}
}



// _root timeline
var tmp:MyInvokingClass =  new MyInvokingClass();
var tmp2:MyInvokedClass = new MyInvokedClass();
tmp.addEventListener("onSayIt", tmp2);
tmp.sayIt(); // Output: "Hello World"



COMMENTS:
- Is this the ultimate in decoupling? No dependencies between either classes
because an interface does not dictate what methods should be enforced.
- Considerably more lines of code but it serves a particular purpose.
- Very open ended. Developers need to know what the name of the event and
the content of the event payload.
- MyInvokingClass washes it hands clean of any external implementation. If a
change is made to an external implementation, like MyInvokedClass, it will
have no adverse effects on MyInvokingClass.



I hope this question is not too convoluted. The general point here is how to
maintain/achieve low-coupling and isolate the impact of change. If I am
mucking up the usage of interfaces and events, make me straight. I am under
the impression we have both to achieve decoupling.

On a side note, I think AS3.0 is going the pure Event Dispatching route
because I am seeing in the docs alot of components that have Event
Dispatching capabilities built in at a low-level in their object design.
Thanks in advance for any insight.




Lost + Confused,

-mL
http://knowledege.lapasa.net


___
Flashcod

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mark Lapasa
I have to add that yes I do read comments left by others in their code...

It helps me understand their code...

...it also helps me say "What the F*** were they thinking!?"

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian
Thomas
Sent: Wednesday, August 23, 2006 4:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash/Actionscript Coding conventions


On 8/23/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
> All standards are is somebody's way of saying "I code like this and so
> should you."  Everyone codes how they want to anyway.

Do you work in teams a lot, just out of interest? Do you have to
alter/update/read other team members code a lot? Standards help. I
don't care what the standards _are_, as long as the people on the team
agree a standard between themselves it really does lighten the
workload.

> And by the way,
> nobody reads those documents anyway.

Yes they do.

People who are writing code to an API that you've created read those
documents. Particularly if they don't actually have your source code;
they're using a plugin (or accessing an object via an interface and
don't have the implementation).

Less skilled coders using complex code read those documents.

Experienced coders who don't want to take the time to trawl through
possibly impenetrable code read those documents.

Ian
___
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] Flash/Actionscript Coding conventions

2006-08-22 Thread Mark Lapasa
I find Hungarian Notation to work well in ActionScript 2.0

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

mcScoreboard
txtScore
aPlayers
sName

etc.

-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bjorn
Schultheiss
Sent: Monday, August 21, 2006 8:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash/Actionscript Coding conventions


The best place to find conventions is in the component framework,
specifically the new flex framework uses upto date best practices.
Otherwise there are AS2 best pratices docs on the adobe site, I think they
were written by jen deHann


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh
Sent: Tuesday, 22 August 2006 10:08 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash/Actionscript Coding conventions

Hi all

The earliest document I could find about coding conventions for flash and
actionscript are from flash 5. Has anyone written up a guide for use AS2/3?

I prefer to use my java/javascript conventions as a base, but that still
excludes things like:

* Naming symbols/linkages
* Naming frames (not that I've had a need to, but in case...)
* Use of __ and _ in front of variable names. (_ is straight-forward
  enough, and the v2 comp. architecture seems to use __ for private
  vars that have corresponding get/set methods.

Any other conventions you guys use?

--
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

___
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] [AS3] Compiling just from AS3 code, no mxml files

2006-07-05 Thread Mark Lapasa
http://knowledge.lapasa.net/?p=22


(my review of Senocular's take on the mxmlc compiler)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Beverly
Guillermo
Sent: Wednesday, July 05, 2006 3:22 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [AS3] Compiling just from AS3 code, no mxml
files


Hello,

I think it's infinitely more complicated but you could look at the generated
actionscript files that get generated after compiling the mxml code.  Use
the -keep as an argument to mxmlc.

For simpler examples, in the Actionscript 3.0 Language Reference document
(or the LiveDocs) there are examples that use extends the Sprite class.  I
find those more helpful then seeing the generated code. :)

I hope that helps!
Beverly


On 7/5/06, Zárate <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I want to start playing with AS3 so I´ve downloaded the Flex 2 SDK
> from Adobe Labs. I don't want to use Flex Builder, I'm interested in
> the free compiler.
>
> I want to keep living without the Flex Framework but seems that the
> mxmlc compiler *needs* an mxml file (which, by the way, make sense):
>
> "The basic syntax of the mxmlc utility is as follows:
>
> mxmlc [options] -file-specs target_file|dir [...]
>
> The file-specs options is the default option, and it is required to
> have a value. It refers to the target MXML file that mxmlc compiles
> into a SWF file."
>
> How do I create a SWF just from AS3 code without MXML files, aka Flex
> framework? Is this possible? Am I missing something important here?
>
> Cheers,
>
> Juan
>
> --
> Juan Delgado - Zárate
> http://www.zarate.tv
> ___
> 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] peer 2 peer

2006-06-23 Thread Mark Lapasa
It's possible to do it with the help of a 3rd party wrapper like Northcode's
UDP/TCP API or even using Python Simple Socket Server.

It's impossible to do a Flash Player to a remote Flash Player directly
because you need some external common meeting place (like a server) to tell
you that somebody is waiting to connect. Also there is nothing in Flash
Player 8 or less that would let you host incomming connections as all it can
do is pull stuff into the player via LoadVars or XML or XMLSocket.

So I think the minute you introduce a server that acts as a directory or
lobby for Flash Players to connect, your back to the old Client-Server model
which is not really P2P.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas
Marbois
Sent: Friday, June 23, 2006 2:25 AM
To: Flashcoders mailing list
Subject: [Flashcoders] peer 2 peer


hi

has anyone tried making a peer 2 peer client via Flash?  Anyone care
to make an opinion about the possibilities or difficulties?

thanks

Tj

___
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] OT: Junior Developer Flash/Flex Salary?

2006-06-21 Thread Mark Lapasa
To John Mark Hawley: I plea ignorance. It won't happen again. Sorry.

To Carl Welch and Ron Wheeler: Thx for your insight and non wanna-be-elitist
views.

(I am no different than anyone here in that I am learning. Thx for sharing)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Carl
Welch
Sent: Tuesday, June 20, 2006 9:10 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Junior Developer Flash/Flex Salary?


Why worry about code you've written before? If it were an issue then
no one would be able to build more than one web page in a life time
because you'll inevitably use the same embed tags more than once. No
client knows how or what you code, much less who your other clients
are.

Also, if you let someone pay you $11 dollars an hour - then you are
only worth $11 dollars an hour.

--carl

On 6/20/06, Ron Wheeler <[EMAIL PROTECTED]> wrote:
>
>
> Mark Lapasa wrote:
> > These are most interesting points Radley.
> >
> > However on the topic of 'pre-made code', I am now wondering what is the
> > practices of some the freelancer/consultants/etc. on the list. If people
pay
> > you money for code, be it 30k or 100k, is it right to use your past
> > developed code on future code?
> >
> > I think when taking on gig's, it's meant that you are generating code
they
> > don't would not initially have. Once the gig is done, I think the
business
> > has an understanding that they paid you for the code and they own the
code?
> >
> >
> They usually own the code but not the things that you have learned
> writing it.
> > If they don't own the code, then does it becomes a matter of licensing?
> >
> If it one or 2 classes, then you can rewrite it pretty easily. If it is
> a whole set of functionality that you want to reuse, it is probably a
> good idea to ask for permission. They will likely say "yes" and they
> will be very impressed by your ethics.
> > I guess what I am asking is if you have previously developed code and
use it
> > on other clients, is it ok?
> >
> >
> It leaves your new clients open to being sued. Not likely to happen but
> it can be very embarrassing.
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Radley
> > Marx
> > Sent: Tuesday, June 20, 2006 4:12 PM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] OT: Junior Developer Flash/Flex Salary?
> >
> >
> >
> >
> > apologies for keeping this thread open...
> >
> >  From what I've gleaned, while the rate quoted to you may be low, it
> > does sound like a transitionary rate and appropriate. Not that you're
> > only worth it but because you sound very inexperienced in the market.
> >
> > What I mean by "inexperienced" is you have to ask if 30k is too low,
> > and you also have another day job which sounds unrelated to your
> > Flash/Flex work. So at this point, you may have to grab at what's
> > offered.
> >
> > I'd recommend caution with this gig and make sure you're not tied to
> > it too long. I'd look at it as a "paid internship" where you're
> > basically getting your first "notch in your belt" as you change careers.
> >
> > If you haven't considered creating a portfolio for yourself, now is
> > the time to build it. Don't put too much time into it and especially
> > don't let it hold you in "almost done" limbo. A list of skills, a
> > gallery of projects completed (even student and/or "lame" ones), and
> > contact info are all you need at this stage.
> >
> > In the meantime, begin to look around your area and find out where
> > the "real" Flash/Flex work is (studios, ad agencies, internet
> > companies). Begin to make contacts. Let them know who you are and
> > you're availability.
> >
> > Part of making $50/hr (& much more) isn't always about making a
> > decent rate like everyone else does. It's often about having multiple
> > potential clients needing your help and willing to pay for it. And
> > each project you build adds more and more "pre-made" pieces you have
> > for the next gig. Those "pre-built" pieces are there to save your
> > client time, but still make you $$ - another foundation for why we
> > can make much more $$ per hour.
> >
> > It'll take time to build up your rate, so focus on the first steps:
> > do a good job with your first gig, get your portfolio up, and get in
> > touch 

RE: [Flashcoders] OT: Junior Developer Flash/Flex Salary?

2006-06-20 Thread Mark Lapasa
These are most interesting points Radley.

However on the topic of 'pre-made code', I am now wondering what is the
practices of some the freelancer/consultants/etc. on the list. If people pay
you money for code, be it 30k or 100k, is it right to use your past
developed code on future code?

I think when taking on gig's, it's meant that you are generating code they
don't would not initially have. Once the gig is done, I think the business
has an understanding that they paid you for the code and they own the code?

If they don't own the code, then does it becomes a matter of licensing?

I guess what I am asking is if you have previously developed code and use it
on other clients, is it ok?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Radley
Marx
Sent: Tuesday, June 20, 2006 4:12 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Junior Developer Flash/Flex Salary?




apologies for keeping this thread open...

 From what I've gleaned, while the rate quoted to you may be low, it
does sound like a transitionary rate and appropriate. Not that you're
only worth it but because you sound very inexperienced in the market.

What I mean by "inexperienced" is you have to ask if 30k is too low,
and you also have another day job which sounds unrelated to your
Flash/Flex work. So at this point, you may have to grab at what's
offered.

I'd recommend caution with this gig and make sure you're not tied to
it too long. I'd look at it as a "paid internship" where you're
basically getting your first "notch in your belt" as you change careers.

If you haven't considered creating a portfolio for yourself, now is
the time to build it. Don't put too much time into it and especially
don't let it hold you in "almost done" limbo. A list of skills, a
gallery of projects completed (even student and/or "lame" ones), and
contact info are all you need at this stage.

In the meantime, begin to look around your area and find out where
the "real" Flash/Flex work is (studios, ad agencies, internet
companies). Begin to make contacts. Let them know who you are and
you're availability.

Part of making $50/hr (& much more) isn't always about making a
decent rate like everyone else does. It's often about having multiple
potential clients needing your help and willing to pay for it. And
each project you build adds more and more "pre-made" pieces you have
for the next gig. Those "pre-built" pieces are there to save your
client time, but still make you $$ - another foundation for why we
can make much more $$ per hour.

It'll take time to build up your rate, so focus on the first steps:
do a good job with your first gig, get your portfolio up, and get in
touch with the proper market.

good luck =)

-radley


On Jun 20, 2006, at 11:06 AM, Tristan wrote:

> Well said. I agree. I'll test the waters and jump out if it's not
> working.
> I'm still keeping my day job until I'm satisfied with coming on
> full time.
> Although, now that missiles are being tossed our way, maybe I
> should just be
> happy to be alive! Geez, I hope someday we all get along. Life's
> too short
> as it is.
>
> Sorry, off topic comment but, I just heard about it and it's scary
> not for
> just usa but, for the whole world.
>
> Love,
> T
>
> On 6/20/06, Kevin Mulvihill <[EMAIL PROTECTED]> wrote:
>
>> > $11/ hr accepting that is part of the reason why people think
>> > they can pay developers peanuts
>>
>> Here, here.
>>
>> Denver is a big city comparable to L.A., where I am. And in this
>> city, bag
>> boys at grocery stores are making $11/hr. Even way back in '97
>> when I was
>> in
>> my last corporate job, it was costing us $15/hr. just to have a
>> temp come
>> in
>> and put papers in a filing cabinet. Is that how you see yourself? As
>> unskilled labor???
>>
>> Now if the idea is just that the guy wants to check you out and
>> make sure
>> you can do the work, then I might give him a few DAYS at $11/hr.
>> and then
>> revert to an honest pay scale if he wants to keep you... And this
>> assumes
>> that you don't have any references or much in the way of code
>> samples to
>> share.
>>
>> The real question then becomes 'how long is it going to take to
>> get you up
>> to speed?' If the guy is thinking several months, then you would
>> clearly
>> be
>> foolish to accept that offer. If you don't respect yourself, no
>> one else
>> will either... And your getting 'up to speed' could take a very
>> long time
>> indeed.
>>
>> 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
>>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or s

RE: [Flashcoders] Junior Developer Flash/Flex Salary?

2006-06-20 Thread Mark Lapasa
Check with Monster salary tool and check what other people are making in
your neck of the woods.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tristan
Sent: Tuesday, June 20, 2006 11:47 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Junior Developer Flash/Flex Salary?


Does 30-55K a year sound right with benefits for a junior developer? I have
a college degree and an extensive IT background but, I'm just now getting
into a professional job environment developing but, I have been using flash
for some time now. 30K sounds wa too low, would you agree? If someone
had 2-3 years experience, what should a flash/flex developer get? What
should they start at?

Thanks
T
___
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] UML + Actionscript

2006-06-20 Thread Mark Lapasa
Q: When I say that class X is a "composition" of class Y and class Z, is
this because X has properties that are defined AS _TYPE_ Y and Z?

A: When you say X is a composition class Y and class Z, all you are saying
is that X has dependencies on Y and Z to get information. Saying "X has
property that are defined as type of Y and Z" is spelling out an inheritence
relationship rather than a collaborative one.



Q: My logic to place the Contact class and the Address class as composing
elements of the Account class is simply because the Contact class have
defined properties OF TYPE Contact and Address. Is this correct?

A: It's a good first start in trying to extract keep things low coupled. My
opinion of that first UML diagram you have is that i think you are keeping
things a little too uncoupled. There is this GRASP design principle
"Information Expert" that states if an object is rightly knowledegable about
retaining or producing information for the other objects in the system. In
this case, I would combine your Contact and Address as one and called it
something like "ContactInfo". By Information Expert, the ContactInfo object
would be the expert for data pertaining to all things Contact information.

How this makes sense to me is that you can turn to your domain model or look
at the real world and really use your imagination of how some of the
information changes. Using the Address obj as you have it for example, if my
street, city, or state changes, then it's highly likely that in the Contact
obj, I will have to change my phone number.



Q: If this is not an appropriate place to ask this sort of question...

A: http://www.objectsbydesign.com/



Good luck with into UML and OOA/D,

-mL
http://knowledge.lapasa.net


P.S. Craig Larman's book, Applying UML and Patterns, is currently my
programmer's bible.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of js
Sent: Monday, June 19, 2006 8:13 PM
To: Flashcoders mailing list
Subject: [Flashcoders] UML + Actionscript


I have been trying to learn the basics of UML for the past couple days
or so by assembling a class diagram for a hypothetical Contact
Manager--although it may not stay hypothetical if I can learn this
properly ;). Unfortunately I am experiencing a bit of confusion in
regards to properly communicating class hierarchy between associated /
aggregated classes.

Here is the (very simple) diagram that I made thus-far:

http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_a.jpg

Basically, I have three classes -- the Account class being a
composition of the Contact and Address classes. (I think)

Here is my question:

When I say that class X is a "composition" of class Y and class Z, is
this because X has properties that are defined AS _TYPE_ Y and Z?

My logic to place the Contact class and the Address class as composing
elements of the Account class is simply because the Contact class have
defined properties OF TYPE Contact and Address. Is this correct?

If this is the case, I will be glad to hear that I am doing things
correctly. However, a new source of confusion then emerges for me;
say, for instance that I wanted to have an Array of contacts for any
given account as opposed to just one. I then replace
accContact:Contact with accContacts:Array.

Here is the updated diagram:
http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_b.jpg

The relationship between the Contact class and the Account class is no
longer explicit--but I still want to convey that the accContacts array
will be populated with instances of "Contact". How do I now
communicate this relationship? Would this be an "association" now?

See this diagram if you are confused:

http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_comment.jpg

A sincere thank you to anyone who took the time to read and attempt to
understand my post; I apologize if this is slightly outside the scope
of normal list discussion. If this is not an appropriate place to ask
this sort of question, I would be very happy to hear about an active
UML mailing list or equivalent alternative. :)

Thanks for any assistance,
Joseph
___
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] xAL and xNAL

2006-06-15 Thread Mark Lapasa
ha! That joke made my day

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven
Sacks
Sent: Thursday, June 15, 2006 2:52 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] xAL and xNAL


All xNAL Action.  Hawt.  ;)


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kevin Newman
> Sent: Thursday, June 15, 2006 11:44 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] xAL and xNAL
> 
> Hello all,
> 
> Has anyone done any work with these new address formats 
> (xNAL, xAL, xNL) 
> that have been standardized by OASIS in flash? I was so happy to hear 
> about a standard way to deal with international address 
> information, now 
> all we need are some standardized form layouts, and some 
> solid Libraries 
> for dealing with this format. Does anyone know of any?
> 
> http://www.oasis-open.org/committees/ciq/ciq.html#6
> 
> I am mostly interested in the address standard myself, which if I 
> understand it correctly is xAL (eXtensible Address Language 
> ), which is a 
> subset of xNAL. I learned of this new standard because Google 
> is using 
> it in their geocoding API.
> 
> http://googlemapsapi.blogspot.com/2006/06/geocoding-at-last.html
> 
> Thanks,
> 
> Kevin N.
> 
> 
> 
> ___
> 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] Accessing non-interface methods from an object ofaninterface type

2006-06-15 Thread Mark Lapasa
Thanks EKA!

That'll work for me. Smells funny but I like it =)

Thx Ian, the only thing I can think of as an argument is Marker Interfaces.
Then again, I think I might just be using using interfaces the wrong way as
I am trying to establish some form of polymorphism in trying to access both
foo() and bar() methods.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian
Thomas
Sent: Thursday, June 15, 2006 10:24 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Accessing non-interface methods from an
object ofaninterface type


It's really all about the design. It very much depends on what you're
trying to use the interfaces to achieve.

If you're finding that you constantly need to downcast the interfaces
to concrete objects then either your design isn't one that's suited to
interfaces, or you're using them in the wrong way.

Why is it that you're ending up having to call functions that aren't
defined in the interface? Don't get me wrong - there can be extremely
good reasons for this. But if it's happening throughout your code,
then you've got a design problem and should maybe think about
refactoring something.

The same would be true of using ordinary superclasses rather than
interfaces, incidentally - it's the constant downcasting that shows
there's something up...

Cheers,
  Ian

On 6/15/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
> Thanks EKA and JC for your answers.
>
> I -kinda- knew that was the answer but I wanted to know if there was
another
> way.
>
> Casting/trantyping an abstract object down into one of a concrete type
seems
> like to me very self-defeating to use abstractions as a data type.
>
> I might as well say
>
> var tmp:ConcreteClass = new ConcreteClass();
> tmp.bar();
>
> as JC has mentioned and forget about the low-coupling flexibility of using
> interfaces. I imagined the inital route I wanted to go ought to work at
> run-time but the compiler is not forgiving.
___
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] Accessing non-interface methods from an object ofan interface type

2006-06-15 Thread Mark Lapasa
Thanks EKA and JC for your answers.

I -kinda- knew that was the answer but I wanted to know if there was another
way.

Casting/trantyping an abstract object down into one of a concrete type seems
like to me very self-defeating to use abstractions as a data type.

I might as well say

var tmp:ConcreteClass = new ConcreteClass();
tmp.bar();

as JC has mentioned and forget about the low-coupling flexibility of using
interfaces. I imagined the inital route I wanted to go ought to work at
run-time but the compiler is not forgiving.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hans
Wichman
Sent: Wednesday, June 14, 2006 5:52 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Accessing non-interface methods from an
object ofan interface type


The compiler sees an object of type Interface which does not support the
method you are trying to call. Either use:
var tmp:ConcreteClass = new ConcreteClass();
or
var tmp:Interface = new ConcreteClass();
ConcreteClass(tmp).bar();

grtz
JC



On 6/14/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
>
> ///
> // Inside "Interface.as" //
> ///
> interface Interface
> {
>public function foo():Void;
> }
>
>
>
> ///
> // Inside "ConcreteClass.as" //
> ///
> import Interface;
>
> class ConcreteClass implements Interface
> {
>public function foo():Void { trace("Foo was fired");};  // As
> required by
> the interface
>public function bar():Void { trace("Bar was fired");};
> }
>
>
>
> ///
> // Inside the "Test.FLA" //
> ///
> import ConcreteClass;
> import Interface;
> var tmp:Interface = new ConcreteClass();
>
> tmp.foo();  // Works
> tmp.bar();  // Doesn't Work, why?
>
>
>
>
> I don't think all the public ConcreteClass methods have to be listed in an
> interface.
> Has anyone else come across this problem? Thx,
>
>
> -mL
> http://knowledge.lapasa.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
>
___
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] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread Mark Lapasa
///
// Inside "Interface.as" //
///
interface Interface
{
public function foo():Void;
}



///
// Inside "ConcreteClass.as" //
///
import Interface;

class ConcreteClass implements Interface
{
public function foo():Void { trace("Foo was fired");};  // As required 
by
the interface
public function bar():Void { trace("Bar was fired");};
}



///
// Inside the "Test.FLA" //
///
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();

tmp.foo();  // Works
tmp.bar();  // Doesn't Work, why?




I don't think all the public ConcreteClass methods have to be listed in an
interface.
Has anyone else come across this problem? Thx,


-mL
http://knowledge.lapasa.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


RE: [FlashCoders] Flash player NSIS installation

2006-06-08 Thread Mark Lapasa
Marc Hoffman is right. I remember now when I did the Flash detection thing
at the time that it was superfluous as I was using 3rd party projector like
Northcode or ZINC.

-mL

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc
Hoffman
Sent: Thursday, June 08, 2006 11:48 AM
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Flash player NSIS installation


Dimitrios,

NSIS creates an installation file, so even if the user downloads  the
NSIS file on the web, what matters is how the application displays
the Flash.  If your application uses a browser to show Flash, then
you can do the detection and redirection (to get the Flash player)
the same as on any web page (requires a live internet connection). If
the application uses a projector, then the user doesn't need the
Flash player at all. I've implemented the latter format, and all you
need to do is include a minimal Flash projector that loads the rest
of the Flash content. Of course you'll need Mac and PC versions of
the projector if you want it to be cross-platform.

NSIS includes a sample script that should help in creating your
actual installation file. The main task is just to be sure to include
all the files necessary, and if you include an uninstall section you
should be sure it deletes all files and then deletes their folders.

Marc

At 02:58 AM 6/8/2006, you wrote:
>Hello John,
>
>Thanks for your reply.
>
>NSIS is the NullSoft installer.
>
>This is for web distribution. I just needed a way
>to detect if the user has the latest Flash Player installed
>and if not he would be taken to the adobe site to download.
>
>I just didn't have a clue about how NSIS works and I thought
>someone here may have used it for the same purpose I have.
>
>I'll probably find a programmer experienced in NSIS to help me.
>Searching for NSIS forums again.
>
>Thanks
>
>Dimitrios
>
>
>
>- Original Message - From: "John Dowdell" <[EMAIL PROTECTED]>
>To: "Flashcoders mailing list" 
>Sent: Monday, June 05, 2006 9:41 PM
>Subject: Re: [FlashCoders] Flash player NSIS installation
>
>
>>Dimitrios Bendilas wrote:
>>>I need to create an installer for flash player 8.
>>>Is there a tutorial or a full script for this?
>>>It has to be NSIS installer.
>>Your note doesn't say what "NSIS" means (and I'm not up to a web
>>search at the moment), but I do know the following:
>>(a)  for web distribution, use the Adobe site... no multiple points
>>on the WWW
>>(b)  for non-web distribution, like intranets or CDs, then you need
>>the free license for distribution anyway (so we have a list of
>>legit requests), and this includes mass installation utilities.
>>jd
>>
>>
>>--
>>John Dowdell . Adobe Developer Support . San Francisco CA USA
>>Weblog: http://weblogs.macromedia.com/jd
>>Aggregator: http://weblogs.macromedia.com/mxna
>>Technotes: http://www.macromedia.com/support/
>>Spam killed my private email -- public record is best, 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@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] Flash player NSIS installation

2006-06-08 Thread Mark Lapasa
Hi Dimitrios,

I have experience with NSIS and Flash in the past. The greatest asset at
your disposal is reading the NSIS docs to wrap your head around a language
that is far from AS2. To me, it looked/felt like VB or Assembly. The other
great asset is the Nullsoft forums which chances are someone else has
probably asked the same question and there already is an answer.

Here is an excerpt of a bigger script where upon start up, it will check if
they have the player installed when they try to install the desktop app


Function .onInit
  Push $R0
  ClearErrors
  ReadRegStr $R0 HKCR "CLSID\{D27CDB6E-AE6D-11cf-96B8-44455354}" ""
  IfErrors flash_NOT_installed
 ; Skip to 'flash_installed' label
  Goto flash_installed
  flash_NOT_installed:
  ; Prompt User To Install Flash Plugin
  MessageBox MB_ICONINFORMATION|MB_OK "This program requires the Adobe Flash
Player. Before using $(^Name), please download and install the latest
version at http://www.adobe.com";
  flash_installed:
FunctionEnd


Good luck!

-mL
knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dimitrios
Bendilas
Sent: Thursday, June 08, 2006 5:59 AM
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Flash player NSIS installation


Hello John,

Thanks for your reply.

NSIS is the NullSoft installer.

This is for web distribution. I just needed a way
to detect if the user has the latest Flash Player installed
and if not he would be taken to the adobe site to download.

I just didn't have a clue about how NSIS works and I thought
someone here may have used it for the same purpose I have.

I'll probably find a programmer experienced in NSIS to help me.
Searching for NSIS forums again.

Thanks

Dimitrios



- Original Message -
From: "John Dowdell" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, June 05, 2006 9:41 PM
Subject: Re: [FlashCoders] Flash player NSIS installation


> Dimitrios Bendilas wrote:
>> I need to create an installer for flash player 8.
>> Is there a tutorial or a full script for this?
>> It has to be NSIS installer.
>
> Your note doesn't say what "NSIS" means (and I'm not up to a web search
> at the moment), but I do know the following:
>
> (a)  for web distribution, use the Adobe site... no multiple points on
> the WWW
>
> (b)  for non-web distribution, like intranets or CDs, then you need the
> free license for distribution anyway (so we have a list of legit
> requests), and this includes mass installation utilities.
>
> jd
>
>
>
>
> --
> John Dowdell . Adobe Developer Support . San Francisco CA USA
> Weblog: http://weblogs.macromedia.com/jd
> Aggregator: http://weblogs.macromedia.com/mxna
> Technotes: http://www.macromedia.com/support/
> Spam killed my private email -- public record is best, 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@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] UML tool for AS2

2006-02-17 Thread Mark Lapasa
Applying UML and Patterns: An Introduction to Object-Oriented Analysis and
Design and the Unified Process (3rd Edition) (Hardcover) by Craig Larman

The honnest truth is that yes it is 736 pages and weights alot but it's very
well thoughtout and provides a very good context (through Unified Process
methodology) to use UML in a very meaningful way. Often people draw boxes
and lines thinking that if they show it to someone else they will make equal
sense of it. However there is a world of standards out there that developers
tend to gravitate to when they become very well versed in their
implementation language be it ActionScript, Java, C++, etc. This book makes
a very friendly introduction. You can see that it has highly positive
reviews.

Object Design: Roles, Responsibilities, and Collaborations
by Rebecca Wirfs-Brock, Alan McKean

This one is not so much about UML but focuses more on a popular set of
semantics, Responsiblity-Driven Design, in which UML can act as the syntax.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim Tann
Sent: Friday, February 17, 2006 4:14 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] UML tool for AS2


While we are on the UML topic, can anyone recommend a good book on the
subject?

Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janis
Radins
Sent: 17 February 2006 08:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] UML tool for AS2

Tnx Scott!

Looks very mutch like what I've been looking for.


2006/2/17, Scott Mathieson <[EMAIL PROTECTED]>:
>
> enterprise architect > http://www.sparxsystems.com.au/products/ea.html
>
> actionscript support straight of the box
>
> On Friday 17 February 2006 06:54, Janis Radins wrote:
> > Hye ppl!
> >
> > I've been searching for decent AS2 UML tool but had no luck.
> > Could anyone share theyr good expieriences of some UML tools well
suited
> > for AS2 ?
> >
> > PS
> > Yes I've seen Grant Skinner Gmodeler, idea is good but it's still
way
> too
> > raw.
> > ___
> > 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



___
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] recommended books on XML in Flash

2006-01-03 Thread Mark Lapasa
I heartily second this notion. Don't the get Jacobsen and Jacobsen book for
all the same reasons. I just happened to gain a better insight from Flash's
docs than the book.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: Tuesday, January 03, 2006 11:14 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] recommended books on XML in Flash


Whatever you do, don't buy "Flash and XML: A Developers Guide" by Dov
Jacobsen and Jesse Jacobsen - Addison-Wesley Press - besides being Flash
5, the book sucks.  You get the impression these guys are much more into
XML than Flash.  If they even use Flash at all in their professional
lives.  Apologies in advance if you're on thist list and one of the
authors. There's some good stuff in it, but for someone new to Flash or
doing basic stuff, it's not the book for you.  But even the advanced
stuff lacks depth though.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Ben Deroo
>>Sent: Saturday, December 31, 2005 4:29 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] recommended books on XML in Flash
>>
>>Hi,
>>The title says it all I guess.
>>Are there any good books out there on the subject of Flash 8 and XML?
>>I found one called "XML in Flash" from Que publications, but as far as
I can
>>tell it is for Flash 5 and was written in 2001.
>>
>>Is that still "current"? I am assuming not.
>>
>>What books should I read when just getting into this subject, again,
using
>>Flash 8 or Flash MX2004?
>>
>>
>>Thanks for your help,
>>Ben
>>
>>
>>
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
NOTICE:
This message is for the designated recipient only and may contain privileged
or confidential information. If you have received it in error, please notify
the sender immediately and delete the original. Any other use of this e-mail
by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


RE: [Flashcoders] Xml editor

2005-11-23 Thread Mark Lapasa
I'm surprised no one has mentioned UTF-8 friendly Bonfire Studio
(http://www.download.com/Bonfire-Studio/3000-7241_4-10342825.html).

It's not so great when dealing with 1MB xml files however my personal opinon
is that it has a small memory footprint and best of all is the XML tree
visualization tab which when pressed, automatically checks if your xml is
valid. If it's not, it try to indicate what row and column is causing the
error.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ron
Wheeler
Sent: Wednesday, November 23, 2005 1:58 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Xml editor


You might want to get the XMLSpy Home edition which is free

Ron

Robin Burrer wrote:

>I use Notepad in combination with Internet explorer :-).
>I used to use XMLSpy but after the trial expired I switched to Notepad
>again.
>
>Robin
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
>Matte
>Sent: Wednesday, 23 November 2005 7:46 AM
>To: Flashcoders mailing list
>Subject: [Flashcoders] Xml editor
>
>What software do you people use for editing xml for your flash projects ?
>
>
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


RE: [Flashcoders] Bizare...AS3.0 packages have methods?

2005-10-31 Thread Mark Lapasa
:/

Something like trace should be globalized (but somehow could be overrided).
I guess I can't have everything. In MM's anti-method-globalization approach,
it seems like a whole bunch of handy methods like...

trace()
fscommand()
getTimer()
LoadVars.send()

...got kicked out of the global house and have no class of their own to call
their home. So it seems they've been squished in with package definitions.
Better than accessing static methods like DebugUtils.log() I guess.

The reason why all of this is of any concern to me is that I am attempting
to write solid AS2.0 today that has the potential to be migrated to AS3.0
tommorow. The reason why I havn't gone head first into AS3.0 is that my
present target audience is Flash Player 7.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stan
Vassilev
Sent: Monday, October 31, 2005 2:24 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Bizare...AS3.0 packages have methods?


Well that's one thing I always wanted to do in AS2 so if it stays like this
it'd be great.
There are many functions that just perfectly without class in front of them
(after you import the package).

For example those you mentioned. When I was implementing my trace utils I
was forced to import fmethod.debug.* and still having to type every time
DebugUtils.log();

now I could just make it package method and type log();  ... it's great to
have that

Regards, Stan Vassilev

- Original Message -
From: "Spike" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, October 31, 2005 8:49 PM
Subject: Re: [Flashcoders] Bizare...AS3.0 packages have methods?


It's a method of the package.

When you create an AS 3 class you can put methods inside the package {}
block, but outside any class definitions.

I'm not sure why it works that way, but that's the way it works.

Spike

On 10/31/05, Martin Wood <[EMAIL PROTECTED]> wrote:
>
> i think its just a function declared with package scope.
>
>
> Mark Lapasa wrote:
> > flash.util.trace()
> >
> >
> >
> > Is that a method of a package? Or a compiler directive?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--

Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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


[Flashcoders] Bizare...AS3.0 packages have methods?

2005-10-31 Thread Mark Lapasa
flash.util.trace()



Is that a method of a package? Or a compiler directive?

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


RE: [Flashcoders] Learn AS2 or AS3?

2005-10-21 Thread Mark Lapasa
Having read over AS2.0 and AS3.0 migration...

http://livedocs.macromedia.com/labs/1/flex/langref/migration.html


... it feels very disconcerning for those like myself who have invested a
fair amount of time in AS2.0 only to find out that to take advantage of
Flash Player 8.5+, one has to make massive migration changes to their AS2.0
code.

Take for example the MovieClip class. The methods that have been 'removed'
show up frequently in a lot of what I have worked with like say
'attachMovie'

This is an interesting thread cause I wonder about the future of AS2.0 if it
has a future.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pedro
Furtado
Sent: Friday, October 21, 2005 11:18 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Learn AS2 or AS3?


Not really, if you use AS2 in all it's strictness and to it's full extent,
classes and properly it's not a big change in the logic itself, only a
little change in the syntax.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Judah
Frangipane
Sent: sexta-feira, 21 de Outubro de 2005 16:20
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Learn AS2 or AS3?

This may be a little late to this conversation but I'd have to disagree.
I would learn AS3 and skip AS2. You can only learn and experiment with
AS3 in Flex Builder 2 (as far as i know) since Flash Authoring (the next
version of Flash) is not out yet.

Looking at the specs and transitions from AS2 to AS3 a lot has changed.
Look at this list
http://livedocs.macromedia.com/labs/1/flex/langref/migration.html
In fact it's a whole new engine reworked from the ground up. Some
functions have changed, moved or been removed so you are going to learn
about a lot of syntax and methods and functions and by the time you
learn it and get it down you will have to throw it out because AS3 is
vastly different. It's just a personal opinion but this late in the game
it might just end up confusing you to learn AS2 now.

Judah Frangipane

Merrill, Jason wrote:

>Pretty much everything you'll learn in Moock's AS2 book, you'll need for
>AS3, so learning AS2 is a great place to start. Plus, there aren't any
>AS3 books out there yet anyway.
>
>Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
>
>
>
>
>
>
>
>
>
>
>
>
>>>-Original Message-
>>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>>[EMAIL PROTECTED] On Behalf Of Paul Steven
>>>Sent: Friday, October 21, 2005 6:06 AM
>>>To: Flashcoders mailing list
>>>Subject: [Flashcoders] Learn AS2 or AS3?
>>>
>>>I have never really got around to learning AS2 and tend to program
>>>everything in AS1 - tutt tutt!!
>>>
>>>Anyway I was thinking it is about time I got with the times and was
>>>
>>>
>going to
>
>
>>>start working through the book I bought a while ago "Essential
>>>
>>>
>Actionscript
>
>
>>>2" by Colin Moock. I bought this a while ago but never got round to
>>>
>>>
>reading
>
>
>>>it.
>>>
>>>Well there is alot of talk about AS3 these days. I would like to know
>>>
>>>
>if is
>
>
>>>better to just learn AS3 rather than AS2 first? Or does one naturally
>>>
>>>
>lead
>
>
>>>onto the other?
>>>
>>>Thanks
>>>
>>>Paul
>>>
>>>
>>>___
>>>Flashcoders mailing list
>>>Flashcoders@chattyfig.figleaf.com
>>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>NOTICE:
>This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in error,
please notify the sender immediately and delete the original. Any other use
of this e-mail by you is prohibited.
>___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
>
>

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



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



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