Re: [Flashcoders] How do you do this?

2008-02-26 Thread nox
this is very simple in math... you've only circles so you don't need other 
than z-sorting and 3d coords/object calculations. if you've the z-index you 
can calc the x-y blur for the circles and its size. that's all...

n


- Original Message - 
From: Cory Petosky [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, February 25, 2008 23:23
Subject: Re: [Flashcoders] How do you do this?



Can you verify that this is Papervision? I'd think Papervision would
be far too slow for something like this. A simple homebrew 3D engine
optimized for this particular use-case seems more likely considering
that this app is designed as a performance benchmark.

On 2/25/08, eric e. dolecki [EMAIL PROTECTED] wrote:

tons of math and some papervision3d.



 On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
 wrote:


  Hello all,
 
  There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how 
to

  go
  about creating this kind of effect; my (few and rare) attempts at 3D
  animation in Flash have not performed nearly this well:
 
  http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf
 
  Any ideas/hints/urls/etc?
 
  - Jim
 
  ___
  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




--
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.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


Re: [Flashcoders] How do you do this?

2008-02-26 Thread Jason Van Cleave
It looks like it is this guy who wrote his own 3d engine


http://roxik.com/index.html

looking at


http://groups.google.com/group/away3d-dev/msg/23411b5e94b78b49

http://www.bit-101.com/blog/?p=909




On Tue, Feb 26, 2008 at 3:23 AM, [EMAIL PROTECTED] wrote:

 this is very simple in math... you've only circles so you don't need other
 than z-sorting and 3d coords/object calculations. if you've the z-index
 you
 can calc the x-y blur for the circles and its size. that's all...
 n


 - Original Message -
 From: Cory Petosky [EMAIL PROTECTED]
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Monday, February 25, 2008 23:23
 Subject: Re: [Flashcoders] How do you do this?


  Can you verify that this is Papervision? I'd think Papervision would
  be far too slow for something like this. A simple homebrew 3D engine
  optimized for this particular use-case seems more likely considering
  that this app is designed as a performance benchmark.
 
  On 2/25/08, eric e. dolecki [EMAIL PROTECTED] wrote:
  tons of math and some papervision3d.
 
 
 
   On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
   wrote:
 
 
Hello all,
   
There's a neat 3D CS3 demo from a Japanese tour. I'd like to know
 how
  to
go
about creating this kind of effect; my (few and rare) attempts at 3D
animation in Flash have not performed nearly this well:
   
http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf
   
Any ideas/hints/urls/etc?
   
- Jim
   
___
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
 
 
 
  --
  Cory Petosky : Lead Developer : PUNY
  1618 Central Ave NE Suite 130
  Minneapolis, MN 55413
  Office: 612.216.3924
  Mobile: 240.422.9652
  Fax: 612.605.9216
  http://www.punyentertainment.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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mailto function opens another browser?

2008-02-26 Thread Vlado Krempl

Great that works.

Thanks.
v
- Original Message - 
From: Glen Pike [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 26, 2008 9:21 PM
Subject: Re: [Flashcoders] Mailto function opens another browser?


Try putting your email address in quotes.  I also use _blank for the 
second parameter to navigateToURL


Glen

Vlado Krempl wrote:

Hello everyone,

Trying to add a mailto function to a button, but everytime I click the 
button, internet explorer opens up another browser window aswell as my 
Outlook express.  I thought using the _self option would help, but it 
doesn't.


Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado
Please consider the environment before printing this e-mail. The contents 
of this message should be treated as COMMERCIAL IN CONFIDENCE unless 
otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is addressed.
If you have received this email in error please notify the sender. If you 
are not the named addressee you should not disseminate, distribute or 
copy this e-mail. ___

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





--

Glen Pike
01736 759321
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


Re: [Flashcoders] Mailto function opens another browser?

2008-02-26 Thread Glen Pike
Try putting your email address in quotes.  I also use _blank for the 
second parameter to navigateToURL


Glen

Vlado Krempl wrote:

Hello everyone,

Trying to add a mailto function to a button, but everytime I click the button, internet 
explorer opens up another browser window aswell as my Outlook express.  I thought using 
the _self option would help, but it doesn't.

Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado 

Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE unless otherwise specified in the message

and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. 
___

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


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flex only generates errors for my Document Class, but not in any other AS file

2008-02-26 Thread Johan Nyberg
Hi, I was wondering if anyone has encountered this problem: I use Flex  
as an IDE when developing flash. When I code, Flex only displays  
errors in my document class, but not in any other AS file. Do I have  
to set something in the settings?


Regards,

Johan Nyberg
Designer and web developer

[EMAIL PROTECTED]
08 - 50 00 24 30
070 - 407 83 00



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


[Flashcoders] Error in Flex for automatically created classes

2008-02-26 Thread Johan Nyberg
Hi, I'm using Flex as an IDE for Flash development. When I instanciate  
Movie Clips in Flash that are inheriting from a base class, but that  
do not have a class of their own (i.e. the class is automatically  
created) I get an error in Flex. I understand that it's because the  
class does not exist, but is there a way around it? Or do I have to  
create a class skeleton for every Movie Clip that is dynamically  
created?


Here is the function where I create movie clips from the library by  
using information from an XML. All the clips have Column as their base  
class):



public function createColumns( _xml:XML ):void
{
for each( var column:XML in _xml.columns.* )
{
var clip:Column;

switch( column.name.toString() )
{
case 'pokerRoom':
clip = new PokerRoom();
break;  
case 'us':
clip = new Us();
break;  
case 'bonus':
clip = new Bonus();
break;  
case 'roomReviews':
clip = new ReadReview();
break;  
case 'getBonus':
clip = new Button();
break;  
}
clip.x = column.x;
clip.y = column.y;

addChild( clip );
}
}



Regards,

Johan Nyberg
Designer and web developer

[EMAIL PROTECTED]
08 - 50 00 24 30
070 - 407 83 00



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


Re: [Flashcoders] How do you do this?

2008-02-26 Thread Leandro Ferreira
http://www.euclideanspace.com

On Tue, Feb 26, 2008 at 6:30 AM, Martin Klasson [EMAIL PROTECTED] wrote:

 for me, everything in Math is difficult.
 are there any great resources into making math more easy for me online?
 -I am already in a great position, so breaking out from my job and start
 studying
 full time is not an option.

 but if any of you have great resources online, than I would be thankful.

 / martin


 2008/2/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
  this is very simple in math... you've only circles so you don't need
 other
  than z-sorting and 3d coords/object calculations. if you've the z-index
  you
  can calc the x-y blur for the circles and its size. that's all...
  n
 
 
  - Original Message -
  From: Cory Petosky [EMAIL PROTECTED]
  To: Flash Coders List flashcoders@chattyfig.figleaf.com
  Sent: Monday, February 25, 2008 23:23
  Subject: Re: [Flashcoders] How do you do this?
 
 
   Can you verify that this is Papervision? I'd think Papervision would
   be far too slow for something like this. A simple homebrew 3D engine
   optimized for this particular use-case seems more likely considering
   that this app is designed as a performance benchmark.
  
   On 2/25/08, eric e. dolecki [EMAIL PROTECTED] wrote:
   tons of math and some papervision3d.
  
  
  
On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson 
 [EMAIL PROTECTED]
wrote:
  
  
 Hello all,

 There's a neat 3D CS3 demo from a Japanese tour. I'd like to know
  how
   to
 go
 about creating this kind of effect; my (few and rare) attempts at
 3D
 animation in Flash have not performed nearly this well:


 http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf

 Any ideas/hints/urls/etc?

 - Jim

 ___
 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
  
  
  
   --
   Cory Petosky : Lead Developer : PUNY
   1618 Central Ave NE Suite 130
   Minneapolis, MN 55413
   Office: 612.216.3924
   Mobile: 240.422.9652
   Fax: 612.605.9216
   http://www.punyentertainment.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
 



 --

 Martin Klasson
 Flash Developer
 Parkgatan 9-11
 S-411 24 Göteborg
 Sweden
 Office +46 (0) 31 711 54 50
 Cell +46 (0) 730 964 561
 [EMAIL PROTECTED]
 www.kokokaka.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] Any issues with Safari Mac and mouse movement detection?

2008-02-26 Thread Paul Steven
I have created a game that involves moving the mouse rapidly to control the
speed of a character. The client has reported that it is not working on
Safari on the Mac. I have since asked several friends to test it on Safari
on a Mac and they also report the same problem in that it does not work.

Is there a particular issues I should be aware of using Safari on the mac
and Flash? 

Not sure if this is relevant, but I use AC_RunActiveContent to embed my
flash content.

I can't put up a link to the game due to it being for a client.

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


[Flashcoders] Anyone know how to dynamically change the border of UILoader Component

2008-02-26 Thread anuj sharma
Hi All
I am loading multiple instances of UI loader containing external SWFs on my
stage. When user double clicks on the video thumbnail, an instance of
UIloader will be placed on the main stage.The user can place as many
UIloader instances on the main stage. My aim is that if user puts any
UIloader on top of already existed UIloader, the existed loader will be
replaced with the placed loader. I am successful in implementing that by
using hitTestObject method for that. I am planning to provide enough
feedback to the user for this UIloader replacement process, so i was
thinking to change the border of the UIloader as soon as the dragged
UIloader hits the already existed UIloader.
Does anyone know how would I animate UIloader to give enough feedback to the
user that it is being replaced. Creating an invisible movie and moving it
wherever UIloader goes doesn't sound much efficient.
Please help me out in figuring out this problem. Also if anyone has better
idea to give enough feedback to user, that will also be welcome. Just to be
little clear i have provided little pseudo-code(below) of what i am doing
here.
Any help will be highly appreciated.
Thanks
Anuj

/***Abstract Pseudo code for my problem*/
 myUILoader.startDrag();
//Putting video on top of already existed videos
var trackChild:Number=container.getChildIndex(myUILoader);

var childContainer:DisplayObject= container.getChildAt
(trackChild);
for( var z:Number=0;z=container.numChildren-1;z++)
{
var restChild:DisplayObject=container.getChildAt(z);
if(childContainer!=restChild)
{
if((childContainer.hitTestObject(restChild))==true)

{
//Show Animation during replacement
 //how would i give feedback here
container.removeChild(restChild);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AIR publishing problems

2008-02-26 Thread dave matthews

hi All,
 
  FlashCS3 with the newly released AIR additions installed wants a 'descriptor 
file'!
 
  Ah, what is this and why didn't Flash make one when the special Air publish 
tool is used?
 
thanks,
Dave_Matthews
_
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR publishing problems

2008-02-26 Thread Kenneth Kawamoto

Yes Flash does generate the descriptor XML.
Commands  AIR - Application And Installer Settings

Kenneth Kawamoto
http://www.materiaprima.co.uk/

dave matthews wrote:

hi All,
 
  FlashCS3 with the newly released AIR additions installed wants a 'descriptor file'!
 
  Ah, what is this and why didn't Flash make one when the special Air publish tool is used?
 
thanks,

Dave_Matthews
_
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___
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] Help Needed. UILoader coordinate track problem on MOUSE_UP

2008-02-26 Thread anuj sharma
Hi All
I am dragging the UI loader component containing external SWfs in them. On
Mouse Release I use stop drag, and on stop drag- I am using
myUIloader.move(mouseX,mouseY).
However the output is little bouncy, the stage is taking the topleft corner
of UIloader as main point and on stop drag it is moving the top left corner
of the UIloader to the point where I left my mouse which gives the bouncy
effect.(In short it is not dropping UIloader where I am leaving my mouse but
dropping the top left corner of UIloader where I left the mouse.)

I came up with the weird temporary solution where I use
myUIloader.move(mouseX-200,mouseY-200)
which is not genuine way of solving this problem.
Can you please help me out for figuring this thing out? All I need is to
drop my UILoader wherever I left my mouse.
Guys,I highly appreciate your help in this matter .
Thanks
Anuj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error in Flex for automatically created classes

2008-02-26 Thread Jason Van Cleave
a couple of ways i use

1. Export a swc from your fla and Flex can use the classes in it

2. Load a complied swf at runtime and use getDefinition

http://livedocs.adobe.com/labs/flex3/langref/flash/system/ApplicationDomain.html#includeExamplesSummary

On Tue, Feb 26, 2008 at 8:49 AM, Johan Nyberg [EMAIL PROTECTED]
wrote:

 Hi, I'm using Flex as an IDE for Flash development. When I instanciate
 Movie Clips in Flash that are inheriting from a base class, but that
 do not have a class of their own (i.e. the class is automatically
 created) I get an error in Flex. I understand that it's because the
 class does not exist, but is there a way around it? Or do I have to
 create a class skeleton for every Movie Clip that is dynamically
 created?

 Here is the function where I create movie clips from the library by
 using information from an XML. All the clips have Column as their base
 class):

public function createColumns( _xml:XML ):void
{
for each( var column:XML in _xml.columns.* )
{
var clip:Column;
 
switch( column.name.toString() )
{
case 'pokerRoom':
clip = new PokerRoom();
break;
case 'us':
clip = new Us();
break;
case 'bonus':
clip = new Bonus();
break;
case 'roomReviews':
clip = new ReadReview();
break;
case 'getBonus':
clip = new Button();
break;
}
clip.x = column.x;
clip.y = column.y;
 
addChild( clip );
}
}


 Regards,

 Johan Nyberg
 Designer and web developer

 [EMAIL PROTECTED]
 08 - 50 00 24 30
 070 - 407 83 00



 ___
 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] Any issues with Safari Mac and mouse movement detection?

2008-02-26 Thread Jason Van Cleave
Did you try Safari on Windows?

On Tue, Feb 26, 2008 at 12:34 PM, Paul Steven [EMAIL PROTECTED]
wrote:

 I have created a game that involves moving the mouse rapidly to control
 the
 speed of a character. The client has reported that it is not working on
 Safari on the Mac. I have since asked several friends to test it on Safari
 on a Mac and they also report the same problem in that it does not work.

 Is there a particular issues I should be aware of using Safari on the mac
 and Flash?

 Not sure if this is relevant, but I use AC_RunActiveContent to embed my
 flash content.

 I can't put up a link to the game due to it being for a client.

 ___
 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] Any issues with Safari Mac and mouse movement detection?

2008-02-26 Thread Paul Steven
Yes - works absolutely perfect in Safari for Windows

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Van
Cleave
Sent: 27 February 2008 05:48
To: Flash Coders List
Subject: Re: [Flashcoders] Any issues with Safari Mac and mouse movement
detection?

Did you try Safari on Windows?

On Tue, Feb 26, 2008 at 12:34 PM, Paul Steven [EMAIL PROTECTED]
wrote:

 I have created a game that involves moving the mouse rapidly to control
 the
 speed of a character. The client has reported that it is not working on
 Safari on the Mac. I have since asked several friends to test it on Safari
 on a Mac and they also report the same problem in that it does not work.

 Is there a particular issues I should be aware of using Safari on the mac
 and Flash?

 Not sure if this is relevant, but I use AC_RunActiveContent to embed my
 flash content.

 I can't put up a link to the game due to it being for a client.

 ___
 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders