flex4.6

Flash Builder 4.6 always shows blank html page on run in Google Chrome

不问归期 提交于 2019-12-04 09:26:16
Flash Builder 4.6 always shows blank html page on run in Google Chrome. I have tried everything but nothing works. Kindly help. Simple answer: Do not use Chrome for debugging Flash Builder projects. For debugging, do this: Go into the Debug Configurations (Run > Debug Configurations) Find the configuration for the current project Under "URL or path to launch", uncheck "Use default" and browse for the SWF (html is default). This will open the debug in the actually Flash Debug Player instead (as it happens in Flash CS) or Open your Flash Builder/Eclipse Preferences Filter for "browser" and

Using mx.charts in a Flex mobile project

前提是你 提交于 2019-12-03 21:45:13
Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File - New - Flex Mobile Project - Google Nexus One): MyTest.mxml: <?xml version="1.0" encoding="utf-8"?> <s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.MyTestHome"> <s:navigationContent> <s:Button label="Home" click="navigator.popToFirstView();"/> </s:navigationContent> <s:actionContent/> </s:MobileApplication> MyTestHome.mxml: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx=

Merge two sound files into a new file

血红的双手。 提交于 2019-12-02 19:41:23
问题 How can merge two sounds and save as a new file?. One sound is a loaded mp3 file and the other from the microphone. Then I need to upload this sound into a server. Is this possible? 回答1: This all can be done, but if you looking simple example with few methods to call, I'm afraid it's not so easy. You can extract bytes from sound with Sound.extract(). This data is sound amplitude in 16-bit numbers, right and left channel interleaved. Use ByteArray.readShort() to get them. Microphone data can

Merge two sound files into a new file

﹥>﹥吖頭↗ 提交于 2019-12-02 07:55:31
How can merge two sounds and save as a new file?. One sound is a loaded mp3 file and the other from the microphone. Then I need to upload this sound into a server. Is this possible? This all can be done, but if you looking simple example with few methods to call, I'm afraid it's not so easy. You can extract bytes from sound with Sound.extract() . This data is sound amplitude in 16-bit numbers, right and left channel interleaved. Use ByteArray.readShort() to get them. Microphone data can be captured with SampleDataEvent.SAMPLE_DATA, see example here . To mix them with song, just add sound

Could not resolve <s:Sequence> to a component implementation after adding AIR 3.6

和自甴很熟 提交于 2019-11-30 20:59:43
Since changing to the AIR 3.6 I'm getting many errors such as: Could not resolve <s:Sequence> to a component implementation. If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6. UPDATE I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before): Note : Flex users will need to download the original AIR SDK without the new compiler. Source I was using the AIR SDK 3.6 with Compiler. I had

can i use design mode in fb 4.6 if I add apache flex sdk 4.9.1 as my compiler?

故事扮演 提交于 2019-11-30 19:16:12
I am running Flash Builder 4.6 and just added Apache flex sdk 4.9.1 (build 1447119) to my mac book pro running Moutain Lion and when i tried to do a quick 'hello world' and add a few elements to the stage using design mode i got following error: The design mode is disabled as the project uses an incompatible version of the flex sdk My question is if i go beyond the default sdk that shipped with fb 4.6 do I therefore loose the ability to use design mode and have to do everything in source mode? Also, if i am using windows the error is quite similar when i mouseover on Design tab Design mode not

how to work registerClassAlias() method for custom mxml components

我与影子孤独终老i 提交于 2019-11-29 12:47:56
I have flex mxml custom component(Graphic).According to requirement a need to copy them as copy or cut operation.but problem in the registerClassAlias() method,how it will work for custom graphic or Group(or UIComponents) components. var className:String = getQualifiedClassName(zorder.getItemAt(0)); _saveIn.clear(); registerClassAlias(className, zorder.getItemAt(0) as Class); _saveIn = SharedObject.getLocal("save"); _saveIn.data.value1 = new ByteArray(); _saveIn.data.value1.writeObject(zorder.getItemAt(0)); _saveIn.data.value1.position = 0; _saveIn.flush(); It's not possible to make a full