I'm no expert in audio, so if any of you folks are, I'd appreciate your insights on this.
My client has a handful of MP3 podcasts stored at a relatively high bit rate, and I'd like to be able to serve those files to her users at "different" bit rates depending on that user's credentials. (For example, if you're an authenticated user, y...
The organization I work for has created a small flash widget that we're encouraging supporters to place on their website. I'm trying to determine if there are ways to improve the statistics we get from those embedded widgets.
Mostly I would like to get the domain of the site that loaded the widget. Right now I'm able to see the referr...
I would like to open external URLs from within my Flash project. I typically use something like this:
getURL("javascript:newwin=window.open('http://someurl.com','','');");
But, if Javascript isn't available (in cases where the SWF is not embedded in HTML) then this will fail. How can I detect whether Javascript is available? If it ...
I've been using flash for a long time, mostly as an animation tool with a little dabbling in actionscript. Over the years I've moved from mostly making animations to mostly making small flash games or proof of concepts in my spare time. I've been very reluctant to learn as3 as I am not much of a programmer, but a friend of mine convinced...
This is seriously killing me. I'm trying to convert a Unix timestamp (1236268800, which equates to Thu, 05 Mar 2009 16:00:00 GMT) to a Date object in Flex.
var timestamp:Number = 1236268800;
trace(new Date(timestamp));
Output: Wed Jan 14 23:24:28 GMT-0800 1970
Also tried this:
var timestamp:Number = 1236268800;
var date:Date = new D...
Let me start off by saying that I'm pretty new to flex and action script. Anyways, I'm trying to create a custom event to take a selected employee and populate a form. The event is being dispatched (the dispatchEvent(event) is returning true) but the breakpoints set inside of the handler are never being hit.
Here is some snippets of my...
In a Flex application, I'm have an xml object that I'm binding to a tree control. I'm able to add a child node to the xml but when I try to add a child to the child node it doesn't appear on the tree control
tree = <node label="Root">
<node label="Category 1"/>
<node label="Category2"/>
...
Is there a library for converting strings in as3 into the application/x-www-form-urlencoded format?
Specifically, I am looking for the same functionality as the java URLEncoder http://java.sun.com/javase/6/docs/api/java/net/URLEncoder.html
Unfortunately, as3's escape and encodeURIComponent functions don't do it. For example, lots of %...
I want to see class, function and variable/property, dependencies visually, like NDepend, but for ActionScript 2 or AS3 code.
Any programs or ideas?
Use Doxygen in some way?
FlexUnit?
...
Ted talks of a "Player Cache" existing within Flash Player 9.3 that allows the Flex components to be reused across domains.
It would be an extra-benefit if my components can be reused across my multiple websites.
Is this Flex only? (all code passed thru the Flex 3 compiler "mxmlc")
Will Flash AS2 components be cached as well?
Will Fla...
I am having trouble importing a Collada file in Papervision3d. I have done an exhaustive Google search to no avail. All the examples and tutorials end with errors, be they "Can't find materials" errors or simply not showing the file at all. I have tried many different types of Collada files, including a lot of Collada's own from their te...
Unless I'm missing something obvious here, there is no way of disbabling one or more rows in a DataGrid. I would expect a disabledRows or disabledRowIndidices property on the DataGrid or List component but that doesn't seem to exist.
I found a "rendererArray" property which is scoped to mx_internal and contains all itemrenderers of all ...
How do I properly draw one vector object onto a specific position of another in ActionScript, accounting for positioning, transparency, etc?
My idea (as suggested e.g. here) was to use beginBitmapFill() and drawRect() to draw a bitmap copy (made using BitmapData.draw()) of one MovieClip onto the .graphics property of the other MovieClip...
I'm using Flash CS3 and ActionScript 2. I have a MovieClip symbol (identified as "MySymbol") that contains a dynamic text block with the identifier "innerText". The symbol is marked as "Export for ActionScript" using the following "MySymbol.as" file:
class MySymbol extends MovieClip
{
function SetText(text)
{
...
Hi,
I have a Flex movie that contains a text input box and an (optional) dropdown. The design requires that this dropdown fall below the lower edge of the movie, overlapping the HTML below it.
I can set wmode to transparent and can get the dropdown to overlap the HTML fine but then the HTML below is unselectable, even when the dropdown...
I have this AS2 code that does some simple animations when I rollover a mc using TweenLite.
I feel that I have a lot of repeating code.
Is there a way to be able to just specify a function like this
boxLink(a);
and have the rest of the code, with the path to the target movieclip in the function instead of in the function variable?
H...
In Flex 3.2, I'm creating a UITextField, then measuring text that I'm about to assign to that field's text property. I then use those metrics to set the size of the field. However, the calculated width is not wide enough to accommodate the text. Is there a different order to achieve proper measurement or am I seeing a problem with the...
Is it possible to call a function asynchronously in Flex? I want to parse a file at regular intervals without blocking the rest of the application, what is the recommended approach for this?
...
What is this SWX data format that I keep hearing about?
The Wikipedia article says: "Data is stored as SWF bytecode, that is interpreted by Adobe Flash Player."
Their official site says: "SWX is the native data format for the Flash Platform.", and there are many examples of sites which allow users to modify/update data.
Does this mea...
Data is stored in SWX files, that is read natively by Flash Player as "objects".
Can the client request the server to update/modify SWX files, much like a MySQL database? How? SWX-PHP?
...