Re: [Flashcoders] papervision as2 mouse projection

2009-07-28 Thread Hans Wichman
Ok,

it seems the as2 papervision horribly distorts the perspective, and each
addded hotspot makes the panorama slower.

So back at square one.
Essentially what I'm looking for is a panorama that takes 6 cube faces and a
hotspot definition and generates a cool panorama with hotspots that light up
as you mouse over them in 3d space, and that all in as2 :).

So I'm looking for the documentation that provides me with the knowledge on
how cubic panorama's work... yes grasping at straws here:), any pointers
pretty plz...

regards,
JC

On Fri, Jul 24, 2009 at 3:37 PM, Hans Wichman 
j.c.wich...@objectpainters.com wrote:

 Hi,

 yes the as3 version does:)
 But I'm very lucky to be stuck on the same as2 project for 5 years in a
 row...

 However I chose the easy way out, I've drawn the hotspot in a separate
 layer and now I can click.
 Not sure how this is going to add up performance wise, but time will tell!

 tnx
 JC

   On Fri, Jul 24, 2009 at 2:35 PM, Glen Pike g...@engineeredarts.co.ukwrote:

 Hi,

   I thought that PaperVision provided that information for you - check the
 docs...

   Glen

 Hans Wichman wrote:

  Hi list,

 I need to find the coordinates of a mouseclick within a plane in
 actionscript 2 papervision and I can't figure out how to do it.
 Has anyone got any pointers for me, my 3d math skills are vry rusty?

 regards,
 JC
 ___
 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


[Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Matt Muller
Hi, Im creating a SWC with some UI movieclips exported in the lib to use
with FLEX.

Right now they extend MovieClip and when I create a new instance in FLEX and
add to mx:Box I need to add to rawChildren.

This means I cant use the alignment properties of mx:Box to align the
graphics.

apart from adding them to a new UIComponent as a child and then adding the
UIComponent to the Box, is there another way to do this?

thanks,

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


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Muzak

Get the Flex Component Kit for Flash CS3.
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3

I think Flash CS4 already has the component kit installed.

regards,
Muzak

- Original Message - 
From: Matt Muller matthewmul...@gmail.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 28, 2009 6:39 PM
Subject: [Flashcoders] Extending Flex UIComponent in flash SWC



Hi, Im creating a SWC with some UI movieclips exported in the lib to use
with FLEX.

Right now they extend MovieClip and when I create a new instance in FLEX and
add to mx:Box I need to add to rawChildren.

This means I cant use the alignment properties of mx:Box to align the
graphics.

apart from adding them to a new UIComponent as a child and then adding the
UIComponent to the Box, is there another way to do this?

thanks,

MaTT


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


[Flashcoders] Resizing the drop down list of ComboBox when removeItem() is called

2009-07-28 Thread Fumio Nonaka
When items in a CombBox compnent instance are removed with
ComboBox.removeItem() method, its size of drop down list will not be
adjusted. I suspect that this behavior might be a bug because
ComboBox.removeItemAt() method properly reset its size.
http://blog.jactionscripters.com/2009/07/28/resizing-the-drop-down-list-of-combobox-when-removeitem-is-called/
-- 
Fumio Nonaka
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Matt Muller
thanks. I only have cs4 and it wont publish to flash 9. only fp 10 :/

On Tue, Jul 28, 2009 at 6:18 PM, Muzak p.ginnebe...@telenet.be wrote:

 Get the Flex Component Kit for Flash CS3.
 http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3

 I think Flash CS4 already has the component kit installed.

 regards,
 Muzak

 - Original Message - From: Matt Muller matthewmul...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, July 28, 2009 6:39 PM
 Subject: [Flashcoders] Extending Flex UIComponent in flash SWC



  Hi, Im creating a SWC with some UI movieclips exported in the lib to use
 with FLEX.

 Right now they extend MovieClip and when I create a new instance in FLEX
 and
 add to mx:Box I need to add to rawChildren.

 This means I cant use the alignment properties of mx:Box to align the
 graphics.

 apart from adding them to a new UIComponent as a child and then adding the
 UIComponent to the Box, is there another way to do this?

 thanks,

 MaTT


 ___
 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] dynamically capture and display the name of the currently executing function in the Output panel

2009-07-28 Thread Cor
Question: Is there a simple way to dynamically capture and display the name
of the currently executing function in the Output panel?

Sample function: 

function doStuff ():void {
trace (Function: doStuff() );
//run doStuff code...
}

Without hardcoding the name of the function in the trace statement shown
above, can I somehow display the function name dynamically when it runs? 
I've never seen this done but thought I'd ask anyway
 
TIA
Cor
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] a real custom cursor

2009-07-28 Thread Andrew Sinning
Does AS3 support real custom cursors?  The only solution that I've found 
is to hide the cursor and to have a sprite follow the mousex/y around, 
but it feels like the mouse is sticking when it doesn't refresh a 
quickly as one would like.

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


RE: [Flashcoders] a real custom cursor

2009-07-28 Thread Merrill, Jason
Nope - not that I am aware of.  The technique you described is the one I
have used and haven't heard of any other options.


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Tuesday, July 28, 2009 3:10 PM
To: Flash Coders
Subject: [Flashcoders] a real custom cursor

Does AS3 support real custom cursors?  The only solution that I've found

is to hide the cursor and to have a sprite follow the mousex/y around, 
but it feels like the mouse is sticking when it doesn't refresh a 
quickly as one would like.
___
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] a real custom cursor

2009-07-28 Thread Eric E. Dolecki
You'll need to use a Sprite. Make sure to use event.updateAfterEvent()  on
your mouseMove event handler. Should work fine.
I've swapped cursors using java and Flash talking to it (and controlled the
cursor position that way as well)... but that was for a standalone
special-case use. I am sure you're not after that kind of thing.

Eric

On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning and...@learningware.comwrote:

 Does AS3 support real custom cursors?  The only solution that I've found is
 to hide the cursor and to have a sprite follow the mousex/y around, but it
 feels like the mouse is sticking when it doesn't refresh a quickly as one
 would like.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] a real custom cursor

2009-07-28 Thread Karl DeSaulniers
Does your sprite image have to be converted into an icon to do this?  
Or what is the max size that image can be? I have had to abandon my  
custom cursor because it laggs when switching with the mouse.


Karl

Sent from losPhone

On Jul 28, 2009, at 2:35 PM, Eric E. Dolecki edole...@gmail.com  
wrote:


You'll need to use a Sprite. Make sure to use  
event.updateAfterEvent()  on

your mouseMove event handler. Should work fine.
I've swapped cursors using java and Flash talking to it (and  
controlled the

cursor position that way as well)... but that was for a standalone
special-case use. I am sure you're not after that kind of thing.

Eric

On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning and...@learningware.com 
wrote:


Does AS3 support real custom cursors?  The only solution that I've  
found is
to hide the cursor and to have a sprite follow the mousex/y around,  
but it
feels like the mouse is sticking when it doesn't refresh a quickly  
as one

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





--
http://ericd.net
Interactive design and development
___
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] a real custom cursor

2009-07-28 Thread Eric E. Dolecki
If you are replying to me for the cursor thing and Java, I was controlling
the position and I believe I changed the cursor to another type that was
already available in the OS. It was so long ago, but I don't think I was
able to change the OS cursor to something not already available to it.

On Tue, Jul 28, 2009 at 3:49 PM, Karl DeSaulniers k...@designdrumm.comwrote:

 Does your sprite image have to be converted into an icon to do this? Or
 what is the max size that image can be? I have had to abandon my custom
 cursor because it laggs when switching with the mouse.

 Karl

 Sent from losPhone


 On Jul 28, 2009, at 2:35 PM, Eric E. Dolecki edole...@gmail.com wrote:

  You'll need to use a Sprite. Make sure to use event.updateAfterEvent()  on
 your mouseMove event handler. Should work fine.
 I've swapped cursors using java and Flash talking to it (and controlled
 the
 cursor position that way as well)... but that was for a standalone
 special-case use. I am sure you're not after that kind of thing.

 Eric

 On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning and...@learningware.com
 wrote:

  Does AS3 support real custom cursors?  The only solution that I've found
 is
 to hide the cursor and to have a sprite follow the mousex/y around, but
 it
 feels like the mouse is sticking when it doesn't refresh a quickly as one
 would like.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 --
 http://ericd.net
 Interactive design and development
 ___
 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




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] a real custom cursor

2009-07-28 Thread Andrew Sinning
Thanks Eric.  I'll try updateAfterEvent.  Hopefully that will solve the 
sticking problem.


Eric E. Dolecki wrote:

You'll need to use a Sprite. Make sure to use event.updateAfterEvent()  on
your mouseMove event handler. Should work fine.
I've swapped cursors using java and Flash talking to it (and controlled the
cursor position that way as well)... but that was for a standalone
special-case use. I am sure you're not after that kind of thing.

Eric

On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning and...@learningware.comwrote:

  

Does AS3 support real custom cursors?  The only solution that I've found is
to hide the cursor and to have a sprite follow the mousex/y around, but it
feels like the mouse is sticking when it doesn't refresh a quickly as one
would like.
___
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] a real custom cursor

2009-07-28 Thread Sam Brown
what kind of update method are you using. If the mouse is lagging, perhaps
set up a hyper update function. (hyper in the sense that it updates like
twice a frame?)

other than that, not sure. This is the only method I've used/found as well.

On Tue, Jul 28, 2009 at 12:09 PM, Andrew Sinning and...@learningware.comwrote:

 Does AS3 support real custom cursors?  The only solution that I've found is
 to hide the cursor and to have a sprite follow the mousex/y around, but it
 feels like the mouse is sticking when it doesn't refresh a quickly as one
 would like.
 ___
 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] dynamically capture and display the name of the currently executing function in the Output panel

2009-07-28 Thread Steve Mathews
There is a way to this as a hack. No good way though.
The hack way is to do a try catch, throw an error in the try and parse the
error message in the catch. Only works with the debug player I believe.


On Tue, Jul 28, 2009 at 11:51 AM, Cor c...@chello.nl wrote:

 Question: Is there a simple way to dynamically capture and display the name
 of the currently executing function in the Output panel?

 Sample function:

 function doStuff ():void {
 trace (Function: doStuff() );
 //run doStuff code...
 }

 Without hardcoding the name of the function in the trace statement shown
 above, can I somehow display the function name dynamically when it runs?
 I've never seen this done but thought I'd ask anyway

 TIA
 Cor
 ___
 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] Flash doesn´t detect MOUSE_LEAV E event while dragging outside stage on Firefox

2009-07-28 Thread Isaac Alves
Hello,

Is there any workaround to the issue with Adobe Flash where a Flash Movie
does not receive a MOUSE_LEAVE event if the mouse is dragged outside of the
movie? Neither when i MOUSE_UP outside the stage.

stage.addEventListener(Event.MOUSE_LEAVE, dropIt);

function dropIt(e1:MouseEvent = null, e2:Event = null):void {
textField.text =  OK ;  // extreme debug method
full_mc.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
stage.removeEventListener(Event.MOUSE_LEAVE, dropIt);
}

That actually works when I run the SWF file, and even on IE.

But on Firefox and Chrome nothing happens, it continues dragging the
MovieClip when the cursor returns to stage. The dropIt function doesn´t run
( the textField.text doesn´t update)

Thanks a lot!
Isaac
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Muzak

Mine publishes to fp9 just fine.

Have you set fp9 in the publish settings and enabled Export swc ?
http://muzakdeezign.com/flashcoders/publish_swc.jpg

regards,
Muzak

- Original Message - 
From: Matt Muller matthewmul...@gmail.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 28, 2009 8:43 PM
Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC



thanks. I only have cs4 and it wont publish to flash 9. only fp 10 :/

On Tue, Jul 28, 2009 at 6:18 PM, Muzak p.ginnebe...@telenet.be wrote:


Get the Flex Component Kit for Flash CS3.
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3

I think Flash CS4 already has the component kit installed.

regards,
Muzak



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


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Matt Muller
yep. are you using cs4?

i was just exporting swc and add to flex but then had to use rawchildren and
couldnt use positioning.

when i select the clip in the lib and then go to commandsmake flex
component the warning pops up.

MaTT

On Tue, Jul 28, 2009 at 10:56 PM, Muzak p.ginnebe...@telenet.be wrote:

 Mine publishes to fp9 just fine.

 Have you set fp9 in the publish settings and enabled Export swc ?
 http://muzakdeezign.com/flashcoders/publish_swc.jpg

 regards,
 Muzak

 - Original Message - From: Matt Muller matthewmul...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Tuesday, July 28, 2009 8:43 PM
 Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC


  thanks. I only have cs4 and it wont publish to flash 9. only fp 10 :/

 On Tue, Jul 28, 2009 at 6:18 PM, Muzak p.ginnebe...@telenet.be wrote:

  Get the Flex Component Kit for Flash CS3.
 http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3

 I think Flash CS4 already has the component kit installed.

 regards,
 Muzak


 ___
 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] Extending Flex UIComponent in flash SWC

2009-07-28 Thread Muzak

Yup, using CS4.

Doing the same thing as you described:

- select File - Publish Settings
- in Formats tab:
   - deselect HTML
in Flash tab
   - select Flash Player 9 
   - select ActionScript 3

   - select Export SWC

- create Movieclip symbol, fill in a class name (export for ActionScript)
- select the Movieclip in Library, select Commands - Convert Symbol to Flex 
Component
- File - Publish


I'm only asked to change the framerate to 24 when converting the MovieClip to 
Flex Component.
Other than that it just works..

What does the class look like (the one attached to the MovieClip symbol)?

regards,
Muzak

- Original Message - 
From: Matt Muller matthewmul...@gmail.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, July 29, 2009 12:09 AM
Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC



yep. are you using cs4?

i was just exporting swc and add to flex but then had to use rawchildren and
couldnt use positioning.

when i select the clip in the lib and then go to commandsmake flex
component the warning pops up.

MaTT



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