flash

Do you need to put something in your code to access an asset allowed by crossdomain.xml?

Wondering if I need to do something in my swf to be able to access the assets on a different server, meaning more than just specify the url to the asset. Will flash handle the 'go get crossdomain.xml and authenticate everything' behind the scenes or do I need to include some special code beyond simply requesting the swf file? ...

How do you specify a custom location for crossdomain.xml in actionscript?

We are hosting the swf assets on a media hosting server and can't get a file to the root, anyone know what the code looks like to specify a custom location for crossdomain.xml? Sample code if you have it. ...

Embedding Flash Player in a C++ or Java application?

I would like to embed Flash Player directly inside a C++ or Java application. I found an article that describes how to do this for C#: http://www.adobe.com/devnet/flash/articles/stock_history03.html Unfortunately, I have no experience with C#, COM or ActiveX. I need someone to translate this code to C++, allowing me to embed the Flash ...

Why don't flash videos play after upgrading to Flash 10?

Upgraded to Flash 10 today and now many flash videos aren't playing on a lot of sites, including a couple i've created. What's the fix? edit Let me clarify here. this question is intended to find the code change that is needed to allow users of all versions of flash, including the most recent release, to be able to see them. ...

Dynamically change the xml file location that flash loads using c#

Hi, Can someone tell me how i can change the .xml file that a flash movie loads using c#. ie: i would like an ActionScript variable that defines the location of the flash movie. I would like to be able to change this variable using c# if possible. i dont really know how it would look, but something like: <object xmlpath='" + myCSharp...

Can OpenLaszlo apps access AIR APIs?

It seems OpenLaszlo can run on AIR. What's less obvious is whether OpenLaszlo apps can use the AIR-specific APIs, like file system access. If so, how exactly is this done? ...

Flash CS3 movie fails in browser

My AS3-heavy project tests fine in the IDE, but some parts don't work in the browser when published. Any ideas what could be causing this? ...

Automated testing (non-UI) for existing Flash component

I build and maintain a set of Flash components that is distributed to publishers and allows them to integrate with our system. Currently the component has no UI and simply contains compiled code for querying our system servers, parsing the response, and modifying the params sent in the query. There's an As2 version and AS3 versions for b...

How to embed fonts in HTML?

Hi all, I'm trying to figure out a decent solution (especially from the SEO side) for embedding fonts in web pages. So far I have see the W3C solution, which doesn't even work on Firefox, and this pretty cool solution. The second solution is for titles only. Is there a solution available for full text? I'm tired of the standard fonts for...

Flash inside a scrolling div - IE6 bug

I have div containing a list of flash objects. The list is long so I've set the div height to 400 and overflow to auto. This works fine on FF but on IE6 only the first 5 flash objects that are visible work. The rest of the flash objects that are initially outside the viewable area are empty when I scroll down. The swfs are loaded ok be...

Embedding Flash / Flex component into Java app

I'm working on some Flex spike in my company. We are basically evaluating different scenarios etc. What solution would you recommend for embedding Flex components into Java app? Flex <-> Java communication is not (yet...) an issue, just embedding swf into JFrame. ...

Source for Flash based RSS1/RSS2/ATOM/RDF reader?

Does anyone know where to find a good, opensource RSS reader in Flash? I see lots that implement RSS or ATOM or RSS2, but none that do all of the different RSS style formats out there. I'd prefer to keep this in Flash, as I'm trying to keep this so it'll run with minimal server requirements... Requirements: - Parses RSS1/RSS2/ATOM/RDF, ...

How do I change/replace a flash object with jquery or pure javascript?

I want to change a flash object enclosed within with jQuery after an onClick event. The code I wrote, essentially: $(enclosing div).html(''); $(enclosing div).html(<object>My New Object</object>); works in Firefox but not in IE. I would appreciate pointers or suggestions on doing this. Thanks. ...

FLASH/FLEXBUILDER: computeSpectrum stops computing the spectrum for no reason

I'm using flex builder to compile my SWF. Im using mp3's on my local machine and computeSpectrum() to analyze the mp3. After playing for 20secs, my computeSpectrum stops returning values, instead, it starts returning this error: SecurityError: Error #2121: Security sandbox violation: SoundMixer.computeSpectrum: file:///C|/Documents%20...

Flex Builder 3: Debugger traces error, when fixing the as file, keeps throwing same error, stuck in past

I'm running my first project that I'm compiling with flex builder. Before I used to compile with flash or flash develop. For a while it worked pretty neatly. But as soon as it start throwing typeerrors, I can't seem to compile the updated and saved actionscript files. It seems as if it keeps stuck in time and compiles the actionscript f...

Swf object doesn't seem to work inside a Blogger post

Any ideas why? On the following link, where it says "So..." there should be an embedded swf. http://blog.iainlobb.com/2008/10/wrong-door-creating-papervision3d.html ...

runtime font loading in Flash/AS3

Imagine you're creating a presentation that will be translated into a dozen different languages, including ones with non-latin characters (Chinese, for instance). The client's branding style guide dictates that certain fonts are acceptable for certain languages. The content itself is required to be externalized, so that the text can be r...

Flash and Flex

Hi there, Just a few quick questions from me: What is the best way to inserting a Flash SWF file into a flex, that will enable me to have it start from frame 0 on reentry of that framework? Would this be States, Viewstack? Is there a way of using forward and back buttons to navigate through displaying a set of States rather than selec...

Latency in playing short sounds in Flash 9, Actionscript 3

I've got a few very short audio clips (less than a second long) to be played on various events (button hover, click, etc). However, there is usually a significant lag between the action and the actual playing of the sound. I have tried both embedding the sound in the .swf, and loading it externally at the start, but both lead to the sa...

Is Flash Remoting Services dead?

I have a potential client that build something with Flash Remoting Services. It looks there was some sort of server product offered back in 2002-2003, but I've been unable to see if it did anything so complex that it could not be replaced with a simple webservice. Does any one know what happened to this product? ...