flex4.6

How to get Flex SWFLoader unloadAndStop to unload sound also?

人走茶凉 提交于 2020-01-16 00:59:08
问题 public var swfLoader:SWFLoader = new SWFLoader(); [Embed(source="/some/file1.swf")] public var file1:Class; [Embed(source="/some/file2.swf")] public var file2:Class; then I do: swfLoader.load(file1); Later on: swfLoader.unloadAndStop(true); which unloads the video, but not the sound! So I add in SoundMixer.stopAll(); Which is ok, for a while. Later on, I do: swfLoader.load(file2); And eventually, while watching file2, file1's audio will start playing in the background over file2's audio, with

Flex TextArea and TextInput on mobile not positioning correctly

纵饮孤独 提交于 2020-01-14 14:21:06
问题 I've had two issues when working with TextArea and TextInput on mobile components I don't know how to solve. The first is that the TextArea text does not position correctly and the second is that it overlaps other components. The issues occur when the TextArea is in a Scroller (or the soft keyboard activates and moves the TextArea position). You can see this if you add the code below to a mobile Application: <s:Scroller width="100%" height="100%" top="100" bottom="100"> <s:VGroup width="50%">

Mobile App Using Remote Web Server

天大地大妈咪最大 提交于 2020-01-06 05:47:35
问题 I must say that I am reaching the end of my tether with Flash Builder and Flex. Firstly, I have built this wonderful app that I want to start using but it is data driven meaning that when I built it, I created it on my localhost. The PHP scripts were generated from Flash Builder and I have edited them to make them more secure. I have all my services working 100% and I have this brilliant app, but I can only run it on localhost. I have done everything necessary and installed Zend Framework on

Adobe Flex 4.6 WebService request timeout

徘徊边缘 提交于 2019-12-25 02:34:15
问题 The code to get connected to my WebService (Lotus Notes Database) is created by the Flash Builder over "Data/Connect with WebService...". All works fine, but I have a problem to increase the request timeout. The API says that you can set the request timeout like this: _serviceControl.requestTimeout = 300; On a iOS (iPad) it seems to be work all fine. But if I run my app on desktop or on an android smartphone this only works if I set up the request timeout lower than ~30 seconds. If I don't

flex mobile : textInput does not clear prompt on focus

浪尽此生 提交于 2019-12-24 07:35:12
问题 a simple <s:TextInput x="163" y="117" prompt="hello"/> Does not clear the prompt on focus, but clears the prompt when user first type in a letter. This is the behaviour on flex mobile (behaviour is OK on swf ) Is that a bug and how to correct that ? regards 回答1: There May be an-other way to get rid of that, but my approach is that you may add a focusIn event and do some thing like : <s:TextInput id="textInput" x="10" y="24" prompt="Enter SomeThing" focusIn="textinput1_focusInHandler(event)"/>

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

☆樱花仙子☆ 提交于 2019-12-19 03:09:40
问题 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

how to work registerClassAlias() method for custom mxml components

微笑、不失礼 提交于 2019-12-18 07:14:31
问题 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

Changes to skin in SDK path not taking effect?

大城市里の小女人 提交于 2019-12-13 09:47:08
问题 I'm using the SparkChromeWindowedApplicationSkin in my Window Application and I'm making changes to the skin in the SDK directory but none of my changes are taking effect. I set the skin in my CSS like this: s|WindowedApplication { backgroundAlpha: 1; backgroundColor: #FFFFFF; resizeAffordanceWidth: 6; skinClass: ClassReference("spark.skins.spark.SparkChromeWindowedApplicationSkin"); } Then I control + click on the skin name and it opens the file. I then change some of the styles and

Convert AS3 to FLA for generating SWF

本小妞迷上赌 提交于 2019-12-13 09:13:31
问题 I Need to manipulate the compiled SWF and recompile it back to SWF and deploy. I have tried 3 options but no luck on all the options : 1) Converting swf to fla to AS3, I was able to edit the AS3 file, then I am not able to move forward to create the new FLA & new SWF file. 2) Converting swf to flex project and importing to flex builder, then while publishing it says that I did not main MXML file to get new SWF. 3) Currently I had tried converting AS3 to FLA, but no luck. If you have any known

How to integrate google+ in a flex mobile application

﹥>﹥吖頭↗ 提交于 2019-12-12 16:28:42
问题 Anybody know how can integrate google+ in a flex mobile application. While i tried to authenticate with google+ getting an error like text="Error #2032: Stream Error. URL: https://accounts.google.com/o/oauth2/auth?response%5Ftype=code&redirect%5Furi=urn%3Aietf%3Awg%3Aoauth%3A2%2E0%3Aoob&client%5Fid ..." errorID=2032]. URL: https://accounts.google.com/o/oauth2/auth. 回答1: It's your lucky day, because I know how to do it :-) The doc is Using OAuth 2.0 for Installed Applications and you get the