Design the future of fashion, win Firefly Pro 👗✨
-
Recently active
I am not able to write text in Hindi in flex running application. I have installed Hindi font by window system CD and all I did for font installation.But still I am not able to write in Hindi in the running flex application by using Flash Player with all version. I am able to write text in Hindi in MS Word, even in the flex builder editor and all the place but not in the running application.Is Flash Player doesn’t support Hindi Writing?My running application support all other languages except Hindi. Please help me. It’s very urgent. Thanks In Advance
Can't able to get integration library integrated with flex3 builder. What am I missing?Flex 3Main file: main.mxmlNo other setting on flex compiler for metadatalibraries used:parsley-flex3-2.2.2.swc,spicelib-flex-2.2.2.swc,integration-flex 3-0.13.swcCompiles well but throws the following error on runtime:---------------------------------------------------------------------- ---------------------------------------------------------------------- ----Cause(0): Initialization of ObjectDefinition for Class com.adobe.cairngorm.integration.data::DataCache failed - cause: Error: The synchronized type much have a property marked with the [SyncId] metadata.at com.adobe.cairngorm.integration.data::DataCache/findIdentityProperty( )at com.adobe.cairngorm.integration.data::DataCache/initialise()at Function/http://adobe.com/AS3/2006/builtin::apply().....[truncated]---------------------------------------------------------------------- --------------------------------------------------------------------
Hi There, I'm working with the Adobe Navigation Library. I'm trying to do something with a PM where instead of defining the [Landmark] tag on the class itself, I want this to be assigned dynamically for that type (or for an id) from the context, so that a particular PM class could be reused in different navigation schemes in multiple apps. In the Navigation library, there's a LandmarkDecorator (extends ObjectDefinitionDecorator) which is looking at the ClassInfo ONLY, and the [Landmark] decoration from the mxml tag doesn't appear in ClassInfo of course. At that point, for other tags which work in conjunction with [Landmark], it throws an error because it cannot see a [Landmark] tag. What I want to do is: 1. Attach the [Landmark] (and other) Navigation tags to objects at runtime using tags in mxml or xml 2. Possible modify the AbstractNavigationDecorator to see the dynamically-added tag(s) so that the Landmark prerequisite can be satisfiedAlso, here's what the mxml looks like: <Objec
Error: Error #2030: End of file was encountered.I'm getting the above error when my swf is published to a live server. I know it has something to do with the textlayout because if i add the textlayout.swc as embedded code in my .fla I get no errors.
Hi guys. I'm having trouble when integrating FlexPMD with Hudson. I'm using Maven for the build, and my pom.xml is as follows:<build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> &nbs
I'm going to be making use of the TLF for a large-scale project (18 months or more) and need to use the new advanced layout features (images floats in particular at this point) - What is the best way to keep up with all changes and updates to the TLF?Is it included in the Flex 4.x nightly builds or will I need to keep it updated separately?Sorry, haven't ever had to stay right on top of any cutting-edge projects before, would appreciate a little guidance if possible : )Thanks
Hi there,I can see it's a good principle to not have heavy constructors. But does anyone know if this the message about the compiler not compiling constructors is actually true?"HeavyConstructor. Constructor must be as lightweight as possible. No control statement allowed, whereas a cyclomatic complexe of 2 has been detected. The Just-In-Time compiler does not compile constructors. Make them as lightweight as possible, or move the complexity of the code to a method called by the constructor. Then the complexity will be compiled by the JIT"Thanks,Justin
Hi all,I'm really struggling getting a testing structure in place. I need to test a sub-swf which gets loaded into a range of main applications and its methods are then invoked. Therefore, I want to setup a test initially to load in that sub-swf (before calling its functions).However, despite Firebug revealing that the swf in question was called ok (200 return) the timeout function always eventually is invoked.Please can someone tell me what I'm doing wrong as I've been struggling with this for over a week. Code roughly copy-and-pasted (no errors when I run the original)...public class loadSWFTester{import flash.display.Loader;import flash.display.LoaderInfo;import flash.events.*;import org.flexunit.asserts.*;import org.flexunit.async.Async;private var _loader:Loader;private var _request:URLRequest;[Before(async)]public function setUp():void{_loader = new Loader();_request = new URLRequest("http://example.com/my.swf");[Test(async, description="Swf load example")]public function loadSwf
Hi,I'm trying to wrap text around an image with TLF version: 2.0, Build number: 163and Flex Hero SDK 4.5 (Build 4.5.0.17855).All is ok but paddingRight and paddingLeft has no effectAny idea ?Code :var version:String = "";version += "TLF version: " + BuildInfo.VERSION + "<br/>"+"TLF Build number: " + BuildInfo.kBuildNumber;var s:String = "";s += "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'>";s += "<p>Flex framework"+version+"</p>";s += "<p><img source='http://www.adobe.com/products/flex/images/flex_80x79.png' width='80' height='79' float='left' paddingRight='20' paddingLeft='20'/>Flex is a free, open source framework for building highly interactive, expressive web applications that dep</p>";s += "<p>Flex framework</p>";s += "<p>Flex framework</p>";s += "<p>I am a new paragraph and I'd like to start at the left below the image</p>"; &nbs
Hi,How do we unit test using ASMocking whether an Event is called and next screen is displayedTools i am using ASMOCK Flexunit 4
The open source site is down, so here's the latest version of TLF 2.0 for people that need a copy.
Hi All,As per the As mock we can run the Test using the flex compiler option -includes asmock.integration.flexunit.ASMockClassRunnerBu we run the a test Suite using the same we get the below erroe Error: No runnable methodsat org.flexunit.runners::BlockFlexUnit4ClassRunner/validateInstanceMethods(BlockFlexUnit4ClassRunner.as:221)at org.flexunit.runners::BlockFlexUnit4ClassRunner/collectInitializationErrors(BlockFlexUnit4ClassRunner.as:207)at org.flexunit.runners::ParentRunner/validate(ParentRunner.as:267)at org.flexunit.runners::ParentRunner(ParentRunner.as:123)at org.flexunit.runners::BlockFlexUnit4ClassRunner(BlockFlexUnit4ClassRunner.as:99)at asmock.integration.flexunit::ASMockClassRunnerat org.flexunit.internals.builders::MetaDataBuilder/buildRunner(MetaDataBuilder.as:137)at org.flexunit.internals.builders::MetaDataBuilder/runnerForClass(MetaDataBuilder.as:115)at org.flexunit.runners.model::RunnerBuilderBase/safeRunnerForClass(RunnerBuilderBase.as:63)at org.flexunit.int
I use Ant to compile tests and generate reports, and the compile phase succeeded, but the <flexunit> failed, the error log following:java.util.concurrent.ExecutionException: command [<testcase classname="XXX", name="XXX", time='0.000' status='success'/>] not understood,I don't konw where is the problem
My problem:I add a paragraph with inline images set with a -50% baselineShift so that they appear to be centered in line. It looks fine, only the spacing appropriate to the shift appears between the two lines when the text covers two lines within the container (each line ended up with one image).This text is in it's own container.Then, I add another paragraph to the textflow, set such that it is appearing in it's own container with it's own controller. I am doing this because I need to be able to track some y values for formatting in the future (inserting images next to specific text containers).When I add this second paragraph and container, two HUGE spaces appears, one before the first line of and one between the two lines of text in the paragraph BEFORE the newly added paragraph.How is a subsequent paragraph affecting the spacing between lines it does not share a container with... the only thing they share is a TextFlow.Note: in the XML below, a span with the same baseli
Has anyone created a fully function TLF-based editor that imports / exports xHTML with tables and allows users to perform realtime editing? It can be either open or commercial, but needs to operate in Flex. BTW, I noticed the editor for posting threads for TLF appears to be JS 🙂
I use Ant to compile tests and generate reports, and the compile phase succeeded, but the <flexunit> failed, the error log following:java.util.concurrent.ExecutionException: command [<testcase classname="XXX", name="XXX", time='0.000' status='success'/>] not understood,I don't konw where is the problem
Hi to all!I'm trying to develop a FTP client in Flex/Air with socket (...whatelse !?!?)I can connect to the FTP server and authenticate. Then I switch to passive mode sending the "PASV" ftp command.In response i receive the data port on which I will (...well...actually....on which I would like to....) transfer the files. And here comew the trouble.I create a new socket wich attempts to connect on the port the server told me, it stands still for some moments and give me the socket error #2031.Below the complete error (URL's IP replaced with 'xx.xx.xx.xx'):[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2031: Socket Error URL: xx.xx.xx.xx" errorID=2031]I've tried to google around but i didn't find anything useful more than Adobe Flex Socket reference (which doesn't even talk about #2031 error )I've also tried to perform FTP task with the maliboo FTP lib but it behaves the same as mentioned before.Any ideas,suggestions or solutions?Thanks in ad
I'm using a TextFlow with added controllers by using textFlow.flowComposer.addController(controller). When I paste text from other programs (like firefox or word) the text gets wrong formating (expecting the same formating as the text surrounding it).One solution could be to catch the paste-event and do something with it, but it doesn't show up on either the TextFlow-object or the containers inside of it.The code I'm using for the textflow is (using FlashDevelop): textFlow.addEventListener(Event.PASTE, function (event:Event):void { var clip:String = Clipboard.generalClipboard.getData(ClipboardFormats.TEXT_FORMAT) as String; FlashConnect.trace(clip, TraceLevel.DEBUG); });The code
I've got an application which, as it gets results back from a query, adds textarea's to a vgroup and displays them.The vgroup vg exists at compilation, the summary textarea's do not.I'm trying to add some kind of highlighting for the keywords that were used, and I'm having some trouble. I've boiled it down to this:var summary:TextArea = new TextArea();summary.text = "something"var tlf:TextLayoutFormat = new TextLayoutFormat();tlf.fontSize = 18;tlf.fontWeight = "bold";tlf.color = 0xFF0000;summary.setFormatOfRange(tlf, 0, 2);vg.addElement(summary);For some reason, even this won't work in the context of what I'm trying to do. (this is a simplified version, I can get the code for the whole function this is running in if it'll help anyone).Any ideas? Is what I'm trying to do even possible?
When attempting to run FlexPMD in Ant 1.7.0, we receive this error message:Couldn't find that class 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 CLASSPATHHowever, switching to Ant 1.8 resolves the problem completely.Does FlexPMD support Ant 1.7.0?Anybody know why we might be getting this message? Thanks
When testing against implementation code which is expected to throw an exception the test fails even when the expected exception is thrown.I broke this test down into a very simple example to help illustrate the issue:public class ExpectsExampleTest{ [Test(expects="Error")] public function testExpects():void { throw new Error(); }}The above code result in the following error:6/11/2009 23:23:39.519 [WARN] FlexUnit4 There was 1 failure:6/11/2009 23:23:39.522 [WARN] FlexUnit4 1 tests::ExpectsExampleTest.testExpects ErrorNot sure if I am missing something or not, however the implementation appears to be correct.Thanks,Eric
Dears, i use TLF in flash files, it make the file has a big size.for example classic Text size is 2-3 k and TLF size is 56 k,sure without the external tfl file which is exported during the publish.So, How can i reduce and control this difference in size ?Thank you in advance....
HiI am trying to implement a sample of TLF with feature of Tab for paragraph like word document. If user click in paragraph and press 'Tab' then it should work like same as we experience in Word.Can any one guide me ?Bharat Patel
When I try and run FlexPMD from the command line or through Maven Site I get the following exception:com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -15 at java.lang.String.substring(Unknown Source) at com.adobe.ac.pmd.nodes.impl.MetaDataNode.compute(MetaDataNode.java:72) at com.adobe.ac.pmd.nodes.impl.NodeFactory.createMetaData(NodeFactory.java:48) at com.adobe.ac.pmd.nodes.impl.AbstractNode.computeMetaDataList(AbstractNode.java:59) at com.adobe.ac.pmd.nodes.impl.FunctionNode.compute(FunctionNode.java:145) at com.adobe.ac.
I can build a debug build of my app just fine. TLF 2.0 features are working. However, when I try to export a release build I get: No signed digest found in catalog.xml of the library, /Applications/Adobe Flash Builder 4/sdks/4.1.0_tlf2.0/frameworks/libs/framework.swc. Compile the library with -create-digest=true and try again. No signed digest found in catalog.xml of the library, /Applications/Adobe Flash Builder 4/sdks/4.1.0_tlf2.0/frameworks/libs/rpc.swc. Compile the library with -create-digest=true and try again. No signed digest found in catalog.xml of the library, /Applications/Adobe Flash Builder 4/sdks/4.1.0_tlf2.0/frameworks/libs/spark.swc. Compile the library with -create-digest=true and try again. No signed digest found in catalog.xml of the library, /Applications/Adobe Flash Builder 4/sdks/4.1.0_tlf2.0/frameworks/libs/sparkskins.swc. Compile the library with -create-digest=true and try again.
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.