flash

streaming live from red5

I would like to stream live video from red5 server. The video is stored on a server in flv or mp4 in 'streams' directory. How is it possible? I would like to achieve an effect that Flash player does not wait for data packets if the bandwidth is insufficient (does not pause the video to download more data). The stream would be registered ...

BitmapFileMaterial not loading on embed

Hi Guys, I've built a carousel in Papervision3D using Flash CS5, everything works fine but when it's embedded in a web-page (local or online) the BitmapFileMaterial assets don't seem to load. I've tried everything and like I said, it works locally, just not when it's embedded. Is there something I'm missing? It's a carousel made up of...

Youtube embedded video activating too late to accept javascript call

I have a YouTube video embedded in my page. It is hidden (display:none). You need to click one of the video link buttons to display the video and play it. The links are defined like this: <a href="javascript:play('xxxxxxxxxxx')">Video 1</a> <a href="javascript:play('xxxxxxxxxxx')">Video 2</a> xxxxxxxxx represent YouTube video IDs. He...

Actionscript 3.0 TextField displayed characters

I have a single line text field that gets his .text property populated from a external .XML file. This text is pretty long and I want to display it on one line as much as I can and add a "..." afterwards. e.g. whole text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore mag...

Rotation + Matrix + JSFL

Hello there, Flash Tranformation Matrix via JsFL are mean to me :( I have to write a JsFL script that creates a text on my Flash scene, and rotate it with a random angle. Imagine I want to create and rotate a "Hello World!" at 45 degrees, my code looks like that : rotateAngle = 45; //creates my new text at x:0, y:0 coordinates fl...

Integrating .jar in a flash project

I must integrate a .jar file into a flash project. The project is like this: There'll be a flash video player for a Web Browser with Play, Pause, Stop commands. I must use voice commands to trigger the player actions. I have a .jar that makes the voice recognition so I want to integrate this file with my Flash Player. Is this possible?...

Bindings failing when compiled through Flash IDE

I have created an API in AS3 that uses Flex bindings. The API is being used by two other developers. I am delivering the API in an SWC that includes all code, including the required Flex libraries. The two other developers are building the API into AS3-only projects. One developer is compiling using the Flex SDK through FDT. He includes...

Read Flash Cookie from javascript or ASP.Net

We have a flash video that was created for our project, we dont the source so we have to work around the compiled flash file. We are going to host the video on our domain and the video creates a sol cookie (flash cookie) file to store how far the user has proceeded though the video. So my plan is to access this cookie to see how far th...

Is there anything equivalent powerful in the Flex/Flash world like the Telerik Silverlight GridView to visualize data?

I was trying to find soemthing equivalent powerful like the Telerik GridView in the Flex/Flash world but without success. Could someone pls give me a hint? Or is there no vendor/open source etc. component library out there? ...

Use one NetStream object to feed two Video objects simultaneously.

Hey yall, I'm trying to attach a single NetStream Object to two separate Video objects instead of pulling redundant streams from the server. The expected behavior would be for both Video's to display the same content. However, it seems that the last video I attach the NetStream to is the only Video that will display the content. Has an...

Custom swipe function is working inconsistantly

I am trying to write a class that handles swiping (touch down, move, touch up) actions. This is the code I am using to get the time and distance for the object to travel after a swipe. The results are very inconsistent- sometimes too slow or too fast, sometimes the obejcts move too far or not far enough. Can anyone give me some directi...

[AS3] Instantiate multiple instances of exported MovieClip then animate them?

I have a movieclip created in the IDE exported to Actionscript via the Library panel (Linkage?). I instatiate multiple instances of it via a loop on the timeline. I want to move them around randomly via Actionscript. How do I do that? I tried using listeners, but I have no way to store values to make each movement unique. (edited to ...

Use FBML to embed a custom video player / video on facebook walls?

I'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code. What am I doing wrong? <fb:swf swfsrc='http://www.domain.com/flv_player/Main.swf' imgsrc='http://www.domain.com/large1.jpg' allowscriptaccess=”all” flashvar...

Adobe Flash CS5 for iPhone game development?

Since Apple loosened their terms again, is it posible to develop a game in FLash CS5 and publish it on the Apple App Store? Are there actually any real apps / games on the App Store that were build on Flash? ...

rtmfp open source implementation or FMS with rtmfp hosting?

Is there an open source implementation of rtmfp? Is there FMS hosting that support rtmfp? What is the price of FMS4 enterprise? Thanks ...

passing values from 2 flex movies

I have a flex compiled swf module inside my flex program I just need to pass it some values like I do it when I use chat.swf?username=john : that works ! I tried it with flex swfLoader and Image SWFLoader source="../bin-debug/chat.swf?username=john" Image source="../bin-debug/chat.swf?username=john" This does not work: these values a...

xOr'ing Two Images Together Using Actionscript 3.0/Flex

Isn't there some way to combine two images together using the xOr operator? I realize I can step through pixel by pixel, but with all the graphics options available to Flash, I am reluctant to take such a ham-fisted approach. How can this be accomplished efficiently? var pixel1:uint; var pixel2:uint; var xorMergedPixel:uint; for (var ...

Writing changes from editable datagrid back to local data store - Adobe Air/Flex

Hi I am using Adobe Air to get data from SalesForce, and present it in a datagrid. I am using a query to get the data, and then put it into an arraycollection that is bound to the datagrid, this works correctly and the data is displayed. I have made the datagrid editable, and I am able to change the values in the datagrid, but I canno...

Get my Location with Flash

Hi all, is it possible to show my Town (find by IP) / Town of my Provider in Flash File? Maybe there are some libs for this. Thx ...

Acceleration and Deceleration in AS3

Hi Guys, In my Flash File I have a wheel. The user is able to rotate the wheel by using arrows to jump to the next "segment" (think 20 images attached to each other forming the circumference of the wheel). Clicking the arrows initiates this code: protected function rotate():void { var rotateTo:Number = (-360 / num...