flash

find out if AS3's XMLList contains string as node value

Is there an XMLList equivalent to Array.indexOf? For example - var array:Array = ['one','two']; trace(array.indexOf('two')); // returns 1, since it's at the second position trace(array.indexOf('three')); // returns -1, since it isn't found ... right? but what if I've got this - var xml:XML = <list><item>one</item><item>two</item><...

Custom alternative content for non flash users

I have this code http://www.jsfiddle.net/Nntc7/ created by a pdf publisher, I need to offer non flash content to users but dont know javascript and I cant get the thing to work using swfobject, How do I edit this to allow for alternative content?? thanks in advance L ...

Random box of images gallery

Is there any ready built images gallery as shown in this link? https://www257.americanexpress.com/openhome/booming.do?extlink=db-gabmd-2010booming_Digg If I were to build it by retrieve from database contains links to images and display on each containers, would TileList be useful or any idea is appreciate as I'm will be using it for di...

Is there any how I can test whether a mobile browser supports flash using web technology?

I know most mobile browsers don't support javascript, how can I check this? ...

can SWF apps running in the browser be automatically controlled/spidered, like in browser automation?

suppose the owner of a website that shows info "for humans only" is tired of the bots and the spiders grabbing the data and decides to show this info in a SWF app running in the browser. So now he reimplements the structure of the website as a flash app and the bad guys can no longer navigate it using their url-following, html-parsing sc...

flash capture image from webcam

Hi we have the below code and it captured the video but not the actual video which displayed in the webcam . It only captured one third of the image like from x 100 and y 40 something like not Could some one help to how to capture the whole image displayed in the webcam like 320*250 below is the code import flash.geom.*; import f...

Is it possible to use Adobe's (Open Source Media Framework) OSMF when targeting a FP9 only project?

Is it possible to use Adobe's (Open Source Media Framework) OSMF when targeting a FP9 only project? I noticed the vector class in the source code which can easily be swapped pout for arrays, but was wondering if there is much deeper compatibility issues? ...

Can I make GIF animation frames play faster in ActionScript?

like say i have a gif that has 10 frames. what is the code that will help me make the gif go through those frames at a quicker pace? ...

Flash - Flash Media Server Alternative

I am not advanced yet, but i know what exactly i am looking for and want to do. After doing Air/Flex i came to a stage i need "Flash Media Server Xversion" Question: Is there any Open/Free Linux based alternative for this "Flash Media Server"? By google i came to this, is it also possible to use as alternative 1. http://osflash.org/re...

Flash video streaming - getting my toes wet

I'm working on a project that will involve having a couple thousand short videos online. I haven't done anything with online video before and this is all a bit new to me, so I am looking for some general advice... I would like to use Flowplayer, and I would like to encode the videos as H264s. I am enamoured with Flowplayer's slow moti...

How to trigger a desktop application from my website?

I need to do click a button within the admin side of my external website and cause it to trigger an application within my local workstation (with parameters based on button). I have full control of the server, PHP, etc. I can also install any application on my workstation. What is the best way to do this? Adobe AIR/Flash? Java? I need s...

How to convert flash with dynamic data into AVI video

hy, after i upload some images and one mp3 files on my site it will make a slideshow (.avi file)! but nothing fancy, only a simple slideshow! i want to make a stereotyped in flash to load images and mp3 file and make a nice slideshow with some effects! the problem is... how i can save the swf file? (later to convert .swf file to .avi...

(stream.bytesLoaded / stream.bytesTotal) * video.duration != loaded seconds for mp4?

Good day! I'm trying to determine how much of video is loaded (in seconds). When I try something (stream.bytesLoaded / stream.bytesTotal) * video.duration the result is not accurate because distribution of video stream size is not uniform inside the file. For example if video starts with static part with video title or blank screen, t...

ActionScript 3 - Returning/inspecting class value on declaration

Hello there, I'm wondering if is there any way to mimic the same behaviour we have for top level classes in AS3 for example: var myArray:Array = [1,2,3,4]; trace(myArray) // [1,2,3,4]; As you can see it returns the own object when tracing it. but if I create my own class that extends Array I get var queue:Queue = new Queue([1,2,3,4]...

If an <object> plugin fails (ie Flash) have it render some other content?

I have a flash header that I show on one of my customers sites, but instead of creating an entire new website for non-flash, is there a way I can have it render a static image version of the header instead of either redirecting or just not rendering the flash content at all (ie with a FAIL message)? Maybe something like a noscript for o...

NetStream.seek() for mp4 to exact position not keyframe

It seems seek() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes? Thanks! ...

Actionscript security sandbox violation

I am writing a Photoshop plugin as an ExtendScript (Javascript) file, that then loads up a Flash window, which I will call plugin.swf - My plugin.swf file uses an element to POST to a certain URL. When I load plugin.swf with Internet Explorer, the HTTP POST is completed successfully. When I load plugin.swf via the Javascript (which is...

Reversed and separated Farsi/Arabic characters in adobe Flash on Ubuntu

Hi, If there is any Farsi characters in Adobe flashes on websites; they show reversed and separated such as bellow screenshot that takes from facebook video player in firefox : found something that shows this problem is from flash text engine (here). but Adobe has just presented reformed text layout framework for flex and flash 10 tha...

Is it possible to use `[Embed source=`... with Flash CS3?

Is it possible to do the following using AS3 and Flash CS3 IDE? The following only works if the txt TextField is created in the IDE and if the txt.embedFonts line is removed. This does not work if I create a TextField with AS3 instead of using the IDE. Is embedding a font via code only available in Flex? package mtm.EmbedFonts { imp...

How to zoom in/out an jpg image with actionscript?

Is that kind of job easy to do in flash? ...