『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi,I have created a Text editor using TLF 2. I want to add the Find/Replace and Search options to that.Please share your thoughts on how to do that...Is there any specific tool or library I can use for this?Thanks
Hi all,I just migrated Flex AIR application from SDK 4.1 to 4.5, and instantaneoulsy after building, the Flash Builder V4.0.1 started throwing random errors. The errors make no sense at all. The errors I get are:identifier 'someID' used more than once..., even though I have not used these ids more than once. Also, I get hundreds of these. And they don't disappear after cleaning or restarting.What is even more strange is these errors persist even when I swicth back to SDK 4.1. I have to manually remove 4.5SDK from the configuration list, and have 4.1 as my default SDK. This is very odd! Not sure where to look at!I am using Mac OS X 10.6 with Flash Builder 4.0.1. Please let me know how to fix these errors.Thanks!
I have tried playing around witht the 'PopupTest' application provided in the /C3/trunk/Libraries/PopupTest/ and have found 2 issues:Issue 1:Caiorngorm 3 Popups (either PopupWrapper or PopupFactory) gives me an error when used inside a Module.I am using Flex 4 with the following libraries:"parsley-flex4-2.3.1.swc""spicelib-flex-2.3.1.swc""popup-1.7.swc"And here is the error:Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.) mx.managers::PopUpManagerImpl/addPopUp mx.managers::PopUpManager$/addPopUp com.adobe.cairngorm.popup::PopUpBase/openPopUp com.adobe.cairngorm.popup::PopUpBase/set open ModulePopups/___ModulePopups_Button1_click Which occurs in here: PopUpManagerImpl.as at line 434: awm.activate(IFocusManagerContainer(window));Issue 2:Also the behaviours illustrated in the original 'PopupTest' application seem to have an issue with some missing behaviours from the com.adobe.cairngorm.popup.behavior.mx for <mx
In PMD there is the @SuppressWarnings java annotation that can be used to suppress all or individual warnings in a class. Is there anything similar that can be added in an AS or MXML file with FlexPMD?
Anyone knows? Are we going to see ipad tables in restaurants and cafe shops?
Hi,I have a paragraph with text and a link.The link contains a span (backgroundColor = blue, fontWeight=bold) and all properties of each link format (format, linkNormalFormat, linkActiveFormat, linkHoverFormat) inherit from the paragraph format.I added event listener on the link to manage tooltip.It works perfectly if paragraph.textAlign = "left" or "right" as shown in attached pictures.But if I change my code to paragrah.textAlign="justify" (without changing anything else), I obtain a bad result (as shown in attached picture) :- the backgroundColor on the span doesn't work anymore (but the bold is still working)- my tooltip event listener doesn't work anymore.I don't understand why, thanks for your help !OlivierPS : I used the build 13875.
Hi, I just want to know if you can inserta a video and a sound into a Text Layout?? Does TLF support it?ThanksMau0113
Hi,I tried posting this to Stackoverflow first, but no one has found a solution so I thought I'd try posting it here. I am using Flash CS5 and Actionscript 3.I need to dynamically (in response to an event) flip the wordWrap property of a TLFTextField from true to false and vice versa. I had it working with the old TextField class, but I I can't get it to work with TLF.I declare my field and set it up like so, with wordWrap set to true:this.field = new TLFTextField();field.multiline = true;field.wordWrap = true;field.autoSize = TextFieldAutoSize.LEFT;field.tlfMarkup = my_content;this.addChild(field);var myTextFlow:TextFlow = field.textFlow;myTextFlow.hostFormat = format; //format is a TextLayoutFormat declared earliermyTextFlow.flowComposer.updateAllControllers();To change the word wrapping, I've tried the following:field.wordWrap = false;field.multiline = false;var myTextFlow:TextFlow = field.textFlow;myTextFlow.flowComposer.updateAllControllers();But this has no effect - the tex
Hello,I'm having trouble working with lists, tabs and indents.Below the testcode I'm using:/** * @7111211 Stefan van Dinther */package { import flash.display.Sprite; import flashx.textLayout.formats.TextLayoutFormat; import flashx.textLayout.container.ContainerController; import flashx.textLayout.elements.ParagraphElement; import flashx.textLayout.elements.SpanElement; import flashx.textLayout.elements.TextFlow; import flashx.textLayout.elements.ListElement; import flashx.textLayout.elements.ListItemElement; import flashx.textLayout.formats.ListMarkerFormat; import flashx.textLayout.edit.EditManager; import flashx.textLayout.formats.TabStopFormat; public class ListTest3 extends Sprite { public function ListTest3() { var textFlow:TextFlow = new TextFlow(); var list:ListElement = new ListElement() list.listStyleType = "decimal"; list.listStylePosition = "inside"; list
I'm having trouble with these tests. I'm always getting Timeout Occurred for my sequence in the test testOnLogout.Any ideas?Timeout Occurred before expected eventTimeout Occurred before expected eventError: Timeout Occurred before expected event at org.flexunit.internals.runners.statements::ExpectAsync/handleAsyncTimeOut() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at org.flexunit.async::AsyncHandler/handleTimeout() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() package tests.view{ import flexunit.framework.Assert; import mx.events.FlexEvent; import org.flexunit.async.Async;import org.fluint.sequence.SequenceRunner;import
Hi,I am working on Flex 4.5 SDK and using Flash Builder 4 IDE for my Flex/AIR Desktop Application.In my project I want to load one html page in one of the canvas areas. I am using HTMlLoader to load my page. My web page loads successfully in the canvas area.The problem is that when I click on the links embeded in the html page that I have loaded, they do not open in my browser window.There is a property of HTMlLoader "navigateInSystemBrowser" which need to be set to true to allow the embeded links of the page to open in a default browser window. But this property works only in Flex 4.0 I tried running the same thing a sample project using Flex 4.0 as the SDK and it works perfectly fine. But when I work with Flex 4.5 SDK it does not works.Please suggest if there any other workaround to achieve this.Thanks,Nitika
Hi,I have a project which is using TLF 1.0. When adding lines to a container, it appears that if the bottom/last line's descenders will not fit within the container, then that line will not get added. In this case, we would like to mimic what InDesign does, in that the last line can have the descenders go below the container, as long as the baseline is within the container. Is there a way to get TLF to also behave this way?Thank you for the info.Will
Hey TLF Team,I posted these two issues as comments on your blog, but I had a feeling that that wasn't the proper venue. Also, if anyone else discovers similar issues, now there's a place to post and discuss them.The issues in question involve parts of the TLF that throw security sandbox violation errors when the framework is used in a SWF that's loaded from another security domain. By allowing the loaded SWF's domain to cross-site-script, these problems go away, but not all content can be trusted with cross-site-scripting. TLF contains an interface called ISandboxSupport, so I'm certain you guys have considered the issue already. This is just a list of errors that crop up in the current TLF version.SelectionManager.checkForDisplayed(), attempts to climb from the container's parents to the stage, to determine whether the container is in the display list. A current workaround is to make the container a subclass of Sprite, which overrides the parent getter to return the stage.ContainerCo
Hi All,I have been beavering away developing an Eclispe plugin for FlexUnit and would like your feedback.To get this free plugin simply visit: http://www.codesquared.com/eclipse/installinstructions.htmlLet me know what you think.Mark
Am try use FlexPMD on big project(about 1000 classes, ~6mb code), same configuration on small project(about 350classes, ~ 1.2mb code) work fine.FlexPMD lastest - 1.1Java - 6 ver 19org.apache.ant_1.7.0.v20080306191039 <target name="flexPmdWithDefaultRuleset"> 40 <flexPmd 41 sourceDirectory="${src.dir}" 42 outputDirectory="${bin.dir}"/> 43 </target>Buildfile: d:\ant\flexPMD.xmlflexPmdWithDefaultRuleset: [flexPmd] 05.05.2010 12:48:56 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset [flexPmd] INFO: Ruleset: C:\Temp\default_flex3199696228101358228.xml [flexPmd] 05.05.2010 12:48:56 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset [flexPmd] INFO: Rules number in the ruleSet: 90BUILD FAILEDd:\ant\flexPMD.xml:42: java.lang.StringIndexOutOfBoundsException: S
Is the Cairngorm 3, "ModuleViewLoader" loading modules into child application domains by default, or we have to do it our self like this:public function init():void{ var childDomain:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); modelLoader.applicationDomain = childDomain; }<module:ModuleViewLoader id="moduleLoader" moduleId="{ moduleId }" moduleManager="{ moduleManager }" skinClass="com.adobe.cairngorm.module.ModuleViewLoaderSkin" visible="{this.visible}" &n
Hi,I have created a Text editor using TLF 2 with RichEditableText component. When I right click the editor I get a context menu with cut/copy/paste/delete/select all options.I need to customize this context menu with the actions I want to add. But I can't find in the code how that context menu appears.I can see the same context menu in the TLF demo also (http://labs.adobe.com/technologies/textlayout/demos/). But couldn't find the code how/where it is get called when right clicked.Please explain to me how that happens. What is the event fired for right click and where it is handled in the TLF and how the context menu is added.Thanks
Hello, I have this problem.In my application i have datagrid1, and when i click on the field i create popUp, this popUp has another datagrid2 and i can add new field to it.My problem is this: when i click on the field datagrid1 the first (i create popUp) and add new field to datagrid2 then adding only 1 field, but if i close this popUp, and click again (i create new popUp) and add new field then adding 2 fields and etc 3-4-5....This i show some peace of code.Here i create popUp with datagrid2:private function targetValueCED(e:Event):void{ var popUp:TargetValueView=TargetValueView(PopUpManager.createPopUp(this,TargetValueView,true)); popUp.targetOb = targetDataGrid.selectedItem as TargetVO; popUp.x=this.width/2 - popUp.wi
We are working on a client-server based visualization system. Our client is written in flex and comprises two main views: A design view that shows a flow diagram where users define modules and module relations, and a semantic view that shows the visualization views.The client was originally written in Flex 3, naturally we want to use Flex 4 right now. However, when switching to Flex 4, throughout the application we experience major performance losses. To quantify this we have picked a representative client action: The switching from the semantic view to the design view (only one is visible at a time, see my short video: http://old.vrvis.at/download/hiaMoh4M/flex4issues.mp4 ). We use a fade effect for the transition between these two states, however, the fade effect starts very delayed if we go for Flex 4 without the Flex 3 compatibility mode.We did timings for 4 cases:1. Flex 4 with Flex 3 compatibility mode:
Hi,I am working on a TLF editor. I set the selectionHighlighting = "always" for the RichEditableText and everything is fine. The text remains highlight when the control is unfocused. However, after I added the EditManager,richEditableText.textFlow.interactionManager = new EditManager(new UndoManager());The selectionHighlight = "always" not works anymore, the text highlight color changed and no more follow the "focusedTextSelectionColor", "unfocusedTextSelectionColor", "inactiveTextSelectionColor".How can I use the selectionHighlighting = "always" with the EditManager at the same control? Thanks
I have a project which uses a RichEditableText component with a textflow markup with some images (SWF). Sometimes, i'm not sure exactly what triggers this problem, I run into a null reference exception inside ContainerControl.as. This is where things go wrong starting from line 3178:while (containerListIndex == -1 && floatIndex > 0) { floatIndex--; floatInfo = _composedFloats[floatIndex - 1]; containerListIndex = _floatsInContainer.indexOf(floatInfo.graphic); }In
Can I change Flash Builder's default player? now it directly goes to C:\Program Files\Adobe\Adobe Flash Builder Burrito\player\win\10.1
Hi,Is there a way in TLF to get the number of changes made to the TLF text ? Like if I have applied underline to some text, or changed the font size, etc.Can I get these changes made to the text ?Like whenever I do an operation, can I store the operation each time an operation gets completed.
Hi,I just read the Wiki page about Fluint Sequences at http://docs.flexunit.org/index.php?title=Sequences#Sequences_from_Fluint. I really would like to use sequences as it seems a great way to test flows in UI components.So I created a first test based on the examples in the wiki. Unfortunately it does not work as I hoped.The testcase:package flex.filter.eventFilter.view{ import flash.events.Event; import mx.events.FlexEvent; import net.digitalprimates.fluint.tests.TestCase; import org.fluint.sequence.SequenceRunner; import org.fluint.sequence.SequenceSetter; import org.fluint.sequence.SequenceWaiter; public class RelativeDateInputFluintSequence extends TestCase { private var form:RelativeDateInput; [Before(async)] override protected function setUp():void { form = new RelativeDateInput(); &nb
Hi, I want to align my html text in a textarea where there are like two different string which are left and right aligned. How do it do that?E.g. I want to write a name and the time stamp in the manner: ———————————————–------------------------------------------------------------------------------------------------- MyName  
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.