Expand my Community achievements bar.

SOLVED

Example of the ShareCursorPane ?

Avatar

Former Community Member
Good morning,



I've been trying to figure out how to use the
SharedCursorPane to enable visitors to see each other's cursor. I
tried to inspire from the SharedWhiteBoard, but I couldn't get it
to work. Is there a simpler example of the SharedCursorPane's use I
could base my code on?



Regards,



Axel
1 Accepted Solution

Avatar

Correct answer by
Former Community Member
Hi,



Shared cursor pane is just like a simple collaboration model
and it extends a UIComponent. You can use something like
<rtc:SharedCursorPane width="300" height="300" /> in mxml
tags or use actionscript to create it. And it will work fine. What
is that you are trying to do that's not working ? In case it
doesn't work, copy a small code where you can't get it working.



As an added info, there were some updates to SharedCursorPane
where you can set absolute/relative cursor which will be coming
with the next drop in coming weeks. You can also look at a previous
discussion on
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=759&threadid=1426917&h...



Hope this helps.

Thanks

Hironmay Basu

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member
Hi,



Shared cursor pane is just like a simple collaboration model
and it extends a UIComponent. You can use something like
<rtc:SharedCursorPane width="300" height="300" /> in mxml
tags or use actionscript to create it. And it will work fine. What
is that you are trying to do that's not working ? In case it
doesn't work, copy a small code where you can't get it working.



As an added info, there were some updates to SharedCursorPane
where you can set absolute/relative cursor which will be coming
with the next drop in coming weeks. You can also look at a previous
discussion on
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=759&threadid=1426917&h...



Hope this helps.

Thanks

Hironmay Basu

Avatar

Former Community Member
Hironmay,



Thanks for this perfect answer, I was trying to make things
too complicated.



Axel
The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----