Re: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Eskil Janson

Hi Daniel!

If you want something more graphical, you can download my framechecker at:

http://www.flashakademin.se/framechecker/framechecker.fla

Drag the performacetester clip from the library of the fla to the stage 
of any .fla you want to test, and
you will see how the framerate fluctuates over time (if you have 
performance issues...)


Regards

/Eskil


Marc Hoffman skrev:

Daniel,

Try this, from Colin Moock:

http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ 



A bit dated, but still should work fine or at least give you a 
headstart building your own.


Marc Hoffman

At 10:20 AM 1/23/2007, you wrote:

The post below about converting graphics to vectors got me thinking 
and I wanted to see how using bitmap cache, vectors, filters, images, 
etc effected the frame rate.  I can obviously see when the frame rate 
slows down, but it'd be nice to have some actual numbers with it.


I'd also like to get some real numbers when testing flash 
applications on slower computers and different OS.


Daniel Holth

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

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






--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] combobox collapsing sub

2007-01-03 Thread Eskil Janson

Hi!

I'm using components for an Admin. Have had and overcome all sorts of 
stupid problems with components, like the infamous
_lockroot bug with the ComboBox and the not so well thought depth 
construction of components in _root.


After solving that so that the submenu folds down appropriatley even 
when the CMB is loaded in an external clip,
the little scrollbar that shows in the submenu, when there is not enough 
room in the mc to completely fold the clip,

stops working. ARRGH!

It can now only be manouvered by a mouse with scrollwheel...My client 
don't appreciate this so much, and neiter do I...

Anyone has a clue?


/Eskil




--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] [job] Stockholm -Sweden

2006-12-29 Thread Eskil Janson

Hi,

Are there any freelance actionscript programmers in Stockholm that are 
interested

to work in January, starting as soon as possible ?

Requirements:

Experienced AS2 OOP programmer, used to work with XML and dynamic 
structures.

living in, or close to Stockholm, Sweden.

email me at:

[EMAIL PROTECTED]



--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Eskil Janson
://training.figleaf.com



  



--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] AS Tweening. Approach to prevent tween

2006-11-03 Thread Eskil Janson
You can also alter the Tween class (by creating an own version from, or 
extending the mx.transitions.Tween Class) and make it possible to 
disable. I have found this to be the most reliable way to get around the 
problem, since stop(), or deleting the Tween will not always work for 
some reasons.


//add a property:

private var enabled:Boolean = true;

//and two functions:

   function disable():Void {
   enabled = false;
   setPosition = null;
   }
  
   function enable():Void {

   enabled = true;
   setPosition = doSetPosition;
   }

And there you go, Tweens can be disabled.

/Eskil

Jack Doyle skrev:

I'm not sure about other tweening engines, but the one I wrote (TweenLite)
automatically overwrites tweens that affect the same object/MovieClip to
prevent collisions unless you flag it not to. I found that I almost always
needed it to overwrite existing tweens, so I made that the default behavior
but like I said, you have the ability to change that if you need to. See the
documentation at the top of the class file for instructions. 


You can snag the class at:
http://www.greensock.com/ActionScript/TweenLite/

Good luck!

Jack Doyle

-Original Message-
Message: 8
Date: Fri, 3 Nov 2006 16:39:52 +
From: Kevin Cannon [EMAIL PROTECTED]
Subject: [Flashcoders] AS Tweening. Approach to prevent tween
clashing?
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi All,

I've been building sites with laco's tweens for a good while.

Occasionally I've come accross problems when you click on buttons
really fast in sucession. If one item is still tweening you can end up
with unpredictable results.

Does anyone have any advise on what approach I can take to avoid that.
I'm real trouble figuring out what specifically is causing the
problem, even though I understand the general problem.

Has anyone any advice,

Thanks,

- Kevin



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

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



  



--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] slightly OT - browser position

2006-11-01 Thread Eskil Janson

Hi,

I need to track the browser postion when the user drags it around over 
the desktop.

I can't find a JavaScript variable for this. Have I missed something basic ?
If not, anyone who know how to do this?

The problem is not communication
Flash -JavaScript, i know the tricks.

Regards

/Eskil
--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] dynamically retreive symbolnames

2006-10-12 Thread Eskil Janson

Hi there!

I need to record the content of the stage, to redraw it later. 
Everything works fine, but it would
simplify things to in be able to retreive the symbol name of the symbol 
used in the library for the mc:s on stage.
(The stuff on the stage has been placed there by a designer, so there 
are no attached clips or

linkage id:s)

/Eskil
--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] jsp - Flash

2006-10-01 Thread Eskil Janson

No, I have totally missed this. Should do the trick,
Thanks for the info!

Eskil

Serge Jespers skrev:
Did you already have a look at Flash Remoting: 
http://www.adobe.com/devnet/flashremoting/java_jsp.html
You can buy it from Adobe or try this open source alternative: 
http://www.osflash.org/openamf


Serge


I need to build som kind of serverside solution in jsp to connect 
with Flash

(and sql on the serverside).
XML.sendAndLoad from Flash would be nice, but some other solution may 
work better.

Anyone knows some good tutorials on this?


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

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






--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] jsp - Flash

2006-09-30 Thread Eskil Janson

I need to build som kind of serverside solution in jsp to connect with Flash
(and sql on the serverside).
XML.sendAndLoad from Flash would be nice, but some other solution may 
work better.

Anyone knows some good tutorials on this?

/Eskil

--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] Madobe certified professional - still recommend?

2006-08-14 Thread Eskil Janson
Ok, it is probably really simple for intelligent people, but I'm not 
that smart.
I had to prepare for the exam, and when I did, I think I learned a lot 
about stuff that I don't work with so often.


/E


Rich Rodecker skrev:


But in my experience people seem to think Certified Flash Developer
gives a little cred..



i think thats true.  the exam is way too easy i think, and youonly 
need a 75

or something to pass.  Also i've never had one potential client ask me if
I'm certified, and many didnt even know there was a certification.

On 8/12/06, Eskil Janson [EMAIL PROTECTED] wrote:


See your point, but you will have the latest available Flash exam, and
that is what counts for the customers.

As I said, i think Adobe should adress this problem. I suppose they will
change certifications
to the Adobe way

http://www.adobe.com/support/certification/

In my experience, none has actually asked me about what version I am
certified for. If it is required, the
person who buys your services, knows what certification counts.
But in my experience people seem to think Certified Flash Developer
gives a little cred..


/Eskil

André Goliath skrev:
 I think it would be better to show that your
 certification is up to date.


 Sure, the point I was trying to make is that every non-Flasher would
 recognize Flash MX 2004 is now two
 years old, they probably don´t even know that there where major 
changes

from
 MX to MX04. MX does not suffer from this handicap of a number 
attached

to
 it.

 The exam on MX is not available, in fact those who have only the MX
 certification are not listed any longer on
 Adobe's certifed Developer page[1].

 So I guess since there are no Flash 8 beta exams anounced[2] they´ll
 propably start a new rush on Flash 9/Flex 2...




 [1]

http://www.adobe.com/support/training/certified_professional_program/retired 


 _exams.html
 [2] http://www.donathgroup.com/macromedia/candidate/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rich
 Rodecker
 Sent: Saturday, August 12, 2006 7:49 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Madobe certified professional - still
recommend?

 andre - i'm not sure if I would agree with taking the exam in Flash MX
 instead of flash mx 04.  Actually, is the flash mx testing still
available?
 anyway, the reason I say that is, as I'm sure you know well, so much
changes
 with each version of flash, and I think it would be better to show 
that

your
 certification is up to date. For instance, if you took the Flash MX
exam,
 you could score 100% and not know a thing about Actionscript 2.  
And if
 you're just worried about the year, dont worry, you can just say 
you're

a
 Certified Flash Developer.




 On 8/12/06, André Goliath [EMAIL PROTECTED] wrote:

 Thanks for your thoughts :)

 Propably I´d rather take the exam in Flash MX than MX 04, just 
because

MX
 does not have a year in it ;)
 It´s the same with Windows: Everyone would agree that Windows 2000 is
 old.
 But would you call Windows XP old?
 Propably not, until I tell you that it was released in 2001 ;)

 I got the preparation book today and took the online test. 60% 
correct

 without even looking into it isn´t too bad I think.
 I probably take the test anyway, looks good in the CV at least ;)


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Eskil
 Janson
 Sent: Saturday, August 12, 2006 5:58 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Madobe certified professional - still
 recommend?

 I passed the test a year ago, at the time when Flash 8 was just
 released, and it seemed strange alreade at that time
 to study outdated concepts(primarely related to AS1 ) ... But most of
 the basic stuff is the same for both products.

 Most of your clients, or students if you teach Flash, won't be 
able to
 tell the difference between the versions (MX2004, 8) , but some of 
them

 will probably be
 interested in the fact that you have the highest level of 
certification

 for the product (Flash) before they consider hiring you.

 I think Adobe should get a grip on the certification and training
 situation for Flash. I personally really like AS3 and I can't
understand
 why Adobe (formerly MM) never have tried to design courses 
targeted to

 real professionals, including real OOP, since that makes
 developing Flash so much easiser, and is what everybody is into. This
 should also be reflected in the courses they provide to prepare
 for the exam, and the exam itself.

 /Eskil










 André Goliath skrev:

 Hello List,

 I´m thinking about becoming a certifed Macromedia(?) Flash MX04

 Developer,

 but I wonder if this qualification is still of any worth, what do 
you


 think?

 Have you profited in any way from your certification?

 Is there anything in the pipeline for Flash 8/9 or will there 
ever be?


 Flash MX04 certified sounds a bit outdated IMHO,...

 Thanks for any and all thoughts

Re: [Flashcoders] Madobe certified professional - still recommend?

2006-08-12 Thread Eskil Janson
I passed the test a year ago, at the time when Flash 8 was just 
released, and it seemed strange alreade at that time
to study outdated concepts(primarely related to AS1 ) ... But most of 
the basic stuff is the same for both products.


Most of your clients, or students if you teach Flash, won't be able to 
tell the difference between the versions (MX2004, 8) , but some of them 
will probably be
interested in the fact that you have the highest level of certification 
for the product (Flash) before they consider hiring you.


I think Adobe should get a grip on the certification and training 
situation for Flash. I personally really like AS3 and I can't understand
why Adobe (formerly MM) never have tried to design courses targeted to 
real professionals, including real OOP, since that makes
developing Flash so much easiser, and is what everybody is into. This 
should also be reflected in the courses they provide to prepare

for the exam, and the exam itself.

/Eskil










André Goliath skrev:

Hello List,

I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer,
but I wonder if this qualification is still of any worth, what do you think?
Have you profited in any way from your certification?

Is there anything in the pipeline for Flash 8/9 or will there ever be?

Flash MX04 certified sounds a bit outdated IMHO,...

Thanks for any and all thoughts,

André

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

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



  



--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] Madobe certified professional - still recommend?

2006-08-12 Thread Eskil Janson
See your point, but you will have the latest available Flash exam, and 
that is what counts for the customers.


As I said, i think Adobe should adress this problem. I suppose they will 
change certifications

to the Adobe way

http://www.adobe.com/support/certification/

In my experience, none has actually asked me about what version I am 
certified for. If it is required, the

person who buys your services, knows what certification counts.
But in my experience people seem to think Certified Flash Developer 
gives a little cred..



/Eskil

André Goliath skrev:

I think it would be better to show that your
certification is up to date.
  


Sure, the point I was trying to make is that every non-Flasher would
recognize Flash MX 2004 is now two 
years old, they probably don´t even know that there where major changes from

MX to MX04. MX does not suffer from this handicap of a number attached to
it. 


The exam on MX is not available, in fact those who have only the MX
certification are not listed any longer on
Adobe's certifed Developer page[1].

So I guess since there are no Flash 8 beta exams anounced[2] they´ll
propably start a new rush on Flash 9/Flex 2...




[1]
http://www.adobe.com/support/training/certified_professional_program/retired
_exams.html
[2] http://www.donathgroup.com/macromedia/candidate/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Saturday, August 12, 2006 7:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Madobe certified professional - still recommend?

andre - i'm not sure if I would agree with taking the exam in Flash MX
instead of flash mx 04.  Actually, is the flash mx testing still available?
anyway, the reason I say that is, as I'm sure you know well, so much changes
with each version of flash, and I think it would be better to show that your
certification is up to date. For instance, if you took the Flash MX exam,
you could score 100% and not know a thing about Actionscript 2.  And if
you're just worried about the year, dont worry, you can just say you're a
Certified Flash Developer.




On 8/12/06, André Goliath [EMAIL PROTECTED] wrote:
  

Thanks for your thoughts :)

Propably I´d rather take the exam in Flash MX than MX 04, just because MX
does not have a year in it ;)
It´s the same with Windows: Everyone would agree that Windows 2000 is
old.
But would you call Windows XP old?
Propably not, until I tell you that it was released in 2001 ;)

I got the preparation book today and took the online test. 60% correct
without even looking into it isn´t too bad I think.
I probably take the test anyway, looks good in the CV at least ;)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eskil
Janson
Sent: Saturday, August 12, 2006 5:58 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Madobe certified professional - still
recommend?

I passed the test a year ago, at the time when Flash 8 was just
released, and it seemed strange alreade at that time
to study outdated concepts(primarely related to AS1 ) ... But most of
the basic stuff is the same for both products.

Most of your clients, or students if you teach Flash, won't be able to
tell the difference between the versions (MX2004, 8) , but some of them
will probably be
interested in the fact that you have the highest level of certification
for the product (Flash) before they consider hiring you.

I think Adobe should get a grip on the certification and training
situation for Flash. I personally really like AS3 and I can't understand
why Adobe (formerly MM) never have tried to design courses targeted to
real professionals, including real OOP, since that makes
developing Flash so much easiser, and is what everybody is into. This
should also be reflected in the courses they provide to prepare
for the exam, and the exam itself.

/Eskil










André Goliath skrev:


Hello List,

I´m thinking about becoming a certifed Macromedia(?) Flash MX04
  

Developer,


but I wonder if this qualification is still of any worth, what do you
  

think?


Have you profited in any way from your certification?

Is there anything in the pipeline for Flash 8/9 or will there ever be?

Flash MX04 certified sounds a bit outdated IMHO,...

Thanks for any and all thoughts,

André

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

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




  

--
http://www.eskilstina.com
---eskilStina
--
Eskil Janson  Mobil: +46 0735 31 68 52
Slupskjulsvägen 38E-post: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
111 49 Stockholm  Webb: www.eskilstina.com
http

[Flashcoders] Trap browser interaction.

2006-07-27 Thread Eskil Janson
I'm working on a navigation system using named anchors in the main 
timeline to
direct users to different states of my application from user interaction 
with the browser.


I would prefer to do it more dynamically. Anyone who knows how the 
interaction
is handled browser/flash with named anchors, and if it is possible to 
skip the timeline

stuff, and trap the events directly from actionscript ?

/Eskil

--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] Flash lite 2 questions

2006-07-14 Thread Eskil Janson

Thanks!

I will check out the lists.

Most phones are not connected to the net, thats why I want to use mms. I 
like AS2 but I think the Interactive Object and
Event model in AS3 is more suitable for cross platform development, and 
would prefer it for mobile apps if possible.


Best Regards

/Eskil

Hi Eskil,

First of all you might want to consider to join one of the mailign 
lists dedicated to Flash on mobile devices. For example FlashMobile 
and suhc.

- How do you get a custom icon for your Flash Lite 2 application ?
You would need to make your own Symbian application which will add a 
menu icon, and basically has a call which will open your Flash movie 
in the default application for the file format/mimetype. You can use 
the wizard application such as swf2sis to make such symbian 
application for Symbian 2nd edition mobile phones. As far as I know it 
doesn't yet support Symbian Series 60 3rd mobile phones.
- Is there a way to attach files (textfiles preferably ) with sms 
(mms) from Flash lite 2 ?
You can send SMS files from Flash Lite application, or you can use the 
LoadVars-class to send data to a online webserver.

-Will Flash lite have support for AS 3, and if so, when ?

Not yet, it will support AS2 which is already great!


Anyone?

/Eskil





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

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






--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] AS3 Reference Library PDF?

2006-07-12 Thread Eskil Janson

Any news about the PDF ?

I'm on the countryside right now and accessing Internet via modem, so a 
PDF would be really helpful!


Regards

/Eskil

John Dowdell wrote::

Charles Parcell wrote:
Now that Flash Player 9 is officially released, does anyone know if 
there is
a PDF of the AS3 Reference Library?  While I know it is on LiveDocs, 
I like

to thumb through actual paper.


I'm not sure yet, Charles. First I checked with search term 
'actionscript 3' filetype:pdf site:adobe.com, without results. I 
then checked cubicles over in the Flash section of the building, but 
with the holiday and the big ship it's pretty quiet there today.


If such a resource existed today, then I'd expect to see it linked here:
http://www.adobe.com/devnet/actionscript/

I'd suspect a PDF version is on the schedule, but let me try nailing 
down detail later on in this week, when people who took the short 
holiday are back on duty. Deal?


jd











--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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


[Flashcoders] Flash lite 2 questions

2006-07-12 Thread Eskil Janson

I am working on an application for cellphones, and am
interested in porting it for Flash Lite 2.

- How do you get a custom icon for your Flash Lite 2 application ?

- Is there a way to attach files (textfiles preferably ) with sms (mms) 
from Flash lite 2 ?


-Will Flash lite have support for AS 3, and if so, when ?

Anyone?

/Eskil



--
http://www.eskilstina.com
---eskilStina 
--

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

111 49 Stockholm  Webb: www.eskilstina.com http://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] Private variables visible?

2006-05-05 Thread Eskil Janson
private variables are only recognized by the compiler for checking in 
AS2, unfortunantley.




/Eskil


Spiral Universe skrev:

Hi. I'm having an issue that might be because of my error but can't figure out 
what am I doing wrong. It's very simple.. i have a class with private vars and 
they are visible outside the class.. everywhere.. in other movieclips, in the 
root timeline :)


class MyClass {

private var _hidden:Number;

function MyClass() {

_hidden = 100;
}

}


attach this code to a movieclip in the ide (likage) and do a trace anywhere outside the class to _root.mc._hidden 



What is wrong here ??


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ObjectSwap: Bypassing the ActiveX Activation Issue in Internet Explorer

2006-04-26 Thread Eskil Janson

Great work, thanks!

/Eskil

Karina Steffens skrev:

Hi all,
 
After way too much time spent on this issue, I have finally perfected the

script (I hope!) and wrote an article about it on my blog. replaceFlash.js
is now called objectSwap.js - It's really meant for all ActiveX objects, not
just Flash, although it does use an custom Flash detection technique.
 
You can download it and read all about it on my blog:

http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm
 
This launches my blog with it's first post, but I'm planning to add more

stuff soon, including tutorials and components (Such as the Tooltip script
that's used in John Gren's Xray). 
 
Any comments or suggestions are welcome...
 
Karina
 
 
Karina Steffens  |  Neo-Archaic

creative  technical new media design
 http://www.neo-archaic.net/ www.neo-archaic.net
 
___

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

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



  



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

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


[Flashcoders] Falling leafs

2006-04-03 Thread Eskil Janson

Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )  to 
fall in the foreground of a larger picture. Anyone who has done this,

and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved, think 
I could figure something out, but i feel lazy, and not in the mood of

reinventing the weel...

thanks

/Eskil



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

2006-04-03 Thread Eskil Janson

Thanks Franto!

Looks nice. It's a really nice start, and I like the falling motion.

Some wind, a little sqewing, and a little more random rotation,
and you could start feel the smell of autumn...


/Eskil



franto skrev:

is this ok?
http://www.franto.com/particle/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Falling leafs

2006-04-03 Thread Eskil Janson

This example definitely went straight up to number one on my list!

Thanks a lot,

/Eskil

Gerry Creighton skrev:

This is probably what you want...
http://hosted.zeh.com.br/mctween/examples/leaves.swf

Gerry
... 


http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
... 



On Apr 3, 2006, at 8:03 AM, Eskil Janson wrote:


Hi!

I have a customer who wants falling leafs or herbs (small jpg:s )  to 
fall in the foreground of a larger picture. Anyone who has done this,

and fells like sharing a few lines?

I don't really need advice on how to solve the problems involved, 
think I could figure something out, but i feel lazy, and not in the 
mood of

reinventing the weel...

thanks

/Eskil



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] fyi : Open Source ActionScript 3 libraries update

2006-03-28 Thread Eskil Janson

Nice,

Thanks for the info!

/Eskil

Mike Chambers skrev:

More info here:

http://weblogs.macromedia.com/mesh/archives/2006/03/new_open_source.cfm

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

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






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

2006-03-27 Thread Eskil Janson
That is right, and you could add that he problem will disappear in AS3 
with the new depth managing system.
I still think it might be good to know that a Component Class occupies 
and erases clips in a specific depth in root.


Thanks anyway

/Eskil

Michael Bedar skrev:
In general it is a good idea not to work on the root level for 
anything making movieclips...  much better to create a container clip 
first on root and play in that.



On Mar 24, 2006, at 2:53 PM, Eskil Janson wrote:


I suppose this has been discussed a few times already, but if not:

When you use the Tween class, an Instance of the Class 
mx.transitions.OnEnterFrameBeacon is

created if not already existing.

In that Class the following line is executed:

var mc = _root.createEmptyMovieClip (__OnEnterFrameBeacon, 9876);

which means that if you have anything at that depth (9876) already, 
it will disappear.
You can confirm this by  a simple test like pasting the following 
code in the first frame of your movie:

(change the depth to 9875 or 9877 and see the difference..)
---
import mx.transitions.Tween;
this.createEmptyMovieClip(square_mc, 9876);
square_mc.beginFill(0xFF);
square_mc.moveTo(10, 10);
square_mc.lineTo(100, 10);
square_mc.lineTo(100, 100);
square_mc.lineTo(10, 100);
square_mc.lineTo(10, 10);
square_mc.endFill();
var myTween:Tween = new Tween(square_mc, _x, 
mx.transitions.easing.Elastic.easeOut, 0, 300, 3, true);
 



So if you are in a large dynamic project swapping depths a lot and 
using Tweens, and been experiencing strange problems,

this may be worth to know...

All cred to Robert Penner (obviously the genius behind the Tween 
Class), but I think this detail could have been improved on before 
shipping with Flash 8.


Sorry if this has been discussed already...

Regards

/Eskil


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

2006-03-24 Thread Eskil Janson

I suppose this has been discussed a few times already, but if not:

When you use the Tween class, an Instance of the Class 
mx.transitions.OnEnterFrameBeacon is

created if not already existing.

In that Class the following line is executed:

var mc = _root.createEmptyMovieClip (__OnEnterFrameBeacon, 9876);

which means that if you have anything at that depth (9876) already, it 
will disappear.
You can confirm this by  a simple test like pasting the following code 
in the first frame of your movie:

(change the depth to 9875 or 9877 and see the difference..)
---
import mx.transitions.Tween;
this.createEmptyMovieClip(square_mc, 9876);
square_mc.beginFill(0xFF);
square_mc.moveTo(10, 10);
square_mc.lineTo(100, 10);
square_mc.lineTo(100, 100);
square_mc.lineTo(10, 100);
square_mc.lineTo(10, 10);
square_mc.endFill();
var myTween:Tween = new Tween(square_mc, _x, 
mx.transitions.easing.Elastic.easeOut, 0, 300, 3, true);



So if you are in a large dynamic project swapping depths a lot and using 
Tweens, and been experiencing strange problems,

this may be worth to know...

All cred to Robert Penner (obviously the genius behind the Tween Class), 
but I think this detail could have been improved on before shipping with 
Flash 8.


Sorry if this has been discussed already...

Regards

/Eskil


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

2006-03-23 Thread Eskil Janson
The typical situation is that you do vice versa, that is extend some 
object, and then make the child object a Singleton...


Regards

/Eskil

Christophe Herreman skrev:

Hi guys,

I was wondering if anyone of you ever had a situation where it would 
be good to extend a singleton. The first question is: Is it good 
practice or should it be avoided at all cost?


Anyway, I have been trying to extend one, but the problem is that 
instance variables are not accessible in the class that extends the 
singleton (and which is also a singleton).


So for instance, take a class A that has a properties instance 
variable that holds key/value pairs. That var is initialized in the 
constructor.


A.getInstance() gives me the single instance.

B extends A, and B.getInstance() gives me the single instance of B. 
But since it extends A, A's constructor is called (although it is 
private, a camouflaged protected in AS2) and the properties var is 
instantiated again. Get the picture? B will have a properties instance 
var but it will not be the same as the one in the singleton of A.


Am I overlooking something very obvious here or is this actually hard 
to accomplish? I changed it from inheritance to using A.getInstance() 
internally which works; but now I have to add wrapper methods for 
every method in A/ /I want to make available.


thx in advance,
Christophe
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Eskil Janson

Yes,

If you have Flash, check  XML.createTextNode() section of your Flash 
help (Actionscript  classes) , else

yes it is possible, and often used.

Regards

/Eskil

Matt Muller skrev:

Is this possible, or can someone suggest a solution here?

Thanks

MaTT
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] writing a xml file directly from flash 8

2006-03-22 Thread Eskil Janson
Sorry, to fast on the button, no, as stated earlier, but if you want to 
write to a server, you can use XML.send, and use

e.g php on the serverside, to write the XML

/Eskil

Matt Muller skrev:

Is this possible, or can someone suggest a solution here?

Thanks

MaTT
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] asking book opinion-OOP with AS2, Jeff Taper et al.

2006-03-20 Thread Eskil Janson
In a recent thread best flash actionscript book/reference i wrote 
following about that book:


As a complement to Moocks brilliant, but sometimes very detailed 
information, I think this book is nice:


Object-Oriented Programming with ActionScript 2.0

Robin Haffner, James Talbot, Jeff Tapper.
Published by New Riders.

If you are a little less experienced programmer, you may want to 
download the errata for the book, since at least

the erlier versions of the book was full of typos.

regards

/Eskil


Martin Weiser skrev:

Hello ,

anyone have read this book, could recommen or not, i'm as 2 programmer 
for long time, alreade got moock's esential as2, but still want more 
oop approaches and techniques to learn.


thanks in advance

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

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






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

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


Re: SV: [Flashcoders] CSS with input text, simple editor, sourcefiles

2006-03-20 Thread Eskil Janson

Hi

I wrote a simple little system for textformatting with 
textField.htmlText. It is really primitive, but we have used it and it 
is entirely
possible to make it work. It is basically a very simple HTML editor for 
the flash text format (textField.htmlText) and comes with a tool to tag 
it and and untag it in an XML/HTML safe format, so that you can store it 
and send it in simple textnodes, without loosing the formatting information.


download sourcefiles here if you want to check it out:

http://www.eskiljanson.com/asml_tagger/tagger_stuff.zip


And this is the only manual (sorry for that)...

1. Make executables from the sourcefiles or atleast swf them, (notice 
the little class that has to be accessible and

exchange the fonts in the library to fonts of your choice.)

2. Use the ASWord to see what the textformat code you write in the right 
textfield does to your left textfield.
If you change the type of the left textfield in the sourcefile to 
input you can also just paste in any formatted text and see what it 
codes to.

This can be useful to start with.

The reason why I disabled this feature, is that to write useable code 
(not the crap flash autogenerates) you will want to have som control
over when your codeview window on the right is updated. It is not nice 
when hours of work disappear...


3. Use the ASMLTagger to tag the code to a format that is not interprted 
as XML or HTML, that you may send in an XML
textnode. (Just paste in the code you generated, and press the tag (or 
untag) button)


4. In your project, implement the untagIt function somewhere to 
convert the text back to flash readable HTML-text.


5. Assing the result to your textfield as .htmlText. don't forget to 
embed fonts (yourTextField.embedFonts = true;)


As I said this is simple stuff, and comes as is, there is no support for 
this product...This_ is _the only manual


With that said, IF anyone find it useful, or improves on it,please let 
me know!


Regards

/Eskil Janson
[EMAIL PROTECTED]





Martin Baltzer skrev:

Hi Danny,

I don't know if this will help you at all, but the TextField.Stylesheet class has a transform() 
method which will convert _one_ of your style objects from the Stylesheet (ie. The one you maybe 
assigned for the a or the p element or your_own_custom element) into a 
TextFormat object which you can then apply to your TextField with setNewTextFormat.

It is also possible to transform several style objects into the same TextFormat 
object, but doing this the other way around is a lot more complicated but I 
gues it could be solved by writing a your own parser to rewrite the HTML that 
flash generates - maybe its already out there ;-) ?

I hope this is helpful otherwise throw it away ;-)

Cheers
Martin Baltzer


-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Danny Kodicek
Sendt: 20. marts 2006 12:12
Til: Flashcoders mailing list
Emne: Re: [Flashcoders] CSS with input text

  
Is not possible at all. When flash parses a CSS styled html, it simply  

replaces all the tags with the corresponding formatting code (textformat,  
font, etc).


Ugh, ugly. Thanks.

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

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

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



  



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

2006-03-10 Thread Eskil Janson
As a complement to Moocks brilliant, but sometimes very detailed 
information, I think this book is nice:


Object-Oriented Programming with ActionScript 2.0

Robin Haffner, James Talbot, Jeff Tapper.
Published by New Riders.

If you are a little less experienced programmer, you may want to 
download the errata for the book, since at least

the erlier versions of the book was full of typos.

regards

/Eskil

murder design skrev:

so after not having coded in flash for about 5 years (lots of changes) and
getting hardcore back into actionscript, and ESPECIALLY this list :P (love
you all!) ... whats a good reference with examples for all flash as2.0 etc
methods objects properties etc. whats the best all around intermediate or
beginner to advanced flash AS book out there.? thanks guys!

-edward
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] sync to flash 7 flv-files

2006-01-26 Thread eskil janson
Thanks Brooks! 
Will be really helpful in the implementation of my project...


/Eskil
- Original Message - 
From: Brooks Andrus [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, January 25, 2006 5:51 PM
Subject: RE: [Flashcoders] sync to flash 7 flv-files



See my blog post on the drawbacks of the NetStream class for more info:

http://www.brooksandrus.com/blog/?p=20

Brooks

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




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


[Flashcoders] sync to flash 7 flv-files

2006-01-25 Thread eskil janson
Hi!

I will soon start building a production where I will need to sync five or six 
quite long HTPP-streaming flv movies 
(2-3 min each flash 7 flv:s) with a flow of animations. 

There will be start, pause and stop buttons in the production, but potentially 
the production will run for 15 minutes
with very little user interaction.

Thus i will need to get some nice and accurate sync info from the flv files. 
My idea is to use NetStream.time for this. 

Is there anything I should be warned about with this approach ?
(trouble with values when loading or dropped info when starting after a pause 
and so on...)

And it has to be Flash 7 by the way...



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


Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread eskil janson
Not shure if I got your problem right, but if you are using an object where 
the function exists which you want to

execute with your interval, the syntax should be something like :

intervalId = setInterval(this, sendMessage, intervalSpeed);

where this is a reference to the object where the method (sendMessage) 
you are calling is located.

intervalSpeed  should be a number.

When Braodcasting the message, the first parameter is the name of the method 
you want to get called, and the second (and following) parameters are 
optional parameters  to be passed on to the executing method.



/Eskil


- Original Message - 
From: Meinte van't Kruis [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, December 12, 2005 10:56 PM
Subject: [Flashcoders] Asbroadcaster and setinterval


Hello,

I'm trying something that might be obvious, but somehow isn't. What I'm
trying to do is broadcasting a message on a setinterval basis.

I've set up my events broadcaster class and it worked quite well.
The problem i had with it was that it extended MovieClip.. The only reason
for this was the onEnterFrame function, seemed a waste.

I came up with this to replace the onEnterframe and subsequently have the
eventbroadcaster class extend Object instead of MovieClip:

this.intervalID=setInterval(this.fireInterval,interval);  in the class'
constructor

function fireInterval(){
   //_root.log.log(this._listeners);
   this.broadcastMessage(onInterval,this.event);
}

Now, i've traced within the fireInterval function, and it works fine.
Problem is, the listeners never get the onInterval event broadcasted to
them.
When i do this(it also listens to key events):

function keyDown(){
  this.broadcastMessage(onInterval,this.event);
}

it DOES work... So i'm quite stumped here,

first of all the fireInterval function gets executed, but the listeners
never hear it and
secondly, when I have a key event broadcast the event, the listeners DO hear
it...

What's the problem here? Don't AsBroadcaster and setInterval like each
other?

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



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


Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread eskil janson
Well, I dont really get the problem, but you can check out my motionfeeder 
Class if you want to

It does what you look for, and has some additional features as well...

CLASS BELOW-
//
//Copyright (C) 2005 SIR WILLIAM'S EAR, HB. All Rights Reserved.
//The following code is Developed at SIR WILLIAM'S EAR.
//Use it at your own risk, but include these comments if you do!
//SIR WILLIAM'S wishes you a pleasant afternoon, and reminds you, in a 
friendly manner, not
//to forget to drink your tea at teatime, and to keep your hat on during 
wintertime.

//
/**
* MotionFeeder can be used for various purposes when you want different 
objects
* to listen to a repeatedly broadcasted event. Common tasks are Tweens or 
timer based
* functions. asInterval flag denotes that an interval will be used as 
feeder.
* This setting can be used to achieve timebased functionality in a simple 
way.

* When no asInterval flag is passed, a movieClip instance will be used as
* feeder, which will send the setNextVal event at the rate that the Movie 
is

* set to (default 12 frames/second)
* @author Eskil Janson
*/
import motion_fx.*;
dynamic class MotionFeeder {
private var mc:MovieClip;
private var intervalId:Number;
private static var _CLIPLEVEL:Number = -1;
function MotionFeeder(asInterval:Boolean, intervalSpeed:Number, 
fastUpdate:Boolean) {

 this.init(asInterval, intervalSpeed, fastUpdate);
}
function init(asInterval:Boolean, intervalSpeed:Number, 
fastUpdate:Boolean):Void {

 AsBroadcaster.initialize(this);
 if (asInterval) {
  setIntervalSending(intervalSpeed, fastUpdate);
 } else {
  setMovieClipSending();
 }
}
function killListeningObjectsById(Id:String) {
 this.broadcastMessage(goSelfDestruct, Id);
}
function sendMessage() {
 //trace(sending ms);
 this.broadcastMessage(onSetNextVal);
}
function sendFastUpdateMessage() {
 this.broadcastMessage(onSetNextVal);
 updateAfterEvent();
}
function setMovieClipSending() {
 var clipAtCliplevel:MovieClip = this.getInstanceAtDepth(_CLIPLEVEL);
 //trace(this.getInstanceAtDepth(_CLIPLEVEL) = 
+this.getInstanceAtDepth(_CLIPLEVEL));

 if (typeof (clipAtCliplevel) != undefined) {
  trace(Motionfeeder cannot be initialized, a movieClip is occupying 
level -1, check for errors);

 }
 mc = _level0.createEmptyMovieClip($enterframe_source, _CLIPLEVEL);
 mc.reference = this;
 mc.onEnterFrame = function() {
  //trace(broadCasting);
  this.reference.sendMessage();
 };
 trace(--|| MotionFeeder sending with MovieClip at level +_CLIPLEVEL);
}
function setIntervalSending(intervalSpeed:Number, fastUpdate:Boolean) {
 if (intervalId != null) {
  trace(--|| clearing interval in Motion feeder, this should not have 
happened, check for errors!);

  clearInterval(intervalId);
 }
 if (fastUpdate) {
  intervalId = setInterval(this, sendFastUpdateMessage, intervalSpeed);
 } else {
  intervalId = setInterval(this, sendMessage, intervalSpeed);
 }
 trace(--|| MotionFeeder sending with Interval );
}
}
---END OF 
CLASS---
- Original Message - 
From: Meinte van't Kruis [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, December 13, 2005 10:18 AM
Subject: Re: [Flashcoders] Asbroadcaster and setinterval


both are correct, that isn't the problem.

the interval get's called properly

function fireInterval(){
   trace(A);
this.broadcastMessage(onInterval,this.event);
}
^^ this traces A infinitely

But the message never gets broadcasted, so it enters the function, but it
doesn't broadcast the onInterval event.

Then I checked if it was any problem with the whole AsBroadcaster thing not
set up correctly, so I fired the event on a keydown event:

function keyDown(){
  this.broadcastMessage(onInterval,this.event);
}

this DOES broadcast the onInterval event..

so the interval function get's fired, but doesn't fire the onInterval event
for some mystical reason...
whereas another event(Key event in this case) CAN fire the onInterval event

I'm quite stuck on it actually :/

On 12/13/05, eskil janson [EMAIL PROTECTED] wrote:


Not shure if I got your problem right, but if you are using an object
where
the function exists which you want to
execute with your interval, the syntax should be something like :

intervalId = setInterval(this, sendMessage, intervalSpeed);

where this is a reference to the object where the method (sendMessage)
you are calling is located.
intervalSpeed  should be a number.

When Braodcasting the message, the first parameter is the name of the
method
you want to get called, and the second (and following) parameters are
optional parameters  to be passed on to the executing method.


/Eskil


- Original Message -
From: Meinte van't Kruis [EMAIL