I can't find a way to speed up or down the audio speed (pitch) with actionscript (or any other way in flash). Is it possible?
I want to make a small DJ game, with a control to speed up or down from 15% an uploaded mp3. Any idea on how I could implement that?
...
I have a Flash program that loads AS2 and AS3 SWF files dynamically with the same function. I'm trying to convert all the AS2 files to AS3, but I don't have the FLA for some, so they will need to remain AS2.
What I need to do is if the file getting loaded is AS3, I need to run an additional set of code to setup some interactive feature...
I am parsing the public timeline xml from twitter and want to display images next to the statuses.
The problem is some image urls contain strange characters:
e.g.
http://s3.amazonaws.com/twitter_production/profile_images/68803670/Gryn_i_h%E4ngmattan_normal.jpg
Some of the characters can be replaced with urlencode, but I have no idea...
I have existing flash 8 AS2 work that I want to update to Flash 10. Can I update only those elements i need to be Flash 10 and load them in to the Flash 8 movie as an external swf and pass variables and call methods? Is this a good option and what are the issues to be aware of? Eg will a user with player lower than 10 be able to load the...
I am looking for an ECMAScript alternative to work as a scripting language for custom application logic. There are things I like about ECMA, especially the syntax for the newer spec(like AS3).
Unfortunately, the AS3 engine is not open source to be able to integrate in a project. I would like a scripting language that was designed for ...
Hi,
I've tried to access buttons in my menu. I only want to add listeners to the items that is in the XML file im loading.
The thing is, i dont know how to call a button i've named "Var1_btn" when i've got a string "Var1".
Does anyone know how to call buttons from a for-loop?
for each(var chapter in presentation_xml.*)
{
chapter ...
I've been googling like mad and can't find any file format specifications for mjpeg.
What should the header look like?
Do i just append a series of jpegs after the header?
I know it's the usually in the .avi container, does that have a standardized format for codecs that might be in it?
The goal is to make it in actionscript 3, but...
I'm trying to animate a round rectangle in ActionScript 3.
I want it to appear in the centre of the screen, and then grow out quickly in all four directions. Initial size should be about 30x10 pixels and final size about 300x100 pixels. The animation should take somewhere between 500 and 1000 milliseconds. I'd like the box to slightl...
I have a tiny actionscript "project" consisting of two files, call them foo.as and bar.as. For reasons I won't go into, I really really want to build the .SWF from the command line, without setting up a formal project of any kind. Every compiler I've ever used lets you do this, but for the life of me I can't figure out how to coerce MXML...
In short
For a project I need an audio/video-chat for 2 people, with the ability to record (part of) the session. I am running into issues where the 2nd user's recorded video gets messed up, with massive amounts of (seemingly) skipping frames and/or audio loss, most likely caused by the audio stream (when not recording the audio, the pr...
Hi
I'm newish to flex an have recently hit a snag casting.
this is the code I'm running.
/**
* return background definition depending on time
*/
private function findBackgroundItem( relativeTime : Number ) : CSBackgroundItem
{
if( this.backgroundItems == null ) return null;
var result :CSBackgroundItem = null;
var relativ...
I'm working on a flash app where I load multiple swf's. But the problem is that they have different framerates (12/25/30). If I add 2 swf's they both play at 25fps. I found numerous topic about this but I can't get it to work (in AS3). Does anyone know why it doesn't work and how to make it working?
public class MainClass extends MovieC...
Hi,
I need code is as3 to reading a text file line by line and insert in to an array using AS3.
is it possible to do it with out having any special character.
sample.txt
Car
van
scooter
bike
I need to read the file and insert in to array like...Array[0]=car,Array[1]=car.....
Thanks In advance
...
I have some FLVs which I'd like to play. The following code works fine when running the SWF directly:
var sUrl:String = m_pMovieUrlList[iMovieIndex];
m_kNetConnection = new NetConnection();
m_kNetConnection.connect(null);
m_kNetStream = new NetStream(m_kNetConnection);
m_kNetStream.client = this;
m_kVideo = new V...
If I have 2 classes and the first extends the second, how can the second class call a static function from the first?
package p1 {
class a {
static function a1() {
//do soemthing
}
}
class b extends a {
static function b1() {
//do something else
}
}
}
a.a1(); /...
Hi all,
I have two Canvas A and B, A is the child of B.
A can be resized by some user actions like adding some UI components to its base.
A is bounded by an other Parent canvas B which should show scolling handles if its child A gets too large.
I would like A to have the same width and height of B (or really close) while the calculated...
Is there some sort of interactive ActionScript interpreter? Similar to Firebug's JavaScript command line or Python's interactive shell?
...
Is there any ActionScript class which represents "durations of time", similar to the TimeDelta class in Python?
Edit: Thanks for the responses. I should clarify a bit, though: I want be able to ask questions like "how many weeks are between date0 and date1" or "let x represent "one day". What is date2 + x?"
I know I can do all this by...
I have a Flash CS4 AS3 swf (host) that loads a Flash 8 AS2 swf (client) using gSkinner's swfBridge.
This works great and the Host can call functions in the client no problem. However I want to be able to call a function in the client and have that function return an array to the host.
This is the code I thought would work -
Host (AS3...
I've got a Flex application that uses link buttons. As soon as I incorporated the link buttons (I assume) the Flex framework started putting history tracking elements below the app in the DOM. For example IE6-8 get an iframe element with id of ie_historyFrame, chrome/safari get a safari_rememberDiv and FF gets a firefox_anchorDiv.
Now, ...