RE: [Flashcoders] Object vs *

2008-08-11 Thread Kerry Thompson
Cedric Muller wrote

> Just do a Mouse.hide(); then add a Sprite to the scene that looks
> exactly like the mouse pointer (differences between operating systems)
> and animate this sprite.
> 
> This is how it is done, but this isn't setting the coordinates of the
> pointer

You can verify that Cedric is right. Just move your mouse outside of the
browser window, and you'll see the system mouse cursor reappear while the
animation inside the Flash movie continues.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Object vs *

2008-08-11 Thread H
Hmm, it is done pretty well on this sony style web site...

On Mon, Aug 11, 2008 at 10:56 AM, Romuald Quantin <
[EMAIL PROTECTED]> wrote:

> It has been done there, after the intro:
> http://www.sonystyle.com.mx/lounge/
>
> It is working pretty well I guess.
>
> Romu
> www.soundstep.com
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
> Jason
> Sent: 11 August 2008 15:31
> To: Flash Coders List
> Subject: RE: [Flashcoders] Object vs *
>
> >>You sort of can, but not online.
>
> You can online if you are OK with faking it.  You can set up a virtual
> cursor you control with Actionscript - hide the real cursor and use a
> graphic of one that looks just like it, and control it's behavior with
> Actionscript, including dispatching of events.  If you're not doing
> anything fancy, the user will  know no difference if you use it right.
> Then show the real cursor as needed for more complex mouse actions like
> dragging and dropping. Here is a virtual mouse class:
>
> http://www.kirupa.com/forum/archive/index.php/t-266801.html
>
>
> Jason Merrill
> Bank of America
> Enterprise Technology & Global Risk L&LD
> Instructional Technology & Media
>
> Join the Bank of America Flash Platform Developer Community
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
>
>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf
> >>Of eric e. dolecki
> >>Sent: Monday, August 11, 2008 9:32 AM
> >>To: Flash Coders List
> >>Subject: Re: [Flashcoders] Object vs *
> >>
> >>To the hijacker,
> >>You sort of can, but not online.
> >>
> >>run full screen, run a socket server and connect to it, have
> >>the socket server answer a command and position the system
> >>cursor (with Java let's say here). I've done this before
> >>myself, but it has to be a standalone executable with the
> >>running socket server, etc. A custom setup.
> >>
> >>On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson
> >><[EMAIL PROTECTED]>wrote:
> >>
> >>> thomas nordahl wrote:
> >>>
> >>> > is  there any way in AS3 to set the coordinates of the cursor?
> >>>
> >>___
> >>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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Object vs *

2008-08-11 Thread eric e. dolecki
That's cool - haven't seen that class before. You'd just need to know when
to switch to real system mouse and the virtual one if tracking.
Eric

On Mon, Aug 11, 2008 at 10:30 AM, Merrill, Jason <
[EMAIL PROTECTED]> wrote:

> >>You sort of can, but not online.
>
> You can online if you are OK with faking it.  You can set up a virtual
> cursor you control with Actionscript - hide the real cursor and use a
> graphic of one that looks just like it, and control it's behavior with
> Actionscript, including dispatching of events.  If you're not doing
> anything fancy, the user will  know no difference if you use it right.
> Then show the real cursor as needed for more complex mouse actions like
> dragging and dropping. Here is a virtual mouse class:
>
> http://www.kirupa.com/forum/archive/index.php/t-266801.html
>
>
> Jason Merrill
> Bank of America
> Enterprise Technology & Global Risk L&LD
> Instructional Technology & Media
>
> Join the Bank of America Flash Platform Developer Community
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
>
>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf
> >>Of eric e. dolecki
> >>Sent: Monday, August 11, 2008 9:32 AM
> >>To: Flash Coders List
> >>Subject: Re: [Flashcoders] Object vs *
> >>
> >>To the hijacker,
> >>You sort of can, but not online.
> >>
> >>run full screen, run a socket server and connect to it, have
> >>the socket server answer a command and position the system
> >>cursor (with Java let's say here). I've done this before
> >>myself, but it has to be a standalone executable with the
> >>running socket server, etc. A custom setup.
> >>
> >>On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson
> >><[EMAIL PROTECTED]>wrote:
> >>
> >>> thomas nordahl wrote:
> >>>
> >>> > is  there any way in AS3 to set the coordinates of the cursor?
> >>>
> >>___
> >>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] Object vs *

2008-08-11 Thread Cedric Muller
Just do a Mouse.hide(); then add a Sprite to the scene that looks  
exactly like the mouse pointer (differences between operating systems)

and animate this sprite.

This is how it is done, but this isn't setting the coordinates of the  
pointer


hth,
Cedric


It has been done there, after the intro:
http://www.sonystyle.com.mx/lounge/

It is working pretty well I guess.

Romu
www.soundstep.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Merrill,

Jason
Sent: 11 August 2008 15:31
To: Flash Coders List
Subject: RE: [Flashcoders] Object vs *


You sort of can, but not online.


You can online if you are OK with faking it.  You can set up a virtual
cursor you control with Actionscript - hide the real cursor and use a
graphic of one that looks just like it, and control it's behavior with
Actionscript, including dispatching of events.  If you're not doing
anything fancy, the user will  know no difference if you use it right.
Then show the real cursor as needed for more complex mouse actions  
like

dragging and dropping. Here is a virtual mouse class:

http://www.kirupa.com/forum/archive/index.php/t-266801.html




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of eric e. dolecki
Sent: Monday, August 11, 2008 9:32 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Object vs *

To the hijacker,
You sort of can, but not online.

run full screen, run a socket server and connect to it, have
the socket server answer a command and position the system
cursor (with Java let's say here). I've done this before
myself, but it has to be a standalone executable with the
running socket server, etc. A custom setup.

On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson
<[EMAIL PROTECTED]>wrote:


thomas nordahl wrote:


is  there any way in AS3 to set the coordinates of the cursor?





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


RE: [Flashcoders] Object vs *

2008-08-11 Thread Romuald Quantin
It has been done there, after the intro:
http://www.sonystyle.com.mx/lounge/

It is working pretty well I guess.

Romu
www.soundstep.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 11 August 2008 15:31
To: Flash Coders List
Subject: RE: [Flashcoders] Object vs *

>>You sort of can, but not online.

You can online if you are OK with faking it.  You can set up a virtual
cursor you control with Actionscript - hide the real cursor and use a
graphic of one that looks just like it, and control it's behavior with
Actionscript, including dispatching of events.  If you're not doing
anything fancy, the user will  know no difference if you use it right.
Then show the real cursor as needed for more complex mouse actions like
dragging and dropping. Here is a virtual mouse class:

http://www.kirupa.com/forum/archive/index.php/t-266801.html


Jason Merrill 
Bank of America 
Enterprise Technology & Global Risk L&LD 
Instructional Technology & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of eric e. dolecki
>>Sent: Monday, August 11, 2008 9:32 AM
>>To: Flash Coders List
>>Subject: Re: [Flashcoders] Object vs *
>>
>>To the hijacker,
>>You sort of can, but not online.
>>
>>run full screen, run a socket server and connect to it, have 
>>the socket server answer a command and position the system 
>>cursor (with Java let's say here). I've done this before 
>>myself, but it has to be a standalone executable with the 
>>running socket server, etc. A custom setup.
>>
>>On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson 
>><[EMAIL PROTECTED]>wrote:
>>
>>> thomas nordahl wrote:
>>>
>>> > is  there any way in AS3 to set the coordinates of the cursor?
>>>
>>___
>>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] Object vs *

2008-08-11 Thread Merrill, Jason
>>You sort of can, but not online.

You can online if you are OK with faking it.  You can set up a virtual
cursor you control with Actionscript - hide the real cursor and use a
graphic of one that looks just like it, and control it's behavior with
Actionscript, including dispatching of events.  If you're not doing
anything fancy, the user will  know no difference if you use it right.
Then show the real cursor as needed for more complex mouse actions like
dragging and dropping. Here is a virtual mouse class:

http://www.kirupa.com/forum/archive/index.php/t-266801.html


Jason Merrill 
Bank of America 
Enterprise Technology & Global Risk L&LD 
Instructional Technology & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of eric e. dolecki
>>Sent: Monday, August 11, 2008 9:32 AM
>>To: Flash Coders List
>>Subject: Re: [Flashcoders] Object vs *
>>
>>To the hijacker,
>>You sort of can, but not online.
>>
>>run full screen, run a socket server and connect to it, have 
>>the socket server answer a command and position the system 
>>cursor (with Java let's say here). I've done this before 
>>myself, but it has to be a standalone executable with the 
>>running socket server, etc. A custom setup.
>>
>>On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson 
>><[EMAIL PROTECTED]>wrote:
>>
>>> thomas nordahl wrote:
>>>
>>> > is  there any way in AS3 to set the coordinates of the cursor?
>>>
>>___
>>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] Object vs *

2008-08-11 Thread eric e. dolecki
To the hijacker,
You sort of can, but not online.

run full screen, run a socket server and connect to it, have the socket
server answer a command and position the system cursor (with Java let's say
here). I've done this before myself, but it has to be a standalone
executable with the running socket server, etc. A custom setup.

On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson <[EMAIL PROTECTED]>wrote:

> thomas nordahl wrote:
>
> > is  there any way in AS3 to set the coordinates of the cursor?
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Object vs *

2008-08-10 Thread Kerry Thompson
thomas nordahl wrote:

> is  there any way in AS3 to set the coordinates of the cursor?

Thomas,

When you have a question unrelated to the subject, please don't hit reply.
Send a new e-mail with a new subject.

What you did by hitting reply is called "hijacking the thread." Discussions
are stored in searchable list archives, and it throws off an archive search
when the subject abruptly changes.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Object vs *

2008-08-10 Thread dr.ache
I guess its partly possible but in an inconvenient way. By the time the 
user clicks the
button, you could hide  the system mousecursor and show a custom one at 
the position

you want it to be.

ok, not really a solution, because now you have a discrepance with the 
cursor and your
mouse and you could easily leave the flash stage solution is only 
for temporarely showing
your cursor at a different position. Permanent moving your mouse is not 
possible,

as it was said before.



H schrieb:

No... I believe the reason is related to security.

This is unrelated to the subject, though. I think you would get a quicker
response if you emailed the list with a fresh subject related to your
question.

H

On Sun, Aug 10, 2008 at 7:21 AM, thomas nordahl <[EMAIL PROTECTED]>wrote:

  

is  there any way in AS3 to set the coordinates of the cursor?

I want to make the cursor skip to a spesific place in my swf when a
spesific
object is clicked.

Anyone?


Thomas
___
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] Object vs *

2008-08-10 Thread H
No... I believe the reason is related to security.

This is unrelated to the subject, though. I think you would get a quicker
response if you emailed the list with a fresh subject related to your
question.

H

On Sun, Aug 10, 2008 at 7:21 AM, thomas nordahl <[EMAIL PROTECTED]>wrote:

> is  there any way in AS3 to set the coordinates of the cursor?
>
> I want to make the cursor skip to a spesific place in my swf when a
> spesific
> object is clicked.
>
> Anyone?
>
>
> Thomas
> ___
> 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] Object vs *

2008-08-10 Thread thomas nordahl
is  there any way in AS3 to set the coordinates of the cursor?

I want to make the cursor skip to a spesific place in my swf when a spesific
object is clicked.

Anyone?


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


Re: [Flashcoders] Object vs *

2008-08-09 Thread H
String, Boolean, Number, int, uint are all Objects...

var a:String = "";
trace(a is Object); //true

var b:uint;
trace(b is Object); //true

I find * useful when I don't want to explicitly type cast:

function a():Object {
return "hi";
}
var b:String = a(); //compile time error

function a():* {
return "hi";
}
var b:String = a(); //this is legal


H

On Sat, Aug 9, 2008 at 6:12 PM, Claus Wahlers <[EMAIL PROTECTED]> wrote:

> Also, mind this:
>
> var a:*;
> trace(a);
> // undefined
>
> var b:Object;
> trace(b);
> // null
>
> An Object can't be undefined.
>
> Cheers,
> Claus.
>
>
> Ian Thomas wrote:
>
>  '*' means "discard type checking"
>> 'Object' means 'treat it as type Object'
>>
>> If you have functions:
>>
>> public function getThing():*
>> {
>>  return new Bucket();
>> }
>>
>> public function getAnotherThing():Object
>> {
>>  return new Bucket();
>> }
>>
>> then this will compile:
>>
>> var someVar:Bucket=getThing();  // Ignores type checking
>>
>> And this won't:
>>
>> var someVar:Bucket=getAnotherThing();   // Tries to assign Object to
>> Bucket. Compile-time error.
>>
>> (while this will - with a cast:
>>
>> var someVar:Bucket=getAnotherThing() as Bucket;
>>
>> )
>>
>> HTH,
>>   Ian
>>
>> On Fri, Aug 8, 2008 at 11:07 PM, Dave Segal <[EMAIL PROTECTED]> wrote:
>>
>>> What is the difference between typing an instance as "*" and typing it as
>>> "Object"?
>>>
>>
>
> ___
> 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] Object vs *

2008-08-09 Thread Claus Wahlers

Also, mind this:

var a:*;
trace(a);
// undefined

var b:Object;
trace(b);
// null

An Object can't be undefined.

Cheers,
Claus.

Ian Thomas wrote:


'*' means "discard type checking"
'Object' means 'treat it as type Object'

If you have functions:

public function getThing():*
{
  return new Bucket();
}

public function getAnotherThing():Object
{
  return new Bucket();
}

then this will compile:

var someVar:Bucket=getThing();  // Ignores type checking

And this won't:

var someVar:Bucket=getAnotherThing();   // Tries to assign Object to
Bucket. Compile-time error.

(while this will - with a cast:

var someVar:Bucket=getAnotherThing() as Bucket;

)

HTH,
   Ian

On Fri, Aug 8, 2008 at 11:07 PM, Dave Segal <[EMAIL PROTECTED]> wrote:

What is the difference between typing an instance as "*" and typing it as
"Object"?



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


Re: [Flashcoders] Object vs *

2008-08-09 Thread Ian Thomas
'*' means "discard type checking"
'Object' means 'treat it as type Object'

If you have functions:

public function getThing():*
{
  return new Bucket();
}

public function getAnotherThing():Object
{
  return new Bucket();
}

then this will compile:

var someVar:Bucket=getThing();  // Ignores type checking

And this won't:

var someVar:Bucket=getAnotherThing();   // Tries to assign Object to
Bucket. Compile-time error.

(while this will - with a cast:

var someVar:Bucket=getAnotherThing() as Bucket;

)

HTH,
   Ian

On Fri, Aug 8, 2008 at 11:07 PM, Dave Segal <[EMAIL PROTECTED]> wrote:
> What is the difference between typing an instance as "*" and typing it as
> "Object"?
>
> ___
> 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] Object vs *

2008-08-08 Thread Jason Van Cleave
I don't think the primitives String, Boolean, Number, int, uint are Objects

On Fri, Aug 8, 2008 at 6:07 PM, Dave Segal <[EMAIL PROTECTED]> wrote:

> What is the difference between typing an instance as "*" and typing it as
> "Object"?
>
> ___
> 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] object vs document level undo

2006-04-14 Thread elibol
I don't know of any article, but the only thing that keeps me using document
level undo is the ability to undo changes within the library. If you delete
or move something in the library with object level undo you cannot undo it.

The other difference is that object level undo focuses on just one 'object',
which sort of translates to the timeline or movieclip you're focused on; it
will just undo what you've changed within the object, it will not take you
out of the timeline you're undoing where as document undo will if you've
done something outside of the object you're undoing in.

I really like object level undo, I just wish it treated the library as an
object too so I could undo library changes.

Hope this helps,

M.

On 4/12/06, Anastasia McCune <[EMAIL PROTECTED]> wrote:
>
> Hello, I hope this isn't too simple a question, but can anyone explain or
> point to a good article on object vs. document level undo?  I know
> theoretically what this is supposed to do, but am playing around trying it
> with shapes in regular mode, symbols and shapes drawn in object drawing
> mode
> and am having trouble seeing the difference in how undo is treated.
>
> Many thanks!
> ___
> 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