Re: [Flashcoders] Bug when using String Object in MovieClipLoader.loadClip()

2005-10-19 Thread Mike Britton
Are you in MX04?

This isn't the case in Flash 8:

var strlit = myswf.swf;
my_mcLoader.loadClip(strlit, targetMC); 

Works fine.

Also, I wouldn't name any of my variables 'target' or 'url' since
these are properties of some internal classes.


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


Re: [Flashcoders] full browser flash + vertical html scrollbar

2005-10-25 Thread Mike Britton
Another solution would be a three-pronged approach: have a fullscreen
swf that loads in another swf containing a ScrollPane component at
0,0.  Pass Stage.width and Stage.height to the swf containing the
ScrollPane (to resize it), and load in the content (your site).

This would give you all the features of ScrollPane (hScroll, vScroll, etc).

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


Re: [Flashcoders] When migrate to Flash 8?

2005-10-27 Thread Mike Britton
I'd go ahead and upgrade now.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
That makes sense Robert.

In the same line of thinking, as the Flex stuff evolves, I see the Flash IDE
turning into a sort of Photoshop for Flash where graphical assets are
designed/maintained, and FlexBuilder 2 (eclipse) becoming the programming
environment. So FlexBuilder 2 will be for development, period, rapid or
otherwise, and Flash or the Flash IDE will be a designer's tool. Both
sit on top of the Flash Platform and are the foundation for implementing the
technology.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
 you can create an ActionScript 3 project in Flex Builder that never goes
anywhere near the Flex Framework.

That's the reason I was soothsaying about FlexBuilder 2 becoming the defacto
development environment and the Flash IDE evolving into a tool for design.
Eclipse will eclipse the Flash IDE (rim shot).

 I have spent a good portion of the last 2 years writing plugins for
Eclipse

I wonder if one could be written to manage the Library. Then I'd never have
to open the Flash IDE.


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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
Agreed. Quite selfishly, I'd like the following to happen: Blaze joins the
Adobe graphics suite of tools and integrates with them in all the obvious
ways (video, vector graphics, animation timeline like After Effects, etc).
Its Library can export all these assets into FlexBuilder. FlexBuilder /
Eclipse imports these assets into its own Library plugin to be used by
programmers.

In this scenario, Flex is to Flash what Photoshop is to Dreamweaver.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
1. Map symbols to classes via some kind of package explorer wizard
2. Import existing Libraries from Flash and maintain symbols' package paths
3. Ability to export so you can import into another FlexBuilder installation

There may be issues with components/EULA.

Those are the biggies. I'm sure others will have more.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
Not totally sure what you mean by that...

Map symbols to classes via some kind of package explorer wizard: if you
create a movieclip in Flash, it goes into the Flash Library as a symbol.
When you right-click this new symbol in the Library and choose 'properties'
you'll see a wizard in which you can associate the symbol with an
actionscript class. It would be nice to have the same capability in this
hypothetical Library plugin for Eclipse, only you can surf to the class and
choose it instead of having to write 'com.arp.blah.blah...'.

 2. Import existing Libraries from Flash and maintain symbols' package
paths
 Existing libraries in what format?

A designer creates a new Flash file and creates the visual interface. He/she
arranges his native Flash IDE Library, naming symbols and such. A developer
then goes into Eclipse and from this hypothetical plugin can import that
native Flash Library.

There may be issues with components/EULA.
yep, will need to look into that

This is keeping people from sharing source and that is bad. Can't they just
open source the components? Come on! (Bangs fist on keyboard.)


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


Re: [Flashcoders] When migrate to Flash 8?

2005-10-27 Thread Mike Britton
 little things that make development quicker

Faster compile time being the most important, IMHO.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
 ok, in what format is the library saved from the Flash IDE?

Right now from what I know it isn't possible to save a Library from the IDE,
but if I were to venture a guess I'd say this would be possible using JSFL.
If so, a resulting XML and SWC would make sense.

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


Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Mike Britton
I think a Library plugin is a logical requirement if MM really wants to
improve workflow. Hopefully it will be considered for FB2/8.5 update.

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


Re: [Flashcoders] Debugging wih FAMES?

2005-10-31 Thread Mike Britton
Learning FlexBuilder 2 can coincide with your FAMES learning because it all
happens in the same IDE (Eclipse). I don't recommend switching entirely
unless you don't plan to release anything until Flex 2 comes out (Jan?).
Flex is simply another way to develop apps on the Flash Platform. (It's
really exciting to people like me who remember using the Flash IDE and
View-Actions to get to the scripting environment. I feel spoiled by all
this awesome new stuff.)

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


Re: [Flashcoders] Debugging wih FAMES?

2005-11-01 Thread Mike Britton
 Learning FlexBuilder 2 can coincide with your FAMES learning because it
all happens in the same IDE (Eclipse).

There is really no difference between FAMES and FlexBuilder 2 in terms of
IDE. That's why I said it was probably a good idea for Brent to continue
using FAME, but not consider doing so a choice to avoid FlexBuilder 2. It's
the same environment so FAME projects can sit alongside other types of
projects.

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


Re: [Flashcoders] Dynamic Loading Images

2005-11-07 Thread Mike Britton
I use AMFPHP and this little ditty:

?php
/*
--
AMFPHP Service Class -
directoryReader.php

I return an array of filenames

Author: Mike Britton
05/19/05

Methods:: 
getFiles

*/

class directoryReader {

function directoryReader() {

$this-methodTable = array(
getFiles = array(
description = I return all files.,
access = remote,
returns = array,
arguments = array(argDir)
)
);

}


function getFiles($argDir) {
$dir = opendir($argDir);

$names = array();
$names['files'] = array();

while($file = readdir($dir)){
if($file != .  $file != ..){
$newAr = array();
$newAr['fn'] = $file;
array_push($names['files'],$file);
}
}

// Newest to oldest
$result = array_reverse($names['files'],false);
// Oldest to newest
//$result = array_reverse($names['files'],true);

return $result;

}
}

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


Re: [Flashcoders] [OTAnn] Feedback

2005-11-07 Thread Mike Britton
Wait -- I HEARD THIS WAS THE NEXT BIG THING!

;)

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


Re: [Flashcoders] Questions Using MVC Pattern with Flash

2005-11-09 Thread Mike Britton
You'll quickly get into framework-building, something that can delay your
project. Why not use an existing open source framework like ARP?

http://www.osflash.org/ARP

I've gone the route of employing MVC in every aspect of my architectures,
then I discovered the command pattern, which ARP uses.


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


Re: [Flashcoders] Question from newbie

2005-11-11 Thread Mike Britton
Hi Joan,

If you're using the timeline, try adding this actionscript to a keyframe at
the end of your animation:

stop();
getURL(http://google.com;);


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


Re: [Flashcoders] Questions Using MVC Pattern with Flash

2005-11-11 Thread Mike Britton
The Command pattern is a true design pattern, while MVC is an architectural
pattern. It's difficult to explain how one could be used in place of the
other because the Command pattern can be used inside an MVC
design/architecture. Similarly, MVC can be used inside a Command.

I believe Brent's original question dealt with using MVC triads throughout
an application design. I felt he was on the right track understanding the
need to separate model from view, but could benefit from using the Command
pattern to encapsulate actions. It would lessen the complexity (and thus
improve the scalability) of his application.

It's for this reason I suggested ARP. ARP has a good implementation of the
Command pattern. Rather than redesign his own framework, Brent could benefit
from using one that has a good community around it.

Model-View-Controller
http://en.wikipedia.org/wiki/Model_view_controller

Command Pattern
http://en.wikipedia.org/wiki/Command_pattern


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


[Flashcoders] AS2Lib Examples

2005-11-11 Thread Mike Britton
Does anyone have a basic AS2Lib example application they don't mind sharing?

Coming from an ARP perspective, AS2Lib looks like it provides the same
benefits, but the learning curve is harder. I'm checking out the API docs
now and it looks pretty deep. I like how it has a testing framework built in
though, so I thought i'd take it for a whirl.


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


Re: [flashcoders] Q for the Pro's: How did you learn flash?

2005-11-21 Thread Mike Britton
I'm not a pro, but speaking of influential books: OOPWAS!

http://www.amazon.com/gp/product/0735711836/002-9062480-9398441?v=glancen=283155n=507846s=booksv=glance

I was doing procedural MVC with fusebox when I read / became
obsessed with Object-Oriented Programming with Actionscript by Branden
Hall and Sam Wan.  This book showed me so much I can't even begin to
express my appreciation for it.  It's AS1, but it still holds up, I
tell ya.  One of the classics.  This truly shaped my understanding of
OOP because it put it in a context I was already familiar with.

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


Re: [Flashcoders] Firefox flash plugin problem?

2005-12-01 Thread Mike Britton
Do you have fonts embedded, and if so have you included all the right
characters?

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


Re: [Flashcoders] zooming application

2005-12-02 Thread Mike Britton
If it were me, rather than reinvent the wheel (this is a common need)
and if I had a budget, I'd go for Zoomify Enterprise:

http://www.zoomify.com/enterprise/

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


Re: [Flashcoders] Firefox flash plugin problem?

2005-12-02 Thread Mike Britton
Flash has had this problem for years.  I wish MM would either fix it
or do away with the idea.  It's definitely cost me time and caused my
users headaches.

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


Re: [Flashcoders] targeting classes in a loaded swf

2005-12-03 Thread Mike Britton
I'd look into LocalConnection.  It sounds like you're trying to figure
out how to avoid dependencies between objects, which (to me) makes
sense.  Rather than over-design and make things work in a complicated
way, you can use LocalConnection to init your child clips from your
controller:

receiving_lc = new LocalConnection;

receiving_lc.init = function() {
this.c.init(); // Calls your clip's init
};

receiving_lc.connect(lc_name);

In your main application:

var sending_lc2:LocalConnection = new LocalConnection();
sending_lc2.send(lc_name, init);


hth,

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


Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-08 Thread Mike Britton
It scares me too, but so does UI lock, something that's been happening
to me a lot lately.

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


Re: [Flashcoders] anchors in dynamic textfield?

2005-12-15 Thread Mike Britton
In the past I've simulated anchors with a ScrollPane using its
vPosition property and duplicated clips inside the ScrollPane. 
However I agree it would be nice if TextArea had the ability to
anchor.

You could use asfunction to control the textArea's vPosition based on
a variable you pass in.  The variable could be a few words you know
are unique to the line you wish to anchor to.  There would have to be
some text-parsing code to search for the words, but in theory it would
work.

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


Re: [Flashcoders] flash and cfm

2005-12-20 Thread Mike Britton
Looks like you're running into the character limit of URL strings.  I second
Jason's recommendation of remoting.  Either that or use coldfusion to write
XML files.

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


Re: [Flashcoders] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread Mike Britton
I never use wmode transparent -- it's buggy and broken.

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


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Mike Britton
Try using setInterval

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


Re: [Flashcoders] Using the $ sign at the beginning of a variable

2006-01-12 Thread Mike Britton
Nothing in particular - just a style of naming vars.  I don't do it
because it looks too much like PHP and I get disoriented.

I recall seeing this technique used to distinguish public from private
vars, but I think it went out of favor when AS2 came out.



On 1/12/06, Ryan Luce [EMAIL PROTECTED] wrote:
 What does a dollar sign do at the beginning of a variable in Flash?
 Anything? like Stage.$blah = rar;
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] embed SWF with PHP

2006-01-17 Thread Mike Britton
Pumping the object and embed tags into a DIV's innerHTML using AJAX is one
possibility.  You could also write the object and embed tags with an
external JavaScript.  This would prevent the source from being viewed and is
probably an easier option given its all on the client.

It's impossible to completely hide your swf filename, and techniques for
preventing caching are dodgy at best.  If anyone knows how to make swfs
un-obfuscatable I'd like to hear their approaches.

hth

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


[Flashcoders] Preview window: always full screen?

2006-01-24 Thread Mike Britton
I apologize if this has been covered, but can someone tell me how to
make the Flash IDE preview window launch fullscreen?  I have
dynamically-scaling apps I need to test without causing a resize event
to trigger by making the damn window larger.  This is killing me!

Thanks in advance,

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


Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
It's the legal issue -- this implies risk where other options don't. 
Personally I love AMFPHP and have never observed it blowing up; it's
far faster than ColdFusion remoting in my experience.  Legal issues
aside, I'd go with it for enterprise-scale projects.

Mike


On 1/26/06, Simen Brekken [EMAIL PROTECTED] wrote:
  Hello Flashcoders,
  
  Question:
  What's your opinion and/or practice of using AMFPHP for client's
  project?
  

 AMFPHP is production ready (we run 20+ pretty big sites on it) but there's no
 warranty that it won't blow up and you'll have someone to call when it does.

 Regards,
 Simen Brekken


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



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
Any would-be lawyers lurking here who could once and for all help us
resolve this issue?

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


Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
Because they have a capable competing language, ColdFusion.  It would
be like bringing a product to market and then releasing a free version
of the same thing.

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


Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
If that is their approach, it inhibits AMFPHP which is itself oppressive.

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


Re: [Flashcoders] array question

2006-01-26 Thread Mike Britton
FruitArray = [apples, pears, watermelons, oranges, peaches];

for (i=0; iFruitArray.length; i++) {
if (FruitArray[i] == oranges) {
trace(i);
}
}

hth,

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


Re: [Flashcoders] AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
AMFPHP is really straightforward code -- any PHP programmer worth his
salt could go in and fix if needed.  It also keeps the option of
moving to CF or Java open, since your AS2 will be the same.

The project has picked up again and has been out of beta for some time.

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


Re: [Flashcoders] Microsoft Sparkle

2006-01-26 Thread Mike Britton
Agreed, well put.

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


Re: [Flashcoders] ActionScript Cheatsheet Update (new URL)!

2006-01-27 Thread Mike Britton
Nice!  It would be great if each element was a link to the docs!

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


Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
function1() {
function2();
}

function2() {
function3();
}

You could also use onEnterFrame to conditionally check for flags
indicating the progress of execution:

var f1Fired = false;
var f2Fired = false;
var f3Fired = false;

this.onEnterFrame = function() {
if (f1Fired) {
 trace(f1Fired);
 function2();
} else if (f2Fired) {
 trace(f2Fired);
 function3();
} else if (f3Fired) {
 trace(f3Fired);
} else {
function1();
}
}

function1() {
f1Fired = true;
}

function2() {
f2Fired = true;
}

function3() {
f3Fired = true;
}

Or setInterval could be employed, but it sounds like you need
sequential executions of your functions, in which case setInterval is
inappropriate.

hth

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


Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
The more of them you use, the slower the performance.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
Yes, don't think in terms of avoiding functions.  If something needs
to be repeated, it's a candidate for a function.  Performance is
important for a game, but if an app's object-orientated design makes
it a millisecond slower than procedural (inline) code, that's
acceptable if you get the benefits of reusable code (more functions). 
Sorry if I gave you the wrong impression.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
mCom components are an attractive alternative:

http://www.metaliq.com/mCOM/

These were formerly known as 'glic'.  Supposedly they are easier to skin, too.


Mike


On 2/1/06, Meinte van't Kruis [EMAIL PROTECTED] wrote:
 'something that can play nicely with stuff that other people are likely to
 use'

 well, that's a good point, but it's hard to tell which stuff people are
 likely to use, allthough macromedia's frameworks seems a good bet.

 but perhaps take a look at some opensource projects, i think that's a
 definitely a nice way to play. I haven't looked much into it, but aswing (
 http://www.osflash.org/aswing) seems to be promising.

 But perhaps (v2) components aren't that evil though, I should get more into
 it someday :).

 -Meinte

 On 1/31/06, Jason Rayles [EMAIL PROTECTED] wrote:
 
  Meinte,
 
  Thanks for the tip. I don't intend to use v2 components myself. I am
  trying to make a component for distribution, and I would like to make
  something that can play nicely with stuff that other people are
  likely to use.
 
  Jason
 
  On Jan 31, 2006, at 5:11 PM, [EMAIL PROTECTED]
  wrote:
 
   From: Meinte van't Kruis [EMAIL PROTECTED]
   Subject: Re: [Flashcoders] v2 components - are you kidding me?
   To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
   Message-ID:
 [EMAIL PROTECTED]
   Content-Type: text/plain; charset=ISO-8859-1
  
   then maybe your question should be:
  
   Why do I use V2 components?
  
   -Meinte
  
   (the first time I even tried using components was when I discovered the
   things it put on the highest level(of _root in that case), plus i saw
   my
   flash movie go from 5 to 60kb, I never looked at components again after
   that.)
  
   On 1/31/06, Jason Rayles [EMAIL PROTECTED] wrote:
  
   My main question is: why does opening a v2 combobox subsequently cause
   an onRollOut event to fire every time I click a button or movieclip,
   and is there any way to prevent that?
  
   Some other questions I have are:
   Is there anything that the combobox does right?
  
   Why can I not use getNextHighestDepth anymore when I put a component
   on
   the stage?
  
   Why does DepthManager.kCursor exist when I can still attach all kinds
   of objects above that depth?
  
   Why can I attach movie clips at depths that are outside the valid
   range?
  
 
  ___
  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



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Ghostwire's are fast and simple, but the deprecated AS1 syntax makes
me wonder how good they'll fit with a new project.  Are there plans to
update these components?

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


Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Much of AS1 isn't deprecated, but that's just how I think of it. 
Sorry if it seemed like I was declaring AS1 deprecated because it
isn't (officially).  The point I wanted to make was that it makes me
nervous to use AS1 stuff for practical reasons, one being the
*likelihood* AS1 contains much syntax that will be deprecated.

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


Re: [Flashcoders] How to alter all movieClips with as2

2006-02-02 Thread Mike Britton
class someObj extends MovieClip
{
public var someProperty:String;

function someObj() {}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
Fuse is giving this error:

Error opening URL http://www.mosessupposes.com/2004/sequencer/version.xml;

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


Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
Apologies to this list -- I solved the problem.  Just change the path to the
version xml file to your local path

com\mosesSupposes\util\sequencer\documentation

in Sequencer.as.

Works great!

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


Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
I found the download here:

http://www.mosessupposes.com/2004/sequencer/index2.html

This ARE the right files, right?


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


Re: [Flashcoders] Using Cairngorm, good idea?

2006-02-13 Thread Mike Britton
I think ARP http://osflash.org/arp would work well with this, too.  It would
make it easier to reapproach the code later.

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


Re: [Flashcoders] How can I display a tall document?

2006-02-22 Thread Mike Britton
Make a ScrollPane width and height equal to Stage.width and
Stage.height of a fullscreen app and load a clip containing your text
field into the ScrollPane.

You could also send the new textfield height to JavaScript and
dynamically resize the object and embed (I think, though I'd probably
never do it this way).

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


Re: [Flashcoders] How often do you use components? Or do you use it at all?

2006-02-26 Thread Mike Britton
I use the v2 components because I really don't like reinventing the wheel.
Unless you're creating a component set as a standalone product, I don't see
the value in making your own combobox, data grid, etc.  Educational, but a
waste of time.

Another reason I use the v2's: they will be versioned, and resulting changes
will be less involved than switching component sets in your application from
your own home-spun to something else.

I'll second Michael's wish-list item.  If component updates were frequent
enough to warrant it and the EULA were less rigid, automatic update of comps
would be a great benefit.  Hey Adobe, why don't you go ahead and open source
those babies so we can really share our applications?

my .02

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


Re: [Flashcoders] mailto is not working

2006-02-27 Thread Mike Britton
Better yet, don't use mailto: at all.  Personally I don't like when Outlook
opens from links.  It's disruptive.

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


Re: [Flashcoders] Attaching code to buttons already on stage

2006-02-27 Thread Mike Britton
var universalButtonHandler = new Object();
universalButtonHandler.click = function(eventObject) {
trace(click!);
trace(eventObject.target); // get button name
// Logic here
}
btn00.addEventListener(click, universalButtonHandler);
btn01.addEventListener(click, universalButtonHandler);


hth,

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


Re: [Flashcoders] How often do you use components? Or do you use it at all?

2006-02-27 Thread Mike Britton
I meant distribution / EULA concerns, not the ability to look at the code.

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


Re: [Flashcoders] Focus within the Browser

2006-02-27 Thread Mike Britton
No - just when you receive it.  When you lose focus, onblur is called.  The
event handler would look like

var obj00 = document.getElementById (oid);
obj00.onblur = function() {
alert(Embed tag has lost focus);
}



On 2/27/06, Claudia Barnal [EMAIL PROTECTED] wrote:

 Thanks Mike,

 I'm going to try this out as soon as possible. I had a quick look at it,
 for
 which I have only one question. Would this handle both when you loose
 focus
 and when you receive it?

 _
 Are you using the latest version of MSN Messenger? Download MSN Messenger
 7.5 today! http://messenger.msn.co.uk

 ___
 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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] Focus within the Browser

2006-02-27 Thread Mike Britton
I would look at onClick as the event handler if a mouse click is the entry
point.  Both object and embed tags support it, but don't forget that the
code I showed only works in Mozilla if the embed tag is taken out of the
object tag.  I'd have to work more with it to come up with anything more
specific.

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


Re: [Flashcoders] Q:Add tracking to dynamic text

2006-03-01 Thread Mike Britton
I've never heard of this being possible with dynamic text fields.  With
regular text fields you simply adjust the value with the IDE, of course.  If
it is possible I'd like to know myself.

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


Re: [Flashcoders] {Business/Workflow} The use of mock prototypes

2006-03-01 Thread Mike Britton
Thorough prototyping is so key.  I made a prototyping tool for
internal use that allows people to discuss prototype screens.  This
allows the designer to follow a discussion between users, creating
elements as they are requested.  I got the inspiration from success
with FLiP - style development
http://www.fusebox.org/index.cfm?fuseaction=fusebox.faq#gq20, which
uses something called devnotes
http://www.grokfusebox.com/index.cfm?ref=showGoodies.  Benefits are
the user knows what they are getting -- no surprises -- and the
requirements can be traced from devnotes all the way through the code
if necessary.  The public forum also helps eliminate the closed-door
design decisions that cause conflict.  Anyway this is how I prototype
so maybe it can give others some ideas.

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


Re: [Flashcoders] RIA patent granted

2006-03-02 Thread Mike Britton
All your innovations are belong to us

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


Re: [Flashcoders] RE: rich text box

2006-03-06 Thread Mike Britton
This one looks nice:

http://www.flashloaded.com/flashcomponents/flashtexteditor/

Pricey though for a component.

hth,

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


Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Mike Britton
Adobe Labs http://labs.macromedia.com/ is the place to go for demos and
examples.

 there isn't a build of flex for osx

It would be consistent with Eclipse's cross-platform standing if one were
eventually made available.  Flex Builder 2 should install on any machine
ColdFusion can install on.

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


Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-09 Thread Mike Britton
I did one, but I think the most interesting development podcasts
involve more than one person.  Conversation between more than one
developer is compelling; the pontifications of one person are weak, at
best.  I'm still trying to figure out the medium.

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


Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-10 Thread Mike Britton
Eric Dolecki's is the best out there right now.

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


Re: [Flashcoders] Accordion Component

2006-03-11 Thread Mike Britton
Here's some code I snipped out of one of my apps that uses the accordion.
I'm sure it can be simplified.

var childWidth:Number = 300;
var childHeight:Number = 200;

main_ac.setSize(300,400);

main_ac.createChild(View,latest,{label:  Posts});
main_ac.createChild(View,latestComments,{label:  Latest Comments});
main_ac.createChild(View,categories,{label:  Categories});
main_ac.createChild(View,authors,{label:  Authors});
main_ac.createChild(View,favorites,{label:  Favorite Entries});

latest_lb = main_ac.latest.createChild(EnhancedDataGrid, latest_lb);
latest_lb.setSize(childWidth,childHeight);

latestComments_lb = main_ac.latestComments.createChild(EnhancedDataGrid,
latestComments_lb);
latestComments_lb.setSize(childWidth,childHeight);

categories_lb = main_ac.categories.createChild(EnhancedDataGrid,
categories_lb);
categories_lb.setSize(childWidth,childHeight);

authors_lb = main_ac.authors.createChild(EnhancedDataGrid, authors_lb);
authors_lb.setSize(childWidth,childHeight);

favorites_lb = main_ac.favorites.createChild(EnhancedDataGrid,
favorites_lb);
favorites_lb.setSize(childWidth,childHeight);



On 3/11/06, Karthik [EMAIL PROTECTED] wrote:

  I need to set up an accordion component but its the
  first time that i deal with it, where can i learn how
  to uset it in deep form?

 Have you checked the help files? I'm pretty sure it comes with a good
 example and a snippet or three.

 -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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] 8.5 player and javascript

2006-03-27 Thread Mike Britton
I suggest switching to the flash.external (ExternalInterface) package.
 This seems to be *the way* to do it in AS3.  I use it currently in
AS2 and it works really well.

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


Re: [Flashcoders] Actionscript 2 - suitable for designers?

2006-03-27 Thread Mike Britton
Knowing AS2 well would also make it easier to learn architectural
frameworks for Flash applications (ARP and Cairngorn).  These allow
you to fully experience the benefits of OOP, and you get the added
bonus of a developer community around any given framework to answer
specific questions.

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


Re: [Flashcoders] Recommendation on good AS 2.0 framework code?

2006-03-29 Thread Mike Britton
ARP: http://www.osflash.org/arp

Cairngorn:
http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html

William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 -
respect!

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


Re: [Flashcoders] PayPal issues

2006-04-01 Thread Mike Britton
Thanks Dave, that's good to know.  You have to love when a company stops
supporting a product and fails to notify us about it.

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


Re: [Flashcoders] Local Connection Object problem

2006-04-11 Thread Mike Britton
I've also had problems when there's more than one instance of your
application active.  If the name of the LC is the same across applications
it can result in windows stealing LC's from each other.

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


Re: [Flashcoders] RE:Flashcoders] Extending Array Question

2006-04-18 Thread Mike Britton
class com.ArrayExtension extends Array
{

   public function ArrayExtension()
   {
   super()
var argString = arguments[0].split(,);

   for(var i=0; i argString.length; i++)
   push(argString[i]);

   }

}

Usage:

var arEx = new ArrayExtension(one,two,three);
trace(arEx.length);



hth,

Mike


On 4/18/06, Robert Leisle [EMAIL PROTECTED] wrote:
 You could also do:

 var myArray:ArrayExtension = new ArrayExtension();

 myArray.push(Hello, Goodbye, World);

 same result as doing them separately.



 [EMAIL PROTECTED] wrote:

 Thanks, that will work. So there is no definitive way to add the values all 
 at once, i.e. [1,4,5,76,3] when extending an Array?
 
 Thanks again.
 
 
 
 Ian Thomasn wrote:
 Hi there (whoever you are!)
 
 Your problem is that the [1,2,3] initialiser syntax is actually a
 short cut for creating a new Array() object, not an ArrayExtension().
 So you're replacing the object you just created with new().
 
 What you need to do is to _modify_ your ArrayExtension() object, not 
 replace it.
 
 If you try:
 
 var myArray:ArrayExtension = new ArrayExtension();
 
 myArray.push(Hello);
 myArray.push(Goodbye);
 myArray.push(World);
 
 That should sort your problem.
 
 HTH,
  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
 
 
 

 --
 ~
 Bob Leisle
 Headsprout Software  Engineering
 http://www.headsprout.com
 Where kids learn to read!


 ___
 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



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] ExternalInterface

2006-04-19 Thread Mike Britton
Sorry about the crappily-formatted code - I'm writing it in GMail!

FLASH:

import flash.external.ExternalInterface;

class blah
{
var instance:Object = new Object();
// Function alias for JavaScript
var methodName:String = goToCuePoint;
// Function alias for Actionscript
var method:Function = setPlayIndexByTrack;

function blah() {
ExternalInterface.addCallback(methodName, instance, method);
}

function setPlayIndexByTrack() {
  trace(dude, JS just called my AS!);
}

}


JS:

script language=JavaScript

function getNextTrack() {
thisMovie(mediaPlayer).goToCuePoint();
}

function thisMovie( movieName ) {
if (navigator.appName.indexOf(Microsoft) != -1) {
return window[movieName];
} else {
return document[movieName];
}
}

/script



hth,

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


Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Mike Britton
I hear ya.

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] MXNA

2006-04-28 Thread Mike Britton

What's going on with MXNA?  It looks like the server is down.

http://weblogs.macromedia.com/mxna/index.cfm


Mike
--
http://www.mikebritton.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] Required Actionscript Programmers

2006-05-02 Thread Mike Britton

As a precautionary measure, I never work with people who use the word 'gr8'.

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


Re: [Flashcoders] eLearning Standards Guide?

2006-05-02 Thread Mike Britton

Although e-learning is interesting, a call for these kinds of
standards is probably more appropriate on a design list or discussion
forum, not flashcoders imho (please correct me if I'm wrong).  That
is, unless the question relates to coding or best practices.

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


Re: [Flashcoders] retrieving names of external files in a folder (or is there something similar to Directors getNthFileNameInFolder())

2006-05-03 Thread Mike Britton

I made a very basic directory scraper class way back.  I use this with AMFPHP.

http://www.randomusa.com/flash/downloads/directoryScraper.zip

hth,

Mike


On 5/3/06, Mikael Wirén [EMAIL PROTECTED] wrote:

Hi gang,
I´m slowly finding the pros (can admit there are some =) and cons of Flash

I´m lookning for a method similar to Directors getNthFileInFolder().
Atm, i´m using a dirty solution, SendAndLoad(myFiles.php, myObj, POST) with a 
PHP file returning a variable containing the files in that folder.
Works well enough for the web but it feels like overkill for a standalone 
player, or?
Is there a simpler way to do this?

/Micke









___
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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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:del.icio.us API

2006-05-03 Thread Mike Britton

The API is under development and it requires authentication.  I looked
into it and it's pretty simple:

http://del.icio.us/api/posts/get?tag=humor

...returns an XML object like this:

posts dt=2006-05-03 tag=humor user=
post href= description= hash= others=2 tag=humor
time=2006-05-03T15:14:14Z/
/posts

Pretty easy to consume with Flash, but I'm not sure how to 1)
authenticate and 2) prevent being banned because of having a weird
user-agent.

hth


Mike


On 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi
Has anyone incorporated the  del.icio.us API or similar social bookmarking 
feature into any of their projects?

Just looking for examples and ideas at the moment and what is/isn't possible.

Thanks in advance
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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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:del.icio.us API

2006-05-03 Thread Mike Britton

This may be a dumb question, but how would HTTP basic authentication
be handled through AS2?  Wouldn't it have to go through some kind of
server-side proxy?

Mike Britton



On 5/3/06, Mike Chambers [EMAIL PROTECTED] wrote:

I am in the process of building an ActionScript 3 library to wrap this.

Every API should work, although:

1. You have to handle HTTP Basic authentication, either via the browser
(automatic) or ActionScript.

2. they currently don't have a crossdomain.xml file, so you have to go
through a proxy.

mike chambers

[EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
 Hi
 Has anyone incorporated the  del.icio.us API or similar social bookmarking 
feature into any of their projects?

 Just looking for examples and ideas at the moment and what is/isn't possible.

 Thanks in advance
 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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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:del.icio.us API

2006-05-04 Thread Mike Britton

Mike, can it be done with AS2?

Mike Britton



On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:


On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

 Also, I am doing this in AS3, not AS2.

You wouldn't happen to be doing this in AS3 on a Mac, would you
Mike?  ;-)

(Still waiting for a flex beta for Mac...)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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:del.icio.us API

2006-05-05 Thread Mike Britton

This technique is a bit sketchy though.


True, and their API isn't finalized.  There are few things more
soul-shattering than having your XML-parsing wrapper rendered obsolete
without warning.

Mike



On 5/5/06, elibol [EMAIL PROTECTED] wrote:

It can be done with AS2.

The easiest way would be to build an API around the query strings.

_xml.load(http://del.icio.us/api/posts/get?tag=humor);

This technique is a bit sketchy though.

M.

On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote:

 Mike, can it be done with AS2?

 Mike Britton



 On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:
 
  On May 4, 2006, at 1:01 PM, Mike Chambers wrote:
 
   Also, I am doing this in AS3, not AS2.
 
  You wouldn't happen to be doing this in AS3 on a Mac, would you
  Mike?  ;-)
 
  (Still waiting for a flex beta for Mac...)
  --
  Troy
  RPSystems, Ltd.
  http://www.rpsystems.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
 


 --
 Mike
 --
 http://www.mikebritton.com
 http://www.mikenkim.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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] ads inside a SWF

2006-05-07 Thread Mike Britton

Do it!

(Disclaimer: I have no legal training...)

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


Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton

How many nodes are in the XML file?

Can you post the code that does the parsing?

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


Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
) {
// create main menu after successful loading of XML
if (ok) {
this._parent._parent.loading._alpha = 0;
create_menu();
} else {
trace(menu_interactive_xml.getBytesLoaded());
}
};
//

counter = 0;
function create_menu() {
while (countermenu_interactive_xml.firstChild.childNodes.length)
{
attachMovie(global_button, btn+counter, counter+1);
//place the buttons
set(btn+counter+._x, counter*97-97);
row = 1;
if(counter3){
row = 2;
set(btn+counter+._y, btn1._y + 82);
set(btn+counter+._x, counter*97-485);
}
if(counter7){
row = 3;
set(btn+counter+._y, btn1._y + 164);
set(btn+counter+._x, counter*97-873);
}
if(counter11){
row = 4;
set(btn+counter+._y, btn1._y + 246);
set(btn+counter+._x, counter*97-1261);
}
if(counter15){
row = 5;
set(btn+counter+._y, btn1._y + 328);
set(btn+counter+._x, counter*97-1649);
}
set(btn+counter+.row, row);
set(btn+counter+.column, counter+1-((row-1)*4));
btn1._x = 0;
// set the button's text
set(btn+counter+.the_title,
menu_interactive_xml.firstChild.childNodes[counter].attributes.title);
set(btn+counter+.the_client,
menu_interactive_xml.firstChild.childNodes[counter].attributes.client);
//set(btn+counter+.image0,

menu_interactive_xml.firstChild.childNodes[counter].firstChild.childNodes);

//trace(btn1.image);
imgcounter = 0;
set(btn+counter+.totalImages,

menu_interactive_xml.firstChild.childNodes[counter].firstChild.childNodes.le
ngth);
totalImages =

menu_interactive_xml.firstChild.childNodes[counter].firstChild.childNodes.le
ngth;
//trace(totalImages);
//trace(imgcounter);
while (imgcounter=totalImages) {
set(btn+counter+.image+imgcounter,

menu_interactive_xml.firstChild.childNodes[counter].firstChild.childNodes[im
gcounter].childNodes);
imgcounter++;
}
//set(btn+counter+.btnNum, counter);
// load the button image
var mcLoader:MovieClipLoader = new MovieClipLoader();

mcLoader.loadClip
(images/interactive/thumbs/+menu_interactive_xml.firstChi
ld.childNodes[counter].attributes.buttonIMAGE,
this[btn+counter].imageLoader.btnImage);

counter++;
}
_parent._visible = true;
info_clip._visible = false;
}


--

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Britton
Sent: Thursday, May 25, 2006 10:18 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML Parsing

How many nodes are in the XML file?

Can you post the code that does the parsing?

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





--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] self published.

2006-05-30 Thread Mike Britton

Someone please correct me if I'm wrong, but it would be possible to make a
connection between servers using LocalConnection.  You'd have to ensure your
client swf was assigned an id to authenticate their application to access
the data.  There would have to be a security model, in other words.

Once again I've never done this so take my advice with a grain of salt, but
I'm sure interesting things are possible if they are sophisticated enough to
drop a crossdomain.xml to give you the ability to distribute components that
interact with your data.

In this case I have to say Flash would make a compelling choice for your
idea.


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


Re: [Flashcoders] re: self published

2006-05-31 Thread Mike Britton

Good luck Thomas.  From a high-level perspective, your server flash
element can create a localconnection to receive, and your client flash
element can do the sending.  In the data can be the type of action
required, allowing for a switch statement to route it properly, as well as
the data itself (XML or whatever).

Keep in mind that localconnections of the same name will break if both are
open at the same time.  If you have concurrent instances of your application
open, you'll observe this problem.

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


Re: [Flashcoders] self published.

2006-06-01 Thread Mike Britton

Red5 requires a jvm (or jre) on the server, if I read correctly.  I've been
trying to get my host to install one for shared hosting accounts, and would
use this red5 over localconnection if I were lucky enough to have java.

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


Re: [Flashcoders] mp3 play back being sped up

2006-06-06 Thread Mike Britton

The sample rate shopuld be 44.1Khz.  You may need to resample your audio
before you create the mp3.

I've also had problems using variable bitrate.


hth,

Mike Britton
___
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] anyone using mCom?

2006-06-07 Thread Mike Britton

Could someone please email these .mxps to me so I can do a visual inspection?

;-)

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


Re: [Flashcoders] Stretching Designs - Coded?

2006-06-11 Thread Mike Britton

Aaron, thanks for putting together that example.  I made an example of
keeping an element in the center of the Stage using zmc_tween along
with your technique, something I started doing to add a little depth
when the user resizes.  Just eye candy.  The attachment is your
example with zmc_tween being used on another clip on stage.

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

Re: [Flashcoders] Flash and Javascript Interaction

2006-06-12 Thread Mike Britton

I recommend going with ExternalInterface.  No external files needed:

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html

However the kit is good and definitely works!

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


Re: [Flashcoders] Flash coders content degrading

2006-06-12 Thread Mike Britton

Not to mention the ability to search through messages (or digests) for
keywords of interest.

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


Re: [Flashcoders] Flash coders content degrading

2006-06-13 Thread Mike Britton

Any way you look at it, we're building a searchable repository of both
newb and advanced tips.  Flash programmers aren't Nazis, marching
together as some kind of unified front against all newbies.  A
community has elements from all skill levels, and if a newbie has a
coding question for the group, I don't see why it shouldn't be asked.
If the newbie hasn't searched for the answer before posting, he/she
should receive a mild electric shock and we can be done with it.

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


Re: [Flashcoders] Flash coders content degrading

2006-06-13 Thread Mike Britton

I recommend avoiding flashvars and loading the XML using XML2
http://www.gskinner.com/blog/archives/2004/02/the_ultimate_as.html.



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] Yahoo! Maps Flash API

2006-06-14 Thread Mike Britton

I'm getting started with the Yahoo! Flash API, and noticed their Maps
mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget.  Looks
like Yahoo! needs to update their MXP to include this code since
there's an article on Adobe about how to use it.

http://www.adobe.com/devnet/flash/articles/yahoo_mashup_02.html

If anyone's run into this, let me know (and if you have this MXP with
com.yahoo.maps.widgets.NavigatorWidget included, I'd appreciate it
someone could send this to me offlist).


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


Re: [Flashcoders] growing animation

2006-06-20 Thread Mike Britton

It looks like a lot of onEnterFrame (to position the flower and adjust as it
grows) and setInterval for the spawning of the branches.  I think the text
generation uses setInterval, maybe 100 milliseconds to make it seem like
it's being output by a computer.  Really beautiful work, I think.

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


Re: [Flashcoders] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread Mike Britton

Seems like a hack to me, from both the AJAX programming and Flash
programming perspective.

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


Re: [Flashcoders] Sound markers

2006-06-27 Thread Mike Britton

Cuepoints can be used with mp3 as well as flv.


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


Re: [Flashcoders] Help for a Java Guy: Instantiating a MovieClip with a linked class and calling class methods

2006-07-06 Thread Mike Britton

Hey Julian,

I feel your pain.  Take a look at this example:
http://www.randomusa.com/flash/downloads/tojulian.zip

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


  1   2   >