[Flashcoders] optimizing some pseudo generative-art code

2009-01-10 Thread Patrick J. Jankun

Hello everyone,

Im fooling around with some 'generative art' :P and want to put an 
nicely done random background with blobs
floating around and drawing a curve through the midpoints of each 
circle, im pretty happy with the results, it actually
works just fine, but it lacks optimization, since my coding skills 
aren't that great.


Im using an different random generator Class then actionscript's build 
in Math.random(), the results are much better,

and the generated number are really much more random

You can find my code here:
http://jankun.org/code/CircleMess.as

Pseudo Random Number Generator by polygonal labs:
http://lab.polygonal.de/wp-content/articles/prng_parkmiller/prng_parkmiller_as3.zip

Play with it, optimize, add, remove, do whatever you like, but give me 
some feedback how to make this thing better :)

Any pro insights would be appricated.

thanks
Patrick


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


[Flashcoders] Sound/Music

2008-08-24 Thread Patrick J. Jankun

Hello Everyone,

I was wondering if anyone can pinpoint me to some quality stock sounds  
i can pickup for my work.
I was googling around, and found a few links, but most of them are,  
hmm.. quite lousy and not
that interesting that i would like to spend my money. Im looking for a  
site with all the FX, but with some

ambient loops/music to pickup as well.

I would be glad if you people share where you get your nice sounds from!

Thanks in advance,
Patrick
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] XML Document and Navigation

2008-08-07 Thread Patrick J. Jankun

Hello Everyone,

I run into a problem, something that probably a lot of people here  
knows how to solve.
But after sitting for 2 days building nestes for loops, i can't see  
the light by the end of the tunnel :-)


So, here is a problem:

I have to build an xml based navigation, so far, quite simple and  
clear. Made it already a few times,
but, now, this is a bit more complicated, because i got a much deeper  
nested sub levels, and i really
don't know how to efficient traverse the document and build the  
navigation out of it :|


The most complex navigation i made had 2 levels, so it wasn't really  
hard to imagine the code for this task:
2 for loops done the nav creation and that's it, but i got now, an  
undefined deep, and i don't know how to
bite the code that will build the nav, that goes a bit deeper then one- 
sub level.


Do you guys got any examples or thoughts on how to solve the task?
Im pretty sure that i got an logical error in my approach, since i  
will use some nested for loops, but i can't
think the formula since i don't know how deep each of the nodes  
goes, and this task gives me headaches.


any kind of help and pinpointing to right direction would be VERY  
appreciated


cheers,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] XML Document and Navigation

2008-08-07 Thread Patrick J. Jankun

jonathan,

thanks for the tip :) the intro is quite cool to read!

cheers,
Patrick

On Aug 7, 2008, at 12:07 PM, jonathan howe wrote:


Sounds like a job for recursion. Here's a tutorial I found:
http://www.cs.umd.edu/class/spring2002/cmsc214/Tutorial/recursion.html
I don't recommend the wikipedia page for recursion since it's very  
dense and

isn't designed to teach the basic concept.

-jonathan


On Sun, Sep 7, 2008 at 11:52 AM, Patrick J. Jankun [EMAIL PROTECTED]  
wrote:



Hello Everyone,

I run into a problem, something that probably a lot of people here  
knows

how to solve.
But after sitting for 2 days building nestes for loops, i can't see  
the

light by the end of the tunnel :-)

So, here is a problem:

I have to build an xml based navigation, so far, quite simple and  
clear.

Made it already a few times,
but, now, this is a bit more complicated, because i got a much deeper
nested sub levels, and i really
don't know how to efficient traverse the document and build the  
navigation

out of it :|

The most complex navigation i made had 2 levels, so it wasn't  
really hard

to imagine the code for this task:
2 for loops done the nav creation and that's it, but i got now, an
undefined deep, and i don't know how to
bite the code that will build the nav, that goes a bit deeper then  
one-sub

level.

Do you guys got any examples or thoughts on how to solve the task?
Im pretty sure that i got an logical error in my approach, since i  
will use

some nested for loops, but i can't
think the formula since i don't know how deep each of the nodes  
goes, and

this task gives me headaches.

any kind of help and pinpointing to right direction would be VERY
appreciated

cheers,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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





--
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME  
04101

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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] MouseEvent [whole function]

2008-07-29 Thread Patrick J. Jankun
Here is the whole function i use to, adding the same listeners to  
another
object fires those without any prblems :| can someone explain to me  
what is wrong?


private function initNav() : void {
navHolder = new Sprite;
navHolder.addEventListener(MouseEvent.MOUSE_OVER, navOnMouseOver);
navHolder.addEventListener(MouseEvent.MOUSE_OUT, navOnMouseOut);
navHolder.addEventListener(MouseEvent.CLICK, navOnMouseClick);
navHolder.addEventListener(Event.MOUSE_LEAVE, navOnMouseOut);

for (var i : int = 0;i  navItemsTxt.length;i++) {
var nav_item : MovieClip = new navItem as MovieClip;

nav_item.tf.text = navItemsTxt[i];
nav_item.tf.selectable = false;

nav_item.bg.alpha = .2;

nav_item.y += (nav_item.height + vertGap) * i;

navHolder.addChild(nav_item);
}

navHolder.x = 20;
navHolder.y = stage.stageHeight - navHolder.height - 20;

stage.addEventListener(Event.RESIZE, stageResized);
addChild(navHolder);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MouseEvent [whole function]

2008-07-29 Thread Patrick J. Jankun
its declared outside that fucntion in the classes body, for access  
outside this function

On Jul 29, 2008, at 9:35 PM, Marcelo Mandaji wrote:


have i tried to declare the variable navHolder correctly?

var navHolder:Sprite = new Sprite();

On Tue, Jul 29, 2008 at 4:07 PM, Patrick J. Jankun [EMAIL PROTECTED]  
wrote:
Here is the whole function i use to, adding the same listeners to  
another
object fires those without any prblems :| can someone explain to me  
what is

wrong?

private function initNav() : void {
  navHolder = new Sprite;
  navHolder.addEventListener(MouseEvent.MOUSE_OVER,  
navOnMouseOver);
  navHolder.addEventListener(MouseEvent.MOUSE_OUT,  
navOnMouseOut);

  navHolder.addEventListener(MouseEvent.CLICK, navOnMouseClick);
  navHolder.addEventListener(Event.MOUSE_LEAVE, navOnMouseOut);

  for (var i : int = 0;i  navItemsTxt.length;i++) {
  var nav_item : MovieClip = new navItem as MovieClip;

  nav_item.tf.text = navItemsTxt[i];
  nav_item.tf.selectable = false;

  nav_item.bg.alpha = .2;

  nav_item.y += (nav_item.height + vertGap) * i;

  navHolder.addChild(nav_item);
  }

  navHolder.x = 20;
  navHolder.y = stage.stageHeight - navHolder.height - 20;

  stage.addEventListener(Event.RESIZE, stageResized);
  addChild(navHolder);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
/
* Marcelo Mandaji
* http://www.marcelomandaji.com
* msn: [EMAIL PROTECTED]
**/
___
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] MouseEvent [whole function]

2008-07-29 Thread Patrick J. Jankun

Hi Helmut,

It seems, that objects loaded through an .swf from an different domain,
does not dispatch any events :| so that's why my code is wrong.

What i meant, was: the function i posted, generates an simple navigation
using an class loaded from an .swf (different domain) through the  
Bulkloader
(which essentially does the same what the Loader class does, with some  
nice extras)


var nav_item : MovieClip = new navItem as MovieClip;

This casts the class loaded from that .swf as MovieClip, and it seems  
to be the problem,
what i don't understand is, i actually don't add the event listener to  
this objects, but to the
holder containing it, hence it still should fire the event, but it  
does not :|


navItem = assets.loaderInfo.applicationDomain.getDefinition(navItem)  
as Class;
picThumb =  
assets.loaderInfo.applicationDomain.getDefinition(picThumb) as Class;


here i initialize the loaded .swf's symbols from the library as Class,  
maybe my

approach is simply wrong,

Any tips on that?

On Jul 29, 2008, at 10:32 PM, Helmut Granda wrote:


could you elaborate on your question?
Here is the whole function i use to, adding the same listeners to  
another
object fires those without any prblems :| can someone explain to me  
what is

wrong?

I personally dont understand correctly what you are trying to  
achieve...


On Tue, Jul 29, 2008 at 2:07 PM, Patrick J. Jankun [EMAIL PROTECTED]  
wrote:


Here is the whole function i use to, adding the same listeners to  
another
object fires those without any prblems :| can someone explain to me  
what is

wrong?

private function initNav() : void {
  navHolder = new Sprite;
  navHolder.addEventListener(MouseEvent.MOUSE_OVER,  
navOnMouseOver);
  navHolder.addEventListener(MouseEvent.MOUSE_OUT,  
navOnMouseOut);

  navHolder.addEventListener(MouseEvent.CLICK, navOnMouseClick);
  navHolder.addEventListener(Event.MOUSE_LEAVE, navOnMouseOut);

  for (var i : int = 0;i  navItemsTxt.length;i++) {
  var nav_item : MovieClip = new navItem as MovieClip;

  nav_item.tf.text = navItemsTxt[i];
  nav_item.tf.selectable = false;

  nav_item.bg.alpha = .2;

  nav_item.y += (nav_item.height + vertGap) * i;

  navHolder.addChild(nav_item);
  }

  navHolder.x = 20;
  navHolder.y = stage.stageHeight - navHolder.height - 20;

  stage.addEventListener(Event.RESIZE, stageResized);
  addChild(navHolder);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
...helmut
___
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] mouseEnabled issue

2008-07-29 Thread Patrick J. Jankun

Hi Everyone, once again

I run into another [probably very easy to solve] issue with my code:

Through an simple for loop, i fade out all items inside an holder,
leaving only one that was clicked, here you can see the loop doing it:

for (var i : int = 0;i  navHolder.numChildren;i++) {
if(!(navHolder.getChildAt(i) == itemClicked)) {
Tweener.addTween(navHolder.getChildAt(i), {alpha:0, time:.5});
		navHolder.getChildAt(i).mouseEnabled = false; // not working - gives  
me an compile error

}
}

this does what it's suppose to do, but i want to prevent items that  
are fade away
from dispatching any mouse events, i thought, that adding this line  
would solve it,
but now i got an compile error with an info that i try to access an  
possibly not

existent property :|

navHolder.getChildAt(i).mouseEnabled = false;

I don't know if my approach is right here, but i thought, that accessing
children properties would be possible this way, obviously i'm wrong,  
has anyone got

an tip or an solution for me?

Thank you in advance!

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


Re: [Flashcoders] Five3D

2008-07-29 Thread Patrick J. Jankun

Hi Glen,

I went through my links, and found those:

http://www.flashandmath.com/advanced/
http://www.flashdevils.com/trigonometry/

maybe this is gonna help you out,
cheers,

Patrick

On Jul 30, 2008, at 12:19 AM, Glen Pike wrote:


Hi,

  I am working with the Five3D library and have a question regarding  
cameras so if anyone is familiar with this or really good at  
explaining 3D math to 5 year old kids (I am feeling a bit dumb here).


  The Five3D library itself does not have a camera, but projects its  
objects straight into the scene.   I would like to create a way of  
orbiting a single cube object, like with a camera, rather than  
rotating the object itself.   My aim is to achieve the type of  
manipulation used with the globe here - http://www.dasai.es/ - where  
the globe rotation does not end up looking wrong from a user  
perspective when you are looking along the Y axis or flip when the  
cube is upside down - here is an early trial of mine showing the  
problems -  http://glenpike.co.uk/play/cubetest.html


  I have not discounted using Papervision as it has cameras to do  
this, but the text rendering of Five3D is cleaner than bitmapped  
PV3D text and this is what I am looking for, so I would like to try  
and get the Five3D working if possible before I discount it.


  As the world only consists of one object, I am guessing it would  
be fairly trivial to create a fake camera with a single matrix,  
apply rotations to that matrix, then concatenate this matrix with  
the cube objects.  I tried a couple of things, but am flailing a bit  
in the dark here and could do with some pointers if anyone has any  
ideas.


  My first try was to apply X  Y rotations to a Matrix class - in  
Five3D - then do Matrix to Euler to get the X, Y  Z rotations to  
apply to my 3D object (meaning I did not have to hack the library  
yet).  I reckon I am going to have to dig deeper and manipulate the  
private matrix used by each 3D object in the library.


  I am assuming - maybe wrongly - that because I am wanting to orbit  
around the origin, which is also the centre of the cube, I can  
pretend my camera is also in the centre of the world, rather than  
transformed a distance from the cube.  This would mean I just have  
to rotate the x  y axes of my camera to get pitch  roll, then  
apply this to my cube matrix.  Question is, do I have to include the  
distance of the camera from my object in the calculations and do I  
have to have a look at point too, or can I cheat as these are  
always fixed?


  Apart from looking at PV3D's camera's and some hardcore Wikipedia  
entries, I don't have much to go on, so any information to get my  
head around this would be helpful - particularly some real dumbed  
down tutorials on Matrices, possibly Quaternions.  (I fell asleep in  
my lessons on the former and never covered the latter...)


  Thanks in advance.

  Glen

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
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] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun

Hello Everyone,

This is something probably very stupid, but i have an basic problem  
with my AS code:
i got an event Listener added to stage instance in the main class  
function/constructor


stage.addEventListener(Event.RESIZE, initialise);


problem is, this event never gets fired, and i simply can't find out  
why :(, i scale the stage
in the browser env, the event is being ignored. I tried Event.INIT and  
others, they seems

to work, but not this one, can someone tell me what the heck do i wrong?

P.
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
Sidney: i didnt even checked it out, cause the event don't fire in   
the stand alone player

as well, i mean, what the f*k am i doing wrong here?

im trying to use flex 3 only for this project, and not flash ide,  
honestly i don't know even

how to change the .html wrappers settings inside flex

:(

P.

On Jun 5, 2008, at 4:14 PM, Sidney de Koning wrote:


Hi Patrick,

How is your Flash set in your HTML? in pixels or in percent?

GReets,

Sid

On Jun 5, 2008, at 4:04 PM, Patrick J. Jankun wrote:


Hello Everyone,

This is something probably very stupid, but i have an basic problem  
with my AS code:
i got an event Listener added to stage instance in the main class  
function/constructor


stage.addEventListener(Event.RESIZE, initialise);


problem is, this event never gets fired, and i simply can't find  
out why :(, i scale the stage
in the browser env, the event is being ignored. I tried Event.INIT  
and others, they seems
to work, but not this one, can someone tell me what the heck do i  
wrong?


P.
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

___
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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
already done this, before even adding that listener, this is the whole  
code i want to get working:


public function PbMain() : void
{
StageAlign.TOP_LEFT;
StageQuality.HIGH;
StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, initialise);
}

private function initialise() : void
{   
trace( Initialised );
stage.removeEventListener(Event.RESIZE, initialise );
init();
}

On Jun 5, 2008, at 4:37 PM, Eduardo Omine wrote:


I think you must set stage.scaleMode = StageScaleMode.NO_SCALE.

--
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun

Viktor,

you were completly right, i have actually fully overseen that  
mistake :-/
after correcting that mistakes everything seems to work. Thank you for  
pointing it out!


P.
On Jun 5, 2008, at 7:10 PM, Viktor Hesselbom wrote:


Is that your actual code?

Because if it is, I think I see the problem.

You can't just write a reference to the constants. You have to  
actually use them to set the stage's align, quality etc.


public function PbMain() : void
{
stage.align = StageAlign.TOP_LEFT;
stage.quality = StageQuality.HIGH;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, initialise);
}

Also, as've been said, be sure stage is accessible.

/ Viktor H

On Thu, 05 Jun 2008 17:16:43 +0200, Patrick J. Jankun [EMAIL PROTECTED]  
wrote:


already done this, before even adding that listener, this is the  
whole code i want to get working:


public function PbMain() : void
{
StageAlign.TOP_LEFT;
StageQuality.HIGH;
StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, initialise);
}

private function initialise() : void
{   
trace( Initialised );
stage.removeEventListener(Event.RESIZE, initialise );
init();
}

On Jun 5, 2008, at 4:37 PM, Eduardo Omine wrote:


I think you must set stage.scaleMode = StageScaleMode.NO_SCALE.

--Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] Flash Player 10 BETA

2008-05-15 Thread Patrick J. Jankun

http://labs.adobe.com/downloads/flashplayer10.html

Happy Testing!
IM ON IT
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] Flash Player 10 BETA *update*

2008-05-15 Thread Patrick J. Jankun

Here the links you that don't work on demo site to the sources:

http://download.macromedia.com/pub/labs/flashplayer10/sampleSource/PixelBender_Sample.zip
http://download.macromedia.com/pub/labs/flashplayer10/sampleSource/NewTextEngine_Sample.zip
http://download.macromedia.com/pub/labs/flashplayer10/sampleSource/Native3D_Sample.zip

Have fun!
P.
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] Best way...

2008-05-13 Thread Patrick J. Jankun

.. to debug AS3 [NOT AS2!]

Is there any other Debugger then one build in Flash IDE? How do you  
guys Debug your Proejcts?

What are the best practices in debugging? What tools should i consider?

Greetings,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] Best way...

2008-05-13 Thread Patrick J. Jankun
pure as3 as for now :) is there a special air debugger available in  
the air package?


Patrick
On May 13, 2008, at 8:02 PM, Sidney de Koning wrote:

I just started using LuminicBox (do a search on google for the AS3  
version). And i have to say i'm quite impressed.
It's a logger nd you can set the importance of messages  (log, warn,  
error etc);


You can also use the alpha version of XRAY (but icant get the  
connector to work in AS3)


And today i came across SOS for FDT/ Eclipse, maybe you can also use  
it with Flash, since it makes use of a socket connection/ 
localconnection.


Are you also using this for AIR or only for AS3?

Sid

On May 13, 2008, at 7:49 PM, Patrick J. Jankun wrote:


.. to debug AS3 [NOT AS2!]

Is there any other Debugger then one build in Flash IDE? How do you  
guys Debug your Proejcts?
What are the best practices in debugging? What tools should i  
consider?


Greetings,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

___
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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] centering content on stage / resizable stage

2008-05-13 Thread Patrick J. Jankun

Hello again!

Im quite desparate after trying to find a simply and yet efficient way  
to get my content always in the middle of that stage,
i wrote simple script, that seems to be working when i launch the  
stand alone player, however when i launch it with the html
wrapper and in browser, the positions are different (?!?) and i cant  
figure out why, this is probably very stupid, but before
i just wanted to know how you ppl solve the centering / positioning  
problems in flash/stage


my awesome script:

private function positionContainer() : void {
_lastBgX = _bg.x;
_lastBgY = _bg.y;
var halfW : Number = this.width / 2;
var halfH : Number = this.height / 2;   
_bg.x = 0;
_bg.y = 0;
_bg.width = stage.stageWidth;
_bg.height = stage.stageHeight;
_holder.x = (stage.stageWidth / 2) - (_holder.width / 2);
_holder.y = (stage.stageHeight / 2) - (_holder.height / 2);
}

_bg is scale, as it's a simple sprite filled with bitmapdata, just for  
testing, and it does what it's suppose to do,
_holder is my content holder wher i put all my instances, movieclips  
and so on something i dont get is,
if i have a class that generates something bigger then that _holder  
[width/height] the things starts too look strange


I think i dont really get how that html wrapper works and what are the  
best settings for an fullscreen flash in html
should i pass settings to the stage class? if yes then which makes  
sense? How do you ppl solve that issue?


Thanks for your Help!
P.
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] Adobe Open Screen!

2008-05-02 Thread Patrick J. Jankun
I mean with it, that after making flash player and swf  flv formats  
opensource,
adobe would make the dev of new features and version a lot faster, as  
well the scene
can make their own ide, and have not to w8t for adobe, which is  
actually good thing.


Truth, no one can hold with OpenSource software if u look how fast an  
product is evolving
in this enviroment, and how it evolves in a closedsource, and by all  
means, flash player should
be opensourced a way earlier! take a look on where firefox/mozilla is  
and where IE is, where ie 8 is
going in the good direction but it took 10 years to realize that maybe  
holding to standards is a

good thing after all.

flash ide is a good software, i can't say it's not, but after AS  
evolved it it's current state, that IDE
is obviously something that stays behind. Try to manage a bigger  
project with it WITHOUT

FlashDevelop or FDT...

Cheers,
Patrick

On May 2, 2008, at 11:04 AM, Pedro Kostelec wrote:

Great news indeed, maybe finally we can drop that crappy flash  
ide :] What
have you meant here? I read the article and there was no word on  
droping the

flash ide. Me, by myself i like it very much, and i believe
Adobe will continue tu update and launch new releases of it. Haven't  
you
seen what will the next generation of Flash ide bring to us=IK and  
much

more. I think the project is called FLash Diesel
, if you want to check it.
But indeed it is great this idea of expanding the use of Flash player.

On Thu, May 1, 2008 at 4:19 PM, Patrick J. Jankun [EMAIL PROTECTED]  
wrote:



Wow, seems Adobe makes a big turn!
Anybody ready that already?

Great news indeed, maybe finally we can drop that crappy flash ide :]


http://www.adobe.com/aboutadobe/pressroom/pressreleases/200804/050108AdobeOSP.html


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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





--
Pedro D.K.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] Adobe Open Screen!

2008-05-02 Thread Patrick J. Jankun


On May 2, 2008, at 2:52 PM, Glen Pike wrote:


I am not sure I agree entirely with you here.

Whilst I believe that Open Source software has so much to offer, I  
cannot believe that an Open Source version of the Flash IDE would  
provide such a rich feature set AND work as well as the IDE without  
a significant investment in time and effort.  If you think about the  
time and effort invested into the IDE itself to get where it is  
today, how many open source projects with IDE's have that sort of  
longevity or investment?  Eclipse, the various flavours of OS and  
Open Office spring to mind, but I think one of the driving points  
behind this factor is the demand for these tools.  Even with it's  
popularity, I don't think Flash has the same level of demand.


I think you are speaking from a programmers viewpoint.  The Flash  
IDE is not just for programmers and has primarily evolved from a  
visual tool.


I actually meant the huge gap between flash cs3 ide and flex builder  
3. Adobe totally left flash ide based designers with programming  
skills and popped
up with a tool i needed 3 days to get through the initial setup and  
learn how the big differences in working with flash ide .fla based  
projects and flex
builder 3 projects and still have problems to understand a lot of  
flash cs3 -- flex 3 connectivity


i know i know, thermo is coming and is promising to fill the gap.. of  
course flash ide as to this day is the ONLY one providing an .fla, so  
we can't actually
have any comparable alternative. so i wouldn't say there is no flash  
ide killer on it's way


 Whilst some of the programming features may not be upto scratch  
with other systems out there, look at the way the actionscript panel  
works - it has always been aimed at getting stuff working and making  
it easier for non-programmers to achieve some of their ideas.  As  
ActionScript has got stricter, the ActionScript panel has possibly  
not kept up with this.


I feel like being slapped on back of my head by adobe, telling me you  
are an designer so stay with flash ide, and if u are developer switch  
to flex, i mean
why should i feel that im left behind? i know the ide from bottom to  
the top, but programming with it is a huge pain, it's editor didn't  
changed since 8 to CS3,
why is that? if they knew they gonna release an dev tool strict for  
developers (cause i wouldn't tell that flex is for designers) why  
didnt they made the ide
ability to handle the demand of designers with some programming skills  
(as we all know you simply can't do things only with timeline based  
animation,
or you will need a year for an navigation menu with some levels) im  
actually a typical designer, who stuffed his nose into programming  
after release of
as3, first time i've seen the as2 -- as3 swap, i thought that there  
is something really really wrong. i needed an complete reset and  
forgetting all about as2,
and learned as3 from scratch. as2 is somehow barley an programming  
language, where as3 drops you on the real OOP with it's roots in  
Java's Syntax.
I know that a lot of ppl will laugh about me telling as3 is a real  
language a sin, but hey, i didn't never used something other then some  
basic JavaScript
and as2 my entire life, so for me, as3 is indeed an programming  
language.


 But, Adobe recognised this and came up with Flex Builder, which is  
aimed at developers.  On a tangent, I personally feel that Flex  
Builder takes a lot of ideas from Dreamweaver, but because of  
Eclipse, has a better underpinning of tools for developers.   
However, it is not possible to satisfy everyone, especially hard  
core developers, animators, etc. who often pick big holes in the  
IDE, (and other tools), because the IDE works for the majority.   
Already there are alternatives that offer what people are looking for.


Im lucky they didnt want to invent the wheel 2 times, as eclipse is an  
quite good product, and i it has it's isses and pains, but it's  
running on ppl's computers
since some time, and a lot of ppl simply get used to it. so building  
flex on top of eclipse was not that bad idea in my opinion.


 Look at Flash Develop for the PC - I know that this is not Cross  
Platform, but there are tools for Mac users  Linux people that do  
similar stuff.  And there are other tools which enable people to  
produce SWF's that can be used in projects too - Moho is an  
animation tool that has had IK for a while and exports to SWF, I  
guess Adobe realised that some of the animation stuff needed work,  
because we are getting IK in the next version...


Wow, they took the After Effects features and put those into Flash  
IDE, something really amazing. I find myself the AE interface and  
approach a way
better then the Flash IDE, still using both is not that different in  
its basics, but AE got some really nasty features i will be happy to  
se in Flash IDE, let's hope
the next version would have a better programming interface/editor, as 

[Flashcoders] Adobe Open Screen!

2008-05-01 Thread Patrick J. Jankun

Wow, seems Adobe makes a big turn!
Anybody ready that already?

Great news indeed, maybe finally we can drop that crappy flash ide :]

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200804/050108AdobeOSP.html


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


[Flashcoders] FlipBook/Page AS3 OpenSource?

2008-04-29 Thread Patrick J. Jankun

Hi everyone,

Does anybody knows any good opensourced and somehow free flipBook or  
flipPage?
All i founded googlin is 10.000 licensed components with some strange  
licensing.


Greetings,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] FlipBook/Page AS3 OpenSource?

2008-04-29 Thread Patrick J. Jankun
Has anyone got any alternatives? I googled for an hour now and all i  
find is crappy as2 components

nowhere to find an as3 based with sources tho :|
On Apr 29, 2008, at 4:54 PM, Glen Pike wrote:


Hi,

  Have a look at quietlyscheming's Flex book:
http://www.quietlyscheming.com/blog/components/flexbook/

  
http://www.quietlyscheming.com/blog/2007/03/14/flexbook-updated-source-now-available/

  Obviously this is Flex based, but you may be able to make it into  
an SWC that you can use with Flash.


  Glen

Patrick J. Jankun wrote:

Hi everyone,

Does anybody knows any good opensourced and somehow free flipBook  
or flipPage?
All i founded googlin is 10.000 licensed components with some  
strange licensing.


Greetings,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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




--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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


Re: [Flashcoders] FlipBook/Page AS3 OpenSource?

2008-04-29 Thread Patrick J. Jankun

Thank you Glen!
This should do the trick

Patrick
On Apr 29, 2008, at 8:50 PM, Glen Pike wrote:


http://seeing-is-believing.blogspot.com/2007/11/flex-components-in-flash-example-with.html

Patrick J. Jankun wrote:
Has anyone got any alternatives? I googled for an hour now and all  
i find is crappy as2 components

nowhere to find an as3 based with sources tho :|
On Apr 29, 2008, at 4:54 PM, Glen Pike wrote:


Hi,

 Have a look at quietlyscheming's Flex book:
   http://www.quietlyscheming.com/blog/components/flexbook/

 
http://www.quietlyscheming.com/blog/2007/03/14/flexbook-updated-source-now-available/

 Obviously this is Flex based, but you may be able to make it into  
an SWC that you can use with Flash.


 Glen

Patrick J. Jankun wrote:

Hi everyone,

Does anybody knows any good opensourced and somehow free flipBook  
or flipPage?
All i founded googlin is 10.000 licensed components with some  
strange licensing.


Greetings,
Patrick
--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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




--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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




--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


--
fancy skills to pay the bills
www.jankun.org

Phone:  +43 660 96 969 - 01
web:jankun.org
mail:   p[at]jankun.org

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