So, I have web page that uses javascript to let a user select different audio files to listen to (using this player: http://www.macloo.com/examples/audio_player/) which works great in every browser except for any version of IE. After the audio starts playing I can't figure out a programmatic way to make the audio stop playing after the u...
I'm using Mate's RemoteObjectInvoker to call methods in my FluorineFX based API. However, all requests seem to be sent to the server sequentiality. That is, if I dispatch a group of messages at the same time, the 2nd one isn't sent until the first returns. Is there anyway to change this behavior? I don't want my app to be unresponsive wh...
I am trying to save some images from Flash to Php by sending a jpgstream, capturing it in php and pushing it to a file. Not sure what I am doing wrong here.
I am putting all the images I need into an array like so: (history is just where I am keeping all the image data)
for each($value in history)
{
var jpg...
Hi
I am trying to use NetStream to play from a byteArray. Please see this for what I am talking about.
I am able to get this to play the video. However now I need to be able to see to a particular second. I am not able to do this. If I go through the bytearray I know I can get the metadata and the keyframes as required and the offset...
I am trying to get our site to work in the Internet Explorer 9 Beta, and we make extensive use of Flash ExternalInterface, using Javascript to call functions exposed by our Flash movie with ExternalInterface.addCallback.
I have seen some indication that others are having similar trouble:
- http://www.kongregate.com/forums/7-technical-s...
Hi all.
I want to build an application with Flash CS5 that will use an API that returns responces in JSON. How can i do it in Flash?
Another question that can go in this thread is...
How can i use an AJAX API like Google's transliteration with Flash?
...
I'm looking to build a library that needs to be very careful about memory management. Basically, I have to create a static factory to "disperse" instances of my tool to requesting objects. (I don't have a choice in this matter, I really do have to use a singleton) We'll call that class FooFactory. FooFactory defines a single method, getF...
I got random picture that I want to rotate it (motion tween) for 180º with MOUSE_OVER event. I have another function that returns the picture -180º with MOUSE_OUT event. The problem is when the MOUSE_OUT event triggers while the MOUSE_OVER event is still active.
stop();
sClock.addEventListener(MouseEvent.MOUSE_OVER, Frwrd);
sClock.addE...
I have a variable named "type". And I want to instance an object with the name of the value of type. Here is an example:
var myObjectName = "ball";
var object = new ball(); //Except I want to use the value of myObjectName.
I believe this used to be easy with AS2 when using _global, but I'm not sure how to do it in AS3?
Any help?
...
i'm trying to allow forward slash to be entered in my input text field
myInputField.restrict = "A-Za-z.\\-\\/";
the above text field should allow upper case letters, lower case letters, periods, hyphens and forward slashes. however, i can't seem to permit the forward slash.
...
In flash AS3 Do I need remove childs, if I remove the parent itseft?
If I remove childs first, then remove the parent object afterall
OR
If I just remove parent object
Will flash take same memory?
...
Hi,
I have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".
please help
...
I've a assets swc file that contains several TLFTextField objects, each one with it's style (font, color, size).
I use the following code to set a link:
var text_tf : TLFTextField;
var url : String = "www.stackoverflow.com";
text_tf.htmlText = "<a href='http://" + url + "' target='_blank'>"+url+"</a>";
This works as expected, but it ...
I'm following this tutorial on Flash Pro CS4:
http://www.baycongroup.com/flashCS4/09_flashCS4.html
I have a button. I pressed CTRL + E in this button, I clicked the 'hit' frame on the 'Text' layer and I created a new frame going in 'Insert > Timeline > frame' as said in the turorial. Like ins the image below.
But after I create a new ...
Hi guys,
I have an AdvancedDataGrid with Hierarchical data in it. On itemClick I have to identify if the row I clicked is expanded or collapsed.
Any ideas?
...
On creation complete my parent component executes an "init" function which simply sets public bindable variables in child components. I'd like the child components to watch these variables and upon being set use them. However, for some reason the ChangeWatcher is not firing with the change of the variable. Below is my code; anyone see wh...
What's the difference between a public static method and a public method? Why would you use a public static method?
...
I'm building a mobile MP3 player with AIR, which streams audio using the Sound class's .load() function. I'd like to cache this audio as it's downloaded, to the the user's SD card.
Is this possible without having to download the file twice??
...
I have a bitmap rpeviously loaded and added as child to a movielip mc
then i want to load another image later and remove thatchild and replace with the new one..
for some reason my code doesnt work..i dont know what im doing wrong
i add a listener to a thumbnail called openBigImage
so basically the new file path and filename should repl...
OK, so here's what I'm trying to do:
I have a landing page with 3 buttons on it, and I have 3 corresponding external swf files, one for each button... so the user clicks a button and the corresponding swf file is loaded into an empty MC on the stage. Now each of these external swf files also contains several buttons and each of these bu...