 |
|
 |
|
08-25-05 12:45 PM
If you have an iSight camera on a Mac try the following:
cam1_cam:Camera = Camera.get(0);
v1_video.attachVideo(cam1_cam);
Does that work? You should be able to see yourself. It should work,
and it will on a PC. However, I cannot get it to work on a Mac -- OS
10.4.2 with a recent iSight software upgrade.
Now try,
cam1_cam:Camera = Camera.get();
v1_video.attachVideo(cam1_cam);
It's the same code except there's no "0" in the .get() parameter. It
will work.
TIA,
Bill
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Yes, I see that here. When I do the get(0) it still asks for
permission but there is no video shown in the swf.
Works fine with just get();
Max OS X 10.4.2
Sean
On Aug 25, 2005, at 3:07 AM, Bill Sanders wrote:
> cam1_cam:Camera = Camera.get(0);
> v1_video.attachVideo(cam1_cam);
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Are you sure the ISight is on index 0? My Isight is listed as 'IIDC
FireWire Video' on index 1 and 'DV Video' on 0.. Because it's working
here with Camera.get(1)
Thijs
Op 25-aug-2005, om 11:07 heeft Bill Sanders het volgende geschreven:
> If you have an iSight camera on a Mac try the following:
>
> cam1_cam:Camera = Camera.get(0);
> v1_video.attachVideo(cam1_cam);
>
> Does that work? You should be able to see yourself. It should work,
> and it will on a PC. However, I cannot get it to work on a Mac --
> OS 10.4.2 with a recent iSight software upgrade.
>
> Now try,
>
> cam1_cam:Camera = Camera.get();
> v1_video.attachVideo(cam1_cam);
>
> It's the same code except there's no "0" in the .get() parameter.
> It will work.
>
> TIA,
> Bill
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Ah!
for me, the IIDC is index 5!
:-)
On Aug 25, 2005, at 8:27 AM, Thijs Triemstra|Collab wrote:
>
> Are you sure the ISight is on index 0? My Isight is listed as 'IIDC
> FireWire Video' on index 1 and 'DV Video' on 0.. Because it's
> working here with Camera.get(1)
>
> Thijs
>
>
> Op 25-aug-2005, om 11:07 heeft Bill Sanders het volgende geschreven:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Sean/Thijs,
Whatever camera you select in the MM Flash Player Settings becomes
the default Camera.get(0). This is bug and will show up in
applications where more than a single camera is called for, such as
in security applications. The workaround is:
Camera.get();
Camera.get(1);
Not a biggie, but one that you'll trip over w/o the workaround.
Kindest regards,
Bill
On Aug 25, 2005, at 10:43 AM, Sean Moran wrote:
>
> Ah!
>
> for me, the IIDC is index 5!
>
> :-)
>
>
> On Aug 25, 2005, at 8:27 AM, Thijs Triemstra|Collab wrote:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
i dont understand the reason for your workaround.. Camera.get()
references to the default Camera, but that Camera stays on whatever
index in Camera.names it is and doesn't move to index 0 as in
Camera.get(0).. Camera.get() could be the same as Camera.get(5)
Thijs
Op 25-aug-2005, om 18:26 heeft Bill Sanders het volgende geschreven:
> Sean/Thijs,
>
> Whatever camera you select in the MM Flash Player Settings becomes
> the default Camera.get(0). This is bug and will show up in
> applications where more than a single camera is called for, such as
> in security applications. The workaround is:
>
> Camera.get();
> Camera.get(1);
>
> Not a biggie, but one that you'll trip over w/o the workaround.
>
> Kindest regards,
> Bill
>
> On Aug 25, 2005, at 10:43 AM, Sean Moran wrote:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
I don't think there's any relation to the default camera and the
ordering and indexes for camera.get( someNumber );
I think the only thing guaranteed is that camera.get( index ) should
match the array in camera.names. In other words, the Nth camera in
camera.names should match the one returned from camera.get( sameIndex );
If the order of camera.names is changing due to the user picking a new
default, I can see that causing a problem and it's probably worth filing
a bug, but it will probably be pretty far down the fix list.
The online docs for this are at
http://www.macromedia.com/support/f...tionscript_dict
ionary/actionscript_dictionary124.html
- Dave Simmons
Macromedia Engineering
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Bill
Sanders
Sent: Thursday, August 25, 2005 9:27 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] iSight Camera on Mac
Sean/Thijs,
Whatever camera you select in the MM Flash Player Settings becomes =20
the default Camera.get(0). This is bug and will show up in =20
applications where more than a single camera is called for, such as =20
in security applications. The workaround is:
Camera.get();
Camera.get(1);
Not a biggie, but one that you'll trip over w/o the workaround.
Kindest regards,
Bill
On Aug 25, 2005, at 10:43 AM, Sean Moran wrote:
>
> Ah!
>
> for me, the IIDC is index 5!
>
> :-)
>
>
> On Aug 25, 2005, at 8:27 AM, Thijs Triemstra|Collab wrote:
>
>
>
>
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Thijs,
Hmmmm. That would seem to defeat the purpose of the index. Let me do
some experiments on my Windows XP where this is not a problem and get
back to you.
Thanks for the insight,
Bill
On Aug 25, 2005, at 12:50 PM, Thijs Triemstra|Collab wrote:
> i dont understand the reason for your workaround.. Camera.get()
> references to the default Camera, but that Camera stays on whatever
> index in Camera.names it is and doesn't move to index 0 as in
> Camera.get(0).. Camera.get() could be the same as Camera.get(5)
>
> Thijs
>
>
> Op 25-aug-2005, om 18:26 heeft Bill Sanders het volgende geschreven:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
Sean/Thijs/Dave,
I ran this on my Mac:
var cam_array:Array = Camera.names;
var cam0:Camera= Camera.get();
var cam1:Camera = Camera.get(0);
var cam2:Camera = Camera.get(1);
var cam3:Camera = Camera.get(2);
for (p in cam_array) {
trace(_root["cam"+p].index+" = "+_root["cam"+p].name);
}
and got this output:
2 = IIDC FireWire Video
0 = QuickCam
1 = DV Video
2 = IIDC FireWire Video
On my XP Pro, I got:
1 = USB PC Camera 301P
0 = Creative WebCam (WDM)
1 = USB PC Camera 301P
So what it's really doing is indexing the drivers and not the cameras
per se. I had tested a QuickCam on my Mac once and needed to add a
driver, thus, while the QuickCam driver is indexed as 0, there's no
camera there to play it. So while my iSight was the first camera on
my Mac, why is it the last (driver)? My hunch is that the updates for
iSight push it up.
Thanks,
Bill
On Aug 25, 2005, at 12:55 PM, David Simmons wrote:
> I don't think there's any relation to the default camera and the
> ordering and indexes for camera.get( someNumber );
>
> I think the only thing guaranteed is that camera.get( index ) should
> match the array in camera.names. In other words, the Nth camera in
> camera.names should match the one returned from camera.get
> ( sameIndex );
>
> If the order of camera.names is changing due to the user picking a new
> default, I can see that causing a problem and it's probably worth
> filing
> a bug, but it will probably be pretty far down the fix list.
>
> The online docs for this are at
> http://www.macromedia.com/support/flash/action_scripts/
> actionscript_dict
> ionary/actionscript_dictionary124.html
>
> - Dave Simmons
> Macromedia Engineering
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Bill
> Sanders
> Sent: Thursday, August 25, 2005 9:27 AM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] iSight Camera on Mac
>
> Sean/Thijs,
>
> Whatever camera you select in the MM Flash Player Settings becomes
> the default Camera.get(0). This is bug and will show up in
> applications where more than a single camera is called for, such as
> in security applications. The workaround is:
>
> Camera.get();
> Camera.get(1);
>
> Not a biggie, but one that you'll trip over w/o the workaround.
>
> Kindest regards,
> Bill
>
> On Aug 25, 2005, at 10:43 AM, Sean Moran wrote:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
08-26-05 07:45 AM
FWIW, I got
5 = IIDC FireWire Video
0 = DVCPRO HD (1080i50)
1 = DVCPRO HD (1080i60)
6 = USB Video Class Video
undefined = undefined
undefined = undefined
undefined = undefined
when run through get(6)
Interesting
On Aug 25, 2005, at 2:03 PM, Bill Sanders wrote:
> var cam_array:Array = Camera.names;
> var cam0:Camera= Camera.get();
> var cam1:Camera = Camera.get(0);
> var cam2:Camera = Camera.get(1);
> var cam3:Camera = Camera.get(2);
> for (p in cam_array) {
> trace(_root["cam"+p].index+" = "+_root["cam"+p].name);
> }
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 07:19 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|