Re: [Flashcoders] RFC: Performance monitor

2010-10-22 Thread Mikael Wirén
Cool,
Am doing perfomance testing on a project right now.
Will definitely check this out.

Bestest
Mikael Wirén
Madness Marketing
Mob: 0709 15 24 30
Mail: mi...@madnessmarketing.com
Web: http://www.madnessmarketing.com

On Fri Oct 22 12:29 , Henrik Andersson  sent:

>I have been working on a little tool to detect lag.
>
>
>
>It simply draws a little square with a number showing how long the last 
>
>frame took to rend. The square changes color depending on the detected 
>
>frameskip. Anything over some flashes of yellow is grounds for concern.
>
>
>
>Is there anything about this that I can improve? Or even worse, did I 
>
>make any mistakes?
>
>
>
>At least test it with your own content, it might be able to give you 
>
>valuable insight on where you have rendering issues.
>



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


[Flashcoders] Sending Cyrilic text throws an: Error 2032?

2010-01-26 Thread Mikael Wirén
Hi guys,
I don´t know if i´m plain stupid or am missing the obvious here, but it bugs
me out.
I´m sending text to and fro some asp sitting on my server.
Everything works peachy, until i try and post a russian string.
Then flash throws a 2032 error.
Do i need to massage my data handling geenie just the right way or do i need
to enforce some special encoding in order to get it to work?
Handling text is hard enough, doing it in cyrillic makes it a nightmare.

Any tips or ideas are greatly appreciated.

Best regards

Micke

--
Mikael Wirén
Flash Monkey / Co founder
Madness Marketing
http://www.madnessmarketing.com
mi...@madnessmarketing.com

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


[Flashcoders] slightly OT: Problems installing FP10

2009-11-10 Thread Mikael Wirén
Hi guys,
One of our server techs came to me with a problem.
HeÂŽs upgrading a laptop running Win XP SP3 and IE8.
But everytime heÂŽs installing Flash Player 10 it chokes trying to register the 
software.
ItÂŽs allways on a file called flashplayer10c.ocx
Anyone with a hint to what the problem could be?

TIA

/Micke

Mikael Wirén
Madness Marketing
LiljeholmsvÀgen 12 2tr
S-116 71 Stockholm
Mob: +46 (0)709 15 24 30
Mail: mi...@madnessmarketing.com
Web: http://www.madnessmarketing.com

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


SV: [Flashcoders] Placing sprites on the circumference of a circle

2009-11-09 Thread Mikael Wirén
Hi guys,
Been following this thread all day at work.
I dunno if i´m totally missing the point here, but to get the effect you
look for you only have to add the height of your sprite as an ingredient.
like:
nx = Math.sin( Math.PI / 180 * angle ) * ( radius + (b.height )  );
ny = Math.cos( Math.PI / 180 * angle ) * ( radius  + (b.height ) );
While playing with this i also found a thing that made me grit my teeth a
while before realizing it was too simple.
You use:
circle.graphics.drawCircle( radius, radius, radius -4);
should be:
circle.graphics.drawCircle( radius, radius, radius -2);
Changing those things got me some nice blue rectangles with a red x in the
mid bottom sitting right on the crust of your earth =)

Amen to whoever was thinking about getting some mathbooks.
I´m really thinking on going back to college to take some math classes, now
that i know what to use it for.

HTH

/Micke

-Ursprungligt meddelande-
Från: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com]för Steven Sacks
Skickat: den 9 november 2009 22:43
Till: Flash Coders List
Ämne: Re: [Flashcoders] Placing sprites on the circumference of a circle

___
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


SV: [Flashcoders] Component (dataGrid) issues flash 8 destroyObjectvs removeMovieClip

2009-10-14 Thread Mikael Wirén
Hi guys,
All your answers put me in the right direction, thanks a bunch for that.
After some deep digging i found 2 things needed to delete the instance of my
dataGrid (for real).

1. locking the root of the container movieClip.
2. swapping depths of the dynamically added (container) movieclip before
purging it.

But, that puts me back to the question of using destroyObject() vs.
delete().
Can anyone shed some light on the difference between them?
Both seems to be doing the same thing memorywise.

Thanks again for good info as always.

/Micke


-Ursprungligt meddelande-
Från: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com]för Karl DeSaulniers
Skickat: den 5 oktober 2009 01:07
Till: Flash Coders List
Ämne: Re: [Flashcoders] Component (dataGrid) issues flash 8
destroyObjectvs removeMovieClip


Possibly, but I have not worked with data grids.
But deleting it completely will clear it so when you load it again it
will probably let the scroll bar get the correct height.
I'm thinking.

Karl


On Oct 4, 2009, at 5:57 PM, Paul Andrews wrote:

> Mikael Wirén wrote:
>> Hi folks,
>> New member, or actually old member back on the list.
>>
>>
>> Backstory:
>> I am doing a flash piece for a clients intranet. Due to update
>> policies i
>> have to work with flash player 8.
>> So i´m back to Flash 8 =).
>> I never did any component work back then.
>>
>> Now i´m using a data grid component in one part of the movie.
>> Can anyone point me to some good reading about unloading a dataGrid
>> component.
>> Now i use:
>>  destroyObject("my_dg")
>> to get rid of it.
>> But for some reason that plays havoc with removing the container
>> movieClip
>> with:
>>  removeMovieClip(content_clip)
>> Plus 2nd time i load the data grid the scrollbar is about 10px
>> shorter than
>> the actual dataGrid?
>> It seems someone in their marketing staff got a look at the
>> prototype and
>> decided to use it in a live presentation tomorrow.
>> So my work week starts early =)
>> And i had to do a pretty darn bad movieClip removal. I´m actually
>> forcing
>> the container out by creating an empty movieClip at the same depth.
>> I have no clue what this does for preformance.
>>
>> Any pointers to any documentation / resources / examples are greatly
>> appreciated.
>>
> A lot of people seem always to remove and recreate components.
> Would it be possible to keep the component and just hide it, rather
> than remove and recreate all the time?
>
> Paul
>> Best regards
>>
>> Micke
>>
>> --
>> Mikael Wirén
>> Flash Monkey / Co founder
>> Madness Marketing
>> http://www.madnessmarketing.com
>> mi...@madnessmarketing.com
>>
>> ___
>> 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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] Component (dataGrid) issues flash 8 destroyObject vs removeMovieClip

2009-10-04 Thread Mikael Wirén
Hi folks,
New member, or actually old member back on the list.


Backstory:
I am doing a flash piece for a clients intranet. Due to update policies i
have to work with flash player 8.
So i´m back to Flash 8 =).
I never did any component work back then.

Now i´m using a data grid component in one part of the movie.
Can anyone point me to some good reading about unloading a dataGrid
component.
Now i use:
 destroyObject("my_dg")
to get rid of it.
But for some reason that plays havoc with removing the container movieClip
with:
 removeMovieClip(content_clip)
Plus 2nd time i load the data grid the scrollbar is about 10px shorter than
the actual dataGrid?
It seems someone in their marketing staff got a look at the prototype and
decided to use it in a live presentation tomorrow.
So my work week starts early =)
And i had to do a pretty darn bad movieClip removal. I´m actually forcing
the container out by creating an empty movieClip at the same depth.
I have no clue what this does for preformance.

Any pointers to any documentation / resources / examples are greatly
appreciated.

Best regards

Micke

------
Mikael Wirén
Flash Monkey / Co founder
Madness Marketing
http://www.madnessmarketing.com
mi...@madnessmarketing.com

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


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

2006-05-03 Thread Mikael Wirén
Thanx for the input guys.
Will explore some more and probably find a load of other Qs, thats the best 
thing with teaching =)
This is the first time in 10 years i´ve had enough time to learn new things 
outside a mad tight deadline.
 
Regards
 
/Micke



Från: Viktor Berzsinszky [mailto:[EMAIL PROTECTED]
Skickat: on 2006-05-03 16:10
Till: Flashcoders mailing list
Ämne: Re: [Flashcoders] retrieving names of external files in a folder(oris 
there something similar to Directors getNthFileNameInFolder())



"Die machen..."
mit "Die machen..." meinte ich Alprausch. Alprausch macht Pullis,
Carharrtt macht Plastiksäcke aber ganz angenehm zum Rumlaufen.


/v

Pedro Furtado schrieb:
> Well there's no way to access local files, that's been a security issue for
> a long time now. You can however use any of the flash wrappers around and
> they will provide you with the functionality. Some of them are free some
> aren't. But they all support what you're looking for.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton
> Sent: quarta-feira, 3 de Maio de 2006 14:32
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] retrieving names of external files in a folder
> (oris there something similar to Directors getNthFileNameInFolder())
>
> I made a very basic "directory scraper" class way back.  I use this with
> AMFPHP.
>
> http://www.randomusa.com/flash/downloads/directoryScraper.zip
>
> hth,
>
> Mike
>
>
> On 5/3/06, Mikael Wirén <[EMAIL PROTECTED]> wrote:
>  
>> Hi gang,
>> I´m slowly finding the pros (can admit there are some =) and cons of Flash
>>
>> I´m lookning for a method similar to Directors getNthFileInFolder().
>> Atm, i´m using a dirty solution, SendAndLoad("myFiles.php", myObj, POST)
>>
> with a PHP file returning a variable containing the files in that folder.
>  
>> Works well enough for the web but it feels like overkill for a standalone
>>
> player, or?
>  
>> Is there a simpler way to do this?
>>
>> /Micke
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>>
>
>
> --
> Mike
> --
> http://www.mikebritton.com
> http://www.mikenkim.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] retrieving names of external files in a folder (or is there something similar to Directors getNthFileNameInFolder())

2006-05-03 Thread Mikael Wirén
Hi gang,
I´m slowly finding the pros (can admit there are some =) and cons of Flash
 
I´m lookning for a method similar to Directors getNthFileInFolder().
Atm, i´m using a dirty solution, SendAndLoad("myFiles.php", myObj, POST) with a 
PHP file returning a variable containing the files in that folder. 
Works well enough for the web but it feels like overkill for a standalone 
player, or?
Is there a simpler way to do this?
 
/Micke
 
 
 
 
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Slightly OT (Hello world! and so forth ;)

2006-04-04 Thread Mikael Wirén
Hi all,



Been lurking the list for about 2 months and this far i´ve read a LOT of very 
good posts here.

But this is my FIRST own contribution.

I´m perty new to this list and serious Flash development aswell.

Although i´ve got 10+ years experience with Macromedia/Adobe products (mainly 
Director).

 

A lot of you will say finally he´s seen the light!

Maybe your right, only time will tell.

Right now i seriously feel as if i´ve taken a step back to somewhere around 
Director 5.

Though i gotta say i love drawing in Flash.

 

Truth to tell i´ve always looked down on JS because of a lot of things, won´t 
even start on why. So this far i´m spending a lot of time headbutting the 
syntax ;)

So I might start of swearing about AS. But, i´ll work hard on learning to 
appreciate AS, i promise.

But, i´ve been working with serious games programming in a lot of different 
enviroments, so i got a more than average grasp of how to structure my code 
(once i´ve managed to spell it right). 

Oh, this is just me ranting.

Ok, i´ll admit it, i´ve only glanced through some flash books yet. Got 4 
hopefully good ones comming this week. So this might be a tad bit premature. 

But any way



 

Now to the Q´s:

 

If they seem stoopid, plz, let me know ;)

 

How do YOU work in Flash?

-Timeline

-Scripting (OOP, scope, frames)

-Tools (external scripting, other external tools)

-Built in behaviors and objects (Use / don´t use)

-Putting it all together (multiple cooks?)

 

How do YOU structure a project?

Let´s say i´m making a custom video interface. Pretty straightforward.

and i´ve got 1 dynamicaly loading videoclip.

1 set of player buttons (Play, Pause, Stop, FFW, REW)

1 volume control

1 animated playhead (with the posibility to drag it to any spot in the video)

 

I´m interested in hearing your thought on how to use Flash for development in a 
time efficient and well managed way.

 

respectfully 

 

Mikael Wirén

 

 

 

 

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

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