Re: [Flashcoders] setNewTextFormat() woes

2006-04-21 Thread MBDI ICSC Rodrigo E. Curiel Salazar
Andreas, if i understood you correct, what you want is this:

var format1_fmt:TextFormat = new TextFormat();
format1_fmt.font = Arial;
var format2_fmt:TextFormat = new TextFormat();
format2_fmt.font = Courier;

var string1:String = Sample string number one.+newline;
var string2:String = Sample string number two.+newline;

this.createTextField(my_txt, this.getNextHighestDepth(), 0, 0, 300, 200);
my_txt.multiline = true;
my_txt.wordWrap = true;
my_txt.text = string1;
var firstIndex:Number = my_txt.length;
my_txt.text += string2;
var secondIndex:Number = my_txt.length;

my_txt.setTextFormat(0, firstIndex, format1_fmt);
my_txt.setTextFormat(firstIndex, secondIndex, format2_fmt);

Rodrigo


On 4/21/06, Andreas Rønning [EMAIL PROTECTED] wrote:

 Ok i'm confused.

 fmtOne = new TextFormat(Arial,20);
 fmtTwo = new TextFormat(Arial,40);
 blah = _root.createTextField(myField,10,0,0,100,100);
 blah.autoSize = true;
 blah.setNewTextFormat(fmtOne);
 blah.text+=First ;
 blah.setNewTextFormat(fmtTwo);
 blah.text+=Second;

 In my mind, based on what the docs say about setNewTextFormat and on
 what i'm 99% sure i've done before in some circumstance, the text field
 in this case should contain a small First and a larger Second.
 Instead setNewTextFormat() is acting like setTextFormat, setting all the
 text to fmtTwo. Is there a reason for this? If i try setting SPECIFIC
 letters to a textformat with setTextFormat(from,to,format) it works fine.

 I thought setNewTextFormat() only affects text added to the textField
 AFTER it has been called, not the complete field at any time, anywhere.

 As a better example of the kind of use i have for it; the actual problem
 AS:

 function sum() {
var count = 17;
var langCount = 4;
var searchString = A name;
var norm_fmt:TextFormat = new TextFormat();
norm_fmt.color = 0xFF;
norm_fmt.size = 16;
norm_fmt.font = ConduitNorm;
var bold_fmt:TextFormat = new TextFormat();
bold_fmt.color = 0xEFB21E;
bold_fmt.size = 18;
bold_fmt.font = ConduitBold;
sumField.text = ;
sumField.embedFonts = true;
sumField.setNewTextFormat(bold_fmt);
sumField.text += count;
sumField.setNewTextFormat(norm_fmt);
sumField.text +=  NameTones in ;
sumField.setNewTextFormat(bold_fmt);
sumField.text += langCount;
sumField.setNewTextFormat(norm_fmt);
sumField.text +=  different languages, was found on: ;
sumField.setNewTextFormat(bold_fmt);
sumField.text += searchString;
 }

 As above, all the text is set to bold_fmt, which is not cool

 - Andreas
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] setNewTextFormat() woes

2006-04-21 Thread Andreas Rønning
I was hoping i wouldn't have to do that.. But thanks Rodrigo, it'll do 
fine :)


- A

MBDI ICSC Rodrigo E. Curiel Salazar wrote:

Andreas, if i understood you correct, what you want is this:

var format1_fmt:TextFormat = new TextFormat();
format1_fmt.font = Arial;
var format2_fmt:TextFormat = new TextFormat();
format2_fmt.font = Courier;

var string1:String = Sample string number one.+newline;
var string2:String = Sample string number two.+newline;

this.createTextField(my_txt, this.getNextHighestDepth(), 0, 0, 300, 200);
my_txt.multiline = true;
my_txt.wordWrap = true;
my_txt.text = string1;
var firstIndex:Number = my_txt.length;
my_txt.text += string2;
var secondIndex:Number = my_txt.length;

my_txt.setTextFormat(0, firstIndex, format1_fmt);
my_txt.setTextFormat(firstIndex, secondIndex, format2_fmt);

Rodrigo


On 4/21/06, Andreas Rønning [EMAIL PROTECTED] wrote:
  

Ok i'm confused.

fmtOne = new TextFormat(Arial,20);
fmtTwo = new TextFormat(Arial,40);
blah = _root.createTextField(myField,10,0,0,100,100);
blah.autoSize = true;
blah.setNewTextFormat(fmtOne);
blah.text+=First ;
blah.setNewTextFormat(fmtTwo);
blah.text+=Second;

In my mind, based on what the docs say about setNewTextFormat and on
what i'm 99% sure i've done before in some circumstance, the text field
in this case should contain a small First and a larger Second.
Instead setNewTextFormat() is acting like setTextFormat, setting all the
text to fmtTwo. Is there a reason for this? If i try setting SPECIFIC
letters to a textformat with setTextFormat(from,to,format) it works fine.

I thought setNewTextFormat() only affects text added to the textField
AFTER it has been called, not the complete field at any time, anywhere.

As a better example of the kind of use i have for it; the actual problem
AS:

function sum() {
   var count = 17;
   var langCount = 4;
   var searchString = A name;
   var norm_fmt:TextFormat = new TextFormat();
   norm_fmt.color = 0xFF;
   norm_fmt.size = 16;
   norm_fmt.font = ConduitNorm;
   var bold_fmt:TextFormat = new TextFormat();
   bold_fmt.color = 0xEFB21E;
   bold_fmt.size = 18;
   bold_fmt.font = ConduitBold;
   sumField.text = ;
   sumField.embedFonts = true;
   sumField.setNewTextFormat(bold_fmt);
   sumField.text += count;
   sumField.setNewTextFormat(norm_fmt);
   sumField.text +=  NameTones in ;
   sumField.setNewTextFormat(bold_fmt);
   sumField.text += langCount;
   sumField.setNewTextFormat(norm_fmt);
   sumField.text +=  different languages, was found on: ;
   sumField.setNewTextFormat(bold_fmt);
   sumField.text += searchString;
}

As above, all the text is set to bold_fmt, which is not cool

- Andreas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT: Adobe Licensing - FAO John Dowdell, Mike Chambers et al.

2006-04-21 Thread Mike Mountain
AFAIK PPC and WIN CE aren't the same architecture? Surely Win Ce stuff
has to be compiled specifically for a porcessor?

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Dave Watts
 Sent: 21 April 2006 00:09
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] OT: Adobe Licensing - FAO John 
 Dowdell, Mike Chambers et al.
 
  Yep :) It works fine with version 6 player for the PPC.
 
 They just released version 7 for PPC, actually:
 http://www.macromedia.com/software/flashplayer_pocketpc/
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber 
 vendor-authorized instruction at our training centers in 
 Washington DC, Atlanta, Chicago, Baltimore, Northern 
 Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Wishlist email address?

2006-04-21 Thread Alias
Hi guys,

Does anyone know what the new adobe email address for flash feature
requests is? I'm thinking it's probably changed lately...

Thanks in advance,
Alias
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] greek/math chars

2006-04-21 Thread MetaArt
I must load some text from a .txt file into a dynamic textfield, but inside
the text there are some greek/math chars, like alpha, beta, delta...
I can't use the usual chracter entities, neither decimal chars nor hex
chars, because they use always the char ''.
How can I solve this? There isn't any other solution, out of fold in the
chars set in Flash?

 Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
http://www.metatad.it

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

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


Re: [Flashcoders] greek/math chars

2006-04-21 Thread Ian Thomas
Hi Enrico,

If you override the LoadVars method onData you can actually parse the
raw text from the text file, without having everything split up by 
and =.

See the help file for LoadVars.onData()

That might well help you.

Cheers,
  Ian

On 4/21/06, MetaArt [EMAIL PROTECTED] wrote:
 I must load some text from a .txt file into a dynamic textfield, but inside
 the text there are some greek/math chars, like alpha, beta, delta...
 I can't use the usual chracter entities, neither decimal chars nor hex
 chars, because they use always the char ''.
 How can I solve this? There isn't any other solution, out of fold in the
 chars set in Flash?

  Enrico Tomaselli
   + web designer +
   [EMAIL PROTECTED]
 http://www.metatad.it
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] greek/math chars

2006-04-21 Thread MetaArt
Thanx, Ian!...

 Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
http://www.metatad.it

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

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


RE: [Flashcoders] Single giant bitmap vs Multiple smaller bitmaps -Performance Effects?

2006-04-21 Thread Lee McColl-Sylvester
I know that Flash has certain issues when objects are scaled past a size
somewhere in the 1000+ dimaensions.  It would probably be better to
split the images up into sizes less than 1000 pixels to be sure.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
O'Brien
Sent: 21 April 2006 11:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Single giant bitmap vs Multiple smaller
bitmaps -Performance Effects?

Hey list, hope all is well.  I have a question about performance,  
thats been asked before but I can't find receiving any answer.

Is it much more desirable to chop a massive bitmap up when scrolling  
it across the horizon?  In my specific case I have bitmaps of between  
4000px - 6000px in length which will also likely be scaled up, as  
this is for a mProjector app that will need to go full screen.

Will the effort to chop it up be rewarded by much better  
performance?  Will it be much less strenuous for the player? (FP8 in  
this case)

Thanks in advance if anyone has any insight


On 1 Nov 2005, at 19:46, Bill Brown wrote:

 Is there any rendering performance difference between using one  
 giant bitmap
 versus slicing up the bitmap into smaller bitmaps?
 I am creating a scrolling game for a kiosk, so memory usage is not  
 a big
 issue.
 Currently I am slicing up one long unique image (no patterns or  
 repetitive
 parts) into several smaller jpegs and loading them into movieclips  
 when they
 are required (scrolled into view). The movieclips are removed when  
 they are
 scrolled out of view. Three scrolling movieclips are required at  
 any one
 time. The problem with this method is that there is a stutter each  
 time a
 movieclip is loaded with a jpeg, or removed.

 I am considering using just one giant bitmap and scrolling it to  
 remove the
 stutter. Also I suspect scrolling only one movieclip will be less of a
 performance hit than scrolling three movieclips.

 Does anyone one if one method or the other is better? Is there any
 difference at all?

 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


Re: [Flashcoders] Single giant bitmap vs Multiple smaller bitmaps - Performance Effects?

2006-04-21 Thread Peter O'Brien
Hey lee, thanks for your thoughts, but we'll only be scaling the  
giant bitmaps (2 of them) up to about 300%.


It works ok at the moment with both a 4000px and 6000px (bitmap  
filled) mc being tweened across the horizon.  i just wanted some  
clarification on whether this is pretty bad for performance, as  
opposed to chopping them up.


I think chopping them up is better, a colleague (or a boss rather,  
he's on this list) believes its not a problem for performance which  
if is correct is great news

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

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


Re: [Flashcoders] Single giant bitmap vs Multiple smaller bitmaps - Performance Effects?

2006-04-21 Thread James Marsden
Chopping up is better imo. We're developing a game with large scrolling 
backgrounds and chopping them from 3000x3000 to 256x256 made a big 
difference.


James

Peter O'Brien wrote:

Hey lee, thanks for your thoughts, but we'll only be scaling the  
giant bitmaps (2 of them) up to about 300%.


It works ok at the moment with both a 4000px and 6000px (bitmap  
filled) mc being tweened across the horizon.  i just wanted some  
clarification on whether this is pretty bad for performance, as  
opposed to chopping them up.


I think chopping them up is better, a colleague (or a boss rather,  
he's on this list) believes its not a problem for performance which  
if is correct is great news


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

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


[Flashcoders] WebService woes

2006-04-21 Thread Andreas Rønning
In the IDE, this works fine, and i have gotten no security sandbox 
warnings. In the SAplayer or browser, i get this:


FAULT
Unable to load WSDL, if currently online, please verify the URI and/or 
format of the WSDL


I've verified the URI, as it works in the IDE, but not outside.

Is this a problem on my end or theirs (i didn't do the webservice)?

- Andreas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Loren R. Elks
Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be able to
house all of these file types (maybe more) and provide versioning, check
in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2 docs
and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Ron Wheeler

Subversion and CVS are free and widely used.

We use Eclipse as the front-end and it works really well - even for 
marketing documentation and proposals.


Ron

Loren R. Elks wrote:

Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be able to
house all of these file types (maybe more) and provide versioning, check
in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2 docs
and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread JesterXL
Subversion.
http://subversion.tigris.org/

A Windows client:
http://tortoisesvn.tigris.org/

You can install yourself on your own server, or hosted.  I use these guys:
http://avlux.net/subversion/host.php

You will not be able to do a compare for binary files beyond Is this an 
exact match or not?.  That's it.  Since Word, Excel, FLA, ect. are binary, 
there is no such thing.

However, ASCII files (text ones), like TXT, AS, MXML, HTML, CSS and the rest 
WILL do comparisons.  You can track changes all types of files, and see who 
checked what in.  Newer versions of Subversion also have the ability to lock 
a file so you cannot check something in (Visual Source Safe had this by 
default, but many people didn't like it).


- Original Message - 
From: Loren R. Elks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 10:18 AM
Subject: [Flashcoders] SourceSafe??? Recommendations needed.


Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be able to
house all of these file types (maybe more) and provide versioning, check
in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2 docs
and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Managing Components and external .as files

2006-04-21 Thread Kevin Cannon
Hi,

I've started building a library of my own components for thing I reuse accross
projects.

I usually build stuff with external .as files, so I was wondering how I can
have manage the library of components if each component will have it's own
external as file. I don't want to copy the .as file into each project when I
need to use it.

What approach should I take?

Thanks,

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

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


Re: [Flashcoders] SourceSafe??? Recommendations needed.

2006-04-21 Thread Joshua Buhler
Our company tried using SourceSafe for a while, but gave up on it  
after it kept corrupting files, or locking them up and not allowing  
anyone to access them, without an admin's intervention.  Also, we  
couldn't find a decent Mac client for it either.


We switched to Subversion after that, and have been using it since.  
It's free, and is pretty easy to setup. We really haven't had any  
problems with it either, and the ones we have had were user related.  
I'd definitely recommend the SVN route.


- Josh


On Apr 21, 2006, at 8:32 AM, JesterXL wrote:


Subversion.
http://subversion.tigris.org/

A Windows client:
http://tortoisesvn.tigris.org/

You can install yourself on your own server, or hosted.  I use  
these guys:

http://avlux.net/subversion/host.php

You will not be able to do a compare for binary files beyond Is  
this an
exact match or not?.  That's it.  Since Word, Excel, FLA, ect. are  
binary,

there is no such thing.

However, ASCII files (text ones), like TXT, AS, MXML, HTML, CSS and  
the rest
WILL do comparisons.  You can track changes all types of files, and  
see who
checked what in.  Newer versions of Subversion also have the  
ability to lock
a file so you cannot check something in (Visual Source Safe had  
this by

default, but many people didn't like it).


- Original Message -
From: Loren R. Elks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 10:18 AM
Subject: [Flashcoders] SourceSafe??? Recommendations needed.


Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be  
able to
house all of these file types (maybe more) and provide versioning,  
check

in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2  
docs

and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Beverly Guillermo
Hello,

I worked with a previous company that used Alienbrain for its non-text 
documents and files but it is commercial software... (http://www.alienbrain.com)

Subversion and CVS are good open source alternatives like everyone else said.

-beverly

-Original Message-
From: Loren R. Elks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: 04/21/06 10:18 AM
Subject: [Flashcoders] SourceSafe???  Recommendations needed.

Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be able to
house all of these file types (maybe more) and provide versioning, check
in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2 docs
and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Managing Components and external .as files

2006-04-21 Thread JesterXL
An SWC.  Just make sure all of your components force the class into the SWF:

import YourClass;
var dependYourClass:YourClass;

And then compile an SWC that merely does the above.  Put the SWC into your 
library, and viola!

...it'll be hard to do syntax checking in AS only, or in MTASC without at 
least intrinsics, but if you don't want to port AS files around, well, 
that's the tradeoff.

- Original Message - 
From: Kevin Cannon [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 10:39 AM
Subject: [Flashcoders] Managing Components and external .as files


Hi,

I've started building a library of my own components for thing I reuse 
accross
projects.

I usually build stuff with external .as files, so I was wondering how I can
have manage the library of components if each component will have it's own
external as file. I don't want to copy the .as file into each project when I
need to use it.

What approach should I take?

Thanks,

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Components redraw . Weird

2006-04-21 Thread Patrick Jean
Hello . Out of curiosity, does anyone had issues with flash 8 components
having a redraw glitch on display ?

I have a clip that is maybe 3 level deep. That clip contains comboBoxes and
dateChoosers components. With Flash mx 2004 it was working fine, but with
Flash 8, when the clip is displayed, for maybe half a second the outline of
the components get double or blurry. Right now I mask it for a second
before displaying it but it's pretty anoying. Does anybody had that problem
and found a work-around ?

thanks a lot

Pat


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Managing Components and external .as files

2006-04-21 Thread Lee McColl-Sylvester
Where does the viola come into it?  How do musical instruments relate to
Flash SWC's???  I'm confused ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: 21 April 2006 15:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Managing Components and external .as files

An SWC.  Just make sure all of your components force the class into the
SWF:

import YourClass;
var dependYourClass:YourClass;

And then compile an SWC that merely does the above.  Put the SWC into
your 
library, and viola!

...it'll be hard to do syntax checking in AS only, or in MTASC without
at 
least intrinsics, but if you don't want to port AS files around, well, 
that's the tradeoff.

- Original Message - 
From: Kevin Cannon [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 10:39 AM
Subject: [Flashcoders] Managing Components and external .as files


Hi,

I've started building a library of my own components for thing I reuse 
accross
projects.

I usually build stuff with external .as files, so I was wondering how I
can
have manage the library of components if each component will have it's
own
external as file. I don't want to copy the .as file into each project
when I
need to use it.

What approach should I take?

Thanks,

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread eric dolecki
Use Subversion everyday - its awesome, its just right-clicking away on
files, its much faster than WinCVS (I think), its updated quite a lot, its
diff is quick, graphing is good, etc.

I love it.

- e.dolecki
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Peter Witham

Hi,

   We have been evaluation AlienBrain, it is not free but the  
versioning and source control is excellent. There are plugins for  
Photoshop and MAX (have only used these two) which integrate directly  
with the database making the whole process quick and painless. You  
may want to at least take a look at it www.alienbrain.com one nice  
feature is the ability to view images directly in the client and  
compare them before checking out.


Hope this helps,
Regards,
Peter Witham
www.evolutiondata.com

On Apr 21, 2006, at 9:18 AM, Loren R. Elks wrote:


Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be  
able to
house all of these file types (maybe more) and provide versioning,  
check

in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2  
docs

and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

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

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


Peter Witham
[EMAIL PROTECTED]
http://www.evolutiondata.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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Kevin Cannon
I believe subversions diff can actually handle binary files. Anyway, here's
some great articles for you to check out.

Article on using subversion with Flash:
http://www.ivantodorov.com/blog/?p=28

Also, BLITZ's directory structure and file name conventions are worth reading
too:
http://www.ivantodorov.com/blog/?p=24

- Kevin

On Fri, Apr 21, 2006 at 10:53:52AM -0400, eric dolecki wrote:
 Use Subversion everyday - its awesome, its just right-clicking away on
 files, its much faster than WinCVS (I think), its updated quite a lot, its
 diff is quick, graphing is good, etc.
 
 I love it.
 
 - e.dolecki
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread JesterXL
The comments about AlienBrain have a good point.  AlienBrian was originally 
marketed as a gaming industry source control system since creating games 
consisted of thousands of media assets.

Subversion on the other hand was created out of a need to have something 
better than VSS and CVS that was open source for code.

Considering the types of media formats you are looking at it, I'd have to 
concur with Peter and others that you should probably gander at AlienBrian 
as well.

- Original Message - 
From: Peter Witham [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 10:55 AM
Subject: Re: [Flashcoders] SourceSafe??? Recommendations needed.


Hi,

We have been evaluation AlienBrain, it is not free but the
versioning and source control is excellent. There are plugins for
Photoshop and MAX (have only used these two) which integrate directly
with the database making the whole process quick and painless. You
may want to at least take a look at it www.alienbrain.com one nice
feature is the ability to view images directly in the client and
compare them before checking out.

Hope this helps,
Regards,
Peter Witham
www.evolutiondata.com

On Apr 21, 2006, at 9:18 AM, Loren R. Elks wrote:

 Hi:

 We are slowing building our eLearning group in our company.  We are
 finding that we really need a system like SourceSafe.

 The question is, does anyone know if SourceSafe (or some other system
 handles):

 FLA, SWF files
 BMP, GIF, PNG, JPG files
 WAV files
 DOC files
 PDF files
 FM files (Framemaker) files
 PSD files
 Corel files
 We are looking for one system running on a server that would be
 able to
 house all of these file types (maybe more) and provide versioning,
 check
 in / check out, etc.

 Also, it would be nice if the system could do comparisons. (Although
 this may be asking for too much).  For example, it could compare 2
 docs
 and tell what the differences are.  However, this is a nicety, NOT a
 requirement.

 I appreciate any advice.


 Sincerely,

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

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

Peter Witham
[EMAIL PROTECTED]
http://www.evolutiondata.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] Multidimensional Array

2006-04-21 Thread Merrill, Jason
Chris,  I see you posted the same question on Flashnewbies too (tsk tsk)
- so I will reply here as well:

So as an alternative, how about using object arrays instead?
Personally, I like that so I can use dot syntax to get my data.
Multidimensional arrays have there uses, but they can also get real
messy and confusing real easy.  Objects with a hierarchy of properties
binds related data together.  

var people:Array = [
{firstname:Chris, lastname:Kennon, age:39, location:CA},
{firstname:Alice, lastname:Miller, age:24, location:WA},
{firstname:Margie, lastname:Johnson, age:36, location:MI}
 ];

//Then, to acesss:

trace(people[0].firstname) //traces Chris
trace(people[1].firstname)//traces Alice
trace(people[1].age) //traces 24
trace(people[2].location) //traces MI 
...etc. 

This way, the data sets stay associated with themselves.   You can
easily loop through the data to find all the people who have the last
name of Miller and live in CA that way.  I.e. to find all the names of
people who live in Michigan:

//data set:
var people:Array = [
{firstname:Chris, lastname:Kennon, age:39, location:CA},
{firstname:Alice, lastname:Miller, age:24, location:WA},
{firstname:Lucy, lastname:Adams, age:36, location:MI},
{firstname:George, lastname:Miller, age:24, location:AZ},
{firstname:Margie, lastname:Johnson, age:55, location:MI},
{firstname:Jim, lastname:Johnson, age:31, location:MI}
 ]; 

//find index function:
function findIndex(dataset:Array, findProperty:String,
findString:String):Array{
var resultsArray:Array = new Array();
for(var i=0; idataset.length; i++){
if(dataset[i][findProperty] == findString){
resultsArray.push(i);
}
}
return resultsArray;
}

//find indexes of people in Michigan:
var MichiganPeople:Array = findIndex(people, location, MI);

//show names of people in Michigan:
for(var i=0; iMichiganPeople.length; i++){
trace(people[MichiganPeople[i]].firstname+
+people[MichiganPeople[i]].lastname);
};

Hope that helps,

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com








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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] WebService woes

2006-04-21 Thread Matthew Simpson
It's in their WS.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning
Sent: Friday, April 21, 2006 10:15 AM
To: Flashcoders mailing list
Subject: [Flashcoders] WebService woes

In the IDE, this works fine, and i have gotten no security sandbox 
warnings. In the SAplayer or browser, i get this:

FAULT
Unable to load WSDL, if currently online, please verify the URI and/or 
format of the WSDL

I've verified the URI, as it works in the IDE, but not outside.

Is this a problem on my end or theirs (i didn't do the webservice)?

- Andreas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread Ben Smeets
Hi Loren

I Use sourcesafe for (amongst others) Flash files
(.bmp/.jpg/.as/.fla/.swf/.etc) and experience not problems at all. I use
eclipse with the sourcesafe plugin when developing flash. Although it is
not free and the free alternatives are at least just as good as
sourcesafe, if you *have* to use sourcesafe because it is the only
version controller in your environment, you shouldn't expect any
problems.

Grt, Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loren R.
Elks
Sent: vrijdag 21 april 2006 16:18
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] SourceSafe??? Recommendations needed.

Hi:

We are slowing building our eLearning group in our company.  We are
finding that we really need a system like SourceSafe.

The question is, does anyone know if SourceSafe (or some other system
handles):

FLA, SWF files
BMP, GIF, PNG, JPG files
WAV files
DOC files
PDF files
FM files (Framemaker) files
PSD files
Corel files
We are looking for one system running on a server that would be able to
house all of these file types (maybe more) and provide versioning, check
in / check out, etc.

Also, it would be nice if the system could do comparisons. (Although
this may be asking for too much).  For example, it could compare 2 docs
and tell what the differences are.  However, this is a nicety, NOT a
requirement.

I appreciate any advice.


Sincerely,

Loren Elks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SourceSafe??? Recommendations needed.

2006-04-21 Thread JesterXL
They can: Is this file the same as this file or not?

While that is helpful in knowing if the file I am checking in is newer than 
yours, it doesn't tell me if my Symbol in the library is different, if 
something has changed on frame 2, etc.

- Original Message - 
From: Kevin Cannon [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 21, 2006 11:10 AM
Subject: Re: [Flashcoders] SourceSafe??? Recommendations needed.


I believe subversions diff can actually handle binary files. Anyway, here's
some great articles for you to check out.

Article on using subversion with Flash:
http://www.ivantodorov.com/blog/?p=28

Also, BLITZ's directory structure and file name conventions are worth 
reading
too:
http://www.ivantodorov.com/blog/?p=24

- Kevin

On Fri, Apr 21, 2006 at 10:53:52AM -0400, eric dolecki wrote:
 Use Subversion everyday - its awesome, its just right-clicking away on
 files, its much faster than WinCVS (I think), its updated quite a lot, its
 diff is quick, graphing is good, etc.

 I love it.

 - e.dolecki
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Kevin Newman
Do you happen to know of any way to either stop a loading activex or to 
prevent it from loading?


Thanks,

Kevin N.


Geoff Stearns wrote:
setting display:none won't stop anything from loading, so it will load 
twice. (or load part way and then load again, etc.)




On Apr 21, 2006, at 1:08 AM, Kevin Newman wrote:


I change it so that it might work on all Objects. :-)

http://www.unfocus.com/projects/PatentMagic/

I took care of that loading forever bug too.

Does anyone know if setting display:none on an object prevents it 
from loading? If not, then double loading is the only thing left to 
take care of.


Nice coding btw.

Kevin N.


elibol wrote:

I've modified it to transfer FlashVars

http://anticipatechange.com/huseyin/patentMagic/


On 4/20/06, Kevin Newman [EMAIL PROTECTED] wrote:


All I'm doing to try and keep the objects from loading is defining all
objects with display:none - is there a more reliable way to prevent
objects from loading in the background? I took a quick look on msdn 
for

some ActiveX magic method, but wasn't able to find anything.

It looks like it does loose the values of some of the params
unfortunately. If there is a way around that, I'd be happy to 
implement

it.

Kevin N.


elibol wrote:


It doesn't seem to Geoff, I tested it with a 100%x100% object:

http://anticipatechange.com/huseyin/shifty.html

The object tag has noscale params, there is one problem though, it 
seems



as


if the replaced objects appear to still be loading from the browsers
perspective.

Besides this, seems like a reliable exploit so far. Nice job Kevin.

M.

On 4/20/06, elibol  [EMAIL PROTECTED] wrote:



Would it make sense for this to work with all Active X Objects? The


idea


is to override object activation by rewriting the objects after the


document

is loaded? Is this a hole in the activation process, where it 
will only

force activation when the page is being initialized? Objects written


after


the page is loaded slip through?

M.

On 4/20/06, Kevin Newman  [EMAIL PROTECTED] wrote:



I didn't want to have to redefine all the stuff that has already 
been

defined in the html object. So I made this: :-)

http://www.unfocus.com/projects/PatentMagic/

A super tiny js file include and a stylesheet takes care of all 
object
activation. It's a bit brute force, but it should get the job 
done if
you are looking for a quick fix and are using static embedded 
html. If

anyone has any ideas on how to make this more robust, please let me
know. :-)


Kevin N.


Geoff Stearns wrote:



you could do this with flashobject really easily.

just call fo.write() whenever you want and it will replace the 
object

you target with your flash movie.



On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:




I prefer solutions that try to hide IE's lack of conformity, like
Dean Edwards's IE 7 script:
http://dean.edwards.name/IE7/

There are just too many installations to realistically ignore 
them.


Speaking of hacking on IE, is there a way to prevent an object 
from
loading? By that I mean, I want to use Object tags to embed a 
Swf,

but I don't want it to download or load in the background until I
tell it to via a script interaction (vbscript or javascript). 
Will
hiding it via css do the trick, or will I need to take further 
steps

to keep it from loading?

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


RE: [Flashcoders] OT: Adobe Licensing - FAO John Dowdell, Mike C hambers et al.

2006-04-21 Thread Dave Watts
 AFAIK PPC and WIN CE aren't the same architecture? Surely Win 
 Ce stuff has to be compiled specifically for a porcessor?

Pocket PC (or more accurately, Windows Mobile) is a specialized version of
Windows CE. Primarily, it constrains hardware controls and interface
elements within Windows CE. Nowadays, all Pocket PC devices use ARM or
ARM-compatible processors, so if your Windows CE device also uses ARM, you
should be all set. If it uses something else, you're probably out of luck -
to the best of my knowledge, there is only a Windows Mobile version of the
Flash Player.

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

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

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

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


Re: [Flashcoders] SourceSafe??? Recommendations needed.

2006-04-21 Thread mark . jonkman
Hi

Figured I'd chime in with my 2 cents worth. I've not used AlienBrain so I can't 
comment on that. I have used VSS, StarTeam, CVS and another home rolled source 
control system. By far the absolute best system I've ever used is StarTeam 
(from Borland). It had the best feature set in terms of checking out/checking 
in, locking and unlocking files, keeping you appraised of who had what file 
checked out, when files were newer, what files you had on your machine that 
were modified etc.. 

When I was forced to convert to StarTeam from VSS, I was a bit pessimistic but 
it didn't take long to see that StarTeam had a much more sensible UI 
(although I'm not a fan of their latest icons) and actually made sense to more 
people. We used it for almost all our assets: fla, swf, as, psd, etc.. as well 
as documents (Word, Excel, PP, Project etc) and we had artists, project 
managers, senior managers, programmers, qa etc.. all using it and all 
understanding it.

Now I will be upfront and state clearly that I don't neccessarily believe that 
StarTeam has done a lot on the to minimize binary file growth other then to 
apply compression to the file. What I mean by that is if you were to say take a 
text file in CVS and look at how it stores it. It does so by saving all the 
changes into a single text file and uses a markup and indexing system to track 
what the latest version should be and who made all the individual changes up 
to that point. Something that can be easily done in text files is not something 
that can be so easily done with a binary file. As Jester points out, all 
version control systems to date cannot tell you what changed between saves of 
an fla or for that matter a swf. 

This means when you go to check a file in to a version control system, a binary 
file is often saved as a copy, the more check-ins the more copies of the file. 
My understanding is the Subversion was supposed to be doing something to 
minimize this affect on binary files. That they had or were working on some 
kind of change system like that used by CVS for text files although I haven't 
done enough research to prove that statement. 

If one is not careful, you can rapidly fill a version control system with small 
binary files (those smaller then the cluster size (is that the correct term?) 
 of a hard drive - ie. 4kb for Windows NT) because they take up more HD room 
then the file size. So when looking for a version control system you want to 
study how they save files, especially binary files, and make sure that they do 
something to minimize the affect. Some systems might take all the changes for a 
given file and put them into a single compressed archive thereby minimizing 
growth to some extent.

From my experience, no matter what version control system you use, you 
absolutely need a solid backup system for your version control system. And you 
need to test it frequently enough to ensure it is successfully backing up. I 
have seen first hand a group who used a version control system, failed to 
backup the database and vault correctly and eventually the db failed. While 
all the files were still in the vault there was no way to retrieve them 
because all the references were stored in the now defunct database. If you 
grow to rely on a version control system to be the repository for all files, 
you are dealing with a single point of failure and thus you need to make sure 
that you have armour plated backup/restore system.

Just before I left my previous employer, we began to switch from StarTeam to 
CVS, because CVS was cheaper (aka free) and therefore so much better. While 
there are a number of GUI interfaces to CVS we never found one that really 
satisfied our needs like StarTeam did. We also found CVS to be rather wanting 
in terms of features and we had a lot of issues with synchronization. We tried 
the SmartCVS and WinCVS interfaces as well as Tortoise interface. Each 
interface had some feature that worked better then others but none worked quite 
that way we wanted it to work and we lost countless hours of screwing around 
and trying to work around its limitations.

A good point to take away from that experience would be to look beyond the 
price tag. While CVS is a good repository system for some people it might not 
work that well for others. I haven't used Subversion to see if it is any 
better. Good version control systems are well worth their weight in gold. 
Glancing at the price tag of AlienBrain it is rather expensive, as is StarTeam 
(although I think StarTeam is slightly cheaper) and I believe VSS is also 
fairly pricey. There are two things to look at: cost of the server software and 
cost of individual client licenses. I would advise that you sit down and 
calculate how many man hours it would take to pay for a client license of one 
(or all) of the better source control systems.  Take those numbers and then sit 
down and begin to evaluate which system works for you. If you start to see 
major quirks 

Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-21 Thread ryanm
Do you happen to know of any way to either stop a loading activex or to 
prevent it from loading?


   Yes, don't write it to the page until you are ready for it to load. HTML 
is stateless, it's either there or it isn't. If it's there, it will load, if 
it's not, it won't. Use DHTML to add the tag to the page when you are ready 
for it to start loading.


ryanm 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Is AS2Unit a joke?

2006-04-21 Thread Isaac Rivera
I have not been able to get AS2Unit to report anything useful other  
than the number of tests. It always reports OK no matter how  
impossible or bogus my test is. It never finds anything wrong or fails.


Case in point are the simple Name class below and its companion  
tester (NameTester) class. Notice the last method in the tester  
(testTestFails) is designed to fail.


Drop a AS2Unit instance on the stage, add the following code to the  
first frame:


import NameTester;
var classes:Array = [NameTester];

and run...

I get:

...
Time: 0.001 seconds

OK (3 tests)

!!!

Now, perhaps I am not doing things right do to the fact that there is  
NO DOCUMENTATION for AS2Unit that I could find other than the article  
on FlashMagazine in which the methods to use for assertions are  
enumerated... without argument signatures!!!


Anyone know how to get this suite to work, is it reliable?

Isaac


Class to test:

class Name {
private var firstName:String;
private var lastName:String;
private var middleInitial:String;

	public function Name(firstName:String, middleInitial:String,  
lastName:String) {

this.firstName = firstName;
this.lastName = lastName;
if(middleInitial == null) middleInitial = ;
		if(middleInitial.length  1) middleInitial = middleInitial.substring 
(0, 1);
		if(middleInitial.length == 1) this.middleInitial = middleInitial +  
.;

else this.middleInitial = ;
}

public function getFirstName():String {
return this.firstName;
}

public function getLastName():String {
return this.lastName;
}

public function getMiddleInitial():String {
return this.middleInitial;
}

public function hasMiddleInitial():Boolean {
return this.middleInitial.length == 2;
}

public function equals(other:Object):Boolean {
if(other == null) return false;
if(!(other instanceof Name)) return false;
var that:Name = Name(other);
if(this.getFullName() == that.getFullName()) return true;
return false;
}

public function getFullName():String {
		return this.firstName + ((this.middleInitial.length == 2) ? (  +  
this.middleInitial +  ) :  );

}

public function toString():String {
return getFullName();
}
}

Tester Class:


import Name;
import as2unit.framework.TestCase

class NameTester extends TestCase {

private static var FIRSTNAME:String = Isaac;
private static var MIDDLEINITIAL:String = ;
private static var LASTNAME:String = Rivera;
	private static var CONTROLNAME:Name = new Name(FIRSTNAME,  
MIDDLEINITIAL, LASTNAME);


public function NameTester() {}

public function testGettersReturnCorrectValues():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);
assertNotNull(CONTROLNAME);

assertNotNull(testName.getFirstName());
assertNotNull(CONTROLNAME.getFirstName());
assertNotNull(testName.getMiddleInitial());
assertNotNull(CONTROLNAME.getMiddleInitial());
assertNotNull(testName.getLastName());
assertNotNull(CONTROLNAME.getLastName());

assertEquals(FIRSTNAME, testName.getFirstName());
assertEquals(MIDDLEINITIAL, testName.getMiddleInitial());
assertEquals(LASTNAME, testName.getLastName());

assertFalse(testName.hasMiddleInitial());
}

public function testEqualsWorksCorrectly():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);
assertNotNull(CONTROLNAME);

assertEquals(CONTROLNAME.getFirstName(), 
testName.getFirstName());
		assertEquals(CONTROLNAME.getMiddleInitial(),  
testName.getMiddleInitial());

assertEquals(CONTROLNAME.getLastName(), testName.getLastName());

assertTrue(testName.equals(CONTROLNAME));
}

public function testTestFails():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);

assertEquals(Carlos, testName.getFirstName());
assertEquals(Vizcarondo, testName.getMiddleInitial());
assertEquals(M., testName.getLastName());

assertTrue(testName.equals(new Object()));
}

}

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or 

Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-21 Thread Kevin Newman
Well yeah, that's what I would usually do, but that doesn't solve the 
specific problem I'm looking to solve here (I'm not concerned with the 
merits of this solution, I really just want to see if I can make it work).


If I could figure out how to detect when a new object tag has been added 
to the dom (I have some ideas, but have not tested them), then use some 
method call to disable it completely, I'd be satisfied with that. There 
is a disabled property, but I don't think that stops it from loading, I 
think that just stops the interactivity - is that correct? If so, does 
anyone know of a way to completely turn off an embedded object in IE?


Thanks,

Kevin N.


ryanm wrote:
Do you happen to know of any way to either stop a loading activex or 
to prevent it from loading?


   Yes, don't write it to the page until you are ready for it to load. 
HTML is stateless, it's either there or it isn't. If it's there, it 
will load, if it's not, it won't. Use DHTML to add the tag to the page 
when you are ready for it to start loading.


ryanm



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Kevin Newman
Sorry to reply to myself, but I was thinking that if it is possible to 
detect when an object is added to the dom tree, then I could just 
replace the object before it gets a chance to load, so I guess I 
wouldn't need to disable it. So now I guess the question is if it is 
possible to detect when an object is added...


Kevin N.



Kevin Newman wrote:
Well yeah, that's what I would usually do, but that doesn't solve the 
specific problem I'm looking to solve here (I'm not concerned with the 
merits of this solution, I really just want to see if I can make it 
work).


If I could figure out how to detect when a new object tag has been 
added to the dom (I have some ideas, but have not tested them), then 
use some method call to disable it completely, I'd be satisfied with 
that. There is a disabled property, but I don't think that stops it 
from loading, I think that just stops the interactivity - is that 
correct? If so, does anyone know of a way to completely turn off an 
embedded object in IE?


Thanks,

Kevin N.


ryanm wrote:
Do you happen to know of any way to either stop a loading activex or 
to prevent it from loading?


   Yes, don't write it to the page until you are ready for it to 
load. HTML is stateless, it's either there or it isn't. If it's 
there, it will load, if it's not, it won't. Use DHTML to add the tag 
to the page when you are ready for it to start loading.


ryanm


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Is AS2Unit a joke?

2006-04-21 Thread Isaac Rivera

never mind...

adding a methodName:String arg to the constructor solved the issues.

Isaac

On Apr 21, 2006, at 1:19 PM, Isaac Rivera wrote:

I have not been able to get AS2Unit to report anything useful other  
than the number of tests. It always reports OK no matter how  
impossible or bogus my test is. It never finds anything wrong or  
fails.


Case in point are the simple Name class below and its companion  
tester (NameTester) class. Notice the last method in the tester  
(testTestFails) is designed to fail.


Drop a AS2Unit instance on the stage, add the following code to the  
first frame:


import NameTester;
var classes:Array = [NameTester];

and run...

I get:

...
Time: 0.001 seconds

OK (3 tests)

!!!

Now, perhaps I am not doing things right do to the fact that there  
is NO DOCUMENTATION for AS2Unit that I could find other than the  
article on FlashMagazine in which the methods to use for assertions  
are enumerated... without argument signatures!!!


Anyone know how to get this suite to work, is it reliable?

Isaac


Class to test:

class Name {
private var firstName:String;
private var lastName:String;
private var middleInitial:String;

	public function Name(firstName:String, middleInitial:String,  
lastName:String) {

this.firstName = firstName;
this.lastName = lastName;
if(middleInitial == null) middleInitial = ;
		if(middleInitial.length  1) middleInitial =  
middleInitial.substring(0, 1);
		if(middleInitial.length == 1) this.middleInitial = middleInitial  
+ .;

else this.middleInitial = ;
}

public function getFirstName():String {
return this.firstName;
}

public function getLastName():String {
return this.lastName;
}

public function getMiddleInitial():String {
return this.middleInitial;
}

public function hasMiddleInitial():Boolean {
return this.middleInitial.length == 2;
}

public function equals(other:Object):Boolean {
if(other == null) return false;
if(!(other instanceof Name)) return false;
var that:Name = Name(other);
if(this.getFullName() == that.getFullName()) return true;
return false;
}

public function getFullName():String {
		return this.firstName + ((this.middleInitial.length == 2) ? (   
+ this.middleInitial +  ) :  );

}

public function toString():String {
return getFullName();
}
}

Tester Class:


import Name;
import as2unit.framework.TestCase

class NameTester extends TestCase {

private static var FIRSTNAME:String = Isaac;
private static var MIDDLEINITIAL:String = ;
private static var LASTNAME:String = Rivera;
	private static var CONTROLNAME:Name = new Name(FIRSTNAME,  
MIDDLEINITIAL, LASTNAME);


public function NameTester() {}

public function testGettersReturnCorrectValues():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);
assertNotNull(CONTROLNAME);

assertNotNull(testName.getFirstName());
assertNotNull(CONTROLNAME.getFirstName());
assertNotNull(testName.getMiddleInitial());
assertNotNull(CONTROLNAME.getMiddleInitial());
assertNotNull(testName.getLastName());
assertNotNull(CONTROLNAME.getLastName());

assertEquals(FIRSTNAME, testName.getFirstName());
assertEquals(MIDDLEINITIAL, testName.getMiddleInitial());
assertEquals(LASTNAME, testName.getLastName());

assertFalse(testName.hasMiddleInitial());
}

public function testEqualsWorksCorrectly():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);
assertNotNull(CONTROLNAME);

assertEquals(CONTROLNAME.getFirstName(), 
testName.getFirstName());
		assertEquals(CONTROLNAME.getMiddleInitial(),  
testName.getMiddleInitial());

assertEquals(CONTROLNAME.getLastName(), testName.getLastName());

assertTrue(testName.equals(CONTROLNAME));
}

public function testTestFails():Void {
var testName:Name = new Name(FIRSTNAME, MIDDLEINITIAL, 
LASTNAME);

assertNotNull(testName);

assertEquals(Carlos, testName.getFirstName());
assertEquals(Vizcarondo, testName.getMiddleInitial());
assertEquals(M., testName.getLastName());

assertTrue(testName.equals(new 

[Flashcoders] LoadVars trpuble

2006-04-21 Thread Richard Benton
I recently found that the problem with using LoadVars.send() inside an HTML
frameset in MSIE 6.0 (among other versions, presumably) is that for some
mysterious reason, the following HTTP header...

Content-type: application/x-www-form-urlencoded

...gets omitted from the resulting request, so despite all of the other
headers and data being sent to the server, PHP is unable to automatically
populate the $_POST variable, and it sounds like ASP runs into the same
problem.

Happily, since the data *does* get sent, with PHP anyway, if you set the
always_populate_raw_post_data php.ini core directive to 1 (see
http://us2.php.net/manual/en/ini.core.php for details), the page handling
the LoadVars.send() request can still access the data via the
$HTTP_RAW_POST_DATA variable. I'm not as familiar with ASP, but perhaps
there'd be a similar work-around there?

Best,
Rich

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Karina Steffens
Hi elibol,

Great job! And it seems that great minds think alike - yours is a similar
solution to the one I've been working on myself... I posted an earlier
version of my script on this list on Monday under the subject Active X and
Microsoft IE, but it got no comments. 
I've done some more work on it since, and I'm including the new script for
comparison.

I also added a nifty flash detection - if you add a param with the name
flashVersion, the script will check if the installed flash version matches
the param's value (same or higher) and react accordingly.
The flash detection bit works with all browsers, the flash replacement bit
only with IE.

Karina


--
//Set to true if you want it to apply only to flash objects and/or objects
with the class objectH
//Otherwise this will apply to all objects. default: false.
var flashOnly = false;

//Check if the browser is InternetExplorer
var ie = (navigator.appName.indexOf(Microsoft) != -1)

//Add a stylesheet for the hidden/visible classes, to prevent a jump after
the object is replaced.
if (ie){
document.write (style object{visibility:hidden;} /style)
}

/*Replace all flash objects on the page with the same flash object, 
by rewriting the outerHTML values
This bypasses the new IE ActiveX object activation issue*/
replaceFlash = function(){
//Get a list of all ActiveX objects
var objects = document.getElementsByTagName('object');

for (var i=0; iobjects.length; i++){
var o = objects[i];

//The outer html omits the param tags, so we must retrieve
and insert these separately
var paramList = o.getElementsByTagName('param');
var params = ;
for (var j = 0; j=paramList.length; j++) {
if (paramList[j] != null){
//Check for version first - applies to all
browsers
//For this to work, a new param needs to be
included in the object with the name flashVersion eg:
//param name=flashVersion value=7 /
if (paramList[j].name == flashVersion){
var hasFlash =
detectFlash(paramList[j].value)
if (!hasFlash){
stripFlash(o, paramList);
break;
}
}
params += paramList[j].outerHTML;
   
}
}
//Only target internet explorer
if (!ie){
continue;
}

//If flashOnly var is true then only flash objects and those
marked with objectH will be replaced.
if (flashOnly 
o.outerHTML.indexOf(application/x-shockwave-flash) == -1 
o.className.indexOf (replaceFlash) == -1){
continue;
}   

//Get the tag and attributes part of the outer html of the
object
var tag = o.outerHTML.split()[0] + ;  

//Add up the various bits that comprise the object:
//The tag with the attributes, the params and it's inner
html
var newObject = tag + params + o.innerHTML +  /OBJECT;

//And rewrite the outer html of the tag 
o.outerHTML = newObject;
}
//Make the object visible again
if (ie){
document.write (style object{visibility:visible;}
/style)
}
}

detectFlash = function(version){
if(navigator.plugins.length){
//Non-IE flash detection.
var plugin = navigator.plugins[Shockwave Flash];
if (plugin == undefined){
return false;
}
var ver = navigator.plugins[Shockwave
Flash].description.split( )[2];
return (Number(ver) = Number(version))
} else {
//IE flash detection.
try{
var flash = new
ActiveXObject(ShockwaveFlash.ShockwaveFlash. + version);
return true;
}
catch(e){
return false;
}
}
}

//Replace the object by a div tag containing the same innerHTML.
//To display a message for the user and a link to the flash installation
page, place it inside the object tag.
stripFlash = function (o, paramList){
var newHTML = o.innerHTML
newHTML = newHTML.replace (embed, span) 
var d = document.createElement(div)
d.innerHTML = newHTML

Re: [Flashcoders] Multidimensional Array

2006-04-21 Thread CK

Hi,

Sorry for the cross-post, this post was a mistake, but your reply is  
still greatly appreciated.



CK
On Apr 21, 2006, at 8:23 AM, Merrill, Jason wrote:

Chris,  I see you posted the same question on Flashnewbies too (tsk  
tsk)

- so I will reply here as well:

So as an alternative, how about using object arrays instead?
Personally, I like that so I can use dot syntax to get my data.
Multidimensional arrays have there uses, but they can also get real
messy and confusing real easy.  Objects with a hierarchy of properties
binds related data together.

var people:Array = [
{firstname:Chris, lastname:Kennon, age:39, location:CA},
{firstname:Alice, lastname:Miller, age:24, location:WA},
{firstname:Margie, lastname:Johnson, age:36, location:MI}
 ];

//Then, to acesss:

trace(people[0].firstname) //traces Chris
trace(people[1].firstname)//traces Alice
trace(people[1].age) //traces 24
trace(people[2].location) //traces MI   
...etc. 

This way, the data sets stay associated with themselves.   You can
easily loop through the data to find all the people who have the last
name of Miller and live in CA that way.  I.e. to find all the  
names of

people who live in Michigan:

//data set:
var people:Array = [
{firstname:Chris, lastname:Kennon, age:39, location:CA},
{firstname:Alice, lastname:Miller, age:24, location:WA},
{firstname:Lucy, lastname:Adams, age:36, location:MI},
{firstname:George, lastname:Miller, age:24, location:AZ},
{firstname:Margie, lastname:Johnson, age:55, location:MI},
{firstname:Jim, lastname:Johnson, age:31, location:MI}
 ]; 

//find index function:
function findIndex(dataset:Array, findProperty:String,
findString:String):Array{
var resultsArray:Array = new Array();
for(var i=0; idataset.length; i++){
if(dataset[i][findProperty] == findString){
resultsArray.push(i);
}
}
return resultsArray;
}

//find indexes of people in Michigan:
var MichiganPeople:Array = findIndex(people, location, MI);

//show names of people in Michigan:
for(var i=0; iMichiganPeople.length; i++){
trace(people[MichiganPeople[i]].firstname+
+people[MichiganPeople[i]].lastname);
};

Hope that helps,

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com








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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Implementing GroupName for my own component

2006-04-21 Thread Julian 'Julik' Tarkhanov
I would like to implement a radio-like  component and provide a  
groupName for it (I don't use MM components because they do not fit  
my application).


Is there a way to dynamically retrieve all siblings of the  
component's instance which have the same class (or subclass) of the  
component and the same groupName dynamically? Or will my best option  
be just implementing groupName as an accessor and refrencing  
dependent Radio buttons elsewhere?


That is, if I have 5 instances of RadioCompnent inside a specific  
timeline, can I programmatically retrieve all of them?

--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Karina Steffens
Hmm... I'm not sure if you can do that, but what about using an intermediate
stub? Then you could communicate with and tell it when to load the main
content. This might even work automatically, with one of the object
replacement techniques.

Or... Here's a thought - what if the style for the object starts with
display:none for the object, and then changes to display:block when the page
has loaded. display: none removes the element from the document's flow,
while visibility:hidden simply makes it invisible. Do you think this might
do the trick?

Karina 

 -Original Message-
 From: Kevin Newman [mailto:[EMAIL PROTECTED] 
 Sent: 21 April 2006 18:48
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] New wrinkle in IE activation issue...
 
 Sorry to reply to myself, but I was thinking that if it is 
 possible to detect when an object is added to the dom tree, 
 then I could just replace the object before it gets a chance 
 to load, so I guess I wouldn't need to disable it. So now I 
 guess the question is if it is possible to detect when an 
 object is added...
 
 Kevin N.
 
 
 
 Kevin Newman wrote:
  Well yeah, that's what I would usually do, but that doesn't 
 solve the 
  specific problem I'm looking to solve here (I'm not 
 concerned with the 
  merits of this solution, I really just want to see if I can make it 
  work).
 
  If I could figure out how to detect when a new object tag has been 
  added to the dom (I have some ideas, but have not tested 
 them), then 
  use some method call to disable it completely, I'd be 
 satisfied with 
  that. There is a disabled property, but I don't think that stops it 
  from loading, I think that just stops the interactivity - is that 
  correct? If so, does anyone know of a way to completely turn off an 
  embedded object in IE?
 
  Thanks,
 
  Kevin N.
 
 
  ryanm wrote:
  Do you happen to know of any way to either stop a loading 
 activex or 
  to prevent it from loading?
 
 Yes, don't write it to the page until you are ready for it to 
  load. HTML is stateless, it's either there or it isn't. If it's 
  there, it will load, if it's not, it won't. Use DHTML to 
 add the tag 
  to the page when you are ready for it to start loading.
 
  ryanm
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
I was looking for a way to load the html document into a string that was
defined in a container style html file which would replace all the object
tags with empty object tags and load the page this way, then after the page
is loaded, it would replace the objects with their true content, however, I
wasn't able to find a technique to get an external html document to load as
a string or just a passive kind of document object. The closest thing I
could find was loading the document as an XML file, but this does not work
since documents have non compliant syntax. I'm not too familiar with the
limitations of Javascript so some of my ideas may seem a bit far fetched...

Another idea I had was to write the document before it was loaded with blank
object tags, then rewrite it after it loaded with the original content,
however, I don't think this makes very much sense since the actual document
may just load after the write() invocation. It may be that I can't even grab
the documents objects until they've loaded, or that write() can only be used
after the document has loaded. I don't know the facts about either of these
conditions.

These are all attempts to solve the double loading problem. The idea was to
have the user replace their original document with this other document and
rename the original document with a special extension the other document
would load in as a string. This would make it easier to pacify the patent.

M.

On 4/21/06, Kevin Newman [EMAIL PROTECTED] wrote:

 Well yeah, that's what I would usually do, but that doesn't solve the
 specific problem I'm looking to solve here (I'm not concerned with the
 merits of this solution, I really just want to see if I can make it work).

 If I could figure out how to detect when a new object tag has been added
 to the dom (I have some ideas, but have not tested them), then use some
 method call to disable it completely, I'd be satisfied with that. There
 is a disabled property, but I don't think that stops it from loading, I
 think that just stops the interactivity - is that correct? If so, does
 anyone know of a way to completely turn off an embedded object in IE?

 Thanks,

 Kevin N.


 ryanm wrote:
  Do you happen to know of any way to either stop a loading activex or
  to prevent it from loading?
 
 Yes, don't write it to the page until you are ready for it to load.
  HTML is stateless, it's either there or it isn't. If it's there, it
  will load, if it's not, it won't. Use DHTML to add the tag to the page
  when you are ready for it to start loading.
 
  ryanm


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
Good working with it Kevin, if this last piece can be solved then it should
be very useful =]

M.

On 4/21/06, Kevin Newman [EMAIL PROTECTED] wrote:

 Well yeah, that's what I would usually do, but that doesn't solve the
 specific problem I'm looking to solve here (I'm not concerned with the
 merits of this solution, I really just want to see if I can make it work).

 If I could figure out how to detect when a new object tag has been added
 to the dom (I have some ideas, but have not tested them), then use some
 method call to disable it completely, I'd be satisfied with that. There
 is a disabled property, but I don't think that stops it from loading, I
 think that just stops the interactivity - is that correct? If so, does
 anyone know of a way to completely turn off an embedded object in IE?

 Thanks,

 Kevin N.


 ryanm wrote:
  Do you happen to know of any way to either stop a loading activex or
  to prevent it from loading?
 
 Yes, don't write it to the page until you are ready for it to load.
  HTML is stateless, it's either there or it isn't. If it's there, it
  will load, if it's not, it won't. Use DHTML to add the tag to the page
  when you are ready for it to start loading.
 
  ryanm


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
Hi Karina,

Kevin Newman deserves the credit, I've just written some of the code. Great
work though, I'm very happy to have a little team working on this problem
now. I'm sure we will solve it soon enough.

I think Geoff mentioned that display:none does not prevent the object from
loading, Ryan further validates this by giving us a clear idea of how html
documents function, so, we should continue under the assumption that if the
object is defined in the original document then it will always load.

M.

On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:

 Hmm... I'm not sure if you can do that, but what about using an
 intermediate
 stub? Then you could communicate with and tell it when to load the main
 content. This might even work automatically, with one of the object
 replacement techniques.

 Or... Here's a thought - what if the style for the object starts with
 display:none for the object, and then changes to display:block when the
 page
 has loaded. display: none removes the element from the document's flow,
 while visibility:hidden simply makes it invisible. Do you think this might
 do the trick?

 Karina

  -Original Message-
  From: Kevin Newman [mailto:[EMAIL PROTECTED]
  Sent: 21 April 2006 18:48
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] New wrinkle in IE activation issue...
 
  Sorry to reply to myself, but I was thinking that if it is
  possible to detect when an object is added to the dom tree,
  then I could just replace the object before it gets a chance
  to load, so I guess I wouldn't need to disable it. So now I
  guess the question is if it is possible to detect when an
  object is added...
 
  Kevin N.
 
 
 
  Kevin Newman wrote:
   Well yeah, that's what I would usually do, but that doesn't
  solve the
   specific problem I'm looking to solve here (I'm not
  concerned with the
   merits of this solution, I really just want to see if I can make it
   work).
  
   If I could figure out how to detect when a new object tag has been
   added to the dom (I have some ideas, but have not tested
  them), then
   use some method call to disable it completely, I'd be
  satisfied with
   that. There is a disabled property, but I don't think that stops it
   from loading, I think that just stops the interactivity - is that
   correct? If so, does anyone know of a way to completely turn off an
   embedded object in IE?
  
   Thanks,
  
   Kevin N.
  
  
   ryanm wrote:
   Do you happen to know of any way to either stop a loading
  activex or
   to prevent it from loading?
  
  Yes, don't write it to the page until you are ready for it to
   load. HTML is stateless, it's either there or it isn't. If it's
   there, it will load, if it's not, it won't. Use DHTML to
  add the tag
   to the page when you are ready for it to start loading.
  
   ryanm
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Again with the wmode

2006-04-21 Thread Merrill, Jason
I know this has been asked and answered a kagillion times, but I can't
seem to get a definitive answer in my searches:

The whole DHTML layer, browser, and flash object wmode thing - we can
get our DHTML layer to show over the top of our flash piece (which
contains some solid background images with animations) in IE using
wmode=transparent and Flash on layer1, but not Firefox, Netscape or
Opera - I KNEW (or at least I thought I knew) this had been a problem
already and that there hadn't been a workaround, but then I saw this
article:

http://www.communitymx.com/content/article.cfm?cid=E5141

It says, It's not uncommon to hear developers complaining that their
DHTML menus, when triggered, have dropped behind the Flash movie below
them. It's also not uncommon to hear, that's just how they work.
Before Flash Player 6, that was true in many browsers. But nowadays,
it's become urban legend With Flash Player 6, Macromedia introduced
windowless mode for Netscape and Mac OS X

So can we do it or not?  And if so how? Right now we have to do some
browser detection and then render out either the Flash or the image.

Thanks,


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Again with the wmode

2006-04-21 Thread Merrill, Jason
NEVERMIND - looks like we just needed to also add wmode to the embed
tags as well... looks like our developer has it working now.  


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, April 21, 2006 2:21 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Again with the wmode

I know this has been asked and answered a kagillion times, but I can't
seem to get a definitive answer in my searches:

The whole DHTML layer, browser, and flash object wmode thing - we can
get our DHTML layer to show over the top of our flash piece (which
contains some solid background images with animations) in IE using
wmode=transparent and Flash on layer1, but not Firefox, Netscape or
Opera - I KNEW (or at least I thought I knew) this had been a problem
already and that there hadn't been a workaround, but then I saw this
article:

http://www.communitymx.com/content/article.cfm?cid=E5141

It says, It's not uncommon to hear developers complaining that their
DHTML menus, when triggered, have dropped behind the Flash movie below
them. It's also not uncommon to hear, that's just how they work.
Before Flash Player 6, that was true in many browsers. But nowadays,
it's become urban legend With Flash Player 6, Macromedia
introduced
windowless mode for Netscape and Mac OS X

So can we do it or not?  And if so how? Right now we have to do some
browser detection and then render out either the Flash or the image.

Thanks,


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Dynamic sound generation in 8.5?

2006-04-21 Thread David Rorex
Well...

I wrote code to dynamically generate a .swf containing a simple sound,
using a ByteArray.

However, there's a problem: The flash player 8.5 b246 actually CRASHES
when I run my simple program. I submitted a bug report, hopefully
someone reads it and fixes it.

-David R

On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote:
 someone told me that there is a limitation with the byte array and sound
 object whereby you cannot reconstruct a sound object from a byte array. this
 is heresay, but from a knowledgable fellow.

 On 4/20/06, David Rorex [EMAIL PROTECTED] wrote:
 
  Has any progress been made in the area of dynamic sound and/or music
  generation?
 
  A couple of months ago there was a couple of big threads, one on
  possible MIDI support in the flash player (which seemed to be largely
  ignored by Macromedia), another about the possiblity of dynamicaly
  creating a ByteArray which contains a simple SWF with uncompressed
  sound, and then using Loader.loadBytes() to load it.
 
  http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes()
 
  Anyway, just wondering if anyone has experimented with these, or there
  has been any news about this topic (I've looked, haven't seen
  anything).
 
  -David 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
 



 --
 j:pn
 http://www.lennel.org
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Server-side animated GIF to SWF?

2006-04-21 Thread David Rorex
This does pretty much what you want:
http://www.quasimondo.com/archives/000407.php

However, it converts the gif by frames and not using timing I believe.

-David R

On 4/20/06, Rajat Paharia [EMAIL PROTECTED] wrote:

 My Flash 7 content running at various framerates needs to load in Animated
 GIFs on the fly and show them with the proper timing. The best way I can
 think of to do this is to have a server proxy that actually requests the
 GIF
 and converts it into a SWF on the fly and returns it. I'd like to write
 this
 in PHP if possible, and I'd like the timing in the SWF to be
 interval-based
 instead of frame-based, so that the content will show at the proper speed
 regardless of the framerate of the hosting movie. Has anyone done
 something
 like this before?

 And pointers would be much appreciated. best, - rajat
 --
 Rajat Paharia
 [EMAIL PROTECTED]
 http://www.bunchball.com
 http://www.rootburn.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] FP 8.5 MovieClipLoader bug?

2006-04-21 Thread David Rorex
On 4/20/06, eric dolecki [EMAIL PROTECTED] wrote:

 I am working on an application where I am loading images into a clip using
 a
 MovieClipLoader. The SWF is embedded in Python. After about 100 images are
 loaded into the same clip (over time - about 1 every 1-2 seconds), the
 images fail to load. Sometimes it happens after about the 40th image, but
 its more around the 100+ mark. The images being loaded are being sized
 down
 to fit - but the original images being loaded aren't that large (k).

 All image paths are correct too.

 I am making sure that I unload the contents of that clip before loading a
 new one - just to try to be as tidy as I can. The application doesn't seem
 to balloon in terms of memory usage - it hovers around the same amount
 throughout.

 Is this a known bug of FP 8.5? I can't find any reason why all of the
 sudden
 the images fail to load into the clip. I don't have cacheAsBitmap set to
 true on the clip either. Its a strange thing I am trying to track down and
 fix, but I now think the problem is actually player-related and not
 code-related.


Well, 8.5 still seems a bit buggy for me. I just posted another thread,
where simply loading a empty flash 8 swf with one sound into a very simple
as3 swf, causes the 8.5 player to crash. Hopefully they release another beta
version with more bugs fixed soon.

-David 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


Re: [Flashcoders] Dynamic sound generation in 8.5?

2006-04-21 Thread Johannes Nel
can you post some code to recreate this?

On 4/21/06, David Rorex [EMAIL PROTECTED] wrote:

 Well...

 I wrote code to dynamically generate a .swf containing a simple sound,
 using a ByteArray.

 However, there's a problem: The flash player 8.5 b246 actually CRASHES
 when I run my simple program. I submitted a bug report, hopefully
 someone reads it and fixes it.

 -David R

 On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote:
  someone told me that there is a limitation with the byte array and sound
  object whereby you cannot reconstruct a sound object from a byte array.
 this
  is heresay, but from a knowledgable fellow.
 
  On 4/20/06, David Rorex [EMAIL PROTECTED] wrote:
  
   Has any progress been made in the area of dynamic sound and/or music
   generation?
  
   A couple of months ago there was a couple of big threads, one on
   possible MIDI support in the flash player (which seemed to be largely
   ignored by Macromedia), another about the possiblity of dynamicaly
   creating a ByteArray which contains a simple SWF with uncompressed
   sound, and then using Loader.loadBytes() to load it.
  
  
 http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes()
  
   Anyway, just wondering if anyone has experimented with these, or there
   has been any news about this topic (I've looked, haven't seen
   anything).
  
   -David 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
  
 
 
 
  --
  j:pn
  http://www.lennel.org
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best practice DLL Integration

2006-04-21 Thread Wade Arnold
I have a project that I am working on that requires an exe integrated player
that can connect to a windows DLL. Has anyone done any flash to dll
integration projects and have URL's to show examples and best practices.
Also has anyone used in software programs that have aided in writing the dll
interface? 

Thanks;
Wade Arnold




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Again with the wmode

2006-04-21 Thread Karina Steffens
You can also try the alternative web standards solution, that does not
require an embed tag at all to work with firefox and other non-ie browsers:

object data=movie.swf
type=application/x-shockwave-flash
codebase=http://www.yourdomain.com;
width=620 
height=350

param name=movie value=movie.swf /
param name=menu value=false /
  param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p 
/object

There's an example on my home page: www.neo-archaic.net

I've been using this a lot lately, as it also creates a lot more lightweight
code.


Karina



 

 -Original Message-
 From: Merrill, Jason [mailto:[EMAIL PROTECTED] 
 Sent: 21 April 2006 19:27
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Again with the wmode
 
 NEVERMIND - looks like we just needed to also add wmode to 
 the embed tags as well... looks like our developer has it 
 working now.  
 
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
 
 
 
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:flashcoders- 
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Friday, April 21, 2006 2:21 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Again with the wmode
 
 I know this has been asked and answered a kagillion times, 
 but I can't 
 seem to get a definitive answer in my searches:
 
 The whole DHTML layer, browser, and flash object wmode 
 thing - we can 
 get our DHTML layer to show over the top of our flash piece (which 
 contains some solid background images with animations) in IE using 
 wmode=transparent and Flash on layer1, but not Firefox, Netscape or 
 Opera - I KNEW (or at least I thought I knew) this had been 
 a problem 
 already and that there hadn't been a workaround, but then I saw this
 article:
 
 http://www.communitymx.com/content/article.cfm?cid=E5141
 
 It says, It's not uncommon to hear developers complaining 
 that their 
 DHTML menus, when triggered, have dropped behind the Flash 
 movie below 
 them. It's also not uncommon to hear, that's just how they work.
 Before Flash Player 6, that was true in many browsers. But 
 nowadays, 
 it's become urban legend With Flash Player 6, Macromedia
 introduced
 windowless mode for Netscape and Mac OS X
 
 So can we do it or not?  And if so how? Right now we have 
 to do some 
 browser detection and then render out either the Flash or the image.
 
 Thanks,
 
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
 
 
 
 
 
 
 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@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Again with the wmode

2006-04-21 Thread Merrill, Jason
Super. Thanks.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Karina Steffens
Sent: Friday, April 21, 2006 3:32 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Again with the wmode

You can also try the alternative web standards solution, that does not
require an embed tag at all to work with firefox and other non-ie
browsers:

object data=movie.swf
  type=application/x-shockwave-flash
  codebase=http://www.yourdomain.com;
  width=620
  height=350

param name=movie value=movie.swf /
param name=menu value=false /
param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p
/object

There's an example on my home page: www.neo-archaic.net

I've been using this a lot lately, as it also creates a lot more
lightweight
code.


Karina





 -Original Message-
 From: Merrill, Jason [mailto:[EMAIL PROTECTED]
 Sent: 21 April 2006 19:27
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Again with the wmode

 NEVERMIND - looks like we just needed to also add wmode to
 the embed tags as well... looks like our developer has it
 working now.


 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Friday, April 21, 2006 2:21 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Again with the wmode
 
 I know this has been asked and answered a kagillion times,
 but I can't
 seem to get a definitive answer in my searches:
 
 The whole DHTML layer, browser, and flash object wmode
 thing - we can
 get our DHTML layer to show over the top of our flash piece (which
 contains some solid background images with animations) in IE using
 wmode=transparent and Flash on layer1, but not Firefox, Netscape
or
 Opera - I KNEW (or at least I thought I knew) this had been
 a problem
 already and that there hadn't been a workaround, but then I saw
this
 article:
 
 http://www.communitymx.com/content/article.cfm?cid=E5141
 
 It says, It's not uncommon to hear developers complaining
 that their
 DHTML menus, when triggered, have dropped behind the Flash
 movie below
 them. It's also not uncommon to hear, that's just how they work.
 Before Flash Player 6, that was true in many browsers. But
 nowadays,
 it's become urban legend With Flash Player 6, Macromedia
 introduced
 windowless mode for Netscape and Mac OS X
 
 So can we do it or not?  And if so how? Right now we have
 to do some
 browser detection and then render out either the Flash or the
image.
 
 Thanks,
 
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
 
 
 
 
 
 
 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@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Dynamic sound generation in 8.5!

2006-04-21 Thread David Rorex
Ok, actually I made some changes, and got the code working now. It's a
pretty 'brute force' method of doing it, and the sound is not real great
either, but you can generate different tones now.

Read about it here:
http://blog.davr.org/2006/04/21/dynamic-sound-in-85/

I hope someone with more skills can take this and make it more generic /
useful!

-David R

On 4/21/06, Johannes Nel [EMAIL PROTECTED] wrote:

 can you post some code to recreate this?

 On 4/21/06, David Rorex [EMAIL PROTECTED] wrote:
 
  Well...
 
  I wrote code to dynamically generate a .swf containing a simple sound,
  using a ByteArray.
 
  However, there's a problem: The flash player 8.5 b246 actually CRASHES
  when I run my simple program. I submitted a bug report, hopefully
  someone reads it and fixes it.
 
  -David R
 
  On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote:
   someone told me that there is a limitation with the byte array and
 sound
   object whereby you cannot reconstruct a sound object from a byte
 array.
  this
   is heresay, but from a knowledgable fellow.
  
   On 4/20/06, David Rorex [EMAIL PROTECTED] wrote:
   
Has any progress been made in the area of dynamic sound and/or music
generation?
   
A couple of months ago there was a couple of big threads, one on
possible MIDI support in the flash player (which seemed to be
 largely
ignored by Macromedia), another about the possiblity of dynamicaly
creating a ByteArray which contains a simple SWF with uncompressed
sound, and then using Loader.loadBytes() to load it.
   
   
 
 http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes()
   
Anyway, just wondering if anyone has experimented with these, or
 there
has been any news about this topic (I've looked, haven't seen
anything).
   
-David 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
   
  
  
  
   --
   j:pn
   http://www.lennel.org
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --
 j:pn
 http://www.lennel.org
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread ryanm
Following my previous email, I thought of a better way to test 
display:none

with flash.

   Display:none causes the object not to be rendered, but it is still 
instantiated in memory. The object exists and will begin loading, but but 
will not be displayed or consume any real estate on the page. The visibility 
style doesn't affect how the element is rendered, it only affects whether it 
is visible or not, so an invisible elemnt still takes up real estate on the 
page, you just can't see it. So if you have a table with display:inline that 
is invisible, the space will be reserved for the table, but it will not be 
rendered to the page. The display style sets the display mode of the element 
(inline, block, or none), and determines how page space is reserved for the 
element. It does not, however, tell the element anything at all about 
whether to begin loading, elements will load according to their defined 
behavior as soon as they exist on the page.


ryanm 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
I'm no expert on this, there are many others here that should know the
answer but my guess is that the object is downloaded but not rendered. You
can test this by calling a javascript function from within your flash movie.
try getURL('javascript:alert(movie running);'); from within your movie.

I just tested this, http://anticipatechange.com/huseyin/patentMagic/

I added a link that runs the disable css code and only when it is clicked
the movie object renders.

I think there is a distinct delineation that must be made between whether
objects are downloaded and whether they are active/rendered/running.

I think that if the objects are just downloaded, it makes no difference. My
only concern was hit counting scripts like hit box that would make calls
from within flash, but if the flash movie is never activated, it should not
double hits.

Nice work Karina,

M.

On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:

 Following my previous email, I thought of a better way to test
 display:none
 with flash.

 http://www.neo-archaic.net/display.htm has a page similar to the index
 page,
 but instead of the replaceFlash.js script, it has a link to a script
 called
 display.js with the following code:

 // JavaScript Document
 document.write (style id='hide' object{display:none;} /style)

 function show(){
 document.getElementById(hide).disabled = true;
 }
 function hide(){
 document.getElementById(hide).disabled = false;
 }

 Two links, show and hide, call the functions that control the display of a
 growing tree animation.

 What happens is that although the tree has had enough time to grow (you
 can
 wait all you want), it only starts growing after show() has been called,
 so
 that means it hasn't had the chance to load before, however long you wait
 before clicking.  When hide() is called, however, the animation stays
 loaded, and does not reload again.

 I think this proves that display:none prevents the flash from loading,
 unless there's a better explanation?

 Karina

 PS: The homepage www.neo-archaic.net has the display.js script enabled, so
 you can see it in action there.

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Server-side animated GIF to SWF?

2006-04-21 Thread Rajat Paharia
Awesome. Thanks David. - rajat

On 4/21/06, David Rorex [EMAIL PROTECTED] wrote:

 This does pretty much what you want:
 http://www.quasimondo.com/archives/000407.php

 However, it converts the gif by frames and not using timing I believe.

 -David R

 On 4/20/06, Rajat Paharia [EMAIL PROTECTED] wrote:
 
  My Flash 7 content running at various framerates needs to load in
 Animated
  GIFs on the fly and show them with the proper timing. The best way I can
  think of to do this is to have a server proxy that actually requests the
  GIF
  and converts it into a SWF on the fly and returns it. I'd like to write
  this
  in PHP if possible, and I'd like the timing in the SWF to be
  interval-based
  instead of frame-based, so that the content will show at the proper
 speed
  regardless of the framerate of the hosting movie. Has anyone done
  something
  like this before?
 
  And pointers would be much appreciated. best, - rajat
  --
  Rajat Paharia
  [EMAIL PROTECTED]
  http://www.bunchball.com
  http://www.rootburn.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




--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.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] Forcing XML connection closed from SWF

2006-04-21 Thread Nathanial Thelen
I was wondering if anyone out there know how to force a XML connection
closed once the onLoad has happened?  The way it works currently is that if
the webserver has keep-alives on, the connection to the server stays open.
I am pretty sure that the browser controls this, but would love to hear any
ideas on the topic.

Thanks,
Nate

--
Nathanial Thelen
Userplane
LA: 323-938-4401 x203
www.userplane.com

AOL: natethelen
MSN: [EMAIL PROTECTED]
--




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

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


Re: [Flashcoders] Again with the wmode

2006-04-21 Thread Geoff Stearns
flash satay is bad news - it breaks your params sometimes (in older  
safari versions) and JAWS will ignore your flash content.


you should use something like FlashObject instead*.

or SWFObject, etc. etc.

http://blog.deconcept.com/swfobject/



On Apr 21, 2006, at 3:31 PM, Karina Steffens wrote:


You can also try the alternative web standards solution, that does not
require an embed tag at all to work with firefox and other non-ie  
browsers:


object data=movie.swf
type=application/x-shockwave-flash
codebase=http://www.yourdomain.com;
width=620
height=350

param name=movie value=movie.swf /
param name=menu value=false /
  param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p
/object

There's an example on my home page: www.neo-archaic.net

I've been using this a lot lately, as it also creates a lot more  
lightweight

code.


Karina






-Original Message-
From: Merrill, Jason [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 19:27
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Again with the wmode

NEVERMIND - looks like we just needed to also add wmode to
the embed tags as well... looks like our developer has it
working now.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com











-Original Message-
From: [EMAIL PROTECTED]

[mailto:flashcoders-

[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, April 21, 2006 2:21 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Again with the wmode

I know this has been asked and answered a kagillion times,

but I can't

seem to get a definitive answer in my searches:

The whole DHTML layer, browser, and flash object wmode

thing - we can

get our DHTML layer to show over the top of our flash piece (which
contains some solid background images with animations) in IE using
wmode=transparent and Flash on layer1, but not Firefox, Netscape or
Opera - I KNEW (or at least I thought I knew) this had been

a problem
already and that there hadn't been a workaround, but then I saw  
this

article:

http://www.communitymx.com/content/article.cfm?cid=E5141

It says, It's not uncommon to hear developers complaining

that their

DHTML menus, when triggered, have dropped behind the Flash

movie below

them. It's also not uncommon to hear, that's just how they work.
Before Flash Player 6, that was true in many browsers. But

nowadays,

it's become urban legend With Flash Player 6, Macromedia

introduced

windowless mode for Netscape and Mac OS X

So can we do it or not?  And if so how? Right now we have

to do some
browser detection and then render out either the Flash or the  
image.


Thanks,


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Geoff Stearns
as i stated in another mail in another thread, using the 'object tag  
only' methods is very buggy and can cause lots of headaches...


JAWS will not read the Flash content, and some older browser will  
ignore the param tags, so you can't use flashvars or specifiy wmode  
or other parameters.


there's more info here:
http://weblogs.macromedia.com/accessibility/archives/2005/08/ 
in_search_of_a.cfm



On Apr 21, 2006, at 2:55 PM, Karina Steffens wrote:


Hiya,

Great work to you and Kevin. I'm writing a little tutorial about my  
solution

which I intend to place on my blog as soon as it's done. The version
detection was the last bit that I wanted to get sorted first, and  
it seems

to be working like a charm.

Regarding the display:none issue - I've changed my code from  
visibility to

display and noticed an interesting thing. Some background first:
I'm using a standards compatible version of the object tag:

object data=flash/home.swf
type=application/x-shockwave-flash
codebase=http://www.neo-archaic.net;
width=620
height=350

param name=movie value=flash/home.swf /
param name=menu value=false /
  param name=wmode value=transparent /
param name=quality value=best /

pAlternative content if flash is not present/p
/object

This works well on both ie and Mozilla based browsers without  
needing to use
the embed tag. The downside is that the movie waits until it's  
loaded before
it starts to play. On IE this results in a placeholder showing up  
briefly

before the content is loaded.

When I use the visibility:hidden style with the replaceFlash script  
and
reload the page locally, I don't see the placeholder because it  
disappears
before the content is replaced (the original object having loaded  
by then).
But when I change it to the display:none style, it appears again  
before the

movie starts playing.

This could mean that display:none does prevent the flash from  
loading after

all!

What do you think?

Karina








-Original Message-
From: elibol [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 19:18
To: Flashcoders mailing list
Subject: Re: [Flashcoders] New wrinkle in IE activation issue...

Hi Karina,

Kevin Newman deserves the credit, I've just written some of
the code. Great work though, I'm very happy to have a little
team working on this problem now. I'm sure we will solve it
soon enough.

I think Geoff mentioned that display:none does not prevent
the object from loading, Ryan further validates this by
giving us a clear idea of how html documents function, so, we
should continue under the assumption that if the object is
defined in the original document then it will always load.

M.

On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:


Hmm... I'm not sure if you can do that, but what about using an
intermediate stub? Then you could communicate with and tell

it when to

load the main content. This might even work automatically,

with one of

the object replacement techniques.

Or... Here's a thought - what if the style for the object

starts with

display:none for the object, and then changes to display:block when
the page has loaded. display: none removes the element from the
document's flow, while visibility:hidden simply makes it

invisible. Do

you think this might do the trick?

Karina


-Original Message-
From: Kevin Newman [mailto:[EMAIL PROTECTED]
Sent: 21 April 2006 18:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] New wrinkle in IE activation issue...

Sorry to reply to myself, but I was thinking that if it

is possible

to detect when an object is added to the dom tree, then I

could just

replace the object before it gets a chance to load, so I guess I
wouldn't need to disable it. So now I guess the question

is if it is

possible to detect when an object is added...

Kevin N.



Kevin Newman wrote:

Well yeah, that's what I would usually do, but that doesn't

solve the

specific problem I'm looking to solve here (I'm not

concerned with the

merits of this solution, I really just want to see if I

can make

it work).

If I could figure out how to detect when a new object

tag has been

added to the dom (I have some ideas, but have not tested

them), then

use some method call to disable it completely, I'd be

satisfied with

that. There is a disabled property, but I don't think

that stops

it from loading, I think that just stops the interactivity - is
that correct? If so, does anyone know of a way to

completely turn

off an embedded object in IE?

Thanks,

Kevin N.


ryanm wrote:

Do you happen to know of any way to either stop a loading

activex or

to prevent it from loading?


   Yes, don't write it to the page until you are ready

for it to

load. HTML is stateless, it's either there or it

isn't. If it's

there, it will load, if it's not, it won't. Use DHTML to

add the tag

to the page when you are ready for it to start loading.

ryanm



Re: [Flashcoders] Again with the wmode

2006-04-21 Thread John Dowdell

Merrill, Jason wrote:

[What browsers  plugin versions support WMODE compositing?]


I think IE/Win was the first to support it, with Flash  Shockwave 
support following pretty quickly... maybe IE4 it was.


Flash Player 6 Release Notes describe the first plugin invocation of the 
 Mozilla API for such drawing:

http://www.macromedia.com/support/flash/releasenotes/player/rn_6.html


Karina Steffens wrote:
 You can also try the alternative web standards solution, that does not
 require an embed tag at all to work with firefox and other non-ie 
browsers:


I'd recommend testing that really thoroughly, across the range of 
audience browser choices... the plugin-using browsers had a de facto 
standard of EMBED, but they still haven't documented their support of 
the later de jure standard OBJECT... WMODE on OBJECT tags haven't always 
taken without EMBED, and I think Geoff Stearns' comment section had some 
examples of this:

http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/

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


Re: [Flashcoders] Implementing GroupName for my own component

2006-04-21 Thread elibol
I think the best way to implement this would be to have a RadioGroup class
that would instantiate through static functions of the RadioButton class. A
static variable of the RadioGroup class would manage RadioGroup instances,
it would add and remove RadioGroup instances through a static API. A static
function of the RadioButton would take the RadioButton instances
radioGroupID property and check if it exists, if it does it would add the
instance to the radio group, if not it would instantiate a new radio group.

Each radio button would have an instance of the radio group they belonged
to, when they were selected, they would just call a select() style function
of their own radio group and submit their index/id to be activated. You
should handle activation and deactivation of radio buttons from the radio
group class.

You should also implement a die() method which derefrences radio buttons
from radio groups so that radio group instances are destroyed when they no
longer contain any radio buttons.

Hope this helps,

M.

On 4/21/06, Julian 'Julik' Tarkhanov [EMAIL PROTECTED] wrote:

 I would like to implement a radio-like  component and provide a
 groupName for it (I don't use MM components because they do not fit
 my application).

 Is there a way to dynamically retrieve all siblings of the
 component's instance which have the same class (or subclass) of the
 component and the same groupName dynamically? Or will my best option
 be just implementing groupName as an accessor and refrencing
 dependent Radio buttons elsewhere?

 That is, if I have 5 instances of RadioCompnent inside a specific
 timeline, can I programmatically retrieve all of them?
 --
 Julian 'Julik' Tarkhanov
 please send all personal mail to
 me at julik.nl


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Forcing XML connection closed from SWF

2006-04-21 Thread David Rorex
On 4/21/06, Nathanial Thelen [EMAIL PROTECTED] wrote:

 I was wondering if anyone out there know how to force a XML connection
 closed once the onLoad has happened?  The way it works currently is that
 if
 the webserver has keep-alives on, the connection to the server stays open.
 I am pretty sure that the browser controls this, but would love to hear
 any
 ideas on the topic.


Possibly you could use a php file (or whatever server scripting language you
use ) on the server, which does only 2 simple things:
1. Send a HTTP header that indicates not to use keep-alive. Keep-alive: no
or something? look up the exact command. This will tell the browser not to
use that feature.
2. Print out the xml file, which will be received by flash.


-David 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


Re: [Flashcoders] Forcing XML connection closed from SWF

2006-04-21 Thread Nathanial Thelen
Thank you for the idea on that one.  I am particularly looking for a browser
side only solution in this case.

Thanks,
Nate


On 4/21/06 2:57 PM, David Rorex [EMAIL PROTECTED] wrote:

 On 4/21/06, Nathanial Thelen [EMAIL PROTECTED] wrote:
 
 I was wondering if anyone out there know how to force a XML connection
 closed once the onLoad has happened?  The way it works currently is that
 if
 the webserver has keep-alives on, the connection to the server stays open.
 I am pretty sure that the browser controls this, but would love to hear
 any
 ideas on the topic.
 
 
 Possibly you could use a php file (or whatever server scripting language you
 use ) on the server, which does only 2 simple things:
 1. Send a HTTP header that indicates not to use keep-alive. Keep-alive: no
 or something? look up the exact command. This will tell the browser not to
 use that feature.
 2. Print out the xml file, which will be received by flash.
 
 
 -David 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


--
Nathanial Thelen
Partner
Userplane
LA: 323-938-4401 x203
www.userplane.com

AOL: natethelen
MSN: [EMAIL PROTECTED]
--




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

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


Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
Is the object tag only method the Flash Satay method?

M.

On 4/21/06, Geoff Stearns [EMAIL PROTECTED] wrote:

 as i stated in another mail in another thread, using the 'object tag
 only' methods is very buggy and can cause lots of headaches...

 JAWS will not read the Flash content, and some older browser will
 ignore the param tags, so you can't use flashvars or specifiy wmode
 or other parameters.

 there's more info here:
 http://weblogs.macromedia.com/accessibility/archives/2005/08/
 in_search_of_a.cfm


 On Apr 21, 2006, at 2:55 PM, Karina Steffens wrote:

  Hiya,
 
  Great work to you and Kevin. I'm writing a little tutorial about my
  solution
  which I intend to place on my blog as soon as it's done. The version
  detection was the last bit that I wanted to get sorted first, and
  it seems
  to be working like a charm.
 
  Regarding the display:none issue - I've changed my code from
  visibility to
  display and noticed an interesting thing. Some background first:
  I'm using a standards compatible version of the object tag:
 
  object data=flash/home.swf
type=application/x-shockwave-flash
codebase=http://www.neo-archaic.net;
width=620
height=350
 
  param name=movie value=flash/home.swf /
  param name=menu value=false /
  param name=wmode value=transparent /
  param name=quality value=best /
 
  pAlternative content if flash is not present/p
  /object
 
  This works well on both ie and Mozilla based browsers without
  needing to use
  the embed tag. The downside is that the movie waits until it's
  loaded before
  it starts to play. On IE this results in a placeholder showing up
  briefly
  before the content is loaded.
 
  When I use the visibility:hidden style with the replaceFlash script
  and
  reload the page locally, I don't see the placeholder because it
  disappears
  before the content is replaced (the original object having loaded
  by then).
  But when I change it to the display:none style, it appears again
  before the
  movie starts playing.
 
  This could mean that display:none does prevent the flash from
  loading after
  all!
 
  What do you think?
 
  Karina
 
 
 
 
 
 
 
  -Original Message-
  From: elibol [mailto:[EMAIL PROTECTED]
  Sent: 21 April 2006 19:18
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] New wrinkle in IE activation issue...
 
  Hi Karina,
 
  Kevin Newman deserves the credit, I've just written some of
  the code. Great work though, I'm very happy to have a little
  team working on this problem now. I'm sure we will solve it
  soon enough.
 
  I think Geoff mentioned that display:none does not prevent
  the object from loading, Ryan further validates this by
  giving us a clear idea of how html documents function, so, we
  should continue under the assumption that if the object is
  defined in the original document then it will always load.
 
  M.
 
  On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:
 
  Hmm... I'm not sure if you can do that, but what about using an
  intermediate stub? Then you could communicate with and tell
  it when to
  load the main content. This might even work automatically,
  with one of
  the object replacement techniques.
 
  Or... Here's a thought - what if the style for the object
  starts with
  display:none for the object, and then changes to display:block when
  the page has loaded. display: none removes the element from the
  document's flow, while visibility:hidden simply makes it
  invisible. Do
  you think this might do the trick?
 
  Karina
 
  -Original Message-
  From: Kevin Newman [mailto:[EMAIL PROTECTED]
  Sent: 21 April 2006 18:48
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] New wrinkle in IE activation issue...
 
  Sorry to reply to myself, but I was thinking that if it
  is possible
  to detect when an object is added to the dom tree, then I
  could just
  replace the object before it gets a chance to load, so I guess I
  wouldn't need to disable it. So now I guess the question
  is if it is
  possible to detect when an object is added...
 
  Kevin N.
 
 
 
  Kevin Newman wrote:
  Well yeah, that's what I would usually do, but that doesn't
  solve the
  specific problem I'm looking to solve here (I'm not
  concerned with the
  merits of this solution, I really just want to see if I
  can make
  it work).
 
  If I could figure out how to detect when a new object
  tag has been
  added to the dom (I have some ideas, but have not tested
  them), then
  use some method call to disable it completely, I'd be
  satisfied with
  that. There is a disabled property, but I don't think
  that stops
  it from loading, I think that just stops the interactivity - is
  that correct? If so, does anyone know of a way to
  completely turn
  off an embedded object in IE?
 
  Thanks,
 
  Kevin N.
 
 
  ryanm wrote:
  Do you happen to know of any way to either stop a loading
  activex or
  to prevent it from loading?
 
 

Re: [Flashcoders] Swish-type text animation

2006-04-21 Thread elibol
Sweet idea Jesse, real original.

There is also the Yugo style from back in the days of Monocraft where you
would create a movieclip that contained a textfield which would embody a
single letter. You would tween this dynamic letter, and through external
means, generate, kern, break lines and such manually to generate a neat
effect.

There is another method to do this too, with just dynamic textfields. You
have to be creative though, I mean, the most basic form of this is to just
run an onEnterFrame loop that populates a textfield with each letter in a
string. I've written some things that combine both methods, where you would
create a dynamic letter effect and destroy the movieclip and replace it with
a letter in a text field once it was finished tweening.

Here is a really old example of the first style I mention, it uses random
positioning and rotation with the Yugo style, I wrote it in AS 1.0 from
flash 5 days:

http://anticipatechange.com/huseyin/letloose.html

I really should rework that one, the text in the input field is not even
embedded .

Example of the latter is the dynamic type at the bottom on this page:
http://anticipatechange.com/huseyin/wtf/

Don't be frightened, I'm just weird.

Another example of the latter style is how Yugo handles type on his
experimental site:

www.yugop.com

My two cents: I think it's important to try and be original if you have at
dynamic type tweening.

Hope this helps,

M.

On 4/20/06, Ettwein, Josh [EMAIL PROTECTED] wrote:

 Just curious... I haven't endeavored to use a 3p tool like this in
 years, so I'm wondering what, if anything people are using to generate
 text effects nowadays? Short of hand-animating it yourself, of course.

 Josh


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Sr. Flash Designers/Devs, Los Angeles, CA (F/T or Contract)

2006-04-21 Thread Beau Gould

Sr. Flash Designers/Devs, Los Angeles, CA (F/T or Contract)

My client is a full service creative advertising agency recognized in
the motion picture and television industry as a leader in print campaign
design, development, and integrated online and grass-roots marketing.

They are looking for 7 Senior level Flash Actionscript/Javascript
Developers and Senior Flash Designers.

My client is located in the Hollywood Media District, one block North of
Santa Monica Boulevard, Los Angeles, CA.  They're offering market or
better salaries/hourly rates (dep on exp).  Some other benefits include
health, dental, vision, catered lunch every day and much more.

Full time salary: 75-115k (more for superstars)
Hourly rates: 50-100/hour (more for superstars)

If you have heavy experience as a Flash Designer or Developer please 
submit your resume/portfolio and salary or hourly requirements to

[EMAIL PROTECTED]

Candidates MUST work on-site.  Telecommuting is not an option.

My client will relocate non-local candidates interested in F/T work. 
Must be a US Citizen or green card holder residing in the USA.




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Kevin Newman

Hi ryanm,

I see what you are saying about the object node existing in the dom tree 
in IE's (or any browser's) memory, even if the object is set to 
display:none. I think the question as it relates to this hack is whether 
in IE's specific implementation is downloading and running the 
ActiveXObject if the object is hidden in this way.


There are some ways to test this, as some other on here have done with 
promising results (and I'll add my own tests in a few), but it would be 
good to get a hold of some documentation that show's clearly whether or 
not IE is loading that content.


Kevin N.



ryanm wrote:
Following my previous email, I thought of a better way to test 
display:none

with flash.

   Display:none causes the object not to be rendered, but it is still 
instantiated in memory. The object exists and will begin loading, but 
but will not be displayed or consume any real estate on the page. The 
visibility style doesn't affect how the element is rendered, it only 
affects whether it is visible or not, so an invisible elemnt still 
takes up real estate on the page, you just can't see it. So if you 
have a table with display:inline that is invisible, the space will be 
reserved for the table, but it will not be rendered to the page. The 
display style sets the display mode of the element (inline, block, or 
none), and determines how page space is reserved for the element. It 
does not, however, tell the element anything at all about whether to 
begin loading, elements will load according to their defined behavior 
as soon as they exist on the page.


ryanm



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread Kevin Newman

Hello guys,

I added a test here: http://www.unfocus.com/projects/PatentMagic/sound.html

The good news is that the sound doesn't play in if the object is hidden 
with display:block. So this at least appears to work. I will add some 
more thorough tests using other ActiveX types and some that ping the 
server to see what's really happening.


It has been quite fun working with you guys on this. :-)

Thanks,

Kevin N.


elibol wrote:

I'm no expert on this, there are many others here that should know the
answer but my guess is that the object is downloaded but not rendered. You
can test this by calling a javascript function from within your flash movie.
try getURL('javascript:alert(movie running);'); from within your movie.

I just tested this, http://anticipatechange.com/huseyin/patentMagic/

I added a link that runs the disable css code and only when it is clicked
the movie object renders.

I think there is a distinct delineation that must be made between whether
objects are downloaded and whether they are active/rendered/running.

I think that if the objects are just downloaded, it makes no difference. My
only concern was hit counting scripts like hit box that would make calls
from within flash, but if the flash movie is never activated, it should not
double hits.

Nice work Karina,

M.

On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:
  

Following my previous email, I thought of a better way to test
display:none
with flash.

http://www.neo-archaic.net/display.htm has a page similar to the index
page,
but instead of the replaceFlash.js script, it has a link to a script
called
display.js with the following code:

// JavaScript Document
document.write (style id='hide' object{display:none;} /style)

function show(){
document.getElementById(hide).disabled = true;
}
function hide(){
document.getElementById(hide).disabled = false;
}

Two links, show and hide, call the functions that control the display of a
growing tree animation.

What happens is that although the tree has had enough time to grow (you
can
wait all you want), it only starts growing after show() has been called,
so
that means it hasn't had the chance to load before, however long you wait
before clicking.  When hide() is called, however, the animation stays
loaded, and does not reload again.

I think this proves that display:none prevents the flash from loading,
unless there's a better explanation?

Karina

PS: The homepage www.neo-archaic.net has the display.js script enabled, so
you can see it in action there.




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Firefox, CSS overflow=scroll, flash buttons bug

2006-04-21 Thread Mike Guerrero
So I am having a weird problem. I have a fullscreen flash displayed in on
html page using flashobject from this example:
http://blog.deconcept.com/flashobject/fullpage.html

I wanted to have scrollbars appear in case it didn't fit the browser window.
So I changed my css as follow.

/*

html {
height: 100%;
overflow: hidden;
}

To

html {
height: 100%;
overflow: scroll;
}


**/


In IE if you shrink the window, you can scroll the page and click any of the
flash buttons. In Firefox the buttons do not work. When you try to rollover
them, the cusor stays as an arrow and the buttons flicker. I believe this a
bug with firefox. Oh well. 



MikeG

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] this.selected

2006-04-21 Thread Simon Lord
The standard button components support setting the toggle state of a  
button to true.  Can I achieve the same result with a button I made?   
Or do I *have* to create a movieClip?


I want the button to toggle between the frame 1 and 3 of the button.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Implementing GroupName for my own component

2006-04-21 Thread Michael Klishin

Julian 'Julik' Tarkhanov wrote:

That is, if I have 5 instances of RadioCompnent inside a specific 
timeline, can I programmatically retrieve all of them?


What I would do is to create a class with static methods only as groups 
manager so you just need to register RadioButton components within that 
manager. It's quite obviously should be done in constructor.


--
Michael Antares Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] New wrinkle in IE activation issue...

2006-04-21 Thread elibol
I've enjoyed myself too. I'm pleased to meet those passionate coders.

M.

On 4/21/06, Kevin Newman [EMAIL PROTECTED] wrote:

 Hello guys,

 I added a test here:
 http://www.unfocus.com/projects/PatentMagic/sound.html

 The good news is that the sound doesn't play in if the object is hidden
 with display:block. So this at least appears to work. I will add some
 more thorough tests using other ActiveX types and some that ping the
 server to see what's really happening.

 It has been quite fun working with you guys on this. :-)

 Thanks,

 Kevin N.


 elibol wrote:
  I'm no expert on this, there are many others here that should know the
  answer but my guess is that the object is downloaded but not rendered.
 You
  can test this by calling a javascript function from within your flash
 movie.
  try getURL('javascript:alert(movie running);'); from within your
 movie.
 
  I just tested this, http://anticipatechange.com/huseyin/patentMagic/
 
  I added a link that runs the disable css code and only when it is
 clicked
  the movie object renders.
 
  I think there is a distinct delineation that must be made between
 whether
  objects are downloaded and whether they are active/rendered/running.
 
  I think that if the objects are just downloaded, it makes no difference.
 My
  only concern was hit counting scripts like hit box that would make calls
  from within flash, but if the flash movie is never activated, it should
 not
  double hits.
 
  Nice work Karina,
 
  M.
 
  On 4/21/06, Karina Steffens [EMAIL PROTECTED] wrote:
 
  Following my previous email, I thought of a better way to test
  display:none
  with flash.
 
  http://www.neo-archaic.net/display.htm has a page similar to the index
  page,
  but instead of the replaceFlash.js script, it has a link to a script
  called
  display.js with the following code:
 
  // JavaScript Document
  document.write (style id='hide' object{display:none;} /style)
 
  function show(){
  document.getElementById(hide).disabled = true;
  }
  function hide(){
  document.getElementById(hide).disabled = false;
  }
 
  Two links, show and hide, call the functions that control the display
 of a
  growing tree animation.
 
  What happens is that although the tree has had enough time to grow (you
  can
  wait all you want), it only starts growing after show() has been
 called,
  so
  that means it hasn't had the chance to load before, however long you
 wait
  before clicking.  When hide() is called, however, the animation stays
  loaded, and does not reload again.
 
  I think this proves that display:none prevents the flash from loading,
  unless there's a better explanation?
 
  Karina
 
  PS: The homepage www.neo-archaic.net has the display.js script enabled,
 so
  you can see it in action there.
 
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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