flash

get the event when the loaded movieclip is ready in the right frame

Hi, i'm developing an app that use swf to load elements and add properties to the loaded swf. I use SWFLoader to load the movie and on the COMPLETE event i move the loaded MovieClip to a specific frame and then list its DisplayList. I've discovered that if i traverse the list soon it's note loaded. Maybe it's cleaner with code: loader....

How can I remove a external SWF then reload it with new parameters?

Hi I am new at action script 3 but I have to finish a project about large TV shows. In this project I need to load several SWFs in a base scene and after some loops when my parameters is changed I have to clear display and memory then load them again. every thing in my project are working but I have a big problem and I can't remove the p...

How to make flash video stay in fullscreen on dual monitor setup?

Cant figure this out, got it to work in firefox a while ago but after upgrading to mac and chrome, I had no luck finding an solution. ...

Index Music Files Using Flash/HTML5/JavaScript

How can I index mp3 files on user side and create a database of file name, artist name album name etc and upload them on a server? I would like a HTML 5 solution, although Flash or JavaScript would do. ...

How to send ByteArray to Flash without using php_amf extension

Hi. I'm working on a Flash tool that needs to send some data in the form of a flash.utils.ByteArray instance to PHP (amfphp service class) and get that data back from the amfphp service as flash.utils.ByteArray instance. Now I can do all of these with the php_amf extension enabled on the local WAMP server. And the tool works fine. But ...

How to zoom to a place by street name in Google Maps API in Flash?

I'm sorry if I'm asking a basic question, but I can't find it anywhere and I don't understand too much from the provided documentation. Basically, I want to make a *.SWF in which the user inserts an address in the first frame, then in the second frame Google Maps shows that place. The problem is that I don't know how to zoom on a point w...

Is there a way to access the remote IP of a RTMFP p2p stream?

I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#. What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP ...

Flex How To Call A Function With A Variable Number Of Parameters?

Let's Say I Have This Class: package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(getAverage(1,2,3)); trace(getAverage(1,2,3,4)); trace(getAverage(1,2,3,4,5)); } public function getAverage (...numbers) { var total = 0; for (var i = 0; i ...

What's the difference between RTMP Vs an MP3 file hosted on a server?

Hi everyone, I'm wondering what's the difference between playing an mp3 file uploaded on a http server Vs using RTMP like Red5? Are there any specific reasons or advantages? I'm planning on using a flash based web player like let's say JW Player. TL;DR Why would I want to use RTMP Vs Mp3 over HTTP? Thanks in advance! ...

Dynamically Retaining Advance search Criteria stored as XML in Flex

Have an advance search functionality, we have dynamically create some components to make criteria as SQL query to search. For example, textbox, combo box are used here with different combinations. After sometime user wants to see that criteria by click the button named 'CRITERIA'. This time send the request to server and get the XML fro...

Flash crashes when stopping directshow source filter

Here's the callstack : 0480b000() vcam.ax!CSourceStream::DoBufferProcessingLoop() + 0xe1 bytes vcam.ax!CSourceStream::ThreadProc() + 0x13e bytes vcam.ax!CAMThread::InitialThreadProc() + 0x51 bytes kernel32.dll!7c80b713() The callstack is from this thread: 0 > 0x000015b8 Worker Thread CAMT...

How to embed timecode when publishing live video and render it when watching?

I've managed to publish video now: ... ns.attachAudio (mic); ns.attachCamera (cam); ns.publish ("name","record"); But without time information. Has anyone managed to do this? ...

JavaFX vs Flash, which is good to make online game

I am going to create a online game, so what is better, JavaFX or Flash? ...

Need to save video captured from webcam in flash. What`s my next step?

Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server. Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clic...

finest time resolution in as3?

If I want to measure the amount of time that has passed in as3 between method calls. Is the highest resolution from: var now:Number = new Date().getTime(); ? ...

Visual list of Flex components

Is there web page (Adobe or other) that visually shows all the available Flex UI components? (similar to Java Swing's A Visual Guide to Swing Components) ...

flash shrinked in IE 8

i have this website ( http://iranww.com/msazan/index.php ) with a flash logo which in firefox is displayed perfect. The problem is in IE which it seems to shrink it. Can anybody help me psl. ...

Reusing library items across Flash projects

What's the best way to re-use library elements across Flash projects. For instance, I created a loading indicator Movie Clip that I want to re-use- Should I export it as a SWF, and then re-import it into other projects? (For some reason when I try this, the imported clip shows up but does not play in the new project? Why would this b...

Associative Vectors?

Just a short question: can Vectors be associative, like Array's? probably not, because I tried, but maybe there's a workaround...? ...

Why is the YouTube video content not populating?

I am trying to get a youtube video to play in a fancybox popup window. The popup window comes up okay, but the video does not play. Firebug indicates that all the necessary elements are loading, but no video. On this page everything works fine. On this page the window pops up but no video. Here is the html: <div id="play-btn"> <a...