flash-builder

embedded mp3 in actionscript3 won't play all the way through

≯℡__Kan透↙ 提交于 2019-11-30 17:47:33
问题 I embedded an mp3 file be used as background music for my app. Though it works fine, the problem is that it doesn't play the whole track, it just plays the first 32 seconds of it (the mp3 file is 1:30 min). Does anyone here has any idea why? I've read here that maybe the sound doesn't fit into the supported flash player sound format, but I don't think that's the problem! The file is not that big, but maybe I am wrong? Any idea whats causing the problem? Or how to fix it? The code is fine, am

How can I make FlashBuilder use a custom namespace prefix

大憨熊 提交于 2019-11-30 09:54:22
I have a component library. It has a manifest file that looks like this: <?xml version="1.0"?> <componentPackage> <component id="AutoComplete" class="be.edge.components.AutoComplete" /> <!-- more components left out for brevity --> </componentPackage> I compile the library through FlashBuilder with these compiler settings: When I use the compiled library in other FlashBuilder projects everything works as expected. I get code completion and when I select a suggestion from the code completion a namespace attribute is automatically added to the component, like this: <s:Skin xmlns:fx="http://ns

Receiving Installation Error: ApplicationVerificationFailed in Flash Builder for iOS

风流意气都作罢 提交于 2019-11-30 08:37:42
This is the error I'm getting when I try to install my app on my iPhone. More details : It did work at one point. I used a different computer recently, working on a different project and had to create a new certificate. This invalidated my other projects (profiles). I went back to working on the first computer and uploaded the certificate from that one. I recreated the app profiles and downloaded the provisioning files based on that previous certificate. None of that worked. In the end I had to start over from scratch as shown in the answer below. I finally got it to work by starting over from

Adobe Flash Builder (flex4): addChild() is not available in this class.

懵懂的女人 提交于 2019-11-30 07:27:19
I want to load an swf into a flex 4 application in order to use its classes. var ldr:Loader=new Loader(); ldr.load(new URLRequest("file://path/to/fileswf")); ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded); function loaded(evt:Event):void { addChild(ldr); } I receive the error: Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one. at spark.components.supportClasses::SkinnableComponent/addChild()[E:\dev\gumbo_beta2\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:966] at main/private:init

Importing Flash project into Flash Builder

痞子三分冷 提交于 2019-11-30 05:31:15
问题 I am on a mac and I have a preexisting Flash project. (i.e usual fla, src, lib) folders. Now, I want to start writing the code using Flash Builder 4. How do I import all those files so I can now develop in Flash Builder 4? Thank you, Tee 回答1: Found it. Just need to do File > New > Flex Project to define a project for the folder containing your app. Thanks, Tee 回答2: Flash Builder cannot open fla files. If your code is pure actionscript, you can create new project and remake it there. 回答3: You

Failed to load JavaHL Library

故事扮演 提交于 2019-11-29 19:41:00
After updating to Snow Lion I started receiving these errors in Flash Builder / Eclipse when trying to use SVN: Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in java.library.path /opt/subversion/lib/libsvnjavahl-1.0.dylib: Library not loaded: /usr/lib/libpq.5.dylib Referenced from: /opt/subversion/lib/libsvnjavahl-1.0.dylib Reason: no suitable image found. Did find: /usr/lib/libpq.5.dylib: mach-o, but wrong architecture /usr/lib/libpq.5.dylib: mach-o, but wrong architecture no svnjavahl in java.library.path java.library.path = .:/Library/Java

How can I make FlashBuilder use a custom namespace prefix

本秂侑毒 提交于 2019-11-29 14:56:45
问题 I have a component library. It has a manifest file that looks like this: <?xml version="1.0"?> <componentPackage> <component id="AutoComplete" class="be.edge.components.AutoComplete" /> <!-- more components left out for brevity --> </componentPackage> I compile the library through FlashBuilder with these compiler settings: When I use the compiled library in other FlashBuilder projects everything works as expected. I get code completion and when I select a suggestion from the code completion a

How to add third-party jar files into my android application jar file?

六月ゝ 毕业季﹏ 提交于 2019-11-29 12:35:08
I have an Adobe AIR application for Android. Using for this AIR 3.0 and Flash Builder 4.6. I need to make MyANEFile.ane - which must include 2 external .jar files: Flurry.jar + Tapjoy.jar. But when I made .ane file - it does not work. How can I add this 2 jar files to my main application jar file to make .ane file properly? Thanks. It shows me such errors in dalvik: *01-31 21:37:37.046: I/dalvikvm(12983): Could not find method com.amobee.agency.tracking.AmobeeReceiver.amobeeTracking, referenced from method com.mycompany.extensions.AmobeeInitAmobeeTrackingFunction.call 01-31 21:37:37.046: W

Receiving Installation Error: ApplicationVerificationFailed in Flash Builder for iOS

て烟熏妆下的殇ゞ 提交于 2019-11-29 12:08:15
问题 This is the error I'm getting when I try to install my app on my iPhone. More details : It did work at one point. I used a different computer recently, working on a different project and had to create a new certificate. This invalidated my other projects (profiles). I went back to working on the first computer and uploaded the certificate from that one. I recreated the app profiles and downloaded the provisioning files based on that previous certificate. None of that worked. In the end I had

Adobe Flash Builder (flex4): addChild() is not available in this class.

陌路散爱 提交于 2019-11-29 09:04:07
问题 I want to load an swf into a flex 4 application in order to use its classes. var ldr:Loader=new Loader(); ldr.load(new URLRequest("file://path/to/fileswf")); ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded); function loaded(evt:Event):void { addChild(ldr); } I receive the error: Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one. at spark.components.supportClasses::SkinnableComponent/addChild()[E:\dev\gumbo_beta2