『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi, I looked at the developer documentation on how to build it locally at http://opensource.adobe.com/wiki/display/flexpmd/Developer+documentation .When I run step 7: mvn packageI get this error[INFO] Scanning for projects...[INFO] ------------------------------------------------------------------------[INFO] Building Maven Default Project[INFO] task-segment: [package][INFO] ------------------------------------------------------------------------[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.[INFO] ------------------------------------------------------------------------[INFO] For more information, run Maven with the -e switch[INFO] ------------------------------------------------------------------------[INFO] Total time: <
I am a newbbie.I am switching from dynamic textfields to TLF to accomodate the Arabic market(Right to left).In my app, I would drag to the stage a "speech bubble"(with a nested TLF component) from a graphics library.Then I would type something on a Editor(TLF component) and click submit.The text should appear in the "speech bubble" but I don't know how to do that.I can get the content from the Editor through var out:String = TextFilter.export(enteredText.textFlow, TextFilter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE);Thanks
I'm getting these errors when I try to merge the new trunk revision with my branch... svn merge http://opensource.adobe.com/svn/opensource/flex/sdk/trunk http://opensource.adobe.com/svn/opensource/flex/sdk/sandbox/viatropos Skipped missing target: 'frameworks/projects/spark/src/spark/components/Label.as'Skipped missing target: 'frameworks/projects/spark/src/spark/components/RichText.as'Skipped missing target: 'frameworks/projects/spark/src/spark/components/RichEditableText.png'Skipped missing target: 'frameworks/projects/spark/src/spark/components/RichText.png'Skipped missing target: 'frameworks/projects/spark/src/spark/components/RichEditableText.as'Skipped missing target: 'frameworks/projects/spark/src/spark/components/Label.png'Skipped missing target: 'frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as'Skipped missing target: 'frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as'Skipped missing target: 'framework
I am trying to fix the PMD violation (info) in one of my projects and I can't seem to be able to do so. I have added relevant copyright information in one of my action script files eg.///////////////////////////////////////////////////////////////////////////////// Copyright (c) 2009 Jeffery Fernandez.// All rights reserved. This program and the accompanying materials// are made available under the terms of the GNU Public License v2.0// which accompanies this distribution, and is available at// http://www.gnu.org/licenses/old-licenses/gpl-2.0.html// // Contributors:// Jeffery Fernandez - initial API and implementation////////////////////////////////////////////////////////////////////////////////and then re-ran the FlexPMD over my code base. It still complained about the missing copyright headers. Can anyone point out what I am doing wrong?cheers,Jeffery
Hello folks,I need to use something like "</br>" tag inside paragraph tag in TLF but I can't find anything working. Is there a tag or something that could solve my problem? I use paragraphSpaceAfter to have a gap beetween normal paragraphs and I want to break a line without this gap. like thisAddressStreetphone no.1phone no.2EmailBtw I know that I can set paragraphSpaceAfter=0 between this two lines but when I have everything set up in AS class it is hard to do. I need this text to be fetched from a database and it has to be also updated via Flex-based admin site. So it would be easy if I could add <p paragraphSpaceAfter =0> between phone numbers but such tags are ignored in Flash with embedded fonts and other props of TextLayoutFormat. Am I right?So is there a tag that could do a trick, or how to force Flash to prefer tags in fetched text.cheers
Hi.When loading a long text using TextFilter.importToFlow, it freezes. (even with TextFlow.addChild(BIG_ELEMENT))Could anyone tell me how to avoid it or if it is possible or not?Thanks.Yoshiki
Revision: 10032Author: gruehle@adobe.comDate: 2009-09-04 14:49:35 -0700 (Fri, 04 Sep 2009)Log Message:***********Set redrawRequested in BorderSkin.updateDisplayList. This clears out any lingering drop shadows and forces a redraw of the border/background.QE notes: -Doc notes: -Bugs: SDK-23029, SDK-23032Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23029 http://bugs.adobe.com/jira/browse/SDK-23032Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml
Revision: 10030Author: gruehle@adobe.comDate: 2009-09-04 12:24:42 -0700 (Fri, 04 Sep 2009)Log Message:***********When borderStyle="none", make sure backgroundColor fills the entire area.QE notes: -Doc notes: -Bugs: SDK-23028Reviewer: none yet (all out to lunch)Tests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23028Modified Paths:************** flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml
Revision: 10028Author: gruehle@adobe.comDate: 2009-09-04 11:52:57 -0700 (Fri, 04 Sep 2009)Log Message:***********Fixed merge issue regarding default value for dropShadowVisible. This will fix the missing drop shadows on Spark Panel and DropDownList.QE notes: -Doc notes: -Bugs: SDK-23027Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23027Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/spark/defaults.css
I just checked in some changes around the spark text components for Flex 4. The summary is: Replace SimpleText with Label, a UIComponent version of the same component Instead of extending GraphicElement, RichText will extend UIComponent (like Label will) All of the spark text components will move to spark.components.*, so there will be spark.components.Label, spark.components.RichText, and spark.components.RichEditableText The base class for SimpleText and RichText, spark.primitives.supportClasses.TextGraphicElement, will now extend UIComponent (instead of GraphicElement) and be moved and renamed to spark.components.supportClasses.TextBase. All of our text skin parts will now be typed as TextBase instead of TextGraphicElement For now, RichEditableText and RichText will co-exist. Performance numbers showed that it may be possible to collapse them, but we don't have the time right now to do this. We will revisit this later on, time permitting. A more extensive writeup around the
I'm still familiarising myself with the Classes and methods of the Text Layout Framework. I've been looking for how to achieve two very simple things.Can someone more familiar with this framework give me a lead?...1. How do I get at the Markup Text for a TextFlow? I know how to import markup text - but where is it accessible after that?2. I can see how to set selection focus - but how do I lose it? Unfocus?
Revision: 10024Author: gruehle@adobe.comDate: 2009-09-04 10:13:32 -0700 (Fri, 04 Sep 2009)Log Message:***********Fix regressions from "More styles for Spark skins" checkin.Remove redundant Group tag from BorderSkinSupport borderStyle="none" for TextInputBorderSkinMade BorderSkin work correctly when borderStyle="none" and contentBackgroundColor is setQE notes: This should clean up a bunch of mustella failuresDoc notes: NoneBugs: SDK-23004, SDK-23008, SDK-23011Reviewer: CoreyTests run: checkintests, basictestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23004 http://bugs.adobe.com/jira/browse/SDK-23008 http://bugs.adobe.com/jira/browse/SDK-23011Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml
HiI have used inlinegraphic using this i am able to insert images like chat text window. they remains in sigle line and i m unable to text wrapping around images. One Idea is to create several containers around image and write my own class to mange graphic alignment and other stuff. Does TLF provides any quick way for text wrapping around graphics?Thanks
I wrote some notes on TLF markup and published them on the TLF blog.http://blogs.adobe.com/tlf/2009/09/tlf-markup-overview.htmlIt's pretty basic - the goal is to give you the tools to understand the markup.Hope it helps!Richard
For some reason none of the resource bundles are being included in my application using the latest sdk checkout, what can this be from?- Compiler not generating the classes?- build file error?Thanks so much, I can't find a work around.Lance
Revision: 10006Author: gruehle@adobe.comDate: 2009-09-03 15:04:47 -0700 (Thu, 03 Sep 2009)Log Message:***********Initial checkin of the "More styles for Spark skins" feature. Details here:http://opensource.adobe.com/wiki/display/flexsdk/MoreStylesforSparkSkinsThere are some known issues:Panel bottom corners not rounded correctly when the panel has a control barcornerRadius on Tab and DateChooser non functionalcornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like componentsTextInput/TextArea incorrectly list lineBreak and verticalAlign as valid stylesThis checkin also includes a couple minor unrelated bug fixes:Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5 Fix RTEs when setting focusSkin to nullOptimization: don't measure skins if the host component has explicit sizesQE notes: Yes, many baseline images will need to be regeneratedDoc notes: New ASDoc comments should be scrubbed Bugs
Hi,I'm trying to run a test suite on a remote object.It works fine, but i want to do a "scenario" with async request.Here is my source : [Test(async)] public function ping():void { //_proxyTest.addEventListener(FaultEvent.FAULT, Async.asyncHandler(this, onNotWantFaultEvent, SHORT_TIME, null, onWantTimeOut), false, 0, true); Async.failOnEvent(this, _proxyTest, FaultEvent.FAULT); _proxyTest.addEventListener(ResultEvent.RESULT, Async.asyncHandler(this, onWantResultEvent, SHORT_TIME, null, onNotWantTimeOut), false, 0, true); _proxyTest.ping(); } &nb
Is there a way to list all the classes in the application (all the imports)?I would like to be able to get ahold of a list of the classes using the Compiler API or just in Actionscript.Thanks for your help,Lance
HiI wrote simple code by using TLF.It generated three text box with different textAlign.But, the result of the same code is different by the textLayout.swc version.Why is the result different?Tried textLayout.swc is bundled with... Flex 4 SDK_4.0.0.7219 Flex 4 SDK_4.0.0.9437OS: WinXP SP2SDK: ver 3.4Tool: Flex Builder 3<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"> <mx:Script> <![CDATA[ import flashx.textLayout.formats.TextLayoutFormat; import flashx.textLayout.container.ContainerController; import flashx.textLayout.elem
I found a bug with undo when I make one or more operations ApplyFormatOperation sequentially. this breaks the stack of undo, not undoing the other operations when press control-z, or call undo();<s:RichEditableText width="500" height="500" content="Lorem ipsum dolor sit amet" id="rt" />function applyFormat(){ var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat(); textLayoutFormat.fontSize = 20; textLayoutFormat.color = 0xFF0000; rt.setFormatOfRange(textLayoutFormat);}applyFormat();//Then after I select another part of the text and call againapplyFormat(); //or moreORfunction applyFormat(){ var cf:TextLayoutFormat = new TextLayoutFormat(); cf.fontSize = 20; IEditManager( rt.textFlow.interactionManager ).applyLeafFormat(cf);}applyFormat();//Then after I select another part of the text and call againapplyForm
Revision: 9939Author: aharui@adobe.comDate: 2009-09-02 14:11:43 -0700 (Wed, 02 Sep 2009)Log Message:***********Resubmit: Panel skin changes per XD spec, and a few other Panel Skin bugs. Default Panel size changed to match spec. Panel titles are now single-line and show ellipsis.QE Notes: Lots of Panel-related bitmap compares will need upgradingDoc Notes: NoneBugs: SDK-21680, SDK-21671, SDK-21666, SDK-19962, SDK-19959Reviewer: RyanAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/managers/PanelTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-21680 http://bugs.adobe.com/jira/browse/SDK-21671 http://bugs.adobe.com/jira/browse/SDK-21666 http://bugs.adobe.com/jira/browse/SDK-19962 http://bugs.adobe.com/jira/browse/SDK-19959Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml flex/sdk/trunk
In the layouts, I need to perform certain actions just as the layout is basically "attached" to the group, and when it is "detached". A few of the basic cases are hardcoded right in the GroupBase's layout accessor, such as setting the target to null and removing an eventlistener, and I would like to customize that.For instance, some layouts might modify the includeInLayout property on their children, or might add an offset to the position that's required for the layout, for centering, rotation, etc.... So when I switch layouts, I need to make sure I reset the defaults, in the "detach" method.public interface IAttachable{ function attach(target:Object):void; function detach(target:Object):void;}You can also use that for an IAnimator, if there was one, and IController, or ICamera, ILayout, etc.- Lance
hi there as described in title, i'm having troubles exporting an InDesign comp in a decent waymy quesitons are:1 - It exists a DTD for Text Layout Framework Markup Language ?2 - Is there an export module that make me able to do it automatically? because tagging all the elements is a pain, and there is just a little documentation about the markup languageIf not, are there any plans to do it?I personally think that an export module will be very helpful and will score another goal on products' integrationThanx for your time
Hello,While trying to work with a revised version of the CSSFormatResolver class (created by timoisalive and posted on this thread) the compiler threw the following error:1061: Call to a possibly undefined method getChildAtIndex through a reference with static type flashx.textLayout.elements:FlowGroupElement.The method originates from within the invalidate() method of the CSSFormatResolver class. public function invalidate(target:Object):void { delete _textLayoutFormatCache[target]; var blockElem:FlowGroupElement = target as FlowGroupElement; if(blockElem) { for(var idx:int = 0; idx < blockElem.numChildren; idx++)
Here's something I just thought about, trying to draw a distinction between Animations and Effects.ANIMATORS are what bring things to life. They are acting on changes within the object it is a part of (or attached to) to make the changes in its properties look realistic. All living objects should have an animator, like the way a plant or an animal has an "animator"... it doesn't move by something outside itself, unless acted on of course.EFFECTS are common types of animations the Animator performs. For instance, and animator can "move" and "resize" an object, or "rotate", "pixelate", or even "bend" an object. Those are all effects, but in the end the Effects are just modifying properties, through an Animator.TRANSITIONS are EFFECTS played between two states. They aren't animations themselves, they're just triggers for effects.The Animator is the core object doing the animation, and should be part of an object, to bring it to life, but it can also act on ot
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.