『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Could you guys be my heros and rename the include files in the TLF source to NOT be *.as?FDT hates that and won't let me compile because it detects that the file doesn't contain a valid class. eg, in my local copy, I changed them to *.as.inc and everything's lovely.
Hi everyone,I have an issue regarding TLF which I have got stuck with. Actually my requirement is regarding the TextFlow.I am working on an app which should load an XML and display it on a TextArea, and I was interested in using the TLF for the same.Now the problem is that I have an XML which has tags such as <ParagraphStyle>,<CharacterStyle>. So now I saw some exapmles and was wondering that how can we use textFlow for the same as the TextFlow syntax supports tags like <p>, <div>, <span>, etc.So what should I follow for the same ?
Flex 4.1To reproduce :Place cursor in textFlow, select nothing.CopyPasteThe text "null" is inserted instead of the expected "" empty string.I've created a workaround, we can listen for paste events and manipulate the pasted content.myTextFlow.addEventListener(FlowOperationEvent.FLOW_OPERATION_BEGIN, handleFlowEvents);... private function handleFlowEvents(e:FlowOperationEvent):void { if (e.operation is PasteOperation) { trapPaste(e.operation as PasteOperation); }} private function trapPaste(po:PasteOperation):void { var pasteTxtflow:TextFlow = po.textScrap.textFlow pasteTxtflow.interactionManager = new EditManager(); if (pasteTxtflow.mxmlChildren.length == 1 && pasteTxtflow.getFirstLeaf().text == "null" && pasteTxtflow.getFirstLeaf() is SpanElement) { (pasteTxtflow.getFirstLeaf() as SpanElement).text = ""; return; }}
In the Name of GodHi everyone,I have been trying to get getEventMirror from tfl_internal working in my project and so far, no luck...No even is dispatched at all, not FlowEvent, nor MouseEvents... It is so frustrating...Even the copy paste of the TFL group's exmaple project does not work.I am on FB 4 and Flex SDK 4.x (not hero)... actually I'm working on the BB Playbook sdk.Am I missing something?
I tried Buritto with Hero Beta and discovered some bugs particularly in SWFLoader (critical/major problem for me).I've submitted my bug, and thought well lets try to get an update.I've downloaded the SDKs 4.5.0.17855 and also 4.5.0.18623 as well as the latest (un marked AIR2.5 in an attempt to merge them as I've seen that somewhere else too).Anyway my MobileApplication when switching to the latest updated SDKs says "The selected Flex SDK does not support building mobile projects."!Where does one find nightly builds of the proper Buritto SDKs that support the Mobile Applications?Where do you find nightly builds? I got my latest ones from..http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+Herobut again totally unusable!?! so where to I go now??!.I hope I'm even submitting this to the right forum it's really hiding from people nothing on the web much about Buritto/Hero or here we still call Flash BUilder Flex or what?
Hi,I'm trying to to accomplish a multicolumn text (selectable, but non-editable) with simple html/css formatting (with a, b, h1 and span tags) in a Gumbo AS3 project. I'm loading the html text and css styles from external files.Currently I'm using the CSSFormatResolver class from the SimpleEditorWithCSS example, with modifications to work without Flex specific classes. It works somehow, but not completely. Some of the styles from my css get applied to the paragraphs (font style and color for example), but some not (for example columnCount). For links (a tags) I'm not able to apply styles, and special styles (marked with span tag and styleName attribute) work depending on how I'm importing the text (TEXT_LAYOUT_FORMAT seems to work, HTML_FORMAT doesn't).Are this kind of features supported in TLF at the moment, and if they are, what would be the easiest way to use them? Should I be able to import html text as it is, or should I parse it and import in text layout format? Is there a refere
Here is a Jing of the issue done on the tlf example editor. I will go through the process to reproduce it as well.http://www.screencast.com/users/mkracum/folders/Jing/media/e4ce9354-ccd4-46f7-aa84-1a88ba752d48Steps to reproduce:Write two lines of text.Copy the return character and the last word of the first line.Paste it at the end of the first line.Undo. (The return simply disappears, it should still be there)My best guess is that the paste says it has the length of the word plus the return char that it is pasting, but when it pastes the return character that was already there merges with the one you are pasting. When you undo it thinks that it should undo the length of the word plus the return, but in actuality the return wasn't added, it merged with the one that was there causing an extra char to be removed.Looking for a solution. I have been digging for the problem, but I figure someone may be able to narrow my search a bit. It is causing RTEs in certain cases, so I need to get it
If I want an editable TLF field, no wordwrap, that is un-restricted in length, I have to set the ContainerController composition size width to NaN.That works ok (well*...) but if I do this, the caret often goes missing at the beginning / end of the line. To fix it, I searched the TLF source for selection scrollRect and subtracted one pixel from the x, and added two pixels to the width.Can someone tell me whether this was a bad idea or not?thanks,:j(* writing an editable field from scratch is a nightmare!)
I'm looking at TLF to replace our Director functionality. I'm impressed by TLF's layout abilities but have a few questions related to printing, etc:- How robust is the printing capability? For example, would it be easy to scale a single page to print "poster size" on four pages? Would I also be able to easily reduce the size on printing? Note that I'm looking for built in functions apart from what is available in the print driver.- Is the printing vector based or is everything rasterized before sending it to the printer? What about postscript printing?- How robust is the mouse handling? For example, would it be easy to get the click location as an (x, y) coordinate and as a (column, line)?Thanks in advance,Brian
this doesn't seem to work in FU 4.1RC1.here is a code snippet from the TestRunner.mxml app that is produced:import Pages.Company.Filter.TrayPresenterTest;import Pages.Transaction.Filter.TrayPresenterTest; public function runTests() : void { var core : FlexUnitCore = new FlexUnitCore(); core.addListener(new CIListener()); var request:Request = Request.qualifyClasses.apply( null, [TrayPresenterTest,TrayPresenterTest] ); core.run(request); }i get the following error:/Users/jlage/Development/workspace/hmcp/build/TestRunner.mxml: Error: Can not resolve a multiname reference unambiguously. Pages.Company.Filter:TrayPresenterTest (from /Users/jlage/Development/workspace/hmcp/src/test/flex/Pages/Company/Fi
I have a working test that tests a service that returns an AsyncToken. I am using AsyncResponder instead of any of the Aysnc Flexunit stuff. Is this OK?One thing I don't get is that the passthroughData get passed to the onResult method, even though AsyncResponder doesn't pass on anything other than the event. [Test(async)] public function testAttemptLogin():void { var token: AsyncToken = objectToTest.attemptLogin('k'); token.addResponder(new AsyncResponder(onResult, faultHandler)); } private function onResult(event:ResultEvent,passthroughData:Object):void {//assertions }
I'm using flex sdk 4.1 and have a situation where a button click is sometimes called twice. I am writting a test for this using a sequencer and it will run for at least one button click, what I am not sure is how to test for multiple click events(which shouldn't happen, but occours randomly in my project)package tests.view{ import flash.events.MouseEvent; import flexunit.framework.Assert; import mx.events.FlexEvent; import org.flexunit.async.Async; import org.fluint.sequence.SequenceEventDispatcher; import org.fluint.sequence.SequenceRunner; import org.fluint.sequence.SequenceWaiter; import org.fluint.uiImpersonation.UIImpersonator; import views.AddComments; public class TestAddComments {&nbs
In the new TLFTextField, the caret color remains black even after the text color has been changed, unlike the classic TextField which changes to the color of the text. This is a problem if I have a dark background and I can't see the caret. Is there any way to change the TLFTextField caret color?
The READY event fires before the loaded has been scaled to the InlineGraphicElement's dimensions.I see the content (a swf) briefly at its original size before it automatically gets sized to the correct dimensions.I never receive a SIZE_PENDING event.I would like to be ale to listen to the actual LoaderInfo and listen for the INIT event.In the code for the InlineGraphicElement it just listens for COMPLETE: loaderInfo.addEventListener(Event.COMPLETE,loadCompleteHandler,false,0,true);I think it should either expose the loaderInfo or rebroadcast the INIT event.I have resorted to setting the InlineGraphicElemen.graphic.visible to false on READY and then adding an ENTERFRAME listener and switching it to visible after a frame - this is not a good or reliable solution.If anyone has any ideas - I'd love to hear them - perhaps I am missing something?
I am a professor at a medical school and am completely new to Photoshop. A few years ago, I created a number of educational tools for my students using the Open Office drawing program (saved in JPEG). These consisted of various photos taken of human tissue samples, to which I added arrows and text labels indentifying important parts. I would like to make some modifications to these images, adding new arrows and text in some cases and in others simply changing the text that already is there.If I use the eraser function to remove text, it not only takes the text but also the underlying image. Is there a different way to do this so that I can retain the image underneath? Alternatively can I fill and blend the white swatch left by the eraser using material around it?I have been looking through the tutorials, but have been unable to find one that addresses an issue like this. Can someone help me or at least point me in the right direction?Thanks!
Hi,I want to get the count the lines of the spark TextArea...Please help me...
I checked out the code from the trunk directory and am trying to attempt to get my local environment setup so I can make my own rules; however, when I initially run "MVN package" per the instructions I receive the following error. Is this swc required or should I remove the dependency for it?Thanks!Andrew[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to resolve artifact.Missing:----------1) com.adobe.cairngorm:event-source:swc:1.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.adobe.cairngorm -DartifactId=event-source -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupI
I'm looking at the catalog.xml of several SWCs. What exactly are the format? How are the signatures and digests created? In the ASC source, dependency types correspond to inheritance, signature, namespace, and expression dependencies. I get the inheritance one, but I don't get the rest. Would someone mind explaining the meaning of these? I know quite a bit about the ABC format (I wrote my own compiler), but not ASC.
I was wondering is there is any specific way to make TFL insert/not insert line breaks when it is rendering a paragraph.So far, I have tried this with no success:1. Inserting spaces/ even so many of them, also while setting the whiteSpaceCollapse property to preserve.2. putting the fragile text in a seperate span or div.3. Inserting the fragile text in <nobr> HML tag.Please note that I am importing text from a HTML, though I am not bound to it, I just found HTML easier to build and then convert as I am no expert in TFL.BTW, the intendeded fragile text is like (123) and the breaks only take the leading or ending pranthesis off no break in the numbers and I need to keep them together as I am using a special font in which pranthesis make some nice round circle around the text, so one of them going off breaks the thing.any thoughts?PS. Can it have something to do with the font?
Hye,I made a component which contains a spark List with custom ItemRenderers and I like to print it. Is there any solution to do it with all the data print on different pages and the correct ItemRenderer for each one.Thank you for your help...
Hi all!How can I set my own class to process waypoints? I created the class which extends com.adobe.cairngorm.navigation.waypoint.AbstractWaypoint. And added the following metadata to my ViewStack: [Waypoint(type="path.to.my.Class")].However when I try to navigate to this ViewStack's child I receive the following error:Error: Unable to set mapped value for [Property type in class com.adobe.cairngorm.navigation.waypoint.decorator::WaypointDecorator]What am I doing wrong? How can I use my own classes to process Waypoints and Landmarks?
We are taking a end of the year holiday break, starting today and returning Jan 4. This means the TLF team may be slow to respond to posts made during this time. We'll be back Jan. 4, and will respond to any unanswered threads at that time.TLF Team wishes you a happy holiday & happy new year!Robin Briggs
Hi,I want to use Eclipse IDE with Flex 4 SDK but am unable to do so. I have looked at various blog posts & threads dealing with the same, most of them are obsolete(in the sense posted way back in 2005/07 with very old Eclipse releases) or I am not getting the desired results.The links I have referred to are below-http://arunbluebrain.wordpress.com/2008/12/05/flex-40-gumbo-tutorial-installing-flex-40-sdk-in-eclipse-ide-flash-player-10/http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfmhttp://www.roseindia.net/flex/compiling_flex_on_eclipse.shtmlhttp://blog.wezside.co.za/2008/01/complete-starter-guide-to-develop-flash.htmlI have tried the trial of Adobe Flex Builder & it was really a painless job to get going. But right now I cannot afford a license of the same so I am looking at open source alternatives.Can anyone help the newbies like me by giving a brief walkthrough regarding installing Flex SDK on Eclipse, it would be of great help.Thanks in advance,Rag
Hi,After following thru' and fixing with all the earlier errors as advised, am trying to run the insync-basic app and getting this error now:Firefox can't establish a connection to the server at localhost:8400and FlashBuilder seems to hang and timeout.Do I need to run some other service ?(The web server is already running on localhost and other Flex apps are working)Plz advise ASAP,Gary
OK, starting a new project and would love to build it out with tests this time. I've gone through all tutorials I can find but still have lots of questions. Does anyone know of a good walk-through of a real project or good blog? It's confusing to the novice (at least me) who has no JUnit experience. I'm not even sure if the tests are generally built in with the dev project or are a parallel project where one creates the tests, the classes that address the failed tests which are then ported over to the real app, etc. Those are pretty basic questions and I'm surprised I haven't found a good answer so suggestions are welcomed. The short tutorials, like Elad's and the blog, provide enough detail about the specifics but don't provide a global overview of how a test-driven project develops, imho.
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.