Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

easterisle
easterisle
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
8

Discussions

Discussions
0

Questions

Questions
8

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by easterisle
Customize the badges you want to showcase on your profile
Re: Removing Shape Factories / Functions From LCCS Whiteboard - Adobe LiveCycle 26-08-2010
Hi,Currently removing default shapes is a bit complicated and not documented, and we might add an API in the future release of our SDK.But the good news is you can remove them,.Here is code. I modified the WBTriangle.mxml file in WhiteBoardCustomShapes that you can find in SampleApps of the SDKNavigator. import com.adobe.coreUI.controls.EditorToolBar; import com.adobe.coreUI.controls.whiteboardClasses.ToolBarDescriptors.WBShapeToolBarDescriptor; import com.adobe.coreUI.controls.whiteboardClasses.ToolBarDescriptors.WBToolBarDescriptor; import com.adobe.coreUI.controls.whiteboardClasses.WBShapesToolBar; import com.adobe.coreUI.controls.whiteboardClasses.shapeDescriptors.WBMarkerShapeDescriptor; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBCustomShapeFactory; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBHighlightAreaShapeFactory; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBMarkerShape; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBMarkerShapeFactory; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBPropertiesToolBar; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBSimpleShape; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBSimpleShapeFactory; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBTextShape; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBTextShapeFactory; import com.adobe.coreUI.controls.whiteboardClasses.shapes.WBTextToolBar; import com.adobe.coreUI.events.WBCanvasEvent; import com.adobe.rtc.events.CollectionNodeEvent; import com.adobe.rtc.events.SessionEvent; /********************************************************** * ADOBE SYSTEMS INCORPORATED * Copyright [2007-2010] Adobe Systems Incorporated * All Rights Reserved. * NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the * terms of the Adobe license agreement accompanying it.If you have received this file from a * source other than Adobe, then your use, modification, or distribution of it requires the prior * written permission of Adobe. * *********************************/ [Embed (source = '../assets/WBCustomMarker.png')] public static var ICON_CUSTOM_MARKER:Class; [Embed (source = '../assets/WBFileImage.png')] public static var ICON_IMAGE:Class; [Embed (source = '../assets/WBTriangle.png')] public static var ICON_TRIANGLE:Class; // NOTE : RUN AS OWNER FIRST TO SET ALL THE COLLECTIONNODES NEEDED protected function roomConnector_synchronizationChangeHandler(event:SessionEvent):void { if (roomConnector.isSynchronized) { //Modify the toolBar after the white board is synchronized// sharedWB.shapesToolBar = toolBar; sharedWB.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onToolBarAdd); } } // Modify the toolbar. Demonstrating the WBCustomShapeFactory. // So to add a custom shape we need the following // 1.) The shape class that defines what should be drawn when the mouse is dragged // 2.) Custom Cursor // 3.) Icon on the toolBar for the shape // 4.) The Property ToolBar for the shape // So the toughest part is defining the shape and its property toolbar protected function onToolBarAdd(p_evt:Event):void { if (sharedWB.isSynchronized) { var toolBar:WBShapesToolBar = new WBShapesToolBar(); var data:WBToolBarDescriptor = new WBToolBarDescriptor(false); //toolBar.validateNow();// sharedWB.shapesToolBar = toolBar; // toolBar.validateNow(); //Label Shape var toolShape:WBShapeToolBarDescriptor = new WBShapeToolBarDescriptor(WBShapeToolBarDescriptor.LABEL); toolShape.label = "CShape"; //var toolBar:WBShapesToolBar = sharedWB.shapesToolBar as WBShapesToolBar; //toolBar.addCustomShapeToToolBar(toolShape); data.addShapeToolBar(toolShape); //Custom Marker or Wave Pen. Refer to WBCustomMarkerShape to check what the shape does var wavePenToolShape:WBShapeToolBarDescriptor = new WBShapeToolBarDescriptor(WBShapeToolBarDescriptor.TOOL); wavePenToolShape.toolTip ="Custom Highlighter Pen Tool"; var markerShape:WBMarkerShapeFactory = new WBMarkerShapeFactory(); wavePenToolShape.shapeFactory = new WBCustomShapeFactory(WBCustomMarkerShape, WBMarkerShapeFactory.CURSOR_HIGHLIGHTER_PEN, new WBCustomMarkerToolBar()); wavePenToolShape.icon = ICON_CUSTOM_MARKER; data.addShapeToolBar(wavePenToolShape); //Triangle Shape var triangleShape:WBShapeToolBarDescriptor = new WBShapeToolBarDescriptor(WBShapeToolBarDescriptor.TOOL); triangleShape.toolTip ="Triangle"; triangleShape.shapeFactory = new WBCustomShapeFactory(WBTriangleShape, WBMarkerShapeFactory.CURSOR_PEN, new WBPropertiesToolBar()); triangleShape.icon = ICON_TRIANGLE; data.addShapeToolBar(triangleShape); //A bit buggy or incomplete.. Adding Images to the WhiteBoard //Modify WBFileImageShape or WBFileImageShapeToolBar for your custom Needs var imageShape:WBShapeToolBarDescriptor = new WBShapeToolBarDescriptor(WBShapeToolBarDescriptor.TOOL); imageShape.toolTip ="Image"; imageShape.shapeFactory = new WBCustomShapeFactory(WBFileImageShape, WBSimpleShapeFactory.CURSOR_RECTANGLE, new WBFileImageShapeToolBar()); imageShape.icon = ICON_IMAGE; data.addShapeToolBar(imageShape); toolBar.dataProvider = data; sharedWB.removeChild(sharedWB.shapesToolBar); sharedWB.shapesToolBar = toolBar; } } So to summarize the codeAdd the following lines in your codevar toolBar:WBShapesToolBar = new WBShapesToolBar();var data:WBToolBarDescriptor = new WBToolBarDescriptor(false); // False indica...

Views

97

Likes

0

Replies

0
Looking for LCCS expert - paid - Adobe LiveCycle 09-08-2010
Not sure if this is allowed here but...I'm looking to hire someone decently familiar with LCCS to help me finish a project. I'm particularly looking to finish some custom whiteboard elements and shape factories for a simple one-to-one videochat + whiteboard web application.PM me here if interested - thanks!

Views

454

Likes

0

Replies

0
Re: Creating Custom Toolbar Commands - Adobe LiveCycle 07-06-2010
Hi,You can do this.// Get your WhiteBoard toolBartoolBar.addEventListener(WBToolBarEvent.TOOL_BAR_CLICK, glow)protected function glow(p_evt:WBToolBarEvent):void{ if (p_evt.item.command == "glow") { //Your operations }}ThanksArun

Views

130

Likes

0

Replies

0
Re: LCCS Descriptor Classes - How to use them? - Adobe LiveCycle 04-06-2010
Still working on this project, and LCCS looks like such an amazing toolkit, but I wish it had more docs 😕 I would love some information on the descriptor paradigm thats being used

Views

143

Likes

0

Replies

0
Re: Vertically Oriented WebCamera - Adobe LiveCycle 29-05-2010
I'm pretty new to LCCS and flash in general, but I wanted to do something similar to you, simple functionality with a vertical layout, and I did it just using defaults and laying them out with vbox Maybe I am misreading what you are trying to do, but for me, this stacks up local and remote webcams vertically in the vbox

Views

137

Likes

0

Replies

0
Re: Problems with using whiteboard in flex 4. - Adobe LiveCycle 03-06-2010
I actually just figured out the fix without forcing any compatibility mode changes. Yup, for whatever reason the Spark UIComponent messes up rotation so that it's super-hard to subclass it (which our shape containers do). Here's a monkey-patched version of WBShapeContainer which fixes the issue. Just replace the source at com.adobe.coreUI.controls.whiteboardClasses . We'll make sure to get this in for the next release too. Thanks for bearing with us! nigel

Views

163

Likes

0

Replies

0