flash

calling externalinterface.call from embedded swf from another server is not working in Firefox

Hello, I have an index.html on server A. In index.html I embed a swf from server B. The swf contains a init with flash.external.ExternalInterface.call("alert", "externalalert"); When I run the swf on server B it works, when I run the swf through the index.html on server A I get an : Security sandbox violation: ExternalInterface...

How to play FLV file in to Macromedia Flash Player?

I can't get the following code to work: a="file=" b=VIDEO_FLV_ROOT c=flv d=" bufferTime=3 " e="autoStart=false " f="quality="&"'"& "high" & "' " path=a & b & c & d & e & f %> <%'=path%> <!-- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#...

Learning Interactive 3D in Flash

I'm interested in learning about 3D engines in Adobe Flash. I understand that 3D doesn't actually exist in Flash and must be accomplished with complex ActionScript, but the idea is so intriguing. Having 3D capability on a platform as widespread as Flash allows for nearly unlimited interactive possibilities for a web site, and would be ...

Flash and PHP, live user environment: how do I use sockets?

I've been scouring Google to find out how I can make Flash bring at least two users together in an environment. What I've been trying to do is, for example: both users load http://example.com/myflashenvironment.html, and on that page is the same flashenv.swf file that they both see from two different computers. In the flashenv.swf there ...

SWFObject Flash Player Script: Wode = Transparent?

I'm using the SWFObject script (http://blog.deconcept.com/swfobject) to embedd a flash object into the following page: http://parramatta.pjgallaghers.com.au/_flashvr/test The flash is from an external supplier and I don't have a whole lot of control over it apart from the embed script. For some reason once the Flash has finished loading...

Debugging AxShockwaveFlash

I'm building a C# app which contains an interactive Flash control via AxShockwaveFlash. One of the challenges is that while I am using the Eclipse-based Flex Builder to develop the Flash controls, it only seems to give me the ability to debug the Flash control if the movie is being run standalone, directly through the Flash player. I m...

Flex Builder: How do you run multiple "Export Release Build..."

So, what I have is a Flex application that is comprised of about 20 modules that are loaded at runtime. Each module is it's own project in Flex Builder and what I'd like to do is have some way to create a release build of all of them without having to go to each project and selecting Project->Export Release Build... How can I do such a...

Actionscript 3 : Creating variable objects and assigning class from parsed XML file.

I've set up an XML file with names of objects that will be contained in a fla/swf library. I wish to position the objects on the stage using an XML file that can be quickly modified without having to recompile the fla/swf file. Of course, positioning can only be accomplished when the objects are instantiaed and added to the stage. The pr...

Error streaming high quality FLV over RTMP with Red5

I'm rather new to the FLV streaming/Red5 scene and have found that for some reason I cannot playback FLV files encoded above a certain quality using the oflaDemo. I've encoded the FLV files from h264 to Sorenson Spark using ffmpeg. It works using -qscale 31, but anything much higher (the number seems to change between different movies) r...

Control-F5 Browser Refresh (Flash object not refreshing)

Under the hood, I was wondering what Control-F5 for a browser does. To me, it clears the cache and refreshes images/text/controls/etc. I get that. Question: What about Flash objects? I've been trying to refresh a page with a Flash control and it doesn't seem to refresh to the latest. It would only refresh after I manually clear the ca...

How can I reliably detect if Flash was the originator of a request to a service?

I need to be able to detect if flash was the originator of a request to an ASP.NET service. The reason being that Flash is unable to process SOAP messages when the response status code is something other than 200. However, I allow exception to bubble up through our SOAP web services and as a result the status code for a SOAP server fault...

How can I get useful information from flash swf files?

I'm doing some crawling with Python, and would like to be able to identify (however imperfectly) the flash I come across - is it a video, an ad, a game, or whatever. I assume I would have to decompile the swf, which seems doable. But what sort of processing would I do with the decompiled Actionscript to figure out what it's purpose is? ...

SWFUpload Examples/Information and Java

I built a couple working examples that upload an image to the server and display it on the page without refreshing. One approach was the iframe method, and the other was DWR (version 3). I wonder if anyone has an example using SWFUpload. I am not quite sure how it hooks into the server side code. Thanks! ...

VisorFreeMind Flash Browser (FLA file)

On http://sourceforge.net/projects/freemind you can download the source files for the VisorFreeMind flash browser but these are only the *.as files and no other files like images. Does somebody have the compiled *.fla file for the freemind browser? Or knows how to get a *.fla from those *.as file (with mtasc??)? ...

Flash + MySQL Communication

I have a flash map application that I want to rebuild on the new flash platform (AS3). It will pull in a load of records at the beginning of the application and then run without needing to communicate again. Given this scenario, what would you recommend be the best (and most flexible) way to get this set of records into flash? This is...

Mozilla Firefox problem with Javascript and Flash communication

Hi, I have a script that displays a list of song names and when the user clicks a 'listen' button the filename is passed to a Flash player which loads and plays the mp3. This works fine for Safari and IE but not in Mozilla. Does anyone know of any issues around Mozilla and using Javascript to pass variables to flash and call functions in...

Passing the "enter key" event to flash player in an ATL Window?

I have a Flash player (flash9.ocx) embedded in an ATL window and have coded functionality into the swf to respond to the return/enter key being pressed. Works fine from the standalone swf player but as soon as its played from within my embedded player it doesn't execute. It's as if my window is getting in the way somehow? Is there any wa...

Flash Actionscript 3 & Oscillating Object Alpha Animation

How would I go about animating via Actionscript in Flash something like the following?: I have several squares scattered on my stage with random Alpha values. When the movie loads, I'd like each square to smoothly animate to whatever their current alpha value is to zero, then to 1, and repeat the cycle indefinitely. As a bonus, I'd l...

Flash movie not working in IE

The page at http://rants-group.com/ works fine in Firefox, not IE. Can anyone look at the source and see any problems? I cannot get this right at all! I think I have messed with it too much at this point, not sure what to do! The code to display the movie is like this: <div id="mainhome"> <table width="700" height="309" border="0" ...

Which actionscript / flash framework has the best tools for simple animation

I'm converting some Flex down to an Actionscript project and need to get up to speed as quickly as possible on a lightweight framwork for doing basic animation. The components may have some very simple data access - such as reading a list of images, but nothing clever. What I really want is an equivalent of Flex's 'AnimateProperty' or ...