Re: [Flashcoders] ' Undo ' Feature in flash RIAs - any success stories?

2006-09-08 Thread Johannes Nel

read up on the memento design pattern
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ' Undo ' Feature in flash RIAs - any success stories?

2006-09-08 Thread Steven Sacks | BLITZ
I have, but I built my app with it in mind from the beginning, not
slapped on after.  You have to plan for something like this from the
start.

First off, doing everything in MVC is pretty much required.  I wrote a
static History class.  It takes snapshots of the Model everytime the
Controller changes the Model in a way that warrants saving the state
(you're not changing the model with your views are you?).  The
Controller calls History.addEvent() (note: the controller (not the
model!) calls addEvent because that is the job of the controller, not
the model).  When you undo or redo, History tells Controller to update
the app with the saved model data.

I pass the History class references to the primary application
controller and model.  I'm not using Event/Listeners with this one.
Feel free to make it event driven if you like.  You'll still need to
pass a reference of the Model to the History class.

Why did I choose to do it this way, storing a snapshot of the data?
Because it's super easy!  If you had to store deltas and do comparisons
you'd kill yourself trying to debug all the possible combinations.  What
if you had a reset button for some pieces of the data?  How would you
handle that?  Believe me, I put some thought into this.  :)

Forget that.  Just take snapshots of the entire data model.  If you
build your application to draw itself based on the data model's data at
any time, you can make your history class super simple, and very quick.
Memory usage has not been a problem for me even with thousands of steps
(I wrote functional tests).  It's serialized data, after all.

The specifics of how the History class works is like this.  When you
addEvent, it sets historyArray.length = currentStep + 1.  This truncates
the historyArray if you've taken steps back.  Then, it pushes a clone of
the model data, sets the current step to the last item in the
historyArray and tells the controller that the history has updated, for
whatever purposes you might need.

When you undo or redo, it ignores it if the historyArray only has one or
zero items in it.  It also ignores it if undoing or redoing would take
it beyond the range of the historyArray.  Then, it tells the controller
that a historyStep has occurred (undo or redo), passing a clone of the
data in the historyArray (you have to do this to prevent references),
which the controller responds to by redrawing the application however
it's been coded to based on the model data.


class com.stagr.controller.History {
private static var historyArray:Array = [];
private static var currentStep:Number = -1; 
public static var controller;
public static var model;

static function addEvent() {
historyArray.length = currentStep + 1;
historyArray.push(clone(model.data));
currentStep = historyArray.length - 1;
controller.onHistoryUpdate();
}
static function undo() {
if (historyArray.length < 2) return;
currentStep--;
if (currentStep < 0) {
currentStep = 0;
return;
}

controller.historyStep(clone(historyArray[currentStep]));
}
static function redo() {
if (historyArray.length < 2) return;
currentStep++;
if (currentStep > historyArray.length - 1) {
currentStep = historyArray.length - 1;
return;
}

controller.historyStep(clone(historyArray[currentStep]));
}
static function clone(obj:Object):Object {  
var o = (null != obj.length) ? [] : {};
for (var i in obj) {
o[i] = (typeof obj[i] == "object") ?
clone(obj[i]) : obj[i];
}
return o;
}
static function get data():Object {
return {step:currentStep, len:historyArray.length};
}
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ' Undo ' Feature in flash RIAs - any success stories?

2006-09-08 Thread artur
just wondering if anyone out there has successfully applied an "undo" 
feature into a flash RIA?

( specifically CMS apps that use flash remoting - in my case )

what are some of the obstacles encountered?
and what advice would you give in terms of developing the architecture 
and event management.


im also specifically interested in any CMS apps that have this feature..


thanks in advance

artur


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

2006-09-08 Thread Eskil Janson

Great, thanks!

/Eskil

Mark Walters skrev:

done...

you can now download all of the classes and documentation in one zip:
http://www.digitalflipbook.com/downloads/flash/penner/Penner_AS2_ProFMX.zip 




On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
cool, nice work.  you might want to offer them all packaged up into 
one zip

file too.



On 9/8/06, Mark Walters <[EMAIL PROTECTED]> wrote:
>
> I just wanted to let everyone know that I finally completed converting
> all of Robert Penner's AS1 classes from his book to AS2.
>
> You can view the last post here:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_20.php
>
> You can download each set of classes here:
> http://www.digitalflipbook.com/downloads/
>
> Some examples from the book now using AS2:
>
> Cyclone:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_19.php
>
> Fractal Dancer:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_17.php
>
> MotionCamera:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_16.php
>
> Snowstorm:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_14.php
>
> Aurora Borealis:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_12.php
>
> PhysicsParticle:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_11.php
>
> Vector3d:
> http://www.digitalflipbook.com/archives/2006/07/penner_as2_prof_3.php
>
> Thanks and Enjoy!
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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






--

---eskilStina 
--

Eskil Janson  Mobil: +46 0735 31 68 52
Slupskjulsvägen 38   	  E-post: [EMAIL PROTECTED] 


111 49 Stockholm  Webb: www.eskilstina.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: inline images in a textarea

2006-09-08 Thread Marcelo Volmaro
You can´t do that because flash doesn´t support images as in-line  
elements, only as block elements.


On Fri, 08 Sep 2006 17:30:43 -0300, Rich Rodecker <[EMAIL PROTECTED]>  
wrote:


thanks...its not the text thats going to the next line though...the text  
is

all appearing on one line, but the image is appearing on the next.

so for instance when the image is supposed to be in the middle of the  
line

of text:

hey there http://www.thewhole9.com/chat/smilies/smile.jpg";
width="19" height="19" VSPACE="0" HSPACE="0" /> hows it going?

is turning into this (visually anyway, the html is still correct in the
textarea):
hey there hows it going?
http://www.thewhole9.com/chat/smilies/smile.jpg"; width="19"
height="19" VSPACE="0" HSPACE="0" />

does that make sense?  thee image is appearing on the next line, after  
the

line of text when it should be right in the middle.

On 9/8/06, Lori Hutchek <[EMAIL PROTECTED]> wrote:


Check that you are setting this VSPACE="0" HSPACE="0" it's the vertical
and horizontal space around the image which may be pushing the text to
next line

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Friday, September 08, 2006 12:55 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: inline images in a textarea

hmmm..anyone?  i know i've seen it done a couple of times, but I'm
pretty
stuck.



On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>
> ok, i know working with images in a text area is only going to lead me
to
> heartache, but I've seen this done and if anyone can point me in the
right
> direction that would be awesome.
>
> I have a chat app that im building with support for emoticons.
everyhting
> works great except the smiley image always appears on the next line
after
> the text, so I wind up with something like:
>
> here is my smiley
> :)
>
> when i really want:
>
> here is :) my smiley
>
> The one quirk i can see that might cause some wierdness is that i am
> setting the contents of the textarea using the .text property, though
the
> textarea is set to html = true and everything renders out ok.  I dont
want
> to use .htmlText because I'm letting the user choose any font, and
htmlText
> wont seem to render without the text embedded.
>
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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




--
_
Marcelo Volmaro
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Tween Class with Set Interval deletion

2006-09-08 Thread Helmut Granda

Cool Thanks!

I think the Tween class works great I just didnt know the docs were in the
Help Menu. Now that I have all the info it seems to be working properly.

On 9/8/06, marlus <[EMAIL PROTECTED]> wrote:


You can use the mc_tween:
http://hosted.zeh.com.br/mctween/index.html

2006/9/7, Telmo Dias <[EMAIL PROTECTED]>:
>
> Try:
>
> myTimeTween .stop();
>
> ;-)
> Telmo
>
> Helmut Granda wrote:
> > I have a small piece of script that was passed down to me and I cant
> > figure
> > out how to stop it from executing:
> >
> > var interval:Number = 60;
> > myTimeTween = new mx.transitions.Tween(pBar, "_height",
> > mx.transitions.easing.None.easeNone,0,162,interval,true);
> >
> > I have tried different methods:
> >
> > delete myTimeTween;
> > delete mx.transitions.Tween;
> > clearInterval(interval);
> > myTimeTween = new mx.transitions.Tween(pBar, "_height",
> > mx.transitions.easing.None.easeNone,0,162,0,true);
> > delete interval;
> > Create a new frame and send the playhead to the next frame;
> >
> > but none of those seem to work, I have even tried to fire all the
> > statements
> > above at once (and some others that I cant remember rigt now)and still
> > the
> > tween keeps on executing.
> >
> > Any Pointers or ideas will be greatly appreciated.
> >
> > ...helmut
> >
> >
> >
> > --
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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
>



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

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





--
...helmut
helmutgranda.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: inline images in a textarea

2006-09-08 Thread Rich Rodecker

thanks...its not the text thats going to the next line though...the text is
all appearing on one line, but the image is appearing on the next.

so for instance when the image is supposed to be in the middle of the line
of text:

hey there http://www.thewhole9.com/chat/smilies/smile.jpg";
width="19" height="19" VSPACE="0" HSPACE="0" /> hows it going?

is turning into this (visually anyway, the html is still correct in the
textarea):
hey there hows it going?
http://www.thewhole9.com/chat/smilies/smile.jpg"; width="19"
height="19" VSPACE="0" HSPACE="0" />

does that make sense?  thee image is appearing on the next line, after the
line of text when it should be right in the middle.

On 9/8/06, Lori Hutchek <[EMAIL PROTECTED]> wrote:


Check that you are setting this VSPACE="0" HSPACE="0" it's the vertical
and horizontal space around the image which may be pushing the text to
next line

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Friday, September 08, 2006 12:55 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: inline images in a textarea

hmmm..anyone?  i know i've seen it done a couple of times, but I'm
pretty
stuck.



On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>
> ok, i know working with images in a text area is only going to lead me
to
> heartache, but I've seen this done and if anyone can point me in the
right
> direction that would be awesome.
>
> I have a chat app that im building with support for emoticons.
everyhting
> works great except the smiley image always appears on the next line
after
> the text, so I wind up with something like:
>
> here is my smiley
> :)
>
> when i really want:
>
> here is :) my smiley
>
> The one quirk i can see that might cause some wierdness is that i am
> setting the contents of the textarea using the .text property, though
the
> textarea is set to html = true and everything renders out ok.  I dont
want
> to use .htmlText because I'm letting the user choose any font, and
htmlText
> wont seem to render without the text embedded.
>
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: inline images in a textarea

2006-09-08 Thread Lori Hutchek
Check that you are setting this VSPACE="0" HSPACE="0" it's the vertical
and horizontal space around the image which may be pushing the text to
next line

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Friday, September 08, 2006 12:55 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: inline images in a textarea

hmmm..anyone?  i know i've seen it done a couple of times, but I'm
pretty
stuck.



On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>
> ok, i know working with images in a text area is only going to lead me
to
> heartache, but I've seen this done and if anyone can point me in the
right
> direction that would be awesome.
>
> I have a chat app that im building with support for emoticons.
everyhting
> works great except the smiley image always appears on the next line
after
> the text, so I wind up with something like:
>
> here is my smiley
> :)
>
> when i really want:
>
> here is :) my smiley
>
> The one quirk i can see that might cause some wierdness is that i am
> setting the contents of the textarea using the .text property, though
the
> textarea is set to html = true and everything renders out ok.  I dont
want
> to use .htmlText because I'm letting the user choose any font, and
htmlText
> wont seem to render without the text embedded.
>
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Polaroid camera real time effect

2006-09-08 Thread Marcelo de Moraes Serpa

Here's what I would like to do: An online dynamic picture gallery (I
actually already have all the client/server side business logic for this)
where a user could choose the picture to see on a leftbar where thumbs would
be listed. When the user clicks on a thumb, the larger picture comes from a
polaroid camera as if it was being really taken at the time (with sounds
too, of course!) - and here lies the problem, I don't know how I would
implement such effect (what techniques to use, etc). The polaroid would be a
3D model put at the flash movie. I really don't know where to start. Is
there something like that already implemented that you know of?

Thanks,

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] RE: Q:Reduce file size of mx.transitions.Tween ??

2006-09-08 Thread Rich Rodecker

I added this class to actionscriptclasses.com:
http://www.actionscriptclasses.com/2006/tweenlite/

If you (or anyone else) has any other classes they'd like to share on there,
feel free to sign up and add them.

On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:


got it, thanks


On 9/8/06, Count Schemula <[EMAIL PROTECTED]> wrote:
>
> link worked for me.
>
> I just e-mailed you the .zip file...
>
> On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
> > hey jacki tried downloading that zip but the link doesnt seem to
> lead
> > anywhere?
> >
> > On 9/7/06, Jack Doyle <[EMAIL PROTECTED]> wrote:
> > >
> > > This is exactly why I wrote the TweenLite class. It only adds about
> 2k to
> > > your file and has some features that the Tween class doesn't. You
> can
> > > download it at http://www.greensock.com/ActionScript/TweenLite.zip
> > >
> > > There's some brief documentation at the top of the file, but let me
> know
> > > if
> > > you have any questions. Hope it helps.
> > >
> > > Jack Doyle
> > >
> > > > From: [EMAIL PROTECTED]
> > > > Date: 2006/09/07 Thu AM 08:47:29 CDT
> > > > To: flashcoders@chattyfig.figleaf.com
> > > > Subject: [Flashcoders] Q:Reduce file size of mx.transitions.Tween??
> > > >
> > > > Hi
> > > > Working on a project where file size is important...and the built
> in
> > > mx.transitions.Tween comes in at over 6k.
> > > >
> > > > Any suggestions to reduce the size?
> > > >
> > > > Thanks!
> > > > Jim bBachalo
> > > > [e] jbach at bitstream.ca
> > > > [c] 416.668.0034
> > > > [w] www.bitstream.ca
> > > > 
> > > > "...all improvisation is life in search of a style."
> > > >  - Bruce Mau,'LifeStyle'
> > > > ___
> > >
> > >
> > >
> > >
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> count_schemula
>
> http://www.thelargeglass.com/flashNo0b/ ">files for No0bs
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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: Q:Reduce file size of mx.transitions.Tween ??

2006-09-08 Thread Rich Rodecker

got it, thanks

On 9/8/06, Count Schemula <[EMAIL PROTECTED]> wrote:


link worked for me.

I just e-mailed you the .zip file...

On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
> hey jacki tried downloading that zip but the link doesnt seem to
lead
> anywhere?
>
> On 9/7/06, Jack Doyle <[EMAIL PROTECTED]> wrote:
> >
> > This is exactly why I wrote the TweenLite class. It only adds about 2k
to
> > your file and has some features that the Tween class doesn't. You can
> > download it at http://www.greensock.com/ActionScript/TweenLite.zip
> >
> > There's some brief documentation at the top of the file, but let me
know
> > if
> > you have any questions. Hope it helps.
> >
> > Jack Doyle
> >
> > > From: [EMAIL PROTECTED]
> > > Date: 2006/09/07 Thu AM 08:47:29 CDT
> > > To: flashcoders@chattyfig.figleaf.com
> > > Subject: [Flashcoders] Q:Reduce file size of mx.transitions.Tween ??
> > >
> > > Hi
> > > Working on a project where file size is important...and the built in
> > mx.transitions.Tween comes in at over 6k.
> > >
> > > Any suggestions to reduce the size?
> > >
> > > Thanks!
> > > Jim bBachalo
> > > [e] jbach at bitstream.ca
> > > [c] 416.668.0034
> > > [w] www.bitstream.ca
> > > 
> > > "...all improvisation is life in search of a style."
> > >  - Bruce Mau,'LifeStyle'
> > > ___
> >
> >
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


--
count_schemula

http://www.thelargeglass.com/flashNo0b/";>files for No0bs
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XMLSocket speed

2006-09-08 Thread Mattias Högnäs

Hi again.

I've done some testing now and the conclusion is as follows :
1) using the Socket class : 200 ping
2) using the TcpListener and the TcpClient classes : around 20 ping.

So.. Never, ever, ever, ever, use the Socket class in C# if your only 
going to use TCP-packets when writing a server for XMLSocket, the 
TcpListener is way faster.


Oh and another thing; try not to run the server as a windows app if you 
can - that also seem to slow down the send/recieve performance 
(strangely enough) - instead allways compile as a console app if 
possible (It didnt run well as a service either).


/ Mattias


Mattias,

Yeah, I don't know much about .Net and sockets. I'm sorry about that. 
Good luck


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - From: "Mattias Högnäs" 
<[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Thursday, September 07, 2006 5:30 PM
Subject: Re: [Flashcoders] XMLSocket speed



Helo Jobe.

Thanks for the quick response.
I've tried your code and the LAN speed is around 100 ms.
Could it be the way .NET setup the Socket (Im using the Socket class 
in C# .NET 2.0) together with flash that makes it slow over LAN?
I will ask the "network-guy" if the router/switch is sniffing packet 
or something similar that could create the high ping time.

I'll get back to you if I find anything interesting. :-)

/ Mattias

Jobe Makar skrev:

Hi Mattias,

You should expect a ping (1/2 the roundtrip) of about 3-5ms on a 
local network. Over the internet of course it varies greatly, but 
somewhere between 40ms and 100ms is typical (again, 1/2 the roundtrip).


The discrepency in your measurements is most likely not due to 
Flash. I've created around 50+ multiplayer games in Flash and 
haven't encountered that issue.


My guess to the cause of your problem is 1 of 2 things:
1) there is something funky with your network causing slow down
or
2) You are just accidentally doing the calculation wrong or your 
order of events is a little messed up. Its not uncommon to have 
several ping requests sent before any are received, and then if you 
dont have your packets stamped with some id, then you dont know 
which request the response is to.


Simple test would be the following. Just create a button to run a 
quck ping test:


Just call the 'sendPing' on button click.

var pingIsOut:Boolean = false;
var timePingSent:Number;
function sendPing() {//call on button click
if (!pingIsOut) {//makes sure only 1 ping is out at a time
 pingIsOut = true;
 sendPingRequestFxn();//make the socket call
 timePingSent = getTimer();
}
}
function pingResponseReceived() {//called when the ping response is 
received

pingIsOut = false;
var ping:Number = (getTimer()-timePingSent)/2;
trace(ping+" ms");
}


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - From: "Mattias Högnäs" 
<[EMAIL PROTECTED]>

To: 
Sent: Thursday, September 07, 2006 2:41 PM
Subject: [Flashcoders] XMLSocket speed



Hi all.

Im running a speedtest on XMLSocket.
Im using a simple XMLSocket.send and onData I send again and so 
on.. each time Im adding 1 to a couter and when starttime differs 
with 10 seconds from currenttime I divide the by 10 (To get median 
number of calls per second from the 10 seconds I've run the 
test)... I guess you get the point but I could post the AS if needed.

This test runs great... running on local.

Local I get an extremly low ping, around 0.9, but running the swf 
from a different computer on the same network I get around 200 (The 
DOS-ping from these computers to my computer running as server in 
this case - is still low though).

Ive tried changing to different ports but all give the same ping.
But then I tried on a Macintosh and that ping was a lot lower than 
on the PCs on the network - this got me thinking if this delay is 
because of flash handling the socket-connection differently on 
various enviroments and on local / LAN (?).
The C# server I've written uses a simple new Socket() to create the 
connections with async-stream and I dont think the problem lies there.

local/network.

Any ideas on this?
Has anyone created a XMLSocket-handling server wich runs a lot 
faster in any language?

And if so, aprox what ping could I expect on a  local network?

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

[Flashcoders] BLITZ Agency | $60-$90K+ Senior Flash Technical Lead (Programming Role)

2006-09-08 Thread Ivan Todorov | BLITZ
BLITZ is Hiring, if you are interested to join our team please read this
job description below. Some of recent Sites and Games:

 

http://www.adobe.com/go/flashtimeline

http://www.pop5.com/index.aspx

http://corpsebridemovie.warnerbros.com/

http://www.hiltonjourneys.com/

http://www.lexus.com/greatadvances/

http://rockstar.msn.com/

http://geoterra.ecomagination.com/

http://www.themoviesgame.com/scenemaker/

http://www.lucasarts.com/ep3/

http://lucasarts.com/games/mercenaries/main.html

http://www.microsoft.com/about/brandcampaigns/innovation/yourpotential/m
ain.html

http://cwcdn.geimaginationatwork.com/@v=032103@/indexFlash.html 

 

Sincerely,

Ivan

 

 


Description:


BLITZ Agency, one of the most renowned and acclaimed interactive
agencies, is looking for a Senior Flash Technical Lead who is passionate
about the technology and committed to building great User Experiences.
As a Lead Flasher, ActionScript Programmer and Architect, you transform
client goals into compelling, usable, and media-rich Interactive
Experiences ranging from Websites, Games, Applications and Widgets, to
intelligent User Interfaces for mobile and the console. Our creative
concepts, design, motion graphics, video and audio teams will challenge
you to plan and build innovative projects for our well known clients,
appreciated by millions and often awarded top industry accolades. 

This position is located in Beverly Hills, CA, pays from $60,000-$90,000
and comes with 3 Paid Weeks Vacation Time. In addition, all BLITZ staff
members enjoy Health, Dental and Vision Insurance, Equity Participation
Plan and a Company-Matched 401k. Ideal candidates will have at least 3+
years of flash coding experience, preferably in a collaborative
interactive agency setting. 

Full-time and Freelance positions are available with stronger preference
for on-site development in our offices. 


Responsibilities:


* Own and Lead Flash project development by  guiding client,
project management and creative teams towards the most innovative and
high quality deliverable

* Architect and model applications prior to coding

* Write clean, documented, reusable and scalable ActionScript
2/3 code for deployment on the web, standalone, mobile, and other
platforms

* Optimize code and architecture for great performance and
outstanding user experiences

* Learn and improve the BLITZ Flash Development Framework

* Provide meticulous attention to detail when working with art
directors and integrating media assets such as designs, motion graphics,
video, and sound

* Author and maintain technical documentation through the life
of the project

* Maintain well organized and clean project files and folders

* Maintain the highest coding standards and best practices by
keeping up with the latest Flash Platform enhancements and techniques

* Be an active player in advancing the goals of the Flash
Department - contribute to the BLITZ code libraries and component
productivity tool sets, do Research and Development during down time


Qualifications:


* At least 3 years Flash programming experience , preferably in
an agency environment

* Strong AS2 Coding Abilities

* Proficient at Flash Video Delivery and Integration of Sound,
Motion Graphics, Animations and Transition sequences

* Strong understanding of latest Flash features such as Filters,
Blend modes, FlashType, Bitmap caching, Alpha Blending, Advanced
gradient control, ExternalInterface

* Must have strong performance optimization skills and the
ability to help guide creative team towards sound creative solutions for
Flash. 

* Proficient at Client/Server Integration (Flash Media Server,
Remoting, XML, SOAP/Web Services and URL encoded name/value pairs)

* Proficient at Flash & JavaScript Integration

* Proficiency in aspects of software development in a team
environment, including identifying requirements, design, implementation,
testing, and deployment. 

* Strong understanding of Object Oriented Programming
techniques, RIA/SOA architectures, knowledge of design patterns

* Knowledgeable about tricks, workarounds and limitations of the
Flash Player. 

* Understanding of theories related to interface design,
usability and interactivity

* Knowledge of SWFObject, Macromedia Flash Detection Kit, Flash
Player and Cross Domain Security

* Excellent communication skills

* An obsession for high-quality deliveries

* Passionate about pushing the boundaries of interactive
technologies


Nice to Have:


* JSFL Experience writing productivity tools and components

* Game Development Background, Math Motion and Physics

* Familiarity with localization techniques and the issues
related to providing international (i.e. non-English) content within
Flash

* An innovative, hacker mentality, and an 

[Flashcoders] BLITZ Agency | $50-$80K Flash Department Program Manager (Management Role)

2006-09-08 Thread Ivan Todorov | BLITZ
BLITZ is Hiring, if you are interested to join our team please read this
job description below. Some of recent Sites and Games:

 

http://www.adobe.com/go/flashtimeline

http://www.pop5.com/index.aspx

http://corpsebridemovie.warnerbros.com/

http://www.hiltonjourneys.com/

http://www.lexus.com/greatadvances/

http://rockstar.msn.com/

http://geoterra.ecomagination.com/

http://www.themoviesgame.com/scenemaker/

http://www.lucasarts.com/ep3/

http://lucasarts.com/games/mercenaries/main.html

http://www.microsoft.com/about/brandcampaigns/innovation/yourpotential/m
ain.html

http://cwcdn.geimaginationatwork.com/@v=032103@/indexFlash.html 

 

Sincerely,

Ivan

 

 


Description:


BLITZ Agency, one of the most renowned and acclaimed interactive
agencies, is looking for a Department & Program Manager who is
passionate about great interactive work and is committed to maintaining
a great technology team. As our Flash Department Program Manager, you
will facilitate in gathering and documenting client requirements and
assessing incoming projects to provide clear project execution plans,
assist project management staff in mapping client objectives to
realistic production schedules, and facilitate in the staffing and
scheduling of appropriate project teams. You will monitor open projects
to uphold and improve internal processes, milestones and quality
standards. The Flash Department Program Manager brings strong technical
knowledge and is prepared to ask the right questions at the right times.


This position is located in Beverly Hills, CA, with 2 Paid Weeks
Vacation Time. In addition, all BLITZ staff members enjoy Health, Dental
and Vision Insurance, Equity Participation Plan and a Company-Matched
401k. Ideal candidates will have at least 5+ years of coding experience,
preferably in a collaborative interactive agency setting. 

This is a full time position in our Beverly Hills Office.  


Responsibilities:


* Schedule and organize internal and external resources, manage
workload and priorities for all technology team members. Provide status
reports in weekly resource meetings

* Maintain Department project plans and keep timelines on track.
Anticipate bottlenecks, provide management escalation and project
prioritization, make tradeoffs, balance business needs versus technical
constraints

* Provide Accurate Development Estimates for proposals

* Write and update functional and feature specifications and
descriptions, user interface, project descriptions and objectives, and
relationships to other systems. Document Project Requirements and work
with UX Director to call out critical features, high risk items and
implementation approaches

* Coordinate between technical, creative and business
stakeholders to achieve project objectives and meet customer needs,
while consistently delivering high quality output

* Rotate Team Members in-between projects to do R&D and Code
Library development work

* Learn and improve the BLITZ Flash Development Framework

* Establish project management policies and processes to
streamline development

* Evaluate project results, conduct post mortem meetings,
reviews and training sessions

* Define roles and responsibilities and develop effective
processes

* Occasionally handle programming tasks or project updates when
other resources are unavailable

* Work closely with engineering, QA, project management,
marketing and sales to manage the development of interactive projects
from design through release 

* Identify best practices and efficiencies and implement them in
our development process

* Maintain well organized and clean project files and folders

* Maintain the highest coding standards and best practices by
keeping up with the latest Flash Platform enhancements and techniques

* Advance the goals of the Flash Department - contribute to the
BLITZ code libraries and component productivity tool sets, do Research &
Development during down times


Qualifications:


* At least 5 years as an programmer and department manager.

* Strong understanding of the Flash Platform with ActionScript 2
Coding Abilities

* Experience managing a technology team

* Experience in program/project management, product management,
professional services, or engineering management

* Thorough understanding of the software development process
(functional specification, system/architectural design, development,
configuration, testing, and deployment) 

* Demonstrated experience in working with broad cross-functional
teams

* Understanding of Flash Video Delivery and Integration of
Sound, Motion Graphics, Animations and Transition sequences

* Strong understanding of latest Flash features such as Filters,
Blend modes, FlashType, Bitmap caching, Alpha Blending, Advanced
gradient control, ExternalInterface

* Un

[Flashcoders] BLITZ Agency | $90-$110K Flash Platform Director, Senior Architect (Programming Role)

2006-09-08 Thread Ivan Todorov | BLITZ
BLITZ is Hiring, if you are interested to join our team please read this
job description below. Some of recent Sites and Games:

 

http://www.adobe.com/go/flashtimeline

http://www.pop5.com/index.aspx

http://corpsebridemovie.warnerbros.com/

http://www.hiltonjourneys.com/

http://www.lexus.com/greatadvances/

http://rockstar.msn.com/

http://geoterra.ecomagination.com/

http://www.themoviesgame.com/scenemaker/

http://www.lucasarts.com/ep3/

http://lucasarts.com/games/mercenaries/main.html

http://www.microsoft.com/about/brandcampaigns/innovation/yourpotential/m
ain.html

http://cwcdn.geimaginationatwork.com/@v=032103@/indexFlash.html 

 

Sincerely,

Ivan

 

 


Description:


BLITZ Agency, one of the most renowned and acclaimed interactive
agencies, is looking for a Flash Platform Director & Senior Architect
passionate about everything Flash and ActionScript. You are committed to
building innovative User Experiences the correct way - you Plan, Model,
Architect and Document applications before a single line of code is
written. Your work guides the development process, allows for team
scalability and ensures stable, compelling, usable, and media-rich
Interactive Experiences ranging from Websites, Games, Applications and
Widgets, to intelligent User Interfaces for mobile and the console. Our
creative concepts, design, motion graphics, video and audio teams will
challenge you to plan and build innovative projects for well known
brands, appreciated by millions and often awarded top industry
accolades. 

This position is located in Beverly Hills, CA, pays from
$90,000-$110,000 and comes with 3 Paid Weeks Vacation Time. In addition,
all BLITZ staff members enjoy Health, Dental and Vision Insurance,
Equity Participation Plan and a Company-Matched 401k. Ideal candidates
will have at least 5+ years of flash coding experience, preferably in a
collaborative interactive agency setting. 

This is a full time position in our Beverly Hills Office. We may be able
to assist with relocation. 


Responsibilities:


* Lead the knowledge growth of the Flash team, adopting Strict
Coding practices and pushing OOP and MVC methodologies 

* Code library management and growth

* Lead Flash project development by  guiding client, project
management and creative teams towards the most innovative and high
quality deliverable

* Architect and Model applications prior to coding

* Write clean, documented, reusable and scalable ActionScript
2/3 code for deployment on web, standalone, mobile, and other platforms

* Optimize Code and Architecture for great performance and
outstanding user experiences

* Learn and improve the BLITZ Flash Development  Framework

* Provide meticulous attention to detail when working with art
directors and integrating media assets (design, motion graphics, video,
and sound)

* Author and maintain Technical Documentation through the life
of a project

* Maintain well organized and clean project files and folders

* Maintain the highest coding standards and best practices by
keeping up with the latest Flash Platform enhancements and techniques

* Be an active player in advancing the goals of the Flash Dept
(Research and Development, Contribute to the BLITZ code libraries and
component productivity tool sets


Qualifications:


* At least 5 years of Flash programming and architecture 

* Proficient in ActionScript 1/2/3 

* Proficient in OOP, RIA/SOA architectures, Design Patterns

* Proficient at Client/Server Integration (Flash Media Server,
Remoting, XML, SOAP/Web Services and URL encoded name/value pairs)

* Proficiency in aspects of software development in a team
environment, including identifying requirements, design, implementation,
testing, and deployment. 

* Proficient at Flash & JavaScript Integration

* Proficient at Flash Video Delivery and Integration of Sound,
Motion Graphics, Animations and Transition sequences

* Proficiency of SWFObject, Macromedia Flash Detection Kit,
Flash Player and Cross Domain Security

* Strong understanding of localization techniques and the issues
related to providing international (i.e. non-English) content within
Flash

* JSFL expertise writing productivity tools and components

* Strong understanding of latest Flash features such as Filters,
Blend modes, FlashType, Bitmap caching, Alpha Blending, Advanced
gradient control, ExternalInterface

* Strong understanding of Macromedia components, Libraries,
Forms and Object Drawing API

* Passionate about pushing the boundaries of interactive
technologies

* Stand-alone development with MDM Zinc, MProjector or similar
flash wrapper

* Knowledgeable about tricks, workarounds and limitations of the
Flash Player. 

* Experience with .NET PHP, SQL, FLEX and other programming
languages and technologies

* 

[Flashcoders] BLITZ Agency | $75-$95K+ Flash Interactive Director (Programming Role)

2006-09-08 Thread Ivan Todorov | BLITZ
BLITZ is Hiring, if you are interested to join our team please read this
job description below. Some of recent Sites and Games:

 

http://www.adobe.com/go/flashtimeline

http://www.pop5.com/index.aspx

http://corpsebridemovie.warnerbros.com/

http://www.hiltonjourneys.com/

http://www.lexus.com/greatadvances/

http://rockstar.msn.com/

http://geoterra.ecomagination.com/

http://www.themoviesgame.com/scenemaker/

http://www.lucasarts.com/ep3/

http://lucasarts.com/games/mercenaries/main.html

http://www.microsoft.com/about/brandcampaigns/innovation/yourpotential/m
ain.html

http://cwcdn.geimaginationatwork.com/@v=032103@/indexFlash.html 

 

Sincerely,

Ivan

 

 


Description:


BLITZ Agency, one of the most renowned and acclaimed interactive
agencies, is looking for an Interactive Director who is passionate about
programming interactive technologies and committed to building unique
and innovative User Experiences. You've mastered Math Motion algorithms,
Procedural Animation, AI and game engine physics and show great interest
in the works of Keith Peters, Erik Natzke and Grant Skinner. You obsess
over building the coolest navigation widgets and presentation
interactions that "feel" real and respond intelligently to user
interactions. Your work transforms client goals into compelling, usable,
and media-rich Interactive Experiences ranging from  Websites, Games,
Applications and Widgets, to intelligent User Interfaces for mobile and
the console. Our creative concepts, design, motion graphics, video and
audio teams will challenge you to plan and build innovative projects for
our well known clients, appreciated by millions and often awarded top
industry accolades. 

This position is located in Beverly Hills, CA, pays from $75,000-$95,000
and comes with 3 Paid Weeks Vacation Time. In addition, all BLITZ staff
members enjoy Health, Dental and Vision Insurance, Equity Participation
Plan and a Company-Matched 401k. Ideal candidates will have at least 3+
years of flash coding experience, preferably in a collaborative
interactive agency setting. 

This is a full time position in our Beverly Hills Office. We may be able
to assist with relocation. 


Responsibilities:


* Lead the Interaction Experience of projects by implementing
tactile, game-like, fluid, dynamic, physics based elements, interfaces
and widgets that brings the creative work to life

* Plan and Architect interactive elements ahead of time along
with the Creative and Art Directors 

* Write clean, documented, reusable and scalable ActionScript
code 

* Optimize Code and Architecture for great performance and
outstanding user experiences

* Learn and improve the BLITZ Flash Development  Framework

* Provide meticulous attention to detail when working with art
directors and integrating media assets such as design, motion graphics,
video, and sound

* Work with the UX Director to author and maintain interaction
and technical documentation through the life of a project

* Maintain well organized and clean project files and folders

* Maintain the highest coding standards and best practices by
keeping up with the latest Flash Platform enhancements and techniques

* Be an active player in advancing the goals of the Flash Dept -
contribute to the BLITZ code libraries and component productivity tool
sets, do Research & Development during down time


Qualifications:


* At least 3 or more years of interactive programming experience
in an agency environment

* Strong AS2 Coding Abilities

* Strong Game Development Background, Math Motion, Physics and
AI

* Interactive Agency Experience or Similar

* Expert understanding of theories related to interface design,
usability and interactivity

* Expert of latest Flash features such as Filters, Blend modes,
FlashType, Bitmap caching, Alpha Blending, Advanced gradient control

* Proficient at Flash Video Delivery and Integration of Sound,
Motion Graphics, Animations and Transition sequences

* An innovative, hacker mentality, and an interest in
experimenting with new algorithms and technologies

* Must have strong performance optimization skills and the
ability to help guide creative team towards sound creative solutions for
flash

* Proficient at Client/Server Integration (Flash Media Server,
Remoting, XML, SOAP/Web Services and URL encoded name/value pairs)

* Passionate about pushing the boundaries of interactive
technologies

* Strong understanding of Object Oriented Programming
techniques, RIA/SOA architectures, as knowledge of when/how/why to use
Design Patterns

* Proficient at Flash & JavaScript Integration,
ExternalInterface 

* Familiarity with localization techniques and the issues
related to providing international (i.e. non-English) content within
Flash

* Knowledgeable about tricks, workarounds and limitati

Re: [Flashcoders] RE: Q:Reduce file size of mx.transitions.Tween ??

2006-09-08 Thread Count Schemula

link worked for me.

I just e-mailed you the .zip file...

On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:

hey jacki tried downloading that zip but the link doesnt seem to lead
anywhere?

On 9/7/06, Jack Doyle <[EMAIL PROTECTED]> wrote:
>
> This is exactly why I wrote the TweenLite class. It only adds about 2k to
> your file and has some features that the Tween class doesn't. You can
> download it at http://www.greensock.com/ActionScript/TweenLite.zip
>
> There's some brief documentation at the top of the file, but let me know
> if
> you have any questions. Hope it helps.
>
> Jack Doyle
>
> > From: [EMAIL PROTECTED]
> > Date: 2006/09/07 Thu AM 08:47:29 CDT
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Q:Reduce file size of mx.transitions.Tween ??
> >
> > Hi
> > Working on a project where file size is important...and the built in
> mx.transitions.Tween comes in at over 6k.
> >
> > Any suggestions to reduce the size?
> >
> > Thanks!
> > Jim bBachalo
> > [e] jbach at bitstream.ca
> > [c] 416.668.0034
> > [w] www.bitstream.ca
> > 
> > "...all improvisation is life in search of a style."
> >  - Bruce Mau,'LifeStyle'
> > ___
>
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
count_schemula

http://www.thelargeglass.com/flashNo0b/";>files for No0bs
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Q:Reduce file size of mx.transitions.Tween ??

2006-09-08 Thread Rich Rodecker

hey jacki tried downloading that zip but the link doesnt seem to lead
anywhere?

On 9/7/06, Jack Doyle <[EMAIL PROTECTED]> wrote:


This is exactly why I wrote the TweenLite class. It only adds about 2k to
your file and has some features that the Tween class doesn't. You can
download it at http://www.greensock.com/ActionScript/TweenLite.zip

There's some brief documentation at the top of the file, but let me know
if
you have any questions. Hope it helps.

Jack Doyle

> From: [EMAIL PROTECTED]
> Date: 2006/09/07 Thu AM 08:47:29 CDT
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Q:Reduce file size of mx.transitions.Tween ??
>
> Hi
> Working on a project where file size is important...and the built in
mx.transitions.Tween comes in at over 6k.
>
> Any suggestions to reduce the size?
>
> Thanks!
> Jim bBachalo
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> 
> "...all improvisation is life in search of a style."
>  - Bruce Mau,'LifeStyle'
> ___




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

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


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

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


Re: [Flashcoders] XMLSocket speed

2006-09-08 Thread Jobe Makar

Mattias,

Yeah, I don't know much about .Net and sockets. I'm sorry about that. Good 
luck


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - 
From: "Mattias Högnäs" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Thursday, September 07, 2006 5:30 PM
Subject: Re: [Flashcoders] XMLSocket speed



Helo Jobe.

Thanks for the quick response.
I've tried your code and the LAN speed is around 100 ms.
Could it be the way .NET setup the Socket (Im using the Socket class in C# 
.NET 2.0) together with flash that makes it slow over LAN?
I will ask the "network-guy" if the router/switch is sniffing packet or 
something similar that could create the high ping time.

I'll get back to you if I find anything interesting. :-)

/ Mattias

Jobe Makar skrev:

Hi Mattias,

You should expect a ping (1/2 the roundtrip) of about 3-5ms on a local 
network. Over the internet of course it varies greatly, but somewhere 
between 40ms and 100ms is typical (again, 1/2 the roundtrip).


The discrepency in your measurements is most likely not due to Flash. 
I've created around 50+ multiplayer games in Flash and haven't 
encountered that issue.


My guess to the cause of your problem is 1 of 2 things:
1) there is something funky with your network causing slow down
or
2) You are just accidentally doing the calculation wrong or your order of 
events is a little messed up. Its not uncommon to have several ping 
requests sent before any are received, and then if you dont have your 
packets stamped with some id, then you dont know which request the 
response is to.


Simple test would be the following. Just create a button to run a quck 
ping test:


Just call the 'sendPing' on button click.

var pingIsOut:Boolean = false;
var timePingSent:Number;
function sendPing() {//call on button click
if (!pingIsOut) {//makes sure only 1 ping is out at a time
 pingIsOut = true;
 sendPingRequestFxn();//make the socket call
 timePingSent = getTimer();
}
}
function pingResponseReceived() {//called when the ping response is 
received

pingIsOut = false;
var ping:Number = (getTimer()-timePingSent)/2;
trace(ping+" ms");
}


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - From: "Mattias Högnäs" 
<[EMAIL PROTECTED]>

To: 
Sent: Thursday, September 07, 2006 2:41 PM
Subject: [Flashcoders] XMLSocket speed



Hi all.

Im running a speedtest on XMLSocket.
Im using a simple XMLSocket.send and onData I send again and so on.. 
each time Im adding 1 to a couter and when starttime differs with 10 
seconds from currenttime I divide the by 10 (To get median number of 
calls per second from the 10 seconds I've run the test)... I guess you 
get the point but I could post the AS if needed.

This test runs great... running on local.

Local I get an extremly low ping, around 0.9, but running the swf from a 
different computer on the same network I get around 200 (The DOS-ping 
from these computers to my computer running as server in this case - is 
still low though).

Ive tried changing to different ports but all give the same ping.
But then I tried on a Macintosh and that ping was a lot lower than on 
the PCs on the network - this got me thinking if this delay is because 
of flash handling the socket-connection differently on various 
enviroments and on local / LAN (?).
The C# server I've written uses a simple new Socket() to create the 
connections with async-stream and I dont think the problem lies there.

local/network.

Any ideas on this?
Has anyone created a XMLSocket-handling server wich runs a lot faster in 
any language?

And if so, aprox what ping could I expect on a  local network?

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

Re: [Flashcoders] Penner AS2 ProFMX: Complete

2006-09-08 Thread Mark Walters

done...

you can now download all of the classes and documentation in one zip:
http://www.digitalflipbook.com/downloads/flash/penner/Penner_AS2_ProFMX.zip


On 9/8/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:

cool, nice work.  you might want to offer them all packaged up into one zip
file too.



On 9/8/06, Mark Walters <[EMAIL PROTECTED]> wrote:
>
> I just wanted to let everyone know that I finally completed converting
> all of Robert Penner's AS1 classes from his book to AS2.
>
> You can view the last post here:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_20.php
>
> You can download each set of classes here:
> http://www.digitalflipbook.com/downloads/
>
> Some examples from the book now using AS2:
>
> Cyclone:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_19.php
>
> Fractal Dancer:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_17.php
>
> MotionCamera:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_16.php
>
> Snowstorm:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_14.php
>
> Aurora Borealis:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_12.php
>
> PhysicsParticle:
> http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_11.php
>
> Vector3d:
> http://www.digitalflipbook.com/archives/2006/07/penner_as2_prof_3.php
>
> Thanks and Enjoy!
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Re: inline images in a textarea

2006-09-08 Thread Rich Rodecker

hmmm..anyone?  i know i've seen it done a couple of times, but I'm pretty
stuck.



On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:


ok, i know working with images in a text area is only going to lead me to
heartache, but I've seen this done and if anyone can point me in the right
direction that would be awesome.

I have a chat app that im building with support for emoticons.  everyhting
works great except the smiley image always appears on the next line after
the text, so I wind up with something like:

here is my smiley
:)

when i really want:

here is :) my smiley

The one quirk i can see that might cause some wierdness is that i am
setting the contents of the textarea using the .text property, though the
textarea is set to html = true and everything renders out ok.  I dont want
to use .htmlText because I'm letting the user choose any font, and htmlText
wont seem to render without the text embedded.




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

2006-09-08 Thread Rich Rodecker

cool, nice work.  you might want to offer them all packaged up into one zip
file too.



On 9/8/06, Mark Walters <[EMAIL PROTECTED]> wrote:


I just wanted to let everyone know that I finally completed converting
all of Robert Penner's AS1 classes from his book to AS2.

You can view the last post here:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_20.php

You can download each set of classes here:
http://www.digitalflipbook.com/downloads/

Some examples from the book now using AS2:

Cyclone:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_19.php

Fractal Dancer:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_17.php

MotionCamera:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_16.php

Snowstorm:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_14.php

Aurora Borealis:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_12.php

PhysicsParticle:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_11.php

Vector3d:
http://www.digitalflipbook.com/archives/2006/07/penner_as2_prof_3.php

Thanks and Enjoy!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Penner AS2 ProFMX: Complete

2006-09-08 Thread James Deakin

Wow what a service. Thanks very much


On 9/8/06, Mark Walters <[EMAIL PROTECTED]> wrote:


I just wanted to let everyone know that I finally completed converting
all of Robert Penner's AS1 classes from his book to AS2.

You can view the last post here:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_20.php

You can download each set of classes here:
http://www.digitalflipbook.com/downloads/

Some examples from the book now using AS2:

Cyclone:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_19.php

Fractal Dancer:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_17.php

MotionCamera:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_16.php

Snowstorm:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_14.php

Aurora Borealis:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_12.php

PhysicsParticle:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_11.php

Vector3d:
http://www.digitalflipbook.com/archives/2006/07/penner_as2_prof_3.php

Thanks and Enjoy!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Penner AS2 ProFMX: Complete

2006-09-08 Thread Mark Walters

I just wanted to let everyone know that I finally completed converting
all of Robert Penner's AS1 classes from his book to AS2.

You can view the last post here:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_20.php

You can download each set of classes here:
http://www.digitalflipbook.com/downloads/

Some examples from the book now using AS2:

Cyclone: http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_19.php

Fractal Dancer:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_17.php

MotionCamera: 
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_16.php

Snowstorm: 
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_14.php

Aurora Borealis:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_12.php

PhysicsParticle:
http://www.digitalflipbook.com/archives/2006/09/penner_as2_prof_11.php

Vector3d: http://www.digitalflipbook.com/archives/2006/07/penner_as2_prof_3.php

Thanks and Enjoy!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Flash 8 mail form via ColdFusion

2006-09-08 Thread Count Schemula

Fixed.

I had to give the input fields Instance names, then use

form1.html = false;

for each input field to kill the HTML formatting.

Render as HTML was not checked, it still did it anyway.

Previous, they only had a Var name assigned for passing to Coldfusion.

Thanks!

On 9/8/06, Count Schemula <[EMAIL PROTECTED]> wrote:

The real problem is not really specific to ColdFusion.

Basically, Flash 8 really does send the information as HTML.

For instance, here is my subject line:

No
wai!

If I publish to less than Player 8, it's fine, I get just text.

Problem is, I want to load this form into a Player 8 module.

I have a flash form that uses loadVariablesNum("cfmail.cfm", 0, "POST");

to take the input fields and send them via CFMAIL.

--
count_schemula

http://www.thelargeglass.com/flashNo0b/";>files for No0bs




--
count_schemula

http://www.thelargeglass.com/flashNo0b/";>files for No0bs
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 8 mail form via ColdFusion

2006-09-08 Thread Count Schemula

The real problem is not really specific to ColdFusion.

Basically, Flash 8 really does send the information as HTML.

For instance, here is my subject line:

No
wai!

If I publish to less than Player 8, it's fine, I get just text.

Problem is, I want to load this form into a Player 8 module.

I have a flash form that uses loadVariablesNum("cfmail.cfm", 0, "POST");

to take the input fields and send them via CFMAIL.

--
count_schemula

http://www.thelargeglass.com/flashNo0b/";>files for No0bs
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hardcoding xml

2006-09-08 Thread aaron smith

oh yeah.. i just noticed that now.. cool

On 9/8/06, Lori Hutchek <[EMAIL PROTECTED]> wrote:


Actually all it did was parse it into an xml array which is normal

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron
smith
Sent: Friday, September 08, 2006 11:18 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] hardcoding xml

coding it in as a string doesn't seem to work.. EX::

var s:String = "" +
""+
""+
""+
""+
""+
"";

var x:XML = new XML( s );


when the xml lis parsed it puts comas in where the + symbols are.. it
just
breaks everything..




On 9/8/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> just code it in as a string.
>
> On 9/8/06, aaron smith <[EMAIL PROTECTED]> wrote:
> >
> > hey, does anyone know of a way to hard code XML into actionscript
> without
> > the compiler having a fit? it's a pretty big XML file, I need to
hard
> code
> > it for a banner, the vendor has no idea what their doing. the xml
file
> is
> > a
> > couple hundred lines.
> >
> > thanks
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


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

2006-09-08 Thread Lori Hutchek
Actually all it did was parse it into an xml array which is normal

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron
smith
Sent: Friday, September 08, 2006 11:18 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] hardcoding xml

coding it in as a string doesn't seem to work.. EX::

var s:String = "" +
""+
""+
""+
""+
""+
"";

var x:XML = new XML( s );


when the xml lis parsed it puts comas in where the + symbols are.. it
just
breaks everything..




On 9/8/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> just code it in as a string.
>
> On 9/8/06, aaron smith <[EMAIL PROTECTED]> wrote:
> >
> > hey, does anyone know of a way to hard code XML into actionscript
> without
> > the compiler having a fit? it's a pretty big XML file, I need to
hard
> code
> > it for a banner, the vendor has no idea what their doing. the xml
file
> is
> > a
> > couple hundred lines.
> >
> > thanks
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] Tween Class with Set Interval deletion

2006-09-08 Thread marlus

You can use the mc_tween:
http://hosted.zeh.com.br/mctween/index.html

2006/9/7, Telmo Dias <[EMAIL PROTECTED]>:


Try:

myTimeTween .stop();

;-)
Telmo

Helmut Granda wrote:
> I have a small piece of script that was passed down to me and I cant
> figure
> out how to stop it from executing:
>
> var interval:Number = 60;
> myTimeTween = new mx.transitions.Tween(pBar, "_height",
> mx.transitions.easing.None.easeNone,0,162,interval,true);
>
> I have tried different methods:
>
> delete myTimeTween;
> delete mx.transitions.Tween;
> clearInterval(interval);
> myTimeTween = new mx.transitions.Tween(pBar, "_height",
> mx.transitions.easing.None.easeNone,0,162,0,true);
> delete interval;
> Create a new frame and send the playhead to the next frame;
>
> but none of those seem to work, I have even tried to fire all the
> statements
> above at once (and some others that I cant remember rigt now)and still
> the
> tween keeps on executing.
>
> Any Pointers or ideas will be greatly appreciated.
>
> ...helmut
>
>
>
> --
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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





--
marlus araujo
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AICC communication loadVariables make timeout script

2006-09-08 Thread Flap Flap

Hi there,

We got a project that communicate in AICC.
We just load and send vars from an mc witht loadVariables
But there is some time (when launching first the app with no data in AICC)
that we got the timeout script.
We make a lot of test and its only append when lesson_location is empty.
Very strange because this is not the reading of the content that make this
timeout but he's loading.
Pretty strange, any ideas ?


--
Flapflap
http://www.kilooctet.net (Dev Flash Blog Fr)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hardcoding xml

2006-09-08 Thread aaron smith

coding it in as a string doesn't seem to work.. EX::

var s:String = "" +
""+
""+
""+
""+
""+
"";

var x:XML = new XML( s );


when the xml lis parsed it puts comas in where the + symbols are.. it just
breaks everything..




On 9/8/06, eric dolecki <[EMAIL PROTECTED]> wrote:


just code it in as a string.

On 9/8/06, aaron smith <[EMAIL PROTECTED]> wrote:
>
> hey, does anyone know of a way to hard code XML into actionscript
without
> the compiler having a fit? it's a pretty big XML file, I need to hard
code
> it for a banner, the vendor has no idea what their doing. the xml file
is
> a
> couple hundred lines.
>
> thanks
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] hardcoding xml

2006-09-08 Thread eric dolecki

just code it in as a string.

On 9/8/06, aaron smith <[EMAIL PROTECTED]> wrote:


hey, does anyone know of a way to hard code XML into actionscript without
the compiler having a fit? it's a pretty big XML file, I need to hard code
it for a banner, the vendor has no idea what their doing. the xml file is
a
couple hundred lines.

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] hardcoding xml

2006-09-08 Thread Lori Hutchek
One idea might be to put the xml into a dynamic text field and when
needed read the text of it and parse the xml.

Lori-


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron
smith
Sent: Friday, September 08, 2006 10:30 AM
To: Flashcoders mailing list
Subject: [Flashcoders] hardcoding xml

hey, does anyone know of a way to hard code XML into actionscript
without
the compiler having a fit? it's a pretty big XML file, I need to hard
code
it for a banner, the vendor has no idea what their doing. the xml file
is a
couple hundred lines.

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] MovieClipLoader Reusage

2006-09-08 Thread Ramon Miguel M. Tayag

Probably because of a scope problem.  Lookup "Delegate"

On 9/8/06, Helmut Granda <[EMAIL PROTECTED]> wrote:

Can the MovieClipLoader class be reused?

I have the following code:

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myListener.onLoadComplete = function(targetMC:MovieClip):Void {
trace("loaded" + targetMC);
myMCL.loadClip("right2.swf", "img2");//-->This makes the Movie Loop and
never load the next item.
}

myListener.onLoadStart = function(targetMC:MovieClip):Void {
//targetMC.stop();
trace("Started");
}

myListener.onLoadProgress = function(targetMC:MovieClip):Void {
trace("In Progress");
}

this.attachMovie("img", "img", 50);
this.attachMovie("img", "img2", 51);

myMCL.addListener(myListener);
myMCL.loadClip("right1.swf", "img");

//--
It is straight forward, creae a Loader as well as an object and it works
great for the first load, but once I fire the next load it fails. Basiclly
what I want to do is have an array with different movies that will load to
the users cache for later use.

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

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




--
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] hardcoding xml

2006-09-08 Thread aaron smith

hey, does anyone know of a way to hard code XML into actionscript without
the compiler having a fit? it's a pretty big XML file, I need to hard code
it for a banner, the vendor has no idea what their doing. the xml file is a
couple hundred lines.

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

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


Re: [Flashcoders] XML id attribute shortcut not working?

2006-09-08 Thread Rifled Cloaca

I mark *every* line I write with a "KLUDGE" comment... ;)

On 9/7/06, Mike Keesey <[EMAIL PROTECTED]> wrote:


No prob!

You could also use the associative array syntax: _xml["idMap"]["myID"]

Altering the class is more elegant (and something Macromedia should have
done in the first place, of course), but if someone else has to compile
it, you may want to use the associative array cheat and mark it with a
"KLUDGE" comment.
―
Mike Keesey

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Rifled Cloaca
> Sent: Thursday, September 07, 2006 3:59 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] XML id attribute shortcut not working?
>
> All,
>
> It seems to be due to a bug in the base XML class definition.  If you
want
> to use idMap in Flash 8, you'll need to edit your XML.as class to add
the
> attrib.
>
> Thanks again!
>
>
> On 9/7/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote:
> >
> >  Thanks,
> >
> > It works by itself, but if I try to use it in a class with an XML
object
> > in it, I get:
> >
> > There is no property with the name 'idMap'.
> >
> > It's defined as type XML.  What's up?
> >
> > Thanks!
> >
> >
> >  On 9/7/06, Mike Keesey <[EMAIL PROTECTED]> wrote:
> > >
> > > Use the XML.idMap property.
> > >
> > > ―
> > > Mike Keesey
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
[mailto:flashcoders-
> > > > [EMAIL PROTECTED] On Behalf Of Rifled Cloaca
> > > > Sent: Thursday, September 07, 2006 3:27 PM
> > > > To: Flashcoders mailing list
> > > > Subject: [Flashcoders] XML id attribute shortcut not working?
> > > >
> > > > All,
> > > >
> > > > I have a large XML document with unique ID attributes that I'd
like
> to
> > >
> > > > access via the ID shortcut, like so:
> > > >
> > > > trace(myXML[3]);
> > > >
> > > > returns:
> > > >
> > > > ...
> > > >
> > > > It works fine when I publish to Flash 6, but publishing to
anything
> > > > greater
> > > > returns undefined.
> > > >
> > > > Any thoughts?
> > > >
> > > > Thanks in advance!
> > > > ___
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/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] MovieClipLoader Reusage

2006-09-08 Thread Kenneth Kawamoto

Your code will load the same SWF again and again forever.

I wrote a sequential loading script for someone recently, may be you can 
adopt the concept from it. This script gathers the total byte size of 
all the SWFs first, then starts loading SWFs one by one, so that you can 
monitor the loading progress. (You'll probably need to add some error 
checking mechanism to make it more robust though.)


//
var swfList:Array = ["1.swf", "2.swf", "3.swf", "4.swf", "5.swf"];
var swfBytesList:Array = new Array();
var loadID:Number = 0;
var isTestLoad:Boolean = true;
var grossBytes:Number = 0;
var bytesCompleted:Number = 0;
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myListener.onLoadProgress = function(target_mc:MovieClip, 
loadedBytes:Number, totalBytes:Number):Void  {

   if (isTestLoad) {
   if (totalBytes) {
   swfBytesList.push(totalBytes);
   trace("SWF: "+target_mc._url);
   trace("totalBytes: "+totalBytes);
   grossBytes += totalBytes;
   trace("grossBytes so far: "+grossBytes);
   trace("***");
   loadID++;
   if (loadID   var percentageLoaded:Number = 
Math.floor(1*bytesSoFar/grossBytes)/100;

   trace(percentageLoaded+"%");
   trace("***");
   }
};
myListener.onLoadComplete = function(targetMC:MovieClip, 
httpStatus:Number):Void  {

   if (!isTestLoad) {
   bytesCompleted += swfBytesList[loadID];
   trace("Load completed for "+targetMC._url);
   trace("***");
   loadID++;
   if (loadID>=swfList.length) {
   trace("All loadings completed!");
   } else {
   sequentialLoad(loadID);
   }
   }
};
function sequentialLoad(loadID:Number):Void {
   var ID:Number = loadID+1;
   var mc:MovieClip = this.createEmptyMovieClip("mc"+ID, ID);
   myMCL.loadClip(swfList[loadID], mc);
}
function testLoad(loadID:Number):Void {
   mcTemp.removeMovieClip();
   this.createEmptyMovieClip("mcTemp", 1);
   myMCL.loadClip(swfList[loadID], mcTemp);
}
testLoad(loadID);
//

// Kenneth Kawamoto (on the road)
// materia prima limited
// [EMAIL PROTECTED] 
// www.materiaprima.co.uk 


thanks for your suggestion, still I cant get it to work. all I am trying to
acomplish is a preloader that will load files in order so if it is done with
1 then load the next one and so forth. I have found some information in how
to load 5 files at the same time.

Also I was able to call the function from different buttons but for some
reason when I try to call a new function onLoadComplete it seems to make the
player to choke and get confused.

Thanks again

On 9/7/06, Peter O'Brien <[EMAIL PROTECTED]> wrote:
 


try subbing your code from onLoadComplete to an onLoadInit function, that
looks like it should do the trick

On 9/7/06, Helmut Granda <[EMAIL PROTECTED]> wrote:
   


Can the MovieClipLoader class be reused?

I have the following code:

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myListener.onLoadComplete = function(targetMC:MovieClip):Void {
   trace("loaded" + targetMC);
   myMCL.loadClip("right2.swf", "img2");//-->This makes the Movie Loop
and
never load the next item.
}

myListener.onLoadStart = function(targetMC:MovieClip):Void {
   //targetMC.stop();
   trace("Started");
}

myListener.onLoadProgress = function(targetMC:MovieClip):Void {
   trace("In Progress");
}

this.attachMovie("img", "img", 50);
this.attachMovie("img", "img2", 51);

myMCL.addListener(myListener);
myMCL.loadClip("right1.swf", "img");

//--
It is straight forward, creae a Loader as well as an object and it works
great for the first load, but once I fire the next load it fails.
 


Basiclly
   


what I want to do is have an array with different movies that will load
 


to
   


the users cache for later use.

TIA.



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

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


RE: [Flashcoders] Accessing a file on the local hard drive?

2006-09-08 Thread Mike Mountain
Personally I think you'd be better using a webcam photo - take a
snapshot using bitmapdata - then there's no uploading/downloading etc.
to be done.

Most PC's have webcams nowadays and they'll require less technical
knowledge end user wise than a file upload.

Cheers

M

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Mark Burvill
> Sent: 08 September 2006 15:06
> To: Flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Accessing a file on the local hard drive?
> 
> Hi all,
> 
> A client has asked for something with the same functionality as this:
> 
> www.bbc.co.uk/cbeebies/tweenies/gametime/jointhetweenies/
> 
> Bascially it's a kid's thing where you are told to save a 
> picture of yourself called "me.jpg" in a directory on your 
> hard drive called "temp", and then flash supposedly 
> incorporates it into the animation without uploading it to a server.
> 
> I've never really seen this done elsewhere, and I can't even 
> get that Tweenies one to work on my pc (and certainly not on 
> the mac, but that doesn't suprise me).
> 
> Obviously I want to go back to them and advise them that's 
> it's a bad idea, and we should be uploading the picture 
> rather than getting Flash to read straight off the user's 
> hard-drive, but I want to be clear about exactly why it can't 
> / shouldn't be done.
> 
> I suspect it's something that's prevented by the added 
> security of service pack 2 or is it something that's stopped 
> by newer version of the flash player?
> 
> Can anyone advise?
> 
> Cheers,
> Mark.
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Accessing a file on the local hard drive?

2006-09-08 Thread Mark Burvill

Hi all,

A client has asked for something with the same functionality as this:

www.bbc.co.uk/cbeebies/tweenies/gametime/jointhetweenies/

Bascially it's a kid's thing where you are told to save a picture of 
yourself called "me.jpg" in a directory on your hard drive called 
"temp", and then flash supposedly incorporates it into the animation 
without uploading it to a server.


I've never really seen this done elsewhere, and I can't even get that 
Tweenies one to work on my pc (and certainly not on the mac, but that 
doesn't suprise me).


Obviously I want to go back to them and advise them that's it's a bad 
idea, and we should be uploading the picture rather than getting Flash 
to read straight off the user's hard-drive, but I want to be clear about 
exactly why it can't / shouldn't be done.


I suspect it's something that's prevented by the added security of 
service pack 2 or is it something that's stopped by newer version of the 
flash player?


Can anyone advise?

Cheers,
Mark.

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

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


Re: [Flashcoders] Using TransitionManager..?

2006-09-08 Thread slangeberg

Anyone have any idea of how these Transitions work, or why bitmap filters
don't work with them? I'm having troubles with them in other areas (class
extends UIObject).

Rich: _mc is the name of a clip on my stage!

Scott

On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:


hmmm...i use the transition manager frequently, never really had a problem
with it, bit ive never tried using it with the bitmap filters.  It's
probably just a misprint in the email, but you for your first doTrans()
call
you dont have the mc's name in there right.



On 9/7/06, slangeberg <[EMAIL PROTECTED]> wrote:
>
> Anyone using Flash's built-in TransitionManager?
>
> I'm losing the transitions if I apply Bitmap filters (through the IDE)
to
> a
> movieclip on the stage, which use the following code:
>
> import mx.transitions.*;
> import mx.transitions.easing.*;
>
> doTrans( Iris, Transition.OUT, _mc );
> doTrans( Wipe, Transition.IN, flv_mc );
>
> function doTrans( type:Function, dir:Number, target:MovieClip ) {
> if ( type == Iris ) {
> TransitionManager.start( target, {type:Iris, direction:dir,
> duration:5, easing:Bounce.easeOut, startPoint:5, shape:Iris.CIRCLE} );
> } else if ( type == Wipe ) {
> TransitionManager.start( target, {type:Wipe, direction:dir,
> duration:2, easing:None.easeNone, startPoint:1});
> }
> }
>
> Anyone use a different package to accomplish the same thing, that is a
bit
> more reliable?
>
>
> : : ) Scott
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

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

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


[Flashcoders] FLVPlayback and Garbage Collection/Memory Leak

2006-09-08 Thread Lori Hutchek
Hi All,

I'm having an issue with the FLVPlayback component not
actually clearing from memory after use. My application plays multiple
videos over an extended period of time and I've noticed that as the user
progress from one section to another with video playing the memory usage
for the application continues to jump up higher. Garbage collection
seems to be working for all of the other elements of my application
except this... Deleting the variable does help remove some of it from
memory but its almost as if the video itself is still being stored by
the player. Anyone else encounter this problem?? Possible solutions?

 

Lori-

 

Excerpt of the class I wrote to handle video playback:

 

class com.scimedmedia.media.FLVController {

private var _videoClip:FLVPlayback;

private var _videoFile: String;

private var _currentState: String;

private var _videoListener: Object;

//

private var _videoLoaded:Boolean;

//

//{ region dispatch event intializers

public var dispatchEvent:Function;

public var addEventListener:Function;

public var removeEventListener:Function;

//} endregion dispatch event intializers

 

//

public function FLVController() {

this.init();

}

/// 

public function loadMovie (clip:MovieClip, path:String,
depth:Number, position:Object, dimensions:Object, autoPlay:Boolean,
alpha:Number):Void {

clip.attachMovie("FLVPlayback", "my_FLVPlybk",
depth, {x:position.x, y:position.y});

this._videoClip = clip.my_FLVPlybk;

this._videoClip.setSize(dimensions.width,
dimensions.height);

this._videoClip.playheadUpdateInterval = 1000;

this._videoClip.autoPlay = autoPlay;

this._videoClip._alpha = (alpha >= 0) ? alpha :
100;

//

this.addListeners();

//

this._videoClip.contentPath = path;

}

//

private function addListeners(): Void {

this._videoClip.addEventListener("ready", this);

this._videoClip.addEventListener("complete",
this);

 
this._videoClip.addEventListener("playheadUpdate", this);

this._videoClip.addEventListener("cuePoint",
this);

this._videoClip.addEventListener("seek", this);

this._videoClip.addEventListener("stateChange",
this);

}

//

private function removeListeners(): Void {

this._videoClip.removeEventListener("ready",
this);

this._videoClip.removeEventListener("complete",
this);

 
this._videoClip.removeEventListener("playheadUpdate", this);

this._videoClip.removeEventListener("cuePoint",
this);

this._videoClip.removeEventListener("seek",
this);

 
this._videoClip.removeEventListener("stateChange", this);

}

//

public function unload(): Void {

//Stops video playing.

this._videoClip.stop();

//

this._videoClip.closeVideoPlayer();

//Removes Listeners on video. 

this.removeListeners();

//Remove Video From Stage

this._videoClip.removeMovieClip();

//

this._videoClip = null;

delete this._videoClip;

}

}

 

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

2006-09-08 Thread eka

Hello :)

to optimize :

1 - don't use MM components ^_^

2 - use flasm to optimize your swf http://flasm.sourceforge.net/

3 - use MTASC to compile your project.

4 - Create your components and class ;)

EKA+ :)

2006/9/8, Mendelsohn, Michael <[EMAIL PROTECTED]>:


Hi list...

When publishing my swf with generate size report, I notice that there is
57KB of AS2 classes in there (much heavier than my graphics).  How do I
know that all of these classes are necessary for the movie to run?  For
example, I've got a scrollpane component and scrollbar component in
there, which understandably adds size, but when debugging, why does it
list Version.as several times?  Could that be adding unnecessary bulk?
How can I optimize what I've got?

Thanks,
- Michael 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


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

2006-09-08 Thread Mendelsohn, Michael
Hi list...

When publishing my swf with generate size report, I notice that there is
57KB of AS2 classes in there (much heavier than my graphics).  How do I
know that all of these classes are necessary for the movie to run?  For
example, I've got a scrollpane component and scrollbar component in
there, which understandably adds size, but when debugging, why does it
list Version.as several times?  Could that be adding unnecessary bulk?
How can I optimize what I've got?

Thanks,
- Michael 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


[Flashcoders] AS3 Diesel Blitting engine - FAO Jesse Warden

2006-09-08 Thread Mike Mountain
http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html

Briefly had a look at this, it doesn't seem to run under the latest
releases - anyone progressing with this?

Cheers

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