flash

Netstream() loop problem

I'm preloading 4 flv movies and hide them, when I rollover the videobutton movieclip i want the flv video to fade in and start playing. I have this working code, but I feel it's very badly written. var videos:Array = new Array( 'ltp_video-low1.flv', 'ltp_video-low1.flv', 'ltp_video-low1.flv', 'ltp_video-low1.flv' ); function videoOver(...

Is there a way to inspect flash movie elements live in AS2?

I have a major problem with a flash based training course that is rendering extra graphics that are UNSEEN. This is realized when a screen reader is used to run 508 compliance tests on the course. There are various times when it just says 'graphic 13' and I have no way of telling what the object is that is getting this title and becoming...

Actionscript sound playback accuracy in Flash 10

.We have an AS3 player that requires Flash 10 (to overcome old issues with 9 and playback offsets) to handle clipping of audio. However when I select start and end points to playback from, many times what is played back doesn't match the same clip as what is played in Audacity. Here are some details on my test mp3 (results from ffmpeg) ...

What root certificates does Adobe Flash trust?

I'm using URLLoader to do a web request via HTTPS, and I need to know what signing authorities Flash trusts. I've determined that I can't self sign the key, but can't find any documentation from Adobe on who is a trusted signing authority. Does Flash use the browser's trusted authorities? If you're using AIR, what list does it use? D...

How shou FLVPlayback component

I am trying to add a 'FLVPlayback' component, as described on the Adobe site to a very very simple flash movie. I have no problem at all using this code to instantiate a FLVPlayback object dynamically. import fl.video.*; var flvPlayer:FLVPlayback = new FLVPlayback(); addChild(flvPlayer); //The next line assumes you have copied the ski...

Can I load the FLVPlayback component definition in Flash in frame 2 instead of frame 1 ?

I am trying to add a 'FLVPlayback' component, as described on the Adobe site to a very very simple flash movie. All it has is a text header and a simple vector graphic border. I have no problem at all using this code to instantiate a FLVPlayback object dynamically - or creating an instance on the timeline. In either case the movie size ...

Changing font values from PT to PX in Flash CS4

Just bought Flash CS4 Pro, and for some reason the font sizing is no default Points not Pixels. I can't see anywhere to change this. Anyone got any ideas? Regards ...

What would cause Flex/Flash preloader to hang over HTTPS in IE6?

I am deploying a Flash SWF which was built using Flex (3.2) / flexbuilder. It is a single SWF which doesn't do any further data requests of its own. It has some preloader code to display a progress bar when it is loading (it is approx. 650mb). It works fine in almost all environments, but when deployed over HTTPS it fails to load - on...

ExternalInterface.call() not getting return value

I have a Javascript function that returns the innerHTML of a div. I am attempting to call this function from Actionscript and store the return value. I know that the Javascript function is being called because there is an alert that displays the return data, The data that is returned to Actionscript, however, is null. I am not sure w...

Lossy image compression, plus transparency, for the web?

One advantage of PNG is full alpha transparency, which allows you to have smooth edges and shadows in in web designs. The main disadvantage is that it only supports lossless compression, which for complex images means a very large file size. JPEG on the other hand offers great compressibility for complex images, but no transparency. A...

using alchemy generated swc in Flash CS4

I've gone over the Alchemy quick start guide and exported my stringecho.swc successfully, but I don't want to compile in Flex. I just don't know Flex and I'm not very keen on learning it all of a sudden. I tried to do my business in Flash, instead, considering that they both run on AS3. The Flex code they give as an example is package ...

How do you load a bitmap file into a BitmapData object?

In Flash, the BitmapData object can be used to store bitmaps in RAM, you can later draw them to a MovieClip using the beginBitmapFill() method. How do you load an external bitmap file (.jpg) into a BitmapData object? Even AS3 code would be helpful. Thanks. ...

AS2 FLA Component with embeded classes

I'm trying to create an AS2 component which is easily skinnable. I create an FLA component by creating a mc with some assets > component definition > link it to MyClass, and drop the fla into the Components dir. If I then drag the component into a new fla and try to render, it obviously throws the error that it can't find MyClass. I'd...

Is there a SVG to MXML Converter?

Hi, I'm trying to use an SVG file in my Flex app - but it seems the best way to do that is to convert it to MXML. However, I cannot find an SVG to MXML converter. There seem to be a number of SVG to XAML converters (for Silverlight/C#), but I can't find anything analogous for Flash/Flex. Any help would be appreciated. Thanks, Karthik ...

Best way to show image sequence as a movie in Adobe AIR

I need to show an image sequence as a movie in an Adobe AIR application - i.e. treat lots of images as video frames and show the result. For now I am going to try simply loading them and displaying in a movie clip but this might be too slow. Any advanced ideas how to make it work? Images are located on a hard drive or very fast network s...

Adobe AIR from Flash a big disaster?

Does anyone have any experience with building AIR apps from within Flash CS3? I inherited an AIR app that is being build from within Flash and is doing my head in to get build. First of all, the AIR app doesn't run from with the Flash IDE. There is no document class and when I place a trace statement on the first frame it never actually...

try-catch not working?

I'm using a try-catch block in the following Actionscript 3 code: try { this._subtitle = new SubtitleController(subtitlePath, _framerate); this._subtitle.addEventListener(Event.COMPLETE, subtitleLoaded); } catch (e:Error) { trace('subtitle not found'); } The SubtitleController constructor then tries to load the subtitlePat...

Play embedded f4v file in flash?

Hi is it possible to play an embedded f4v file in flash? ...

How to edit values in a returned mysql result resource and forward edited result resource

Here's what I'm trying to do ... Im using Flash to call an AMFPHP service that queries my database and returns the result resource. Before returning the result to the Flash movie I need to edit some of the values in the result resource. How can i iterate through the rows of the result, change some values and 'repackage' the resource t...

Stop music from in flash from javascript event

I am attempting to stop the music inside of my flash swf that I have loaded in the page <object id="FlashControl1" type="application/x-shockwave-flash" data="Flash/Preloader%20-%20Splash.swf" width="980px" height="316px"> <param name="movie" value="Flash/Preloader%20-%20Splash.swf" /> <param name="wmode" value="Transparent" /> <param na...