I plan to play more than one MP3 at the same time like multi-track does, I know this will caused a huge increase in memory. Is there a way to stream or buffer live?
If I use it on creating a virtual piano, would it be feasible to embedded 88's or 500MB of MP3 for performance or dynamic load?
...
Hi all,
I have a "Course" class which contains collection of "CourseItems".
Each CourseItem has a folder associated with it(for its files).
I need to add the CourseItem to a Zip file and after zipping it encrypting.
Using FZip and As3crypto I can do the zip and encrypt the zip file.
Whether to do Encryption or not is upto the user .
Cur...
Hello,
I've run into an issue where the BitmapData.draw() method isn't accurately subtracting image data from a .png that uses transparency.
I've put together a test file that shows this behavior, it's located here:
http://www.filedropper.com/shield_1
In a nutshell, a sprite drops from the top of the screen and when it intersects with...
Hello.
I'm trying to know if there's a way in ActionScript 3 to load a PNG image and make some sort of button or sensible area applicable only for the visible area of that PNG??
Maybe there's a simple way to define a polygonal area on execution time, I mean, dynamically and make it sensible to mouse events??
Thanks!
...
I have a .key file that contains my consumer key and secret for the spotify API. The code is available for objective C but not for Actionscript 3 , where I need a hex string version of the key and secret.
Most other APIs provide this (flickr, evernote, soundcloud, googlemaps, etc.) however spotify chose to put it into a fairly inaccessib...
Anybody any ideas on how to remove children from stage using AS3 if I store the reference to the objects in an array and they exist in different locations i.e they are not all children of the same parent?
SomeArray.push(this);
...
I have a number of 'items' (mc's) contained in a scrolling mc that can be drag-dropped to other matching mc's.
The items names are listed in an array and I wish to assign variables of suitability and feedback to each mc from the array also. I think this is called an associative array?
Having some trouble correctly referencing the items ...
I am trying to draw 4 boxes at each corner of the MovieClips but can not figure out how to detect the top right corner, bottom left and bottom right corner. Is there any easier solutions that I could use to replace this technique or get it to works? Thanks
The below code is a rectangle with a 135 degrees rotation.
var square:Movie...
sometimes Flash Authoring colors my actionscript inappropriately. for example: i have custom variable that i've named "closeButton". closeButton does not reference any of the official classes yet it always colored blue as an identifier. i'm assuming it's referencing some internal, private variable from some class in the frameworks.
...
I havent found quite what I want elsewhere or at least am not accomplished enough to adapt
I'm trying to create a project that shows radio stations with logo, listen button etc
The datasource is an xml file with child tags like 'name','image' and 'listen' for each parent, 'station'.
I access this data via the main application with cre...
Hi,
I'm planning to break my Flex applications into different modules and need some advice regarding the loading of modules.
Currently, on load of the application, I need to add 5 modules as children to HGroups under a viewstack.
I'm using a ModuleManager to perform this and listens to the ModuleEvent to add the elements as IVisualEle...
Hi, I recently started working on a photoshop-like hue-based color picker in Actionscript 3. Here's a link to the current state of the color-picker : http://dl.dropbox.com/u/4597114/color-picker.swf
Basically, I draw the colorBox (the box on the left) using a nested loop in order draw it pixel by pixel. I did so because I didn't find a ...
It's pretty simple. i'm calling an PHP script from my flash using navigateToURL. It runs the script and opens a new window in my browser
It's possible to just call the php script from AS3, without open a new window ?
Thanks.
...
Anybody know any good tut's for iPhone development? I have written a game in AS3 and have excellent knowledge of PHP/OOP etc but I cannot get my head around the iPhone SDK or the objective C syntax and structure.
...
How to bring the current target into the movie clip?
If we can set the current target into "selectMovieClip" variable then i believe we should be able to rotate or manipulate it as a MovieClip.
Please copy the script below and you will see what I mean. Currently I can't rotate it.
Please tell me what is wrong with my script. Thank you...
I tried to repetitive press sound effect, each MP3 is 8 secs long and as fast as I press the button, it suddenly hang for a few seconds before I could continue execute the sound effect again.
I use the code in http://livedocs.adobe.com/flex/3/html/help.html?content=createeffects_2.html
After Example: Passing parameters to effects and I ...
Tie this code to a button, if I repetitive press as fast as I can, an error exception would appear in the application. I found that it would not throw an error if I stop the sound when it completely fade out. However, I wish the fade out function could stop the sound individually, not stop o1_1 together.
private function p1_1():void{
s1...
i'm trying to use htmlText on a dynamic text field with embedded fonts. i've searched for an hour for an answer and i still don't have one.
on stage, there is a dynamic text field with no text. i've embedded both regular and bold versions of Myraid Pro. the text field on stage is set to regular (have to choose something). "Render Te...
Hello, I think the title should make it pretty clear. I was wondering how you can assign a class to an object on stage. As you would do with actionscript:
var objectname:ClassName = new ClassName();
This would make a new object, but the current object already exists, it just needs to be notified that it's of the type "ClassName" so it...
Suppose I have a list of objects of a certain custom type and I need to find an object given only the value of one of its attributes, how do I do it?
Eg.
// Where user1 ... usern are objects of some class User
users = [ user1, user2, user3 ... usern ]
// How do I find out the objects that have the "foo" attribute set to "bar"
...