Re: [Flashcoders] Logging Flash-Internal User Access?

2006-10-11 Thread Jason Horwitz
Go the easiest (and coincidentally the best) route with Google  
Analytics ... hint: ExternalInterface calls to UrchinTracker('/site/ 
section') will cure what ails ya and wow the client (especially if  
you set up usage funnels and the other goodies urchin offers).


Hope this helps,

Jason
 
...

firstborn nyc && sekati
senior developer
jason m horwitz
w: firstbornmultimedia.com
w: www.sekati.com
 
.



On Oct 11, 2006, at 1:42 AM, Sascha wrote:


Hi,

My Client asked for a feature with that they can check how many users
accessed which sections in their Flash Movie so they can see how  
popular the
sections are. Their Flash is divided into 5 sub pages, all inside  
the same

SWF. I'm sure this is possible by utilizing PHP or similar server-side
language, I just haven't done such a thing yet and I'm on a tight  
deadline

with this job.
Could somebody lead me to any source on the web that does this task? A
PHP-Flash Example would be best!

Thanks a lot,
Sascha


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

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



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

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


[Flashcoders] Project documentation... what workflow and file formats?

2006-10-11 Thread Marcelo de Moraes Serpa

Ok, this may be a silly question, but I would really like to know your
opinions on how you handle project documentation workflow.

* What artifacts/tools and or file formats do you use to document your
project?

- I've got a personal journal where I keep several random thoughts on a
day-to-day basis. Ok, this is not intrinsically related to the project, but
random project annotations eventually go there.

- I've got a Enterprise Architect 6 Desktop Edition. I know enough of UML to
draw class, sequence and state diagrams. However, this tool has more
features than I need, and I feel this overwhelms-me... but I'm trying to
figure out the best way I could use it to document my application.

- I also use MindManager. MindMaps have been kind of useful to me some time
ago to visualize complex infomation, so, I thought I could use it to somehow
document aspects of the project or organize the documentation... it's not
clear yet...

- Also, I have a simple GTD system implemented on papers and physical
containers. This helps me keeping track of next actions and other projects I
have. Part of this sytem is implemented on my personal journal (the
in-basket, and random-thoughts that are later processed into projects and
actions).

My project and all the files related (including the documentation) is stored
on a SVN repository. I've created a bath script which copies a rar file
backup of the SVN rep.

The fact that I'm using SVN made me think of using plain text files for
documentation format.. however, I'm not sure here too.. :/

Any thoughts would be really apreaciated!

Marcelo.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Sascha
Thanks a lot Steven, I will try your method! Thanks to all the others who
responded, I haven't thought about such easy approaches. I will see if this
method is ok with my client.

Sascha


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
> Sent: Thursday, 12 October, 2006 02:48
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Logging Flash-Internal User Access?
> 
> It's actually pretty straightforward and easy.  Here's a quick way to
> track page impressions with no back-end code whatsoever.
> 
> Create empty (0 bytes) .txt (or .html) files and put them in a folder on
> the server.  Have Flash loadVars the txt files and append a noCache
> argument with the date in milliseconds so it doesn't cache.  So, your
> file URL would look something like this:
> 
> tUrl = "tracking/page1.txt?noCache=" + new Date().getTime();
> 
> Just loadVars a file every time they load in a different page.  They'll
> be able to check their weblogs to see traffic.  If they want something
> more like session data and such, then you'll have to write a back-end to
> support it.
> 
> 
> BLITZ | Steven Sacks - 310-551-0200 x209
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] help with flash remoting please

2006-10-11 Thread Muzak
Flash uses "\r" for new lines (if I'm not mistaken).
Your mail probably expects "\r\n" or "\n"

In .NET, do a search for "\r" and replace with "\r\n" and see if that fixes it.

regards,
Muzak

- Original Message - 
From: "Tony Trapp" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, October 12, 2006 2:18 AM
Subject: Re: [Flashcoders] help with flash remoting please


> Hey guys need help on something here.
>
> My flash form is working great and so is my asp.net script via flash
> remoting.
>
> What I am having a problem with is to format the message field as such like
> this email rather then being one continuous paragraph with no new lines:
>
> here is an example I sent myself:
>
> cvbc vvcbvcb vcbvc bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc
> bEnd--
>
> it should be:
>
> cvbc
> vvcbvcb vcbvc
>
> bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc
>
> b
>
> End--
>
> Any one have an idea of what to do?
>
> I am using flash 6 and flash remoting with asp.net
>
> Thanks guys !
>
> Tony Trapp
> DBTWeb.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] WinFX...heard of it?

2006-10-11 Thread Victor Gaudioso

Sorry ;)
- Original Message - 
From: "Muzak" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:24 PM
Subject: Re: [Flashcoders] WinFX...heard of it?



http://osflash.org/flashcoders/etiquette

Keep it coding
There are plenty of other places to talk about general Flash topics, and 
even more places to talk about non-Flash topics.




- Original Message - 
From: "Victor Gaudioso" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Thursday, October 12, 2006 2:20 AM
Subject: [Flashcoders] WinFX...heard of it?


Hey all, I just had a meeting with Rez8 (http://www.rezn8.com/) and they 
are building this crazy 3D stuff for web, Windows, mobile, Media Center, 
etc. using WinFX , an OOP API that using the .NET framework.  Looks like 
this is going to try and go up against Flash.  Anybody know anything 
about it?


V



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] C++ flash host supporting transparency

2006-10-11 Thread Tony Trapp
I have created my own browser using .net and C# and with the browser
recognizing things via flash of course you have to have the flash active x
object installed and the object should do the rest with your flash movie.

As far as colors maybe this might have something to do with system colors
available depending on what you want to do.

If I had a complete look at your app so far and got what you are trying to
do fully I might really be able to help, how ever I have found talking
things out from time to time help you to see something or think of
something.

Hope that kinnda helps.

Tony Trapp
DBTWeb.com

- Original Message - 
From: "Mark Winterhalder" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:08 PM
Subject: Re: [Flashcoders] C++ flash host supporting transparency


> Why reinvent the wheel?
>
> Did you have a look at SWHX yet? It works for Windows and OSX, Linux
> support AFAIK would need FP9, maybe more. I'm not sure about
> transparency, but since Screenweaver could do it, it's probably there.
>
> 
>
> I don't want to stop you from rolling your own, if that's what you
> want, I just thought I'd point you to it in case you haven't heard
> about it yet.
>
> Mark
>
>
>
> On 10/11/06, Chris Douglass <[EMAIL PROTECTED]> wrote:
> > Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X)
that
> > will host SWFs.  On Windows I'm using the Flash activeX control to host
my
> > Flash app.  I'd like to render the Flash viewport/window onto my
> > application's surface with transparency such that only the content on
the
> > stage is drawn to my window.
> >
> > Does anyone know how you would implement this within a custom
host/container
> > like mine?  How do the browsers implement this (well the ones that
support
> > it)?  Does Flash tell the host the key color being used for
transparency?
> > I've seen a few articles here and there that Flash sends its output to
an
> > off-screen buffer that the browsers use to render Flash content with
> > non-rectangular transparency.  But, I'm not sure how as a host container
the
> > Flash frame buffers and transparency key color are accessible to me.
> >
> > Does the stage color become the RGB key color value that Flash
communicates
> > to the browser to assist with this process?  What if that same color is
used
> > in the content of your movie/content within your SWF?  Do the browsers
> > render those pixels transparently as well?
> >
> > Anyway, I'm going to start some tests but thought maybe someone could
shed
> > some light for me.  Also, does anyone have experience building their own
SWF
> > host application that runs on Windows and Mac?  I need to port my app
(and
> > am not interested in using the commercial swf/exe hosts out there, at
least
> > not yet ;]) to the Mac, so whatever transparency technique I use on
Win32
> > would hopefully not require a full-rewrite on the Mac (yeah right).
> >
> > Is there an SDK for people wanting to build their own hosts for Flash
apps?
> > Is there a lower-level interface/API I can tap into that exposes the
Flash
> > content/internals so that developers can write their own unique hosts?
What
> > wrapper/API is exposed to the Mac platform developers for creating
> > containers on OSX?
> >
> > Thanks for ANY input :)  I'll start fiddling with WMODE and see what
happens
> > for starters...  Where is the definitive internals book on the Flash
runtime
> > engine?  Does one exist?
> >
> > Chris Douglass
> > Innovative Code & Design
> > Atlanta, GA
> > www.innovativecode.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] WinFX...heard of it?

2006-10-11 Thread Muzak
http://osflash.org/flashcoders/etiquette

Keep it coding
There are plenty of other places to talk about general Flash topics, and even 
more places to talk about non-Flash topics.



- Original Message - 
From: "Victor Gaudioso" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, October 12, 2006 2:20 AM
Subject: [Flashcoders] WinFX...heard of it?


> Hey all, I just had a meeting with Rez8 (http://www.rezn8.com/) and they are 
> building this crazy 3D stuff for web, Windows, 
> mobile, Media Center, etc. using WinFX , an OOP API that using the .NET 
> framework.  Looks like this is going to try and go up 
> against Flash.  Anybody know anything about it?
>
> V


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

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


[Flashcoders] Re: WinFX...heard of it?

2006-10-11 Thread Victor Gaudioso

If you have never heard of it check this video out:

http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20031107WINFXBA/manifest.xml


- Original Message - 
From: "Victor Gaudioso" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:20 PM
Subject: WinFX...heard of it?


Hey all, I just had a meeting with Rez8 (http://www.rezn8.com/) and they 
are building this crazy 3D stuff for web, Windows, mobile, Media Center, 
etc. using WinFX , an OOP API that using the .NET framework.  Looks like 
this is going to try and go up against Flash.  Anybody know anything about 
it?


V 


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

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


Re: [Flashcoders] help with flash remoting please

2006-10-11 Thread Tony Trapp
Hey guys need help on something here.

My flash form is working great and so is my asp.net script via flash
remoting.

What I am having a problem with is to format the message field as such like
this email rather then being one continuous paragraph with no new lines:

here is an example I sent myself:

cvbc vvcbvcb vcbvc bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc
bEnd--

it should be:

cvbc
vvcbvcb vcbvc

bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc

b

End--

Any one have an idea of what to do?

I am using flash 6 and flash remoting with asp.net

Thanks guys !

Tony Trapp
DBTWeb.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] WinFX...heard of it?

2006-10-11 Thread Victor Gaudioso
Hey all, I just had a meeting with Rez8 (http://www.rezn8.com/) and they are 
building this crazy 3D stuff for web, Windows, mobile, Media Center, etc. 
using WinFX , an OOP API that using the .NET framework.  Looks like this is 
going to try and go up against Flash.  Anybody know anything about it?


V 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] C++ flash host supporting transparency

2006-10-11 Thread Mark Winterhalder

Why reinvent the wheel?

Did you have a look at SWHX yet? It works for Windows and OSX, Linux
support AFAIK would need FP9, maybe more. I'm not sure about
transparency, but since Screenweaver could do it, it's probably there.



I don't want to stop you from rolling your own, if that's what you
want, I just thought I'd point you to it in case you haven't heard
about it yet.

Mark



On 10/11/06, Chris Douglass <[EMAIL PROTECTED]> wrote:

Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X) that
will host SWFs.  On Windows I'm using the Flash activeX control to host my
Flash app.  I'd like to render the Flash viewport/window onto my
application's surface with transparency such that only the content on the
stage is drawn to my window.

Does anyone know how you would implement this within a custom host/container
like mine?  How do the browsers implement this (well the ones that support
it)?  Does Flash tell the host the key color being used for transparency?
I've seen a few articles here and there that Flash sends its output to an
off-screen buffer that the browsers use to render Flash content with
non-rectangular transparency.  But, I'm not sure how as a host container the
Flash frame buffers and transparency key color are accessible to me.

Does the stage color become the RGB key color value that Flash communicates
to the browser to assist with this process?  What if that same color is used
in the content of your movie/content within your SWF?  Do the browsers
render those pixels transparently as well?

Anyway, I'm going to start some tests but thought maybe someone could shed
some light for me.  Also, does anyone have experience building their own SWF
host application that runs on Windows and Mac?  I need to port my app (and
am not interested in using the commercial swf/exe hosts out there, at least
not yet ;]) to the Mac, so whatever transparency technique I use on Win32
would hopefully not require a full-rewrite on the Mac (yeah right).

Is there an SDK for people wanting to build their own hosts for Flash apps?
Is there a lower-level interface/API I can tap into that exposes the Flash
content/internals so that developers can write their own unique hosts?  What
wrapper/API is exposed to the Mac platform developers for creating
containers on OSX?

Thanks for ANY input :)  I'll start fiddling with WMODE and see what happens
for starters...  Where is the definitive internals book on the Flash runtime
engine?  Does one exist?

Chris Douglass
Innovative Code & Design
Atlanta, GA
www.innovativecode.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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
> I'll let you know when I actually care ;-)

Sweet!  On second thought, you don't need to.  I'll set up a watcher.

Muzak.watch("cares", Steven, true);




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Muzak
> Sent: Wednesday, October 11, 2006 4:51 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
> 

> 
> 
> - Original Message -
> From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Thursday, October 12, 2006 1:46 AM
> Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
> 
> 
> Much cleaner, although you have a lot of this references that are
> redundant.
> 
> 
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
I'll let you know when I actually care ;-)


- Original Message - 
From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, October 12, 2006 1:46 AM
Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem,can 
you spot it?


Much cleaner, although you have a lot of this references that are
redundant.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
Much cleaner, although you have a lot of this references that are
redundant.

import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;
import mx.utils.Delegate;

class GlowClip extends MovieClip {
 private var glowTween:Tween;
 private var glowVal:Number = 5;

function GlowClip() {
var gf = new GlowFilter(0x356D83, 100, 5, 5, 5, 3,
false, false);
filters = [gf];
glowTween = new Tween(this, "glowVal", Elastic.easeOut,
glowVal, glowVal, 1, true);
glowTween.onMotionChanged = Delegate.create(this,
tweenChanged);
glowTween.stop();
}
function onRollOver() {
glowTween.continueTo(30, 2);
}
function onRollOut() {
glowTween.continueTo(5, 2);
}
private function tweenChanged(tw, newVal) {
var gf = new GlowFilter(0x356D83, 100, newVal, newVal,
5, 3, false, false);
filters = [gf];
}
}


BLITZ | Steven Sacks - 310-551-0200 x209


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Muzak
> Sent: Wednesday, October 11, 2006 4:30 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
> 
> arghh, changed a variable name at the end and forgot to change it
> somewhere else in the code.
> 
> working version ;-)
> 
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
> import mx.utils.Delegate;
> 
> class GlowClip extends MovieClip {
>  private var glowTween:Tween;
>  private var glowVal:Number = 5;
>  //
>  function GlowClip() {
>   var gf = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
>   this.filters = [gf];
>   this.glowTween = new Tween(this, "glowVal", Elastic.easeOut,
glowVal,
> glowVal, 1, true);
>   this.glowTween.onMotionChanged = Delegate.create(this,
> this.tweenChanged);
>   this.glowTween.stop();
>  }
>  //
>  function onRollOver() {
>   this.glowTween.continueTo(30, 2);
>  }
>  //
>  function onRollOut() {
>   this.glowTween.continueTo(5, 2);
>  }
>  //
>  private function tweenChanged(tw, newVal) {
>   var gf = new GlowFilter(0x356D83, 100, newVal, newVal, 5, 3, false,
> false);
>   filters = [gf];
>  }
> }
> 
> regards,
> Muzak
> 
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
arghh, changed a variable name at the end and forgot to change it somewhere 
else in the code.

working version ;-)

import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;
import mx.utils.Delegate;

class GlowClip extends MovieClip {
 private var glowTween:Tween;
 private var glowVal:Number = 5;
 //
 function GlowClip() {
  var gf = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
  this.filters = [gf];
  this.glowTween = new Tween(this, "glowVal", Elastic.easeOut, glowVal, 
glowVal, 1, true);
  this.glowTween.onMotionChanged = Delegate.create(this, this.tweenChanged);
  this.glowTween.stop();
 }
 //
 function onRollOver() {
  this.glowTween.continueTo(30, 2);
 }
 //
 function onRollOut() {
  this.glowTween.continueTo(5, 2);
 }
 //
 private function tweenChanged(tw, newVal) {
  var gf = new GlowFilter(0x356D83, 100, newVal, newVal, 5, 3, false, false);
  filters = [gf];
 }
}

regards,
Muzak


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
How about making a self contained clip:

import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;
import mx.utils.Delegate;
class GlowClip extends MovieClip {
 private var glowTween:Tween;
 private var glowVal:Number = 5;
 //
 function GlowClip() {
  var gf = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
  this.filters = [gf];
  this.glowTween = new Tween(this, "value", Elastic.easeOut, glowVal, glowVal, 
1, true);
  this.glowTween.onMotionChanged = Delegate.create(this, this.tweenChanged);
  this.glowTween.stop();
 }
 //
 function onRollOver() {
  this.glowTween.continueTo(30, 2);
 }
 //
 function onRollOut() {
  this.glowTween.continueTo(5, 2);
 }
 //
 private function tweenChanged(tw, newVal) {
  var gf = new GlowFilter(0x356D83, 100, newVal, newVal, 5, 3, false, false);
  this.filters = [gf];
 }
}

Attach the class to a movieclip in the library and you can have as many 
instances on stage as you like.

regards,
Muzak


- Original Message - 
From: "Keith Reinfeld" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Thursday, October 12, 2006 12:32 AM
Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem,can 
you spot it?


> Steven,
>
> There *is* a purpose.
>
> Here is a slightly different version:
>
>
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
>
> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
>
> for (var i = 0; i < 5; ++i)
> {
>var mc:MovieClip = this["kText" + i];
> mc.filters = [gf];
>
>mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
>mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
>
>mc.onRollOver = function() {
> var _mc:MovieClip = this;
>this.gfBX.continueTo(30, 2);
>this.gfBX.onMotionChanged = function() {
> trace(this);// outputs [Tween]
>_mc.filters = [gf];
>};
>
>this.gfBY.continueTo(30, 2);
> this.gfBY.onMotionChanged = function() {
> trace(this);// outputs [Tween]
>   _mc.filters = [gf];
>};
>};
>
>mc.onRollOut = function() {
> var _mc:MovieClip = this;
>this.gfBX.continueTo(5, 2);
>this.gfBX.onMotionChanged = function() {
> trace(this);// outputs [Tween]
>_mc.filters = [gf];
>};
>
>this.gfBY.continueTo(5, 2);
> this.gfBY.onMotionChanged = function() {
> trace(this);// outputs [Tween]
>   _mc.filters = [gf];
>};
>};
> }
>
> Does that clear things up?
>
>
> -Keith
> http://home.mn.rr.com/keithreinfeld
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
> | BLITZ
> Sent: Wednesday, October 11, 2006 4:55 PM
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
>
> Why are you creating a reference to this inside the onRollOver method?
>
> mc.onRollOver = function() {
> this.gfBX.continueTo(30, 2);
> };
>
> There's no purpose behind a temporary reference variable to this.
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:flashcoders-
>> [EMAIL PROTECTED] On Behalf Of Keith Reinfeld
>> Sent: Wednesday, October 11, 2006 2:50 PM
>> To: 'Flashcoders mailing list'
>> Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
>> problem,can you spot it?
>>
>>  This works,
>>
>>
>> import mx.transitions.Tween;
>> import mx.transitions.easing.*;
>> import flash.filters.GlowFilter;
>>
>> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false,
>> false);
>>
>> for (var i = 0; i < 5; ++i)
>> {
>> var mc:MovieClip = this["kText" + i];
>> mc.filters = [gf];
>>
>> mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
>> mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
>>
>> mc.onRollOver = function() {
>> var _mc:MovieClip = this;
>> _mc.gfBX.continueTo(30, 2);
>> _mc.gfBX.onMotionChanged = function() {
>> _mc.filters = [gf];
>> };
>>
>> _mc.gfBY.continueTo(30, 2);
>> _mc.gfBY.onMotionChanged = function() {
>>_mc.filters = [gf];
>> };
>> };
>>
>> mc.onRollOut = function() {
>> var _mc:MovieClip = this;
>> _mc.gfBX.continueTo(5, 2);
>> _mc.gfBX.onMotionChanged = function() {
>> _mc.filters = [gf];
>> };
>>
>> _mc.gfBY.continueTo(5, 2);
>> _mc.gfBY.onMotionChanged = function() {
>>_mc.filters = [gf];
>> };
>> };
>>
>> }
>>
>>
>> Did you have some other solution?
>>
>>
>> -Keith
>> http://home.mn.rr.com/keithreinfeld
>>
>>
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Boon
> Chew
>> Sent: Wednesday, October 11, 2006 1:46 PM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] brain teaser: filter tweening code has a
>> problem,can
>> you spot it?
>>
>> Hi all,
>>
>> I downloaded a piece of filter tweening code, modified i

Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Muzak
Then maybe get in contact with adobe?
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Posting it here and hoping someone from adobe actually reads it *and* passes it 
on to the right people is not gonna get you 
anywhere.
This list is not meant for whining/discussing/whatever_you_have.

http://osflash.org/flashcoders/etiquette

Keep it coding
There are plenty of other places to talk about general Flash topics, and even 
more places to talk about non-Flash topics.


Lately every other question seems to turn into some whine-feast/discussion that 
has nothing to do with the original topic.
I really hope this list can get back to what it's meant for.. coding..

regards,
Muzak

ps: if you wanna whine about me whining, contact me offlist ;-)

- Original Message - 
From: "Zárate" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, October 12, 2006 12:30 AM
Subject: Re: [Flashcoders] Flash transparent on top of Windows Media Player


Sorry guys, it's my fault. I'm feeling completely idiot right now for
asking Adobe to fix and/or improve the player.

Adobe, you know what? Don't bother, we can always say that HTML is
worst. Who cares about crossplatform and stuff like that. It (seems
to) work on Win/IE, so that's enough.

Cheers guys,

Bye 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
Steven, 
 
There *is* a purpose. 
 
Here is a slightly different version: 
 
 
import mx.transitions.Tween; 
import mx.transitions.easing.*; 
import flash.filters.GlowFilter;  
 
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);

for (var i = 0; i < 5; ++i) 
{ 
var mc:MovieClip = this["kText" + i]; 
mc.filters = [gf]; 
 
mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true); 
mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true); 
 
mc.onRollOver = function() { 
var _mc:MovieClip = this; 
this.gfBX.continueTo(30, 2); 
this.gfBX.onMotionChanged = function() {  
trace(this);// outputs [Tween] 
_mc.filters = [gf]; 
}; 
 
this.gfBY.continueTo(30, 2); 
this.gfBY.onMotionChanged = function() { 
trace(this);// outputs [Tween] 
_mc.filters = [gf]; 
}; 
}; 
 
mc.onRollOut = function() { 
var _mc:MovieClip = this; 
this.gfBX.continueTo(5, 2); 
this.gfBX.onMotionChanged = function() { 
trace(this);// outputs [Tween] 
_mc.filters = [gf]; 
}; 
 
this.gfBY.continueTo(5, 2); 
this.gfBY.onMotionChanged = function() { 
trace(this);// outputs [Tween] 
_mc.filters = [gf]; 
}; 
}; 
}
 
Does that clear things up?  
 

-Keith 
http://home.mn.rr.com/keithreinfeld 
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: Wednesday, October 11, 2006 4:55 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
problem,can you spot it?

Why are you creating a reference to this inside the onRollOver method?

mc.onRollOver = function() {
this.gfBX.continueTo(30, 2);
};

There's no purpose behind a temporary reference variable to this.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Keith Reinfeld
> Sent: Wednesday, October 11, 2006 2:50 PM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
> 
>  This works,
> 
> 
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
> 
> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false,
> false);
> 
> for (var i = 0; i < 5; ++i)
> {
> var mc:MovieClip = this["kText" + i];
>   mc.filters = [gf];
> 
> mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
> mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
> 
> mc.onRollOver = function() {
>   var _mc:MovieClip = this;
> _mc.gfBX.continueTo(30, 2);
>   _mc.gfBX.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> 
> _mc.gfBY.continueTo(30, 2);
>   _mc.gfBY.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> };
> 
> mc.onRollOut = function() {
>   var _mc:MovieClip = this;
> _mc.gfBX.continueTo(5, 2);
>   _mc.gfBX.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> 
> _mc.gfBY.continueTo(5, 2);
>   _mc.gfBY.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> };
> 
> }
> 
> 
> Did you have some other solution?
> 
> 
> -Keith
> http://home.mn.rr.com/keithreinfeld
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Boon
Chew
> Sent: Wednesday, October 11, 2006 1:46 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] brain teaser: filter tweening code has a
> problem,can
> you spot it?
> 
> Hi all,
> 
> I downloaded a piece of filter tweening code, modified it (added loop
> around
> it) to tween mutiple clips on stage with the name (kText0, kText1,
etc.)
> and
> for some reason it only tweens the last clip.
> 
> After some debugging I found out where the problem lies.  But when I
> compiled the code in my head, everything seemed fine (probably have a
> buggy
> brain).  Can you spot what the problem is from the code below?  How
would
> you fix it?
> 
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
> 
> for (var i = 0; i < 5; ++i)
> {
> var mc = this["kText" + i];
> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3,
false,
> false);
> var gfBX:Tween = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1,
> true);
> var gfBY:Tween = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1,
> true);
> mc.onRollOver = function() {
> gfBX.continueTo(30, 2);
> gfBY.continueTo(30, 2);
> };
> mc

Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Zárate

Sorry guys, it's my fault. I'm feeling completely idiot right now for
asking Adobe to fix and/or improve the player.

Adobe, you know what? Don't bother, we can always say that HTML is
worst. Who cares about crossplatform and stuff like that. It (seems
to) work on Win/IE, so that's enough.

Cheers guys,

Bye


On 10/11/06, Mick G <[EMAIL PROTECTED]> wrote:

Sorry - I should have italicized my sarcasm :)

On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
>
> > It's not broken - people use it, look at the advertising industry
> using it
> > on millions of pages/sites every day with their wonderful over the
> page
> > transparent advertising...
>
> Wonderful?
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Mick G

Sorry - I should have italicized my sarcasm :)

On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:


> It's not broken - people use it, look at the advertising industry
using it
> on millions of pages/sites every day with their wonderful over the
page
> transparent advertising...

Wonderful?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Altering registration points, or centering movies

2006-10-11 Thread Josh Johnston
Beautiful! Thank you very much Jason.

--- "Merrill, Jason" <[EMAIL PROTECTED]>
wrote:

>
http://www.darronschall.com/weblog/archives/54.cfm
> 
> Jason Merrill
> Bank of America 
> Learning & Organization Effectiveness - Technology
> Solutions 
>  
>  
>  
>  
>  
> 
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> [mailto:flashcoders-
> >>[EMAIL PROTECTED] On Behalf Of Josh
> Johnston
> >>Sent: Wednesday, October 11, 2006 6:07 PM
> >>To: Flashcoders mailing list
> >>Subject: [Flashcoders] Altering registration
> points, or centering
> movies
> >>
> >>Is there anyway to dynamically reposition the
> >>registration point of a movieclip? I'm loading the
> >>mc's with attachMovie, and trying to reposition
> those
> >>movies to the center of the stage, but I can't
> >>guarantee that the registration points are in a
> fixed
> >>location. Any advice is greatly appreciated.
> >>
> >>Thanks,
> >>Josh Johnston
> >>
> >>__
> >>Do You Yahoo!?
> >>Tired of spam?  Yahoo! Mail has the best spam
> protection around
> >>http://mail.yahoo.com
> >>___
> >>Flashcoders@chattyfig.figleaf.com
> >>To change your subscription options or search the
> archive:
>
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >>Brought to you by Fig Leaf Software
> >>Premier Authorized Adobe Consulting and Training
> >>http://www.figleaf.com
> >>http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
> It's not broken - people use it, look at the advertising industry
using it
> on millions of pages/sites every day with their wonderful over the
page
> transparent advertising...

Wonderful?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Altering registration points, or centering movies

2006-10-11 Thread Merrill, Jason
http://www.darronschall.com/weblog/archives/54.cfm

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Josh Johnston
>>Sent: Wednesday, October 11, 2006 6:07 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Altering registration points, or centering
movies
>>
>>Is there anyway to dynamically reposition the
>>registration point of a movieclip? I'm loading the
>>mc's with attachMovie, and trying to reposition those
>>movies to the center of the stage, but I can't
>>guarantee that the registration points are in a fixed
>>location. Any advice is greatly appreciated.
>>
>>Thanks,
>>Josh Johnston
>>
>>__
>>Do You Yahoo!?
>>Tired of spam?  Yahoo! Mail has the best spam protection around
>>http://mail.yahoo.com
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Altering registration points, or centering movies

2006-10-11 Thread Josh Johnston
Is there anyway to dynamically reposition the
registration point of a movieclip? I'm loading the
mc's with attachMovie, and trying to reposition those
movies to the center of the stage, but I can't
guarantee that the registration points are in a fixed
location. Any advice is greatly appreciated.

Thanks,
Josh Johnston

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Mick G

if the answers is: "hey dude, this is not
going to work properly, ever", then please just completely remove
wmode. It is getting people mad.


It's not broken - people use it, look at the advertising industry using it
on millions of pages/sites every day with their wonderful over the page
transparent advertising...

If you don't like it and it's not meeting your project's requirements of
being consistent/stable enough then don't use it.

...and I don't think anyone could answer the "ever" remark.

Now, if only there were a way to close a thread ;) My original subject seems
to have steered a little off course.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
Why are you creating a reference to this inside the onRollOver method?

mc.onRollOver = function() {
this.gfBX.continueTo(30, 2);
};

There's no purpose behind a temporary reference variable to this.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Keith Reinfeld
> Sent: Wednesday, October 11, 2006 2:50 PM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] brain teaser: filter tweening code has a
> problem,can you spot it?
> 
>  This works,
> 
> 
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
> 
> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false,
> false);
> 
> for (var i = 0; i < 5; ++i)
> {
> var mc:MovieClip = this["kText" + i];
>   mc.filters = [gf];
> 
> mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
> mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
> 
> mc.onRollOver = function() {
>   var _mc:MovieClip = this;
> _mc.gfBX.continueTo(30, 2);
>   _mc.gfBX.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> 
> _mc.gfBY.continueTo(30, 2);
>   _mc.gfBY.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> };
> 
> mc.onRollOut = function() {
>   var _mc:MovieClip = this;
> _mc.gfBX.continueTo(5, 2);
>   _mc.gfBX.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> 
> _mc.gfBY.continueTo(5, 2);
>   _mc.gfBY.onMotionChanged = function() {
>   _mc.filters = [gf];
>   };
> };
> 
> }
> 
> 
> Did you have some other solution?
> 
> 
> -Keith
> http://home.mn.rr.com/keithreinfeld
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Boon
Chew
> Sent: Wednesday, October 11, 2006 1:46 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] brain teaser: filter tweening code has a
> problem,can
> you spot it?
> 
> Hi all,
> 
> I downloaded a piece of filter tweening code, modified it (added loop
> around
> it) to tween mutiple clips on stage with the name (kText0, kText1,
etc.)
> and
> for some reason it only tweens the last clip.
> 
> After some debugging I found out where the problem lies.  But when I
> compiled the code in my head, everything seemed fine (probably have a
> buggy
> brain).  Can you spot what the problem is from the code below?  How
would
> you fix it?
> 
> import mx.transitions.Tween;
> import mx.transitions.easing.*;
> import flash.filters.GlowFilter;
> 
> for (var i = 0; i < 5; ++i)
> {
> var mc = this["kText" + i];
> var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3,
false,
> false);
> var gfBX:Tween = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1,
> true);
> var gfBY:Tween = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1,
> true);
> mc.onRollOver = function() {
> gfBX.continueTo(30, 2);
> gfBY.continueTo(30, 2);
> };
> mc.onRollOut = function() {
> gfBX.continueTo(5, 2);
> gfBY.continueTo(5, 2);
> };
> 
> gfBX.onMotionChanged = function() {
> mc.filters = [gf];
> };
> }
> 
> 
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
 This works, 
  
  
import mx.transitions.Tween; 
import mx.transitions.easing.*; 
import flash.filters.GlowFilter; 
 
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);

for (var i = 0; i < 5; ++i) 
{ 
var mc:MovieClip = this["kText" + i]; 
mc.filters = [gf]; 
 
mc.gfBX = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true); 
mc.gfBY = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true); 
 
mc.onRollOver = function() { 
var _mc:MovieClip = this; 
_mc.gfBX.continueTo(30, 2); 
_mc.gfBX.onMotionChanged = function() { 
_mc.filters = [gf]; 
}; 

_mc.gfBY.continueTo(30, 2); 
_mc.gfBY.onMotionChanged = function() { 
_mc.filters = [gf]; 
}; 
}; 
 
mc.onRollOut = function() { 
var _mc:MovieClip = this; 
_mc.gfBX.continueTo(5, 2); 
_mc.gfBX.onMotionChanged = function() { 
_mc.filters = [gf]; 
}; 
 
_mc.gfBY.continueTo(5, 2); 
_mc.gfBY.onMotionChanged = function() { 
_mc.filters = [gf]; 
}; 
}; 
 
} 


Did you have some other solution? 
 

-Keith 
http://home.mn.rr.com/keithreinfeld 
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew
Sent: Wednesday, October 11, 2006 1:46 PM
To: Flashcoders mailing list
Subject: [Flashcoders] brain teaser: filter tweening code has a problem,can
you spot it?

Hi all,

I downloaded a piece of filter tweening code, modified it (added loop around
it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and
for some reason it only tweens the last clip.

After some debugging I found out where the problem lies.  But when I
compiled the code in my head, everything seemed fine (probably have a buggy
brain).  Can you spot what the problem is from the code below?  How would
you fix it?

import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;

for (var i = 0; i < 5; ++i)
{
var mc = this["kText" + i];
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false,
false);
var gfBX:Tween = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
var gfBY:Tween = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
mc.onRollOver = function() {
gfBX.continueTo(30, 2);
gfBY.continueTo(30, 2);
};
mc.onRollOut = function() {
gfBX.continueTo(5, 2);
gfBY.continueTo(5, 2);
};

gfBX.onMotionChanged = function() {
mc.filters = [gf];
};
}



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

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

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

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


RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Merrill, Jason
>>then please just completely remove
>>wmode.

Not everyone has to develop cross-platform websites becauase they have
specific target audiences that only use certain browsers and can thus
make good use of wmode.  I think what's needed is better
documentation/disclaimers rather than throwing it out completely.


Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 



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

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


Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread slangeberg

Steven,


I hate web development.  That's why I do Flash development.


Although highly subjective, I can't agree with you enough. The points you
make capture my exact reasoning!  However, I would argue that Flash has a
great share of its own problems, but at least you're only dealing with one
compiler / VM!

Scott


On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:


> Brilliant. Just brilliant. Now if someone points out a problem with
> Flash, then is an ignorant. Who do you think you are talking about
> people you don't know with such an arrogance?

Don't use wmode.  It's that simple.  You can complain about it until
you're blue in the face and it won't do any good.  The fact is that
wmode is inconsistent across browsers and platforms, and I doubt it's
ever going to be fixed so you need to alter your approach.

You want to see frustration?  Hang out with some senior level web
developers for awhile.  I don't understand how they stay sane with all
the hacking they have to do.  Web Developers are forced to contend with
a broken compiler that is used by 90% of the public (Internet Explorer)
which tries to fix their code for them at runtime (making debugging
difficult), and have to code against three or more different compilers
(Firefox, Safari, Opera) that all compile their code differently from
one another.

CSS, a widely used technology, is, in some ways, borderline broken in
IE6 and only after about five years is Microsoft doing anything about it
with IE7.  Best of luck in your endeavor to get Adobe to fix an edge
case issue with an extremely rarely used feature that has inconsistent
behavior across browsers due to browsers being inconsistent.  Your
energy is better spent explaining to your bosses the realities of web
development.

I hate web development.  That's why I do Flash development.  ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

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

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


Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Zárate

Hi again,

I'm just trying to get an answer from Adobe about the problem, nothing
more, nothing less. And if the answers is: "hey dude, this is not
going to work properly, ever", then please just completely remove
wmode. It is getting people mad.

Then, I don't care (well, I care, but that's not the point now) about
the problems of developing cross-platform standars-compliant HTML
websites. What it is worth here is improving/fixing the Flash player.

Cheers,

Juan

On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:

> Brilliant. Just brilliant. Now if someone points out a problem with
> Flash, then is an ignorant. Who do you think you are talking about
> people you don't know with such an arrogance?

Don't use wmode.  It's that simple.  You can complain about it until
you're blue in the face and it won't do any good.  The fact is that
wmode is inconsistent across browsers and platforms, and I doubt it's
ever going to be fixed so you need to alter your approach.

You want to see frustration?  Hang out with some senior level web
developers for awhile.  I don't understand how they stay sane with all
the hacking they have to do.  Web Developers are forced to contend with
a broken compiler that is used by 90% of the public (Internet Explorer)
which tries to fix their code for them at runtime (making debugging
difficult), and have to code against three or more different compilers
(Firefox, Safari, Opera) that all compile their code differently from
one another.

CSS, a widely used technology, is, in some ways, borderline broken in
IE6 and only after about five years is Microsoft doing anything about it
with IE7.  Best of luck in your endeavor to get Adobe to fix an edge
case issue with an extremely rarely used feature that has inconsistent
behavior across browsers due to browsers being inconsistent.  Your
energy is better spent explaining to your bosses the realities of web
development.

I hate web development.  That's why I do Flash development.  ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Boon Chew

Actually the function will remember what the temp variable points to even after 
everything goes out of scope through the so-called closure.  So change is scope 
is not necessary for this teaser's fix.

- Original Message 
From: Steven Sacks | BLITZ <[EMAIL PROTECTED]>
To: Flashcoders mailing list 
Sent: Wednesday, October 11, 2006 11:50:13 AM
Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem, 
can you spot it?

You've got a scope issue.  The movieclip has no idea what gfBX or gfBY
is on rollover because they are just temporary variables in your
iterator and once your iterator is done they're gone and the movieclip
has no reference to them.  You need to assign gfBX and gfBY to the
movieclip so it knows what they are.

mc.gfBX = gfBX;

mc.onRollOver = function() {
this.gfBX.continueTo(30, 2);
};

Follow?

HTH,
Steven

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

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







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

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


RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
> Brilliant. Just brilliant. Now if someone points out a problem with
> Flash, then is an ignorant. Who do you think you are talking about
> people you don't know with such an arrogance?

Don't use wmode.  It's that simple.  You can complain about it until
you're blue in the face and it won't do any good.  The fact is that
wmode is inconsistent across browsers and platforms, and I doubt it's
ever going to be fixed so you need to alter your approach.

You want to see frustration?  Hang out with some senior level web
developers for awhile.  I don't understand how they stay sane with all
the hacking they have to do.  Web Developers are forced to contend with
a broken compiler that is used by 90% of the public (Internet Explorer)
which tries to fix their code for them at runtime (making debugging
difficult), and have to code against three or more different compilers
(Firefox, Safari, Opera) that all compile their code differently from
one another.

CSS, a widely used technology, is, in some ways, borderline broken in
IE6 and only after about five years is Microsoft doing anything about it
with IE7.  Best of luck in your endeavor to get Adobe to fix an edge
case issue with an extremely rarely used feature that has inconsistent
behavior across browsers due to browsers being inconsistent.  Your
energy is better spent explaining to your bosses the realities of web
development.

I hate web development.  That's why I do Flash development.  ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE doesn't seem to want to recognize FlashVars

2006-10-11 Thread Alain Rousseau
 It seems to work when I pass the Flashvars directly to the swf :
http://www.iconicweb.com/home3.swf?page=Portfolio&subPage=toyotaEPNS
But not through the html page. 

I believe that your problem is in the Javascript. You should try and debug
that first do some alerts in your scripts to check your variables, etc ...


HTH

A.

-Original Message-
From: Christopher Whiteford [mailto:[EMAIL PROTECTED] 
Sent: 11 octobre 2006 10:33
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars

Ok I have a page that redirects based on FlashVars and for some reason every
browser expect IE seems to work. I have tried using flashobject, passing the
variables in the querystring and referencing _root variable. I am at my wits
end with this.

If anyone could take a look at it in IE and Firefox and possibly have some
explanation I would be thankful.

Here is the link:
http://www.iconicweb.com/indextest.html?page=Portfolio&subPage=toyotaEPNS
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 2006-10-10
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 2006-10-10
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] C++ flash host supporting transparency

2006-10-11 Thread badi malik

here ya go
http://www.codeproject.com/useritems/FlashGui.asp

best

b

- Original Message 
From: Chris Douglass <[EMAIL PROTECTED]>
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 11, 2006 7:34:31 AM
Subject: [Flashcoders] C++ flash host supporting transparency

Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X) that
will host SWFs.  On Windows I'm using the Flash activeX control to host my
Flash app.  I'd like to render the Flash viewport/window onto my
application's surface with transparency such that only the content on the
stage is drawn to my window.  

Does anyone know how you would implement this within a custom host/container
like mine?  How do the browsers implement this (well the ones that support
it)?  Does Flash tell the host the key color being used for transparency?
I've seen a few articles here and there that Flash sends its output to an
off-screen buffer that the browsers use to render Flash content with
non-rectangular transparency.  But, I'm not sure how as a host container the
Flash frame buffers and transparency key color are accessible to me.

Does the stage color become the RGB key color value that Flash communicates
to the browser to assist with this process?  What if that same color is used
in the content of your movie/content within your SWF?  Do the browsers
render those pixels transparently as well?  

Anyway, I'm going to start some tests but thought maybe someone could shed
some light for me.  Also, does anyone have experience building their own SWF
host application that runs on Windows and Mac?  I need to port my app (and
am not interested in using the commercial swf/exe hosts out there, at least
not yet ;]) to the Mac, so whatever transparency technique I use on Win32
would hopefully not require a full-rewrite on the Mac (yeah right).

Is there an SDK for people wanting to build their own hosts for Flash apps?
Is there a lower-level interface/API I can tap into that exposes the Flash
content/internals so that developers can write their own unique hosts?  What
wrapper/API is exposed to the Mac platform developers for creating
containers on OSX?

Thanks for ANY input :)  I'll start fiddling with WMODE and see what happens
for starters...  Where is the definitive internals book on the Flash runtime
engine?  Does one exist?

Chris Douglass
Innovative Code & Design
Atlanta, GA
www.innovativecode.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] IE doesn't seem to want to recognize FlashVars

2006-10-11 Thread Christopher Whiteford

I got it working by using flashvars as well as passing it in the swf file
string. Unfortunately I didn't write the piece so it took some time to
decifer. It seems that how IE processes the flash allows for a difference in
the timing. So maybe that will help you track down yours.

Testing changes was definitely an excercise in ensuring the cache was clear.


Thanks and good luck with yours

On 10/11/06, David Buff <[EMAIL PROTECTED]> wrote:


I've got a similar problem with the cache of IE7.0, try to clean your
cache,
and try your swf again. If it resolve the problem, tell me, I'm working on
a
solution...

- Original Message -
From: "Christopher Whiteford" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 11, 2006 4:33 PM
Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars


> Ok I have a page that redirects based on FlashVars and for some reason
> every
> browser expect IE seems to work. I have tried using flashobject, passing
> the
> variables in the querystring and referencing _root variable. I am at my
> wits
> end with this.
>
> If anyone could take a look at it in IE and Firefox and possibly have
some
> explanation I would be thankful.
>
> Here is the link:
>
http://www.iconicweb.com/indextest.html?page=Portfolio&subPage=toyotaEPNS
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>

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

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


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

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


RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
Huh.  I was offering an honest suggestion and also giving you a compliment.  
Apparently, though, you're perfect for the job you have.


BLITZ | Steven Sacks - 310-551-0200 x209


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Zárate
> Sent: Wednesday, October 11, 2006 11:49 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Flash transparent on top of Windows Media
> Player
> 
> Brilliant. Just brilliant. Now if someone points out a problem with
> Flash, then is an ignorant. Who do you think you are talking about
> people you don't know with such an arrogance?
> 
> Either the player or the browsers are having problems using wmode and
> that's a FACT. You don't need to remind me how good the Flash platform
> is, thank you anyway for your effort. Could we please stay on-topic?
> 
> I was asking if Adobe is NOW actively talking with browser
> manufacturers to solve this? I (and a huge amount of people) need it
> for my work.
> 
> Thanks,
> 
> Juan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
You've got a scope issue.  The movieclip has no idea what gfBX or gfBY
is on rollover because they are just temporary variables in your
iterator and once your iterator is done they're gone and the movieclip
has no reference to them.  You need to assign gfBX and gfBY to the
movieclip so it knows what they are.

mc.gfBX = gfBX;

mc.onRollOver = function() {
this.gfBX.continueTo(30, 2);
};

Follow?

HTH,
Steven

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

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


Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Zárate

Brilliant. Just brilliant. Now if someone points out a problem with
Flash, then is an ignorant. Who do you think you are talking about
people you don't know with such an arrogance?

Either the player or the browsers are having problems using wmode and
that's a FACT. You don't need to remind me how good the Flash platform
is, thank you anyway for your effort. Could we please stay on-topic?

I was asking if Adobe is NOW actively talking with browser
manufacturers to solve this? I (and a huge amount of people) need it
for my work.

Thanks,

Juan

On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:

> Ok, fair enough, it seems everything it's up to the browsers. However,
> users, bosses and even developers don't care about that. What they see
> is that the application is not working properly. What they see is that
> Flash is doing "weird" things _again_. What they see is that they
> cannot trust Flash.

The only thing I can suggest is to try to find another job.  Working at
a technology company where the people in charge are ignorant when it
comes to technology is a recipe for an unhappy life.  It sounds like you
don't have a project manager there who has any familiarity with web
development (or any project manager at all?).

Flash is, for all intensive purposes, on all of your end users'
machines.  Flash has become the only choice for streaming video delivery
on the web.  These aren't the days of Flash intros anymore.  If your
bosses don't trust Flash, I wouldn't trust them to provide an
environment that will enrich your career.  They're on the wrong side of
the bell curve and you owe it to yourself as a professional to get
yourself back on the other side.

There are tons of great jobs out there right now for talented Flash
developers.  Don't settle for working for someone who doesn't trust the
technology you are investing your time and energy into.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Boon Chew
Hi all,

I downloaded a piece of filter tweening code, modified it (added loop around 
it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and 
for some reason it only tweens the last clip.

After some debugging I found out where the problem lies.  But when I compiled 
the code in my head, everything seemed fine (probably have a buggy brain).  Can 
you spot what the problem is from the code below?  How would you fix it?

import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;

for (var i = 0; i < 5; ++i)
{
var mc = this["kText" + i];
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
var gfBX:Tween = new Tween(gf, "blurX", Elastic.easeOut, 5, 5, 1, true);
var gfBY:Tween = new Tween(gf, "blurY", Elastic.easeOut, 5, 5, 1, true);
mc.onRollOver = function() {
gfBX.continueTo(30, 2);
gfBY.continueTo(30, 2);
};
mc.onRollOut = function() {
gfBX.continueTo(5, 2);
gfBY.continueTo(5, 2);
};

gfBX.onMotionChanged = function() {
mc.filters = [gf];
};
}



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

2006-10-11 Thread John Grden

check out influxis.com, they're awesome

On 10/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


is this the default?

i've been using fms on my company servers and i got everything fine with
this, but i just signed a flashcom host service for my own use and my
folder structure is empty, no scriptlibs, apllication, documentaion or
anyother folder, is this the default?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





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

2006-10-11 Thread [EMAIL PROTECTED]

is this the default?

i've been using fms on my company servers and i got everything fine with 
this, but i just signed a flashcom host service for my own use and my 
folder structure is empty, no scriptlibs, apllication, documentaion or 
anyother folder, is this the default?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Steven Sacks | BLITZ
"There's a sucker born every minute." - P.T. Barnum


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Victor Gaudioso
> Sent: Wednesday, October 11, 2006 10:55 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Logging Flash-Internal User Access?
> 
> Wow!  I didnt even know this was possible.  Why the heck do companies
use
> tracking companies like Hitbox if this is possible?
> 
> Victor

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Victor Gaudioso
Wow!  I didnt even know this was possible.  Why the heck do companies use 
tracking companies like Hitbox if this is possible?


Victor
- Original Message - 
From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 10:47 AM
Subject: RE: [Flashcoders] Logging Flash-Internal User Access?


It's actually pretty straightforward and easy.  Here's a quick way to
track page impressions with no back-end code whatsoever.

Create empty (0 bytes) .txt (or .html) files and put them in a folder on
the server.  Have Flash loadVars the txt files and append a noCache
argument with the date in milliseconds so it doesn't cache.  So, your
file URL would look something like this:

tUrl = "tracking/page1.txt?noCache=" + new Date().getTime();

Just loadVars a file every time they load in a different page.  They'll
be able to check their weblogs to see traffic.  If they want something
more like session data and such, then you'll have to write a back-end to
support it.


BLITZ | Steven Sacks - 310-551-0200 x209

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Steven Sacks | BLITZ
It's actually pretty straightforward and easy.  Here's a quick way to
track page impressions with no back-end code whatsoever.

Create empty (0 bytes) .txt (or .html) files and put them in a folder on
the server.  Have Flash loadVars the txt files and append a noCache
argument with the date in milliseconds so it doesn't cache.  So, your
file URL would look something like this:

tUrl = "tracking/page1.txt?noCache=" + new Date().getTime();

Just loadVars a file every time they load in a different page.  They'll
be able to check their weblogs to see traffic.  If they want something
more like session data and such, then you'll have to write a back-end to
support it.


BLITZ | Steven Sacks - 310-551-0200 x209

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

2006-10-11 Thread Perdue, Blake
I missed your email yesterday, but your solution works. Thanks much!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: Wednesday, October 11, 2006 11:40 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Center align a multiline textfield?

Blake, 

Did you try using the paragraph tag's align attribute that I suggested
yesterday? 

htmlText='SI.com\'s Peter King says T.O. is going to explode
before
long, but Dallas is tough enough to survive.';


-Keith 
http://home.mn.rr.com/keithreinfeld 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue,
Blake
Sent: Wednesday, October 11, 2006 10:01 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Center align a multiline textfield?

Yeah, tried and still doesn't work. Anyone?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Wednesday, October 11, 2006 10:37 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Center align a multiline textfield?

Capitalisation - it's autoSize, not autosize.

Ian

On 10/11/06, Perdue, Blake <[EMAIL PROTECTED]> wrote:
> I'm trying to get a multiline textfield to be center aligned. Here's
the
> code:
>
> this.createTextField('subhead',20,1,435,434,200);
>
> with (this.subhead) {
>
> html=true;
>
> embedFonts=true;
>
> selectable=false;
>
> wordWrap=true;
>
> multiline=true;
>
> autosize='center';
>
> htmlText=' color="#ff">SI.com\'s Peter King says T.O. is going to explode
> before long, but Dallas is tough enough to survive.';
>
> }
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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

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


RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
> Ok, fair enough, it seems everything it's up to the browsers. However,
> users, bosses and even developers don't care about that. What they see
> is that the application is not working properly. What they see is that
> Flash is doing "weird" things _again_. What they see is that they
> cannot trust Flash.

The only thing I can suggest is to try to find another job.  Working at
a technology company where the people in charge are ignorant when it
comes to technology is a recipe for an unhappy life.  It sounds like you
don't have a project manager there who has any familiarity with web
development (or any project manager at all?).

Flash is, for all intensive purposes, on all of your end users'
machines.  Flash has become the only choice for streaming video delivery
on the web.  These aren't the days of Flash intros anymore.  If your
bosses don't trust Flash, I wouldn't trust them to provide an
environment that will enrich your career.  They're on the wrong side of
the bell curve and you owe it to yourself as a professional to get
yourself back on the other side. 

There are tons of great jobs out there right now for talented Flash
developers.  Don't settle for working for someone who doesn't trust the
technology you are investing your time and energy into.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Dennis - I Sioux

damnn, so close ith the unloaded linkage :-D
you deleted the mf  with pleasure? ghehe :)


- Original Message - 
From: "Serge Jespers" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:30 PM
Subject: Re: [Flashcoders] simple gotoAndPlay



Unbelievable... I've found the devil child...

There was a preloader-graphic (just graphics, no actions) in my swf  
that was being loaded from a shared library. I took it out of the  
shared lib and embedded it in the swf and now it works...


Really unbelievable... Thank you all for your suggestions! After copy- 
pasting everything to a new file, I ended up finding this one with  
switching every single layer to guide layers, exporting and enabling  
every single layer and exporting... And then I found it...


Thanks again,
Serge
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Serge Jespers
With the risk of starting a rant, Adobe should really fix shared  
libs... These seem to be totally useless in a real life  
environment... The idea is great but how do you explain that a simple  
graphic loaded with no actions whatsoever can cause my script to stop  
working...?


We started this project with a shared lib for our fonts and graphics  
and now that we come across this problem, will have to kick out the  
shared lib. We already kicked out the shared fonts 'cause those just  
didn't work at all. I should add that the designer in this project is  
on a PC and that I, the developer in this project, work on a Mac.


But really... This shouldn't matter... right?

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

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


Re: [Flashcoders] Re: zinc kills a variable with a new String()?

2006-10-11 Thread Muzak
that's because 'i' isn't local to the function but lives in the 'timeline' the 
function is defined in.
Define them inside the function using var.
It's also a good thing to do the same for the 'condition', because the length 
might change during the loop process, which may mess 
up the loop as well.

function mainStuff() {
 var i:Number = 0;
 var len:Number = theList.length;
 for (i=0; i
To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:11 PM
Subject: [Flashcoders] Re: zinc kills a variable with a new String()?


> Of course, the var i fixed it (in the 'for') -- but I don't get why it
> blewup; I've noticed this elsewhere too today.
>
> Say I had a function that calls a subfunction, ie
>
> mainStuff = function(){
> for(i=0; i ret = subStuff(tList[i]);
> }
> }
>
> subStuff = function(which){
> for(i=0; i //whatever
> }
> }
>
> I noticed that 'i' would get shared across the instances, that it wouldn't
> work. ie it would work in mainstuff, bounce to subStuff which would iterate
> more, get mainStuff confused, etc.
>
> This is in direct violation to what the local var should be, no? I mean,
> I've never experienced that before.


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

2006-10-11 Thread Blumenthal, Peter

It's becuase you have wordWrap set to true. Here's a quick and dirty example
- try setting back to true to see the difference.

this.createTextField('subhead', 20, 1, 435, 434, 200);
with (this.subhead) {
selectable = true;
wordWrap = false;
multiline = true;
autoSize = 'center';
border = true;
}
var sMyString:String = "This is my textfield string, la, la la, la la, and
it is centred, la, la la, la la";
var nCharNum:Number = 0;
function fMakeString(mcScope_psd, fltText_psd) {
trace(mcScope_psd);
mcScope_psd[fltText_psd].text +=
mcScope_psd.sMyString.charAt(mcScope_psd.nCharNum++);
if (mcScope_psd.nCharNum == mcScope_psd.sMyString.length) {
clearInterval(mcScope_psd.iMakeText);
}
}
iMakeText = setInterval(fMakeString, 50, this, "subhead");





> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Perdue,
> Blake
> Sent: 11 October 2006 16:01
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Center align a multiline textfield?
> 
> 
> Yeah, tried and still doesn't work. Anyone?
> 
> 

This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Center align a multiline textfield?

2006-10-11 Thread Keith Reinfeld
Blake, 

Did you try using the paragraph tag's align attribute that I suggested
yesterday? 

htmlText='SI.com\'s Peter King says T.O. is going to explode before
long, but Dallas is tough enough to survive.';


-Keith 
http://home.mn.rr.com/keithreinfeld 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue,
Blake
Sent: Wednesday, October 11, 2006 10:01 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Center align a multiline textfield?

Yeah, tried and still doesn't work. Anyone?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Wednesday, October 11, 2006 10:37 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Center align a multiline textfield?

Capitalisation - it's autoSize, not autosize.

Ian

On 10/11/06, Perdue, Blake <[EMAIL PROTECTED]> wrote:
> I'm trying to get a multiline textfield to be center aligned. Here's
the
> code:
>
> this.createTextField('subhead',20,1,435,434,200);
>
> with (this.subhead) {
>
> html=true;
>
> embedFonts=true;
>
> selectable=false;
>
> wordWrap=true;
>
> multiline=true;
>
> autosize='center';
>
> htmlText=' color="#ff">SI.com\'s Peter King says T.O. is going to explode
> before long, but Dallas is tough enough to survive.';
>
> }
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

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


Re: [Flashcoders] Re: zinc kills a variable with a new String()?

2006-10-11 Thread Robert r. Sanders

Did you try adding an explicit variable declaration (e.g.
for (var i = 0;...)   it might be that because the "var" statement is 
lacking the variable is being created in a global scope.



Chris Douglass wrote:

Does AS support explicit byRef and byVal function argument modifiers?  If
so, maybe that would help. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks
Sent: Wednesday, October 11, 2006 11:11 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: zinc kills a variable with a new String()?

 Of course, the var i fixed it (in the 'for') -- but I don't get why it
blewup; I've noticed this elsewhere too today.

Say I had a function that calls a subfunction, ie

mainStuff = function(){
for(i=0; ihttp://chattyfig.figleaf.com/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
  



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


Re: [Flashcoders] simple gotoAndPlay

2006-10-11 Thread Serge Jespers

Unbelievable... I've found the devil child...

There was a preloader-graphic (just graphics, no actions) in my swf  
that was being loaded from a shared library. I took it out of the  
shared lib and embedded it in the swf and now it works...


Really unbelievable... Thank you all for your suggestions! After copy- 
pasting everything to a new file, I ended up finding this one with  
switching every single layer to guide layers, exporting and enabling  
every single layer and exporting... And then I found it...


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

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


Re: [Flashcoders] Flash comm server version

2006-10-11 Thread Dennis - I Sioux
In the admin console press the big question mark in the upper right corner.. 
then press "About... "


With kind regards,

Dennis

- Original Message - 
From: "Martin Weiser" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:11 PM
Subject: [Flashcoders] Flash comm server version




how can i get version, i updated 1.5 mx sercer, and want to know if 
correctly, and what is the version


thanks martin



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE doesn't seem to want to recognize FlashVars

2006-10-11 Thread David Buff
I've got a similar problem with the cache of IE7.0, try to clean your cache, 
and try your swf again. If it resolve the problem, tell me, I'm working on a 
solution...


- Original Message - 
From: "Christopher Whiteford" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, October 11, 2006 4:33 PM
Subject: [Flashcoders] IE doesn't seem to want to recognize FlashVars


Ok I have a page that redirects based on FlashVars and for some reason 
every
browser expect IE seems to work. I have tried using flashobject, passing 
the
variables in the querystring and referencing _root variable. I am at my 
wits

end with this.

If anyone could take a look at it in IE and Firefox and possibly have some
explanation I would be thankful.

Here is the link:
http://www.iconicweb.com/indextest.html?page=Portfolio&subPage=toyotaEPNS
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Dennis - I Sioux

By the way.. a "is the cable in the wall"-question..

Did you try to empty you cache?


- Original Message - 
From: "Serge Jespers" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 4:18 PM
Subject: Re: [Flashcoders] simple gotoAndPlay



That almost got my hopes up... but sadly... no...
The only MC with a linkage ID gets loaded in the first frame...



Just a long shot then.. :-D
Might it be that you have a mc using lickage with the "load on  
first frame" option off.. but forgot to preload it differently?


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

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



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

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


RE: [Flashcoders] Re: zinc kills a variable with a new String()?

2006-10-11 Thread Chris Douglass
Does AS support explicit byRef and byVal function argument modifiers?  If
so, maybe that would help. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks
Sent: Wednesday, October 11, 2006 11:11 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: zinc kills a variable with a new String()?

 Of course, the var i fixed it (in the 'for') -- but I don't get why it
blewup; I've noticed this elsewhere too today.

Say I had a function that calls a subfunction, ie

mainStuff = function(){
for(i=0; ihttp://chattyfig.figleaf.com/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] CacheAsBitmap advice

2006-10-11 Thread Jason Ross
Interesting. Thank you, I will try this out tonight when I get home!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Miguel M. Tayag
Sent: 11 October 2006 13:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

I've posted this before, but it may help you:

http://board.flashkit.com/board/showthread.php?t=659163


As you can see in that post, if you do any scaling or rotation to a
cachedAsBitmap MovieClip, it temporarily becomes a vector again, just
to update itself.  That class can "force" a movieclip to stay as a
bitmap, even if you make it super big.  Of course, it'll get blurry if
it's too big.

Key is to taking a snapshot of what you want at the biggest size it'll
be, or updating the bitmap data when it's at it's biggest size.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> Hi - thank you to both Ian and Ramon.
>
> And yes, the pictures are scrolling, but they are contained in
> movieclips that contain vector data (i.e. to artwork around the
photos).
> See what I mean? Though I take your point as through my
experimentation
> I get the same results whether CacheAsBitmap is turned on or not.
>
> Great idea to unload / reload as they come on / off the screen! Will
do
> that one right away.
>
> Thank again.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ramon
> Miguel M. Tayag
> Sent: 11 October 2006 12:21
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] CacheAsBitmap advice
>
> If you're scrolling pictures, you don't really need to cache as
> bitmap.  It would be best to use it when there's a lot of vector data
> that bogs the system down when animating.
>
> One thing you could do to optimize things is whent he pictures go
> offscreen, unload them.
>
> On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a photo sharing site that was coded in Flash 6.0 using AS 1.0
> of
> > course. I am in the process of updating all code to AS 2.0 and was
> > hoping to use CacheAsBitmap to improve the performance. This link
> > demonstrates a folder on the site with many images:
> >
> > http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15
> >
> > Ideally, I would like to speed up things like (which, on a slow PC
> these
> > things can run pretty poorly):
> >
> > * Scrolling (using the slider on the bottom of the screen)
> > * Image inflates (when you click an image)
> > * Animations (when you click 'NEXT / PREVIOUS')
> >
> > I know that CacheAsBitmap should be used carefully, which is what I
am
> > struggling on. The site is coded quite well with many nested movie
> > clips. This is where I struggle to understand where / if I should
> apply
> > a CacheAsBitmap command.
> >
> > Stage
> > |
> > -- ScrollerMC
> > |
> > -- Thumbnail
> > |  |
> > |  -- ImageLoaderMC
> > |   |
> > |   -- thumbImageLoaderMC
> > |   -- mainImageLoaderMC
> > |
> > -- Thumbnail
> >|
> >-- ImageLoaderMC
> > |
> > -- thumbImageLoaderMC
> > -- mainImageLoaderMC
> >
> > Any help would be greatly appreciated.
> >
> > Jason.
> >
> > Legal Disclaimer:
> > This email message (including any attachments) is strictly
> confidential and is intended only for the person(s) or organisation(s)
> named above.  The unauthorised use, disclosure, distribution and/or
> copying of the email message, or any information it contains
(including
> any attachments), is strictly prohibited and could in certain
> circumstances constitute a legal offence.  If you are not an intended
> recipient, please contact the sender immediately by return email and
> delete the email from your system.
> >
> > Internet email communications are not always secure and may be
> susceptible to data corruption, interception and unauthorised
amendment,
> and therefore "View" does not accept legal responsibility for the
> contents of this message for any such corruption, interception or
> amendment or the consequences thereof nor any delay in its receipt.
> >
> > Although this email message and any attachments are believed to be
> free of any virus or other defect that might affect any computer
system
> into which it is received and opened, it is the responsibility of the
> recipient to ensure that it is virus free.  No responsibility is
> accepted by "View" for any loss or damage in any way arising from its
> use.
> >
> > Any views expressed by the sender of this message are not
necessarily
> those of "View".
> >
_
> > This message from View has been checked for all known viruses by the
> > MessageLabs Virus Control Centre.
> > ___
> > Flashcoders@chattyfig.figl

[Flashcoders] Flash comm server version

2006-10-11 Thread Martin Weiser


how can i get version, i updated 1.5 mx sercer, and want to know if 
correctly, and what is the version


thanks martin
  

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

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


[Flashcoders] Re: zinc kills a variable with a new String()?

2006-10-11 Thread grimmwerks

Of course, the var i fixed it (in the 'for') -- but I don't get why it
blewup; I've noticed this elsewhere too today.

Say I had a function that calls a subfunction, ie

mainStuff = function(){
for(i=0; ihttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Jason Ross
Thanks :) works a treat

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Weiser
Sent: 11 October 2006 14:55
To: Flashcoders mailing list
Subject: Re: [Flashcoders] AS 2.0 variable declaration

var foo:MovieClip = createEmptyMovieClip("foo",1)
var myVar:String = "fooVar"

foo.myVar=myVar

delete myVar

//help works foo.myVar.

trace(foo.myVar)

Martin

Jason Ross wrote:
> Sorry, my AS 1.0 should have looked like this:
>
> this.createEmptyMovieClip("foo",1)
> foo.myVar = "foovar"
>
> so, myVar is a variable declared within the foo MC.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of julien
> castelain
> Sent: 11 October 2006 10:44
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] AS 2.0 variable declaration
>
> hi jason,
>
> this should'nt return any errors...
> var foo:MovieClip = createEmptyMovieClip("foo",1)
>
> for the other variable
>
> foo.myVar  = "fooVar" or var myVar:String = "fooVar";
>
>
>
> On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>> In migrating some AS 1.0 code to AS 2.0, I have run into a small
>> problem. How do I write the following in AS 2.0:
>>
>> this.createEmptyMovieClip("foo",1)
>> this.myVar = "foovar"
>>
>> As this returns errors:
>> var foo:MovieClip = createEmptyMovieClip("foo",1)
>> var foo.myVar:String = "fooVar"
>>
>> Much appreciated,
>>
>> Jason.
>>
>> Legal Disclaimer:
>> This email message (including any attachments) is strictly
>> 
> confidential and is intended only for the person(s) or organisation(s)
> named above.  The unauthorised use, disclosure, distribution and/or
> copying of the email message, or any information it contains
(including
> any attachments), is strictly prohibited and could in certain
> circumstances constitute a legal offence.  If you are not an intended
> recipient, please contact the sender immediately by return email and
> delete the email from your system.
>   
>> Internet email communications are not always secure and may be
>> 
> susceptible to data corruption, interception and unauthorised
amendment,
> and therefore "View" does not accept legal responsibility for the
> contents of this message for any such corruption, interception or
> amendment or the consequences thereof nor any delay in its receipt.
>   
>> Although this email message and any attachments are believed to be
>> 
> free of any virus or other defect that might affect any computer
system
> into which it is received and opened, it is the responsibility of the
> recipient to ensure that it is virus free.  No responsibility is
> accepted by "View" for any loss or damage in any way arising from its
> use.
>   
>> Any views expressed by the sender of this message are not necessarily
>> 
> those of "View".
>   
>> _
>> This message from View has been checked for all known viruses by the
>> MessageLabs Virus Control Centre.
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/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
>
> _
> This incoming message has been checked for all known viruses by the 
> MessageLabs Virus Control Centre.
>
> Legal Disclaimer:
> This email message (including any attachments) is strictly
confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.  
>
> Internet email communications are not always secure and may be
susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
>
> Although this email message and any attachments are believed to be
free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of 

RE: [Flashcoders] Center align a multiline textfield?

2006-10-11 Thread Perdue, Blake
Yeah, tried and still doesn't work. Anyone?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Wednesday, October 11, 2006 10:37 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Center align a multiline textfield?

Capitalisation - it's autoSize, not autosize.

Ian

On 10/11/06, Perdue, Blake <[EMAIL PROTECTED]> wrote:
> I'm trying to get a multiline textfield to be center aligned. Here's
the
> code:
>
> this.createTextField('subhead',20,1,435,434,200);
>
> with (this.subhead) {
>
> html=true;
>
> embedFonts=true;
>
> selectable=false;
>
> wordWrap=true;
>
> multiline=true;
>
> autosize='center';
>
> htmlText=' color="#ff">SI.com\'s Peter King says T.O. is going to explode
> before long, but Dallas is tough enough to survive.';
>
> }
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] zinc kills a variable with a new String()?

2006-10-11 Thread grimmwerks

What the...? I don't get what's going on here:

Here's a part of the code that works in .swf but not in Zinc; debug is a
global method I'm using to either output to the output window or popup an
input box if in zinc:

debug("total screens: " + gApp.screens.length);
   tX = new String();
   for (i=0; ihttp://chattyfig.figleaf.com/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] CacheAsBitmap advice

2006-10-11 Thread Jason Ross
Thanks for that ... sorted it out now!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: 11 October 2006 13:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

Incidentally, Jason, your site only takes up the first 1/4 or so of
the browser window in Firefox.

I think you probably need to set a CSS body height:100% or something
somewhere in the HTML.

Cheers,
   Ian

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a photo sharing site that was coded in Flash 6.0 using AS 1.0
of
> course. I am in the process of updating all code to AS 2.0 and was
> hoping to use CacheAsBitmap to improve the performance. This link
> demonstrates a folder on the site with many images:
>
> http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

_
This incoming message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.

Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is 
intended only for the person(s) or organisation(s) named above.  The 
unauthorised use, disclosure, distribution and/or copying of the email message, 
or any information it contains (including any attachments), is strictly 
prohibited and could in certain circumstances constitute a legal offence.  If 
you are not an intended recipient, please contact the sender immediately by 
return email and delete the email from your system.  

Internet email communications are not always secure and may be susceptible to 
data corruption, interception and unauthorised amendment, and therefore "View" 
does not accept legal responsibility for the contents of this message for any 
such corruption, interception or amendment or the consequences thereof nor any 
delay in its receipt.

Although this email message and any attachments are believed to be free of any 
virus or other defect that might affect any computer system into which it is 
received and opened, it is the responsibility of the recipient to ensure that 
it is virus free.  No responsibility is accepted by "View" for any loss or 
damage in any way arising from its use.

Any views expressed by the sender of this message are not necessarily those of 
"View".  
_
This message from View has been checked for all known viruses by the 
MessageLabs Virus Control Centre.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flash Accessibility Issues

2006-10-11 Thread Chris Griffith
We were requested to add Accessibility to a completed Flash piece at the
last minute and I¹m banging my head against a wall trying to figure out how
to do something that seems relatively simple.  I have roughly 60 thumbnails
of images that have buttons associated with them.  The buttons bring up a
large version of the image with a caption underneath.  The client would like
the caption to be read on rollover so someone with a screenreader can mouse
over or tab between them.
I used the accessibility panel to associate each button with it¹s caption,
but that doesn¹t seem to work.  What am I missing?

Chris Griffith
Senior Multimedia Developer,
Lead Game Developer
Tribal DDB Dallas
214.259.2748
[EMAIL PROTECTED]

__
This message, including any attachments, may include privileged, confidential 
and or inside information. Any distribution or use of this communication by 
anyone other than the intended recipient(s) is strictly prohibited and may be 
unlawful. If you are not the intended recipient, please notify the sender by 
replying to this message and then delete it from your system. Any further 
questions please contact our help desk at 214-259-2711.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Dennis - I Sioux
Only one thing left to do then :-D ... : set everything you have on frame 75 
to frame 34 :-D


But indeed it could be corruption.. have had several cases in the past where 
it was clear that my fla got corrupted.

I ended up getting a save mania :)

Good luck!

With kind regards,

Dennis


- Original Message - 
From: "Serge Jespers" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 4:18 PM
Subject: Re: [Flashcoders] simple gotoAndPlay



That almost got my hopes up... but sadly... no...
The only MC with a linkage ID gets loaded in the first frame...



Just a long shot then.. :-D
Might it be that you have a mc using lickage with the "load on  first 
frame" option off.. but forgot to preload it differently?


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

2006-10-11 Thread Ian Thomas

Capitalisation - it's autoSize, not autosize.

Ian

On 10/11/06, Perdue, Blake <[EMAIL PROTECTED]> wrote:

I'm trying to get a multiline textfield to be center aligned. Here's the
code:

this.createTextField('subhead',20,1,435,434,200);

with (this.subhead) {

html=true;

embedFonts=true;

selectable=false;

wordWrap=true;

multiline=true;

autosize='center';

htmlText='SI.com\'s Peter King says T.O. is going to explode
before long, but Dallas is tough enough to survive.';

}


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

2006-10-11 Thread Marc Hoffman
To see if something in the movie is corrupted, try turning content 
layers into guides, either all at once or one at a time, and you may 
be able to narrow down where the problem is. You can also try pasting 
all frames into a new movie.


Sorry I didn't follow the beginning of this thread, and the message 
has been clipped, so I'm not sure what the original issue was exactly.


- Marc

At 07:16 AM 10/11/2006, you wrote:


I've just seen that a file with similar functionality is 62k instead
of the 24k of the troubled file...
So I'm going to officially call this a messed up file... Even tho I
already tried renaming it, "save-and-compacting" it and oh yeah...
all frames I call do have frame labels.

I've even tried copying everything after frame 75 to another scene
(even tho I don't like to use them) but even then, I can not seem to
get beyond that frame 34... So weird...
___



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

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


[Flashcoders] Re: ObjectCopy works in Flash/swf but in Zinc it dies?!?

2006-10-11 Thread grimmwerks

Replying to myeslf, but here's the weirdness; it's not ObjectCopy - my
variable dies.

Here's a part of the code that works in .swf but not in Zinc; debug is a
global method I'm using to either output to the output window or popup an
input box if in zinc:

debug("total screens: " + gApp.screens.length);
   tX = new String();
   for (i=0; ihttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] C++ flash host supporting transparency

2006-10-11 Thread Chris Douglass
Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X) that
will host SWFs.  On Windows I'm using the Flash activeX control to host my
Flash app.  I'd like to render the Flash viewport/window onto my
application's surface with transparency such that only the content on the
stage is drawn to my window.  

Does anyone know how you would implement this within a custom host/container
like mine?  How do the browsers implement this (well the ones that support
it)?  Does Flash tell the host the key color being used for transparency?
I've seen a few articles here and there that Flash sends its output to an
off-screen buffer that the browsers use to render Flash content with
non-rectangular transparency.  But, I'm not sure how as a host container the
Flash frame buffers and transparency key color are accessible to me.

Does the stage color become the RGB key color value that Flash communicates
to the browser to assist with this process?  What if that same color is used
in the content of your movie/content within your SWF?  Do the browsers
render those pixels transparently as well?  

Anyway, I'm going to start some tests but thought maybe someone could shed
some light for me.  Also, does anyone have experience building their own SWF
host application that runs on Windows and Mac?  I need to port my app (and
am not interested in using the commercial swf/exe hosts out there, at least
not yet ;]) to the Mac, so whatever transparency technique I use on Win32
would hopefully not require a full-rewrite on the Mac (yeah right).

Is there an SDK for people wanting to build their own hosts for Flash apps?
Is there a lower-level interface/API I can tap into that exposes the Flash
content/internals so that developers can write their own unique hosts?  What
wrapper/API is exposed to the Mac platform developers for creating
containers on OSX?

Thanks for ANY input :)  I'll start fiddling with WMODE and see what happens
for starters...  Where is the definitive internals book on the Flash runtime
engine?  Does one exist?

Chris Douglass
Innovative Code & Design
Atlanta, GA
www.innovativecode.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] IE doesn't seem to want to recognize FlashVars

2006-10-11 Thread Christopher Whiteford

Ok I have a page that redirects based on FlashVars and for some reason every
browser expect IE seems to work. I have tried using flashobject, passing the
variables in the querystring and referencing _root variable. I am at my wits
end with this.

If anyone could take a look at it in IE and Firefox and possibly have some
explanation I would be thankful.

Here is the link:
http://www.iconicweb.com/indextest.html?page=Portfolio&subPage=toyotaEPNS
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Center align a multiline textfield?

2006-10-11 Thread Perdue, Blake
I'm trying to get a multiline textfield to be center aligned. Here's the
code:

this.createTextField('subhead',20,1,435,434,200);

with (this.subhead) {

html=true;

embedFonts=true;

selectable=false;

wordWrap=true;

multiline=true;

autosize='center';

htmlText='SI.com\'s Peter King says T.O. is going to explode
before long, but Dallas is tough enough to survive.';

}

 

The autosize seems to only work for single line textfields, not
multiline. Anyone know how to accomplish this? Thanks.

 

 

Blake Perdue | 212.522.1292 | AIM: blakepCNN

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Merrill, Jason
I've had the same thing - it seems .fla files can get corrupted.  Try
doing a "Save As" (which re-writes your .fla) and also clearing your ASO
cache.  If that doesn't work, go with Toby's approach of copy and paste
into a fresh .fla.  I've had to do that on rare occasions.  The only
explaination I could think of was .fla corruption.

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Toby
>>Sent: Wednesday, October 11, 2006 10:06 AM
>>To: 'Flashcoders mailing list'
>>Subject: RE: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?
>>
>>I have had fla's go haywire on me for unknown reasons, its only
happened
>>once but it was very random. I created a new FLA and literally copied
>>everything across and it worked fine... maybe I had overlooked
something but
>>I am under the impression that they can get confused by themselves in
a rare
>>circumstance.
>>
>>Hope your problems are resolved soon as things like this are horrible
to
>>debug! Good luck!
>>
>>T
>>
>>Ps. I guess one thing to do when your rebuilding it is to give
everything
>>frame labels instead of going to just frame numbers?
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:flashcoders-
>>> [EMAIL PROTECTED] On Behalf Of Serge Jespers
>>> Sent: 11 October 2006 14:22
>>> To: Flashcoders mailing list
>>> Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my
mind?
>>>
>>> It's getting worse... :-/
>>>
>>> It works like it should inside the IDE. But not in a browser.
>>> Now you could think that my main.swf is causing this swf to mess up
>>> but I'm doing the exact same thing with another swf and that one
>>> works perfect...
>>>
>>> The troubled swf is being loaded with a MovieClipLoader and I just
>>> play it once it's loaded in.
>>>
>>> I think I'm just going to build this file from scratch 'cause other
>>> than a  messed up file, I can't come up with anything that may cause
>>> this... :-/
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Serge Jespers

That almost got my hopes up... but sadly... no...
The only MC with a linkage ID gets loaded in the first frame...



Just a long shot then.. :-D
Might it be that you have a mc using lickage with the "load on  
first frame" option off.. but forgot to preload it differently?


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

2006-10-11 Thread Serge Jespers
I've just seen that a file with similar functionality is 62k instead  
of the 24k of the troubled file...
So I'm going to officially call this a messed up file... Even tho I  
already tried renaming it, "save-and-compacting" it and oh yeah...  
all frames I call do have frame labels.


I've even tried copying everything after frame 75 to another scene  
(even tho I don't like to use them) but even then, I can not seem to  
get beyond that frame 34... So weird...

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Robert r. Sanders
I can't lend you any source, but my tip would be to setup a 'dummy' page 
or pages and then add

   getURL("dummy_page.php?section=5")
or
   getURL("dummy_page5.html")

into your flash, then the client's web server logs will show the 
requests and they can do whatever they want using standard log mining tools.





Sascha wrote:

Hi,

My Client asked for a feature with that they can check how many users
accessed which sections in their Flash Movie so they can see how popular the
sections are. Their Flash is divided into 5 sub pages, all inside the same
SWF. I'm sure this is possible by utilizing PHP or similar server-side
language, I just haven't done such a thing yet and I'm on a tight deadline
with this job.
Could somebody lead me to any source on the web that does this task? A
PHP-Flash Example would be best!

Thanks a lot,
Sascha


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

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



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

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

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


Re: [Flashcoders] simple gotoAndPlay

2006-10-11 Thread Dennis - I Sioux

Just a long shot then.. :-D
Might it be that you have a mc using lickage with the "load on first frame" 
option off.. but forgot to preload it differently?


- Original Message - 
From: "Serge Jespers" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 4:05 PM
Subject: Re: [Flashcoders] simple gotoAndPlay



Also... the file is only 24k
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Toby
I have had fla's go haywire on me for unknown reasons, its only happened
once but it was very random. I created a new FLA and literally copied
everything across and it worked fine... maybe I had overlooked something but
I am under the impression that they can get confused by themselves in a rare
circumstance.

Hope your problems are resolved soon as things like this are horrible to
debug! Good luck!

T

Ps. I guess one thing to do when your rebuilding it is to give everything
frame labels instead of going to just frame numbers?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Serge Jespers
> Sent: 11 October 2006 14:22
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?
> 
> It's getting worse... :-/
> 
> It works like it should inside the IDE. But not in a browser.
> Now you could think that my main.swf is causing this swf to mess up
> but I'm doing the exact same thing with another swf and that one
> works perfect...
> 
> The troubled swf is being loaded with a MovieClipLoader and I just
> play it once it's loaded in.
> 
> I think I'm just going to build this file from scratch 'cause other
> than a  messed up file, I can't come up with anything that may cause
> this... :-/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] simple gotoAndPlay

2006-10-11 Thread Serge Jespers

Also... the file is only 24k
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Martin Weiser

var foo:MovieClip = createEmptyMovieClip("foo",1)
var myVar:String = "fooVar"

foo.myVar=myVar

delete myVar

//help works foo.myVar.

trace(foo.myVar)

Martin

Jason Ross wrote:

Sorry, my AS 1.0 should have looked like this:

this.createEmptyMovieClip("foo",1)
foo.myVar = "foovar"

so, myVar is a variable declared within the foo MC.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of julien
castelain
Sent: 11 October 2006 10:44
To: Flashcoders mailing list
Subject: Re: [Flashcoders] AS 2.0 variable declaration

hi jason,

this should'nt return any errors...
var foo:MovieClip = createEmptyMovieClip("foo",1)

for the other variable

foo.myVar  = "fooVar" or var myVar:String = "fooVar";



On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
  

Hi,

In migrating some AS 1.0 code to AS 2.0, I have run into a small
problem. How do I write the following in AS 2.0:

this.createEmptyMovieClip("foo",1)
this.myVar = "foovar"

As this returns errors:
var foo:MovieClip = createEmptyMovieClip("foo",1)
var foo.myVar:String = "fooVar"

Much appreciated,

Jason.

Legal Disclaimer:
This email message (including any attachments) is strictly


confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.
  

Internet email communications are not always secure and may be


susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
  

Although this email message and any attachments are believed to be


free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free.  No responsibility is
accepted by "View" for any loss or damage in any way arising from its
use.
  

Any views expressed by the sender of this message are not necessarily


those of "View".
  

_
This message from View has been checked for all known viruses by the
MessageLabs Virus Control Centre.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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

_
This incoming message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.


Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above.  The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence.  If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system.  


Internet email communications are not always secure and may be susceptible to data 
corruption, interception and unauthorised amendment, and therefore "View" does 
not accept legal responsibility for the contents of this message for any such corruption, 
interception or amendment or the consequences thereof nor any delay in its receipt.

Although this email message and any attachments are believed to be free of any virus or 
other defect that might affect any computer system into which it is received and opened, 
it is the responsibility of the recipient to ensure that it is virus free.  No 
responsibility is accepted by "View" for any loss or damage in any way arising 
from its use.

Any views expressed by the sender of this message are not necessarily those of "View".  
_
This message from View has been checked for all known viruses by the 
MessageLabs Virus Control Centre.


[Flashcoders] IO Error

2006-10-11 Thread Brake, Stephen
A swf file that allows users to upload files to my web server fails for
certain users with an IO Error.  I'm sure that it is a permissions
problem.  Is there something easy that I can do to get around this
issue?

 

Thanks,

 

Steve

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

2006-10-11 Thread Serge Jespers

Interesting... but I'm on a Mac using Firefox and Safari...



Are you using MoveClipLoader within IE? If so it's listeners behave
eratically with different content caching settings - this could be the
problem, your main swf would think the content was loaded in and  
ready,

when in fact it wasn't.

M


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Mike Mountain
Are you using MoveClipLoader within IE? If so it's listeners behave
eratically with different content caching settings - this could be the
problem, your main swf would think the content was loaded in and ready,
when in fact it wasn't.

M 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Serge Jespers
> Sent: 11 October 2006 14:22
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?
> 
> It's getting worse... :-/
> 
> It works like it should inside the IDE. But not in a browser.
> Now you could think that my main.swf is causing this swf to 
> mess up but I'm doing the exact same thing with another swf 
> and that one works perfect...
> 
> The troubled swf is being loaded with a MovieClipLoader and I 
> just play it once it's loaded in.
> 
> I think I'm just going to build this file from scratch 'cause 
> other than a  messed up file, I can't come up with anything 
> that may cause this... :-/ 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Muzak
I'm working on a Flash Statistics system using 
Flex/ColdFusion/Webservices/MySQL but hard to say when it will be ready.
It's still in an early stage.

Part of the project will probably be open source.
With 'part of the project' I mean 'everything but the Flex stuff', which is 
mainly used for administrating and viewing statistics.

If anyone is interested in this, let me know.

regards,
Muzak

- Original Message - 
From: "Ray Chuan" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 3:10 PM
Subject: Re: [Flashcoders] Logging Flash-Internal User Access?


> Hi,
> i doubt this is possible. Try separating the "sub pages" into separate
> swfs, and load them on-demand. You can then look at your server logs
> and see which swfs have been accessed.
>
> On 10/11/06, Sascha <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> My Client asked for a feature with that they can check how many users
>> accessed which sections in their Flash Movie so they can see how popular the
>> sections are. Their Flash is divided into 5 sub pages, all inside the same
>> SWF. I'm sure this is possible by utilizing PHP or similar server-side
>> language, I just haven't done such a thing yet and I'm on a tight deadline
>> with this job.
>> Could somebody lead me to any source on the web that does this task? A
>> PHP-Flash Example would be best!
>>
>> Thanks a lot,
>> Sascha
>>
>>


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

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


Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Serge Jespers

It's getting worse... :-/

It works like it should inside the IDE. But not in a browser.
Now you could think that my main.swf is causing this swf to mess up  
but I'm doing the exact same thing with another swf and that one  
works perfect...


The troubled swf is being loaded with a MovieClipLoader and I just  
play it once it's loaded in.


I think I'm just going to build this file from scratch 'cause other  
than a  messed up file, I can't come up with anything that may cause  
this... :-/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Logging Flash-Internal User Access?

2006-10-11 Thread Ray Chuan

Hi,
i doubt this is possible. Try separating the "sub pages" into separate
swfs, and load them on-demand. You can then look at your server logs
and see which swfs have been accessed.

On 10/11/06, Sascha <[EMAIL PROTECTED]> wrote:

Hi,

My Client asked for a feature with that they can check how many users
accessed which sections in their Flash Movie so they can see how popular the
sections are. Their Flash is divided into 5 sub pages, all inside the same
SWF. I'm sure this is possible by utilizing PHP or similar server-side
language, I just haven't done such a thing yet and I'm on a tight deadline
with this job.
Could somebody lead me to any source on the web that does this task? A
PHP-Flash Example would be best!

Thanks a lot,
Sascha


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

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




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] CacheAsBitmap advice

2006-10-11 Thread Ramon Miguel M. Tayag

I've posted this before, but it may help you:

http://board.flashkit.com/board/showthread.php?t=659163


As you can see in that post, if you do any scaling or rotation to a
cachedAsBitmap MovieClip, it temporarily becomes a vector again, just
to update itself.  That class can "force" a movieclip to stay as a
bitmap, even if you make it super big.  Of course, it'll get blurry if
it's too big.

Key is to taking a snapshot of what you want at the biggest size it'll
be, or updating the bitmap data when it's at it's biggest size.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi - thank you to both Ian and Ramon.

And yes, the pictures are scrolling, but they are contained in
movieclips that contain vector data (i.e. to artwork around the photos).
See what I mean? Though I take your point as through my experimentation
I get the same results whether CacheAsBitmap is turned on or not.

Great idea to unload / reload as they come on / off the screen! Will do
that one right away.

Thank again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Miguel M. Tayag
Sent: 11 October 2006 12:21
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

If you're scrolling pictures, you don't really need to cache as
bitmap.  It would be best to use it when there's a lot of vector data
that bogs the system down when animating.

One thing you could do to optimize things is whent he pictures go
offscreen, unload them.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a photo sharing site that was coded in Flash 6.0 using AS 1.0
of
> course. I am in the process of updating all code to AS 2.0 and was
> hoping to use CacheAsBitmap to improve the performance. This link
> demonstrates a folder on the site with many images:
>
> http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15
>
> Ideally, I would like to speed up things like (which, on a slow PC
these
> things can run pretty poorly):
>
> * Scrolling (using the slider on the bottom of the screen)
> * Image inflates (when you click an image)
> * Animations (when you click 'NEXT / PREVIOUS')
>
> I know that CacheAsBitmap should be used carefully, which is what I am
> struggling on. The site is coded quite well with many nested movie
> clips. This is where I struggle to understand where / if I should
apply
> a CacheAsBitmap command.
>
> Stage
> |
> -- ScrollerMC
> |
> -- Thumbnail
> |  |
> |  -- ImageLoaderMC
> |   |
> |   -- thumbImageLoaderMC
> |   -- mainImageLoaderMC
> |
> -- Thumbnail
>|
>-- ImageLoaderMC
> |
> -- thumbImageLoaderMC
> -- mainImageLoaderMC
>
> Any help would be greatly appreciated.
>
> Jason.
>
> Legal Disclaimer:
> This email message (including any attachments) is strictly
confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.
>
> Internet email communications are not always secure and may be
susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
>
> Although this email message and any attachments are believed to be
free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free.  No responsibility is
accepted by "View" for any loss or damage in any way arising from its
use.
>
> Any views expressed by the sender of this message are not necessarily
those of "View".
> _
> This message from View has been checked for all known viruses by the
> MessageLabs Virus Control Centre.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listi

Re: [Flashcoders] CacheAsBitmap advice

2006-10-11 Thread Ian Thomas

Incidentally, Jason, your site only takes up the first 1/4 or so of
the browser window in Firefox.

I think you probably need to set a CSS body height:100% or something
somewhere in the HTML.

Cheers,
  Ian

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi,

I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of
course. I am in the process of updating all code to AS 2.0 and was
hoping to use CacheAsBitmap to improve the performance. This link
demonstrates a folder on the site with many images:

http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15

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

2006-10-11 Thread Jason Ross
Wow! Lot's to look into. I never considered using BitmapData for this at
all. I will need to investigate. Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Buff
Sent: 11 October 2006 13:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice


With BitmapData, you can build a BitmapData of your picture, for exemple

1000x600 witch will stay in memory, and will not be displayed. After
that, 
you create another BitmapData witch is only 500x300 for exemple, the
size 
you need for display. Then you draw the first BitmapData in the second
with 
the draw() method, according to a geom.matrix witch describe the
translation 
you need for scroll, and also the zoom. Doing this, your scroll and zoom

will be faster.

Remember that the cacheAsBitmap property is true by default. May be
there 
isn't difference in you're test because you didn't try to define 
cacheAsBitmap as false (and only compare default and true, witch is the
same 
thing).

I went to your site. It seem's that when we zoom in a picture, this
picture 
is first reduced like 20% and when you zoom, you increase to 100% with a

mask. Am'I wrong? In this case, and also for the scroll, you will not
realy 
increase the speed with cacheAsBitmap. But I think you can do much
better 
using BitmapData, scroll(), draw() and flash.geom.matrix in the draw() 
method.

always sorry for my english

David Buff

- Original Message - 
From: "Jason Ross" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 1:36 PM
Subject: RE: [Flashcoders] CacheAsBitmap advice


Hi - thank you to both Ian and Ramon.

And yes, the pictures are scrolling, but they are contained in
movieclips that contain vector data (i.e. to artwork around the photos).
See what I mean? Though I take your point as through my experimentation
I get the same results whether CacheAsBitmap is turned on or not.

Great idea to unload / reload as they come on / off the screen! Will do
that one right away.

Thank again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Miguel M. Tayag
Sent: 11 October 2006 12:21
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

If you're scrolling pictures, you don't really need to cache as
bitmap.  It would be best to use it when there's a lot of vector data
that bogs the system down when animating.

One thing you could do to optimize things is whent he pictures go
offscreen, unload them.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a photo sharing site that was coded in Flash 6.0 using AS 1.0
of
> course. I am in the process of updating all code to AS 2.0 and was
> hoping to use CacheAsBitmap to improve the performance. This link
> demonstrates a folder on the site with many images:
>
> http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15
>
> Ideally, I would like to speed up things like (which, on a slow PC
these
> things can run pretty poorly):
>
> * Scrolling (using the slider on the bottom of the screen)
> * Image inflates (when you click an image)
> * Animations (when you click 'NEXT / PREVIOUS')
>
> I know that CacheAsBitmap should be used carefully, which is what I am
> struggling on. The site is coded quite well with many nested movie
> clips. This is where I struggle to understand where / if I should
apply
> a CacheAsBitmap command.
>
> Stage
> |
> -- ScrollerMC
> |
> -- Thumbnail
> |  |
> |  -- ImageLoaderMC
> |   |
> |   -- thumbImageLoaderMC
> |   -- mainImageLoaderMC
> |
> -- Thumbnail
>|
>-- ImageLoaderMC
> |
> -- thumbImageLoaderMC
> -- mainImageLoaderMC
>
> Any help would be greatly appreciated.
>
> Jason.
>
> Legal Disclaimer:
> This email message (including any attachments) is strictly
confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.
>
> Internet email communications are not always secure and may be
susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
>
> Although this email message and any attachments are believed to be
free of any virus or other defect that might affect any computer system
into which it is recei

Re: [Flashcoders] private member accessible with init object ofattachMovie

2006-10-11 Thread Ian Thomas

On 10/11/06, Muzak <[EMAIL PROTECTED]> wrote:


> When using the attachMovie method, it is possible to set values of
> member variables. These values are set before the constructor is
> executed.
> Why that?

The set variable value can be used immeditaly in the initializing process, so 
will be drawn faster.
So the component will be drawn with the 'new value', rather than with a 
'default value' and then redrawn with the 'new value'.
Might not be a biggy if the variable doesn't have a huge inpact on the 
component, but if that particular variable value affects the
layout (so the whole component needs to be redrawn) it does.


What's more - if you were using a straight OOP class for your
MovieClips (like AS3 does), you could have a constructor that took
parameters e.g.
var button:Button=new Button('label');

But you can't do that in AS2 because of the way MovieClips/Components
are created (attachMovie instead of new()) so you need some way of
passing initialisation variables. The method Macrodobe came up with is
to pass the initialisation variables as an object argument to
attachMovie(). It's a workaround because of the need to rely on
attachMovie(). And happily, it's gone in AS3.


> And furthermore:
> Even private member variables can set this way and even the
> constructor can be private. And why that?
>
> Is there a special explanation or something obvious I missed?
>
I have to guess here really.. attachMovie is a MovieClip method, which is a 
dynamic class.


I'd imagine it's because the assignment of the variables actually
happens at runtime, and because AS2 compiles down to the same bytecode
as AS1, the runtime engine doesn't actually _know_ whether properties
are public or private (in AS2 as opposed to AS3, public and private
are only meaningful at _compile_ time).

So it just looks through the initialisation object (as if you were
doing a for... in... ), and sets variables on the new clip - it
doesn't know anything about access permissions.

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

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


Re: [Flashcoders] private member accessible with init object ofattachMovie

2006-10-11 Thread Muzak

- Original Message - 
From: "Matthias Dittgen" <[EMAIL PROTECTED]>


> Hello,
>
> the answer to my question would probably not change my workflow, but I
> want to know this:
>
> When using the attachMovie method, it is possible to set values of
> member variables. These values are set before the constructor is
> executed.
> Why that?

The set variable value can be used immeditaly in the initializing process, so 
will be drawn faster.
So the component will be drawn with the 'new value', rather than with a 
'default value' and then redrawn with the 'new value'.
Might not be a biggy if the variable doesn't have a huge inpact on the 
component, but if that particular variable value affects the 
layout (so the whole component needs to be redrawn) it does.

>
> And furthermore:
> Even private member variables can set this way and even the
> constructor can be private. And why that?
>
> Is there a special explanation or something obvious I missed?
>

I have to guess here really.. attachMovie is a MovieClip method, which is a 
dynamic class.

regards,
Muzak



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

2006-10-11 Thread David Buff


With BitmapData, you can build a BitmapData of your picture, for exemple 
1000x600 witch will stay in memory, and will not be displayed. After that, 
you create another BitmapData witch is only 500x300 for exemple, the size 
you need for display. Then you draw the first BitmapData in the second with 
the draw() method, according to a geom.matrix witch describe the translation 
you need for scroll, and also the zoom. Doing this, your scroll and zoom 
will be faster.


Remember that the cacheAsBitmap property is true by default. May be there 
isn't difference in you're test because you didn't try to define 
cacheAsBitmap as false (and only compare default and true, witch is the same 
thing).


I went to your site. It seem's that when we zoom in a picture, this picture 
is first reduced like 20% and when you zoom, you increase to 100% with a 
mask. Am'I wrong? In this case, and also for the scroll, you will not realy 
increase the speed with cacheAsBitmap. But I think you can do much better 
using BitmapData, scroll(), draw() and flash.geom.matrix in the draw() 
method.


always sorry for my english

David Buff

- Original Message - 
From: "Jason Ross" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 1:36 PM
Subject: RE: [Flashcoders] CacheAsBitmap advice


Hi - thank you to both Ian and Ramon.

And yes, the pictures are scrolling, but they are contained in
movieclips that contain vector data (i.e. to artwork around the photos).
See what I mean? Though I take your point as through my experimentation
I get the same results whether CacheAsBitmap is turned on or not.

Great idea to unload / reload as they come on / off the screen! Will do
that one right away.

Thank again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Miguel M. Tayag
Sent: 11 October 2006 12:21
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

If you're scrolling pictures, you don't really need to cache as
bitmap.  It would be best to use it when there's a lot of vector data
that bogs the system down when animating.

One thing you could do to optimize things is whent he pictures go
offscreen, unload them.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi,

I have a photo sharing site that was coded in Flash 6.0 using AS 1.0

of

course. I am in the process of updating all code to AS 2.0 and was
hoping to use CacheAsBitmap to improve the performance. This link
demonstrates a folder on the site with many images:

http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15

Ideally, I would like to speed up things like (which, on a slow PC

these

things can run pretty poorly):

* Scrolling (using the slider on the bottom of the screen)
* Image inflates (when you click an image)
* Animations (when you click 'NEXT / PREVIOUS')

I know that CacheAsBitmap should be used carefully, which is what I am
struggling on. The site is coded quite well with many nested movie
clips. This is where I struggle to understand where / if I should

apply

a CacheAsBitmap command.

Stage
|
-- ScrollerMC
|
-- Thumbnail
|  |
|  -- ImageLoaderMC
|   |
|   -- thumbImageLoaderMC
|   -- mainImageLoaderMC
|
-- Thumbnail
   |
   -- ImageLoaderMC
|
-- thumbImageLoaderMC
-- mainImageLoaderMC

Any help would be greatly appreciated.

Jason.

Legal Disclaimer:
This email message (including any attachments) is strictly

confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.


Internet email communications are not always secure and may be

susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.


Although this email message and any attachments are believed to be

free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free.  No responsibility is
accepted by "View" for any loss or damage in any way arising from its
use.


Any views expressed by the sender of this message are not necessarily

those of "View".

_
This message from View has been checked for

Re: [Flashcoders] Global sound control ...

2006-10-11 Thread Muzak
google --> flash stop all sounds


- Original Message - 
From: "Stephen Ford" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, October 11, 2006 8:06 AM
Subject: [Flashcoders] Global sound control ...


I have an interactive demo that consists of one main SWF file that loads in 
other SWF files depending on what the user clicks on in 
the main SWFs navigation.

Within this main SWF and within all the seperate SWFs are numerous movies each 
with their own timeline doing it's own thing.

In numerous place on timelines throughout this set of SWFs, sound effects have 
been hardcoded onto their respective timeline (i.e: 
not loaded dynamically using the sound object).

So is there any way to turn off sound globally regardless of where it's located 
on whatever timeline within whatever SWF. So I can 
just create an on/off button for the main SWF that will control sound globally 
???

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] CacheAsBitmap advice

2006-10-11 Thread Jason Ross
Hi - thank you to both Ian and Ramon.

And yes, the pictures are scrolling, but they are contained in
movieclips that contain vector data (i.e. to artwork around the photos).
See what I mean? Though I take your point as through my experimentation
I get the same results whether CacheAsBitmap is turned on or not.

Great idea to unload / reload as they come on / off the screen! Will do
that one right away.

Thank again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Miguel M. Tayag
Sent: 11 October 2006 12:21
To: Flashcoders mailing list
Subject: Re: [Flashcoders] CacheAsBitmap advice

If you're scrolling pictures, you don't really need to cache as
bitmap.  It would be best to use it when there's a lot of vector data
that bogs the system down when animating.

One thing you could do to optimize things is whent he pictures go
offscreen, unload them.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a photo sharing site that was coded in Flash 6.0 using AS 1.0
of
> course. I am in the process of updating all code to AS 2.0 and was
> hoping to use CacheAsBitmap to improve the performance. This link
> demonstrates a folder on the site with many images:
>
> http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15
>
> Ideally, I would like to speed up things like (which, on a slow PC
these
> things can run pretty poorly):
>
> * Scrolling (using the slider on the bottom of the screen)
> * Image inflates (when you click an image)
> * Animations (when you click 'NEXT / PREVIOUS')
>
> I know that CacheAsBitmap should be used carefully, which is what I am
> struggling on. The site is coded quite well with many nested movie
> clips. This is where I struggle to understand where / if I should
apply
> a CacheAsBitmap command.
>
> Stage
> |
> -- ScrollerMC
> |
> -- Thumbnail
> |  |
> |  -- ImageLoaderMC
> |   |
> |   -- thumbImageLoaderMC
> |   -- mainImageLoaderMC
> |
> -- Thumbnail
>|
>-- ImageLoaderMC
> |
> -- thumbImageLoaderMC
> -- mainImageLoaderMC
>
> Any help would be greatly appreciated.
>
> Jason.
>
> Legal Disclaimer:
> This email message (including any attachments) is strictly
confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.
>
> Internet email communications are not always secure and may be
susceptible to data corruption, interception and unauthorised amendment,
and therefore "View" does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
>
> Although this email message and any attachments are believed to be
free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free.  No responsibility is
accepted by "View" for any loss or damage in any way arising from its
use.
>
> Any views expressed by the sender of this message are not necessarily
those of "View".
> _
> This message from View has been checked for all known viruses by the
> MessageLabs Virus Control Centre.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


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

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

_
This incoming message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.

Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is 
intended only for the person(s) or organisation(s) named above.  The 
unauthorised use, disclosure, distribution and/or copying of the email message, 
or any information it contains (includi

Re: [Flashcoders] CacheAsBitmap advice

2006-10-11 Thread Ian Thomas

Hi Jason,
 I'd pretty much echo Ramon - doesn't sound like a good case for
cacheAsBitmap. To give a slightly more concrete cacheAsBitmap
example...

We have a Flash-driven flip book that can (potentially) show any Flash
movie on any page. Flipping the pages is a quite animation-intensive
process. If the Flash movie contained in the page is lots of vectors
(even if it's a still image), the page-flipping process crawls. If,
however, we turn on cacheAsBitmap on the contained movie before doing
the page flip, Flash only has to update one bitmap for that movie
(rather than repeatedly redrawing all the vectors). Then we turn back
off cacheAsBitmap once the page flip is complete.

It's these sort of places that cacheAsBitmap makes a difference in.

In your case, if you were scrolling around Flash vector movies rather
than images, it'd make more sense. But from experimentation, scrolling
a bitmap image contained in a MovieClip is pretty much the same
whether cacheAsBitmap is turned on or turned off.

Hope that's helpful,
 Ian

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi,

I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of
course. I am in the process of updating all code to AS 2.0 and was
hoping to use CacheAsBitmap to improve the performance. This link
demonstrates a folder on the site with many images:


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

2006-10-11 Thread Ramon Miguel M. Tayag

If you're scrolling pictures, you don't really need to cache as
bitmap.  It would be best to use it when there's a lot of vector data
that bogs the system down when animating.

One thing you could do to optimize things is whent he pictures go
offscreen, unload them.

On 10/11/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi,

I have a photo sharing site that was coded in Flash 6.0 using AS 1.0 of
course. I am in the process of updating all code to AS 2.0 and was
hoping to use CacheAsBitmap to improve the performance. This link
demonstrates a folder on the site with many images:

http://www.fotoko.com/?str=1N%3D%2A%5C%3BKLP6R%3DT3%5BB%2E1R%0Ast%15

Ideally, I would like to speed up things like (which, on a slow PC these
things can run pretty poorly):

* Scrolling (using the slider on the bottom of the screen)
* Image inflates (when you click an image)
* Animations (when you click 'NEXT / PREVIOUS')

I know that CacheAsBitmap should be used carefully, which is what I am
struggling on. The site is coded quite well with many nested movie
clips. This is where I struggle to understand where / if I should apply
a CacheAsBitmap command.

Stage
|
-- ScrollerMC
|
-- Thumbnail
|  |
|  -- ImageLoaderMC
|   |
|   -- thumbImageLoaderMC
|   -- mainImageLoaderMC
|
-- Thumbnail
   |
   -- ImageLoaderMC
|
-- thumbImageLoaderMC
-- mainImageLoaderMC

Any help would be greatly appreciated.

Jason.

Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is 
intended only for the person(s) or organisation(s) named above.  The 
unauthorised use, disclosure, distribution and/or copying of the email message, 
or any information it contains (including any attachments), is strictly 
prohibited and could in certain circumstances constitute a legal offence.  If 
you are not an intended recipient, please contact the sender immediately by 
return email and delete the email from your system.

Internet email communications are not always secure and may be susceptible to data 
corruption, interception and unauthorised amendment, and therefore "View" does 
not accept legal responsibility for the contents of this message for any such corruption, 
interception or amendment or the consequences thereof nor any delay in its receipt.

Although this email message and any attachments are believed to be free of any virus or 
other defect that might affect any computer system into which it is received and opened, 
it is the responsibility of the recipient to ensure that it is virus free.  No 
responsibility is accepted by "View" for any loss or damage in any way arising 
from its use.

Any views expressed by the sender of this message are not necessarily those of 
"View".
_
This message from View has been checked for all known viruses by the
MessageLabs Virus Control Centre.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Fuse Kit Sequence

2006-10-11 Thread Jon Bennett

Hi,

I'm trying to sequence some simple tweens using Fuse(), but for some
reason only the first item in the sequence plays, and I'm not sure
why.

// code on timeline (which contains 2 MCs mcOne and mcTwo
import com.mosesSupposes.fuse.*;
ZigoEngine.register(PennerEasing, Fuse);

this.mcOne._alpha = 0;
this.mcTwo._alpha = 0;

var fSequence:Fuse = new Fuse();
fSequence.pushTween
([this.mcOne,this.mcTwo],"_alpha",["100","100"],3,"easeOutQuad",0);
fSequence.pushTween
([this.mcOne,this.mcTwo],"_x",["400","300"],3,"easeOutQuad",0);
fSequence.start ();

Hopefully someone with more experience will be able to point me in the
right direction.

tia,

jon

--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Dennis - I Sioux
The fact that you can't gotoAndPlay past 34.. but can go to 16 could 
indicate that indeed it isn't loaded or somehting.. but you've tested 
that...
What happens when you just play the mc... en set a framecounter in it or 
something for display... does it go beyond 34?


Kind regards,

Dennis


- Original Message - 
From: "Serge Jespers" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 11:52 AM
Subject: Re: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?



There is absolutely no function that is going to that frame 34...
There is no onEnterFrame besides my debugging onEnterFrame function  to 
check the currentframe...
When I put a "gotoAndStop(75)" in my onEnterFrame, it still passes 
through frame 34 before going to 75...

gotoAndStop(16) works.
gotoAndStop(40) goes back to 34

I am really losing it... I'm just taking a wild guess but I'd say  this 
file is somehow messed up or something. I honestly have no clue  why it 
just keeps going back to that frame... :/


Appreciate the help!

Serge

@Prazac: I've had a few mojitos last night... But a local colleague  also 
took a look and it's not my hangover ;-)


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Prakaz

have you tried using the bandwidth profiler to check out how your controls
are jumping from one frame to another...?

try putting a gotoAndPlay(75) in frame 20 or so and use the bandwidth
profiler to see how the flow is, once the frame hits frame 20 does it jump
directly to frame 34 or 75?

P


On 10/11/06, Danny Kodicek <[EMAIL PROTECTED]> wrote:


One last stab in the dark: I assume you do have content and keyframes
> beyond
> frame 34? The name 'nopics' suggests that this frame might be empty?
>

Danny

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

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


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

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


RE: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Danny Kodicek
One last stab in the dark: I assume you do have content and keyframes beyond
frame 34? The name 'nopics' suggests that this frame might be empty?

Danny

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

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


  1   2   >