I'm trying to playback some sample data through the new real-time audio capabilities of Flash Player 10. I started with the example given at the bottom of this page on livedocs, which seems to work fine and plays a crystal clear tone.
I assume that the two writeFloat's in the example write to the left and right audio channels respective...
I was wondering best practices for views of inherited classes in PureMVC in this situation:
Multiple classes inherit a BaseClass (lets say InheritedClass1 and InheritedClass2)
Each InheritedClass has a respective view (derived from a base view class, but each unique)
With a given dataset (lets say ArrayCollection of InheritedClass1/2 O...
I'm working on this Flash project and I've constructed a swf where all the assets are exported into frame 5 and the first frame contains the pre-loader. When the pre-loader is finished it jumps to frame 10 where the actual site begins. This works great.
However, in every browser I've tested so far (FF, IE, Chrome and Safari) when I plac...
As I've been working with AS I've developed a collection of utility functions. For example:
$ cat utils/curried.as
package utils {
public function curried(f:Function, ...boundArgs):Function {
function curriedHelper(...dynamicArgs):* {
return f.apply(null, boundArgs.concat(dynamicArgs));
}
return curriedHelper;
}
}
...
Okay, I've tried about 8 different ways to get a key event into my code, and none of them seem to work. Can someone please tell me how I can move this ball when I press shift? Thank you in advance
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
styleName = "plain"
xmlns="cyanprim...
Where are the signed, cached flex libraries on a windows / mac / linux system? They don't appear to be in my browser cache... so where is adobe keeping them?
So, as my answer below shows, I found the files. But can I clear the cache? After trashing the files in windows, I don't see the files get downloaded again (with fiddler).
...
I'm using Flex and AS3 to try and create a game, and I'm wondering how I can animate things easily. I would prefer to use sprite sheet images. I'm going to go a head and post the code (It's really short) I got so far, can someone look over it and tell me the best/simplest/easiest way to add animation support? Thank you in advance.
<?xml...
I would like to tween between a short rounded rectangle and a tall rounded rectangle. (I only want deal with the height - no other parameters). I am programming with actionscript 3. My tweening engine is TweenLite.
I have been tweening a sprite that contains a rounded rectangle. The tweened sprite produces distortion. I suppose tha...
I've had problems using check boxes in data grids that are populated using dynamic data. The check boxes do not stayed checked as you scroll. How can i solve it ?
...
Hi-
I created a custom video skin for my movie, and published the swf. The file plays on my Mac (using Flash player v9) but it will not play on my PC (using Flash player 10). When I uploaded it to the host, neither players will play the swf. The bitmaps in the flash file show up, but the movie won't play. I don't know if it is how I exp...
Hi, I'm looking for a list of things ActionScript 3 can do and previous versions can't. Could you post some links?
...
I'm currently working on a flash game and I need to know how to addChild a BitmapData or draw a BitmapData to screen. If I can't than how can I give a DisplayObject my BitmapData?
...
I am getting an object structure like
Object--
--- Object
STRING1:VALUE
STRING2:VALUE
STRING3:VALUE
---- OBJECT
STRING1:VALUE
STRING2:VALUE
STRING3:VALUE
Now I want to filter this object because i need only STRING2:VALUE in the same object structure and need to a an structure ...
It animates but it put's the piece of the sprite sheet where it is on the sprite sheet and not where the x and y tell it to. It's very short, so please take a look? Thank you in advance.
package cyanprime{
import flash.display.*;
import flash.geom.Rectangle;
public class Player{
[Embed(source="brownplane.png")]
pu...
I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check?
Thanks.
...
Is one 'better' than the other?
Doubt that since as I understand both are written by the same author, only Adobe 'officially' supports Zend.
My application is composed of 3 parts
1-an image editing tool allowing users to upload images, edit them, then post them to a server.
2-a publicly viewable gallery
3-a private 'admin' tool allowing...
Google shows a couple of hits for this issue, but never a solution that I can find. It's always just a few other people saying "it works for me", and the issue dries up. I've tested both with the "-incremental=true" flag to mxmlc and with the <incremental>true</incremental> tag in my flex config.xml with the same result:
Failed to ma...
How do you specify a multiple line string literal in Actionscript 3?
Multiline String Literal in C#
...
Hi,
I have a datagrid in my application with custom itemRenderer & itemEditor. The rendererIsEditor property is false for the column.
I also have a menu bar in my application.
Now if I edit any cell the itemRenderer will be replaced with itemEditor and as the focus moves out the itemEditor switches to itemRenderer. It is the default n...
I'm having troubles with getting my textfield to fade from alpha 0 to alpha 1 with Tweener.
Everything else works fine, so I suspect it has something to do with applying my textformats on the textfield?
This is my code
private function swapText(e:Event):void {
applyTextFormats();
addChild(_textContainer);
var textfromx:int = _xm...