For some reason I can't get to know hot to make this work for flash and torch properties, so I start thinking that there is something that I don't know. Anybody can give me clues in how to use this function?function mergAVCamGet pProp
Get the current property of the camera control.
Parameters:
pProp – the property to return which will be one of:
rect – the rect of the control
visible – the visible of the control
quality – the quality of the camera which will be one of:
photo
high
medium
low
352×288
640×480
iFrame960x540
1280×720
iFrame1280x720. The camera defaults to high.
camera – one of:
rear camera
front camera. The camera defaults to rear.
flash – one of:
on
off
auto. The camera defaults to auto.
torch – one of:
on
off
auto. The camera defaults to auto.
Returns the property
Problem with some external functions [solved]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Problem with some external functions [solved]
I'm implementing mergAV external, the documentation says:
Last edited by Mag on Sun Jul 07, 2013 11:47 pm, edited 6 times in total.
Re: Complete beginner questions on functions
Some more info:
PS
The device supports flash and torch
Code: Select all
on mouseUp
answer "rect" && mergAVCamGet("rect") -- works
answer "visible" && mergAVCamGet("visible") -- works
answer "quality" && mergAVCamGet("quality") -- works
answer "camera" && mergAVCamGet("camera") -- works
answer "flash" && mergAVCamGet("flash") -- do nothing
answer "torch" && mergAVCamGet("torch") -- do nothing
end mouseUp
The device supports flash and torch
Re: Complete beginner question on mergAV functions
If I put these before the others, no one answer box appears:
Code: Select all
answer "flash" && mergAVCamGet("flash") -- do nothing
answer "torch" && mergAVCamGet("torch") -- do nothing
Re: Complete beginner question on mergAV functions
Mag-
You might try pinging Monte directly about this. I don't see anything wrong with your code.
You might try pinging Monte directly about this. I don't see anything wrong with your code.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Complete beginner question on mergAV functions
Thank you mwieder, I wanted to be sure to use the function in the right way before to contact directly him.mwieder wrote:Mag-
You might try pinging Monte directly about this. I don't see anything wrong with your code.
Re: Some mergAV functions don't work
Still no luck on this...
Re: Some mergAV functions don't work
Looks like for some reason I didn't implement it. It will be in the next version which should come out this week.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: Problem with some external functions
Thank you Monte!
-
- Posts: 32
- Joined: Fri Jan 16, 2015 5:31 pm
Re: Problem with some external functions [solved]
Did this ever get implemented? I'm still seeing a problem in LC9.6.2rc2
mergAVCamSet("torch"), "on"
put mergAVCamGet("torch") into tTorch // tTorch is EMPTY
mergAVCamSet("torch"), "on"
put mergAVCamGet("torch") into tTorch // tTorch is EMPTY