Design the future of fashion, win Firefly Pro 👗✨
-
Recently active
Is there any way to force the the paragraph terminator to not be on the same line as an InlineGraphicElement? Even if the graphic is wider than a page it still puts the terminator on the same line as the graphic. Most of the time I want it to work like this but I am running into a scenario where I really need ensure there is a textLine after a InlineGraphic and if I was able to have the line terminator on the line after the graphic everything will just work.Thanks,Joel Marks
Greetings.Is there any chance htmlText will be supported in Flex 4 and beyond (spark components).TLF seems promising and very powerful, but seems to be overkill for some cases.The simplicity of htmlText allowed for sharing the same content (ie stored in a databse) to a Flex and to an XHTML interface with CSS etc...Granted it had it's issues thus the question ... is support for that approach dead?Thank you all.
Hi,In Ant scripts we could set failonruleviolation="true" when executing FlexPMD and this will lead to failed build on violations.Is there something similar for FlexCPD?Thanks
Hi,I have been developing content using TLF with CS4 and in Flash Builder. Recently when I switched to CS5, there was this cool TLFTextField. So now I wonder, TLFTextField or TLF, which is better to use in CS5? Almost all of my text will be dynamically generated. Please share your thoughts - possibly with pros and cons.~ Shiyaz
Is this possible? Does the tool find all AS classes recursively under the source directory?
Hi All, I create a simple use flash builder 4,main code like <fx:String id="htmlText"> <![CDATA[ <p><img src="imagepath"/></p> <p><img src="imagepath"/></p> ]]> </fx:String> <s:TextArea w
When I type in TLFtextField dispatches RemovedFromStage events after each word! Why?var em:EditManager= new EditManager()em=txt.textFlow.interactionManager as EditManagervar MC:mc=new mc()MC.addEventListener(Event.REMOVED_FROM_STAGE,rs)txt.textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,u)em.insertInlineGraphic(MC,"auto","auto")function u(e:StatusChangeEvent):void{ if(e.status==InlineGraphicElementStatus.READY ||e.status==InlineGraphicElementStatus.SIZE_PENDING){ txt.textFlow.flowComposer.updateAllControllers() if(e.status=="ready")txt.textFlow.removeEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,u) }}function rs(e:Event):void{trace(e.type)}
I used to use a textfield as a mask when making gradient texts,but textLine elements seems not capable of using it as a mask,even though it supports another mask objects.( Is it a bug or specification or just my problem? )So I am trying to find another solution for this.I thought about blending mode or shader filter may work, but no luck.If I already know how many colors are used in gradients, maybe it's possible to make gradient filter with pixel bender, but I have no idea how to build a gradient filter with undetermined multiple color choices.Does anyone know a good solution for this?
This is the code I have written for testing in flexcover------------------------------------------------------------------------------<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flexunit="http://www.adobe.com/2009/flexUnitUIRunner" creationComplete="runMe()" > <mx:Script> <![CDATA[ import mouli.UIListener; import myComponents.Greeter; import org.flexunit.runner.FlexUnitCore; import org.flexunit.listeners.UIListener
Hi all,i'm trying to integrate pmd in our build with ant but get the following rror:[flexPmd] net.sourceforge.pmd.RuleSetNotFoundException: Can't find resource com/adobe/ac/pmd/rulesets/architecture.xml. Make sure the resource is a valid file or URL or is on the CLASSPATH [flexPmd] at net.sourceforge.pmd.util.ResourceLoader.loadResourceAsStream(ResourceLoader.java:28) [flexPmd] at net.sourceforge.pmd.RuleSetFactory.parseRuleSetReferenceNode(RuleSetFactory.java:284) [flexPmd] at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:251) [flexPmd] at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) [flexPmd] at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157) [flexPmd] at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146) [flexPmd] at com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.loadRuleset(AbstractFlexPmdEngine.java:184) [flexPmd] at com.ad
Hi I'm new to unit testing so I've been having issues...I am trying to run tests with parameters and I have fixed the errors up to here by browsing the net, but I can't find why this isn't working...Any help is greatly appreciated, thanks in advance=DHere is the test class:package flexUnitTests{ import flexunit.framework.Assert; import Game.Rand; import org.flexunit.runners.Parameterized; [RunWith("org.flexunit.runners.Parameterized")] public class RandTest { private var classToTestRef : Rand; private var foo:Parameterized; public static var inputInt:Array= [ [ 1, 20 ], [ 2, 8 ], [ 16, 18 ], [ 1, 100 ], [ 16, 80 ]]; &n
Hi there,I got a problem with my Flash IDE. When unticked "Automatically declare stage instance" for AS3 programming, I encounter an problem with my TLFTextField, debugger fire an Error #1009: Cannot access a property or method of a null object reference.The object is very basic, containing two TLFTextField called respectively title and info, my as3 class is very basic as well:package fr.lcclub.bubbles{ import fl.text.TLFTextField; import flash.display.Sprite; public class FlyInfo extends Sprite { public var title:TLFTextField; public var info:TLFTextField; }}Let me know if I am doing something wrong but as it is very basic I don't really see what can be misunderstood.Thanks for your help,RegardsSylvain Lecoy
Hi,Well, I'm using the simple example that comes with the tlf and now I'm making some customizations. Something that I'm need to do is to put some metatags on my text. For example, when the user type [sound:asdfas.mp3] i would like to mark this text with diferent style. Or, in some cases, the user can use variables on my text, for example [var;income] so, when the user choice to print the text, i replace this variable for a current value.Anyone has any ideia of how can I do it?Thanks.
I downloaded and installed the latest release (4.5.0.18623) which is no longer available for download. And now I can't run any mobile apps. I always get this error:[SWF] TestMobileProject.swf - 2,341,706 bytes after decompressionTypeError: Error #2007: Parameter type must be non-null. at flash.events::EventDispatcher/hasEventListener() at spark.components::View/set active() at spark.components::ViewNavigator/endViewChange() at spark.components::ViewNavigator/viewAdded() at spark.components::ViewNavigator/commitViewChange() at spark.components::ViewNavigator/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback()I assume this
I want to design a mobile application using Flex Hero SDK but when I change the tag to MobileApplication I get error please help I am using Flash Builder 4 (Build 272416).
Hi All,I am in need of Flex sdk 3.2.0 .Could You please anyone provide me the link to download the Flex SDK 3.2.0.ThanksPrakash.T
Hey Guys, I'm struggling with two issues using TLF within Flash CS5.1) I'm unable to get Anti-aliasing to work when using TLFTextFields in combination with htmlText.If I draw a TLFTextField on the stage within Flash IDE and set its Anti-aliasing to Readability then it will anti-alise correctly. If i dynamically change the .text property via AS3, then it still remains crisp, however If i change its .htmlText property Anti-aliasing is disabled and the text looks jagged.e.g.var tlfTxt:TLFTextField = new TLFTextField();tlfTxt.htmlText = "<p><font color='#000000' face='Century Gothic'>Testing <b>quick</b></font></p>";tlfTxt.antiAliasType = AntiAliasType.ADVANCED;addChild(tlfTxt);What is the best way to achieve Anti-aliasing this way?The same happens if I set a tlfMarkup and specify a TextFlow with styling.Also how am I able to change weight when using TextFlow? If I have Century Gothic Regular and Bold each embedded within my library, and exported for Act
When I run a series of tests and one (or more) fails, is there a way to tell the user interface the expected and actual result?
I am getting a compile error. Using FlexBuilder3 (3.4.1 SDK).FlexUnit 4I have the 5 swc files in my project's lib folder.Here is my code:<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:adobe="http://www.adobe.com/2009/flexUnitUIRunner" layout="absolute" creationComplete="init()"> <mx:Script> <![CDATA[ import flexUnitTests.TestSuite; import org.flexunit.runner.FlexUnitCore; import
in-----> http://forums.adobe.com/thread/734743?tstart=0when to doInsertImage,then add many words into the textarea named messageTA,when to scroll, the image dissapeared!!!!!!!!!!!!!!!!!Thanks for your help.
Hello Guys,I needed the last release of the TLF that has couple of bugs that I encounter fixed.I dropped textLayout instead the one that is in hero.It works until the moment I use editable controls then it says: ReferenceError: Error #1056: Cannot create property flashx.textLayout.edit:IEditManager::delayedOperations on flashx.textLayout.edit.EditManager. at spark.components.supportClasses::RichEditableTextContainerManager/createEditManager() at flashx.textLayout.container::TextContainerManager/invalidateInteractionManager() at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::convertToTextFlowWithComposer() at flashx.textLayout.container::TextContainerManager/mouseDownHandler() at spark.components.supportClasses::RichEditableTextContainerManager/mouseDownHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.managers::SystemManager/
Hello!I get this error when I try to updateAllControllers:TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.compose::BaseCompose/advanceToComposeStartPosition() at flashx.textLayout.compose::BaseCompose/composeTextFlow() at flashx.textLayout.compose::ComposeState/composeTextFlow() at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer() at flashx.textLayout.compose::StandardFlowComposer/internalCompose() at flashx.textLayout.compose::StandardFlowComposer/updateToController() at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()Does anybody know in what direction I need to seek to correct this problem?
Can the TLF produce a stroke on letters? For example, a white fill and a black stroke.
The ordering behavior between inherited test classes seems to have changed between FlexUnit 4 and 4.1 beta 2.Here is the order my test methods are running in:SubClass [After(order=9)]SubClass [After(order=10)]BaseClass [After(order=1)]4.0 did this:BaseClass [After(order=1)]SubClass [After(order=9)]SubClass [After(order=10)]I think the old behavior is correct... maybe a bug here?Thanks,Brian
InlineGraphicElement's bug:If the float(in fact,options) is set "left" or "right", if you move the image, yeah, it's ok, but if you resize it( set new height and new width), modifyInlineGraphic will do nothing.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.