How to use text-to-speech using ActionScript or Air?
Hi folks, I want to use SAPI Text-To-Speech engine from my ActionScript or Air application. is this possible ? what are the other alternatives ? ...
Hi folks, I want to use SAPI Text-To-Speech engine from my ActionScript or Air application. is this possible ? what are the other alternatives ? ...
How can I create an array of dates, one for every day, starting Jan 1st 2008 to Dec 31st 2008 in ActionScript 3? It would be ideal if it worked on any date range... ...
Let's say that I have a class Foo: public class Foo { public static var bar:String = "test"; } How can I reference bar at runtime using the string "Foo" or/and and instance of Foo and the string "bar"? I.e. var x:Object = new Foo(); ... x["bar"] ...doesn't work, debug mode in IntelliJ got my hopesup as bar gets listed as a p...
Hello, I have an swc which needs to operate slightly differently depending on whether it is being hosted by AIR or not. I've seen two suggestions on the internet: Test Application.application for WindowedApplication. Test Security.sandboxType for Security.APPLICATION. However, these don't seem to work in my .swc as the compiler can'...
We have a projector application (.exe) compiled from AS3. How can we start another (external) executable from the projector? This is the code...it does nothing visible. //Play ACQ Demo Acq.addEventListener(MouseEvent.CLICK, clickAcq); function clickAcq(event:MouseEvent):void { flash.system.fscommand("exec",".\\ACQ\\Acq...
Hey there I'm interested in making a language to run on the AVM2 and I'm looking for advice on where to start. I do realize that this is by no means a trivial task, but I would like to give it a try and at the very least learn more about implementing a language along the way. I have messed around with ANTLR and have been reading up on ...
I have an FLA file with objects in the library which I have set to be "classes" (In CS3, right click an item in the library select properties, make sure it's set to export for actionscript, and has a class name) For this exercise, let's call the class "MyClass" If I publish that FLA to an SWC and SWF: I can load the SWC statically, an...
Title says it all I hope. ...
Since actionscript 3.0 is based on ECMAscript it shares some similarities with javascript. One such similarity that I have been playing around with is creating Objects from functions. In javascript to create an object, var student = new Student( 33 ); document.write( student.age ); function Student( age ){ this.age = age; } In a...
I have a Flash movie embeded in a Windows Form (using the component "Shockwave Flash Object included with Visual Studio 8). The Flash movie was created with Flash CS4 and uses ActionScript 3. Is it possible to use C# to call an ActionScript function in the Flash movie that returns a value? Also, is it possible for my Flash movie to cal...
Is there a free/open source BAR GRAPH (2d) component or sample file for Flash cs3/cs4 I found a few options for Actionscript2, but I need to use actionscript 3.0 (its preferred to load data from external source, loadvars or similar) ...
Hi, I create a flash interface for CD that contains some buttons that open some word documents.I use fscommand for open files. fscommand("exec", "documnet.doc"); But after document open the flash document resized from fullscreen. the Question is: How I can make flash document (swf or exe) still fullscreen after focusing another progr...
I can not control the scrolling of a scrollpane from within my actionscript (I am using actionscript 3.0) Here is my Definition: var scrollPane:ScrollPane = new ScrollPane(); scrollPane.verticalScrollPolicy = "false"; scrollPane.move(374, 0); scrollPane.setSize(476, 370); When I try to set it - scrollPane.horizontalScrollPosition = 5...
I have an array of FileReference objects which have several listeners attached to each of them, should I be removing each listener in it's handler method, or should I remove them all in the complete handler? I read somewhere to use weak references for listeners, but I would think it would be better to explicitly remove listeners (yes?/n...
When running flash components that use localConnection within an HTML container, I get the following error in a popup box (flash player is the debug version): Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access ...
I have a flex line chart. Instead of the default behavior of having to hover over parts of the line to see the data points, is there a way to change the rendering of each point and have them always displayed? (almost like a connect the dots type view). ...
I've got an AS3 SWF that I'm going to be loading other SWFs into. These child SWFs all take a single parameter on the URL. I can't seem to get it working when loading an AS2 child, and it needs to be able to handle both. so I have var request:URLRequest = new URLRequest(); var loader:URLLoader = new URLLoader(); request.url = "http:...
Has anyone had experience with flourineFX? I have to fix something that uses fluorineFX on the backend to provide typed objects to the a flex presentation layer. I was under the impression that if I register the objects in Flex like so registerClassAlias("Kanpeki.Domain.Staff", Staff); [Bindable] public class Staff implements IListabl...
I'm trying to troubleshoot the scrubber for a custom video player and I'm coming across an issue with the scrubber being dragged past the progress bar fill if the flv hasn't fully loaded. The player is here: http://mindfilemultimedia.com/stage/portfolio.html If you play the video you will see that while the flv is still downloading, wh...
I'm drawing rectangles at random positions on the stage, and I don't want them to overlap. So for each rectangle, I need to find a blank area to place it. I've thought about trying a random position, verify if it is free with private function containsRect(r:Rectangle):Boolean { var free:Boolean = true; for (var i:int = 0; i < ...