swf

Memory in SWF (Flash Player)

Are there any limitations on the amount of memory that the flash player can use? If you have a swf that over time gets a lot of data from the server, then more and more data will be kept in memory... Is there a limitation on this? Thx, Lieven Cardoen ...

Possible to use MovieClipLoader() to load a swf from a different server?

Having some issues loading files from media hosting into swf shell (a swf loading swfs as assets). Mp3s and images work fine but a swf never loads. Code is like: swfpath = "http://555.55.555.555/vir_dir/swf/N000001.swf" movie_loader.loadMovie(swfpath, "mc_swfimage"); if the swfpath is set to "swf/N00001.swf" it loads fine and if I poin...

When it says put crossdomain.xml in the root where would that be on IIS?

Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, where would the crossdomain.xml need to go so that my swf app on a different server can access ...

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? ...

Security issues when using Amazon S3 file hosting for Flex modules/swfs

What kind of security issues am I going to run into when hosting a Flex site (with multiple modules) using Amazon S3's hosting? Can I even communicate between two different swfs if they're loaded from two different subdomains? (These will be modules) I dont yet know if i would host all modules on S3 or just some. For testing impact to ...

Mysterious assets used in swf, not found anywhere in fla?

near the top of the code i see things like, btn_dropdown._visible = false; mcMenuBkg._visible = false; but I can't find these assets anywhere in the library or in any code, how does this make any sense? The movie clips in the library that look the same have different names and I can delete them entirely and they still show up when I ...

Problem with editing Template Monster .fla file

I am having the worst luck with this. We bought a template to update our own website (don't have enough time to start our own from scratch!) but when I make simple changes in the Flash CS4 native file and re-export the swf, it doesn't work correctly! I am wondering if anyone has run across the same problems with a Template Monster Flash...

Added code, swf size got ... smaller?

... I'm working on a couple of theories, but I'm interested to hear other opinions. This has been verified on three different machines, two windows the other linux. The compiler used is flexbuild (Presumably mxmlc) and ant with mxmlc. We added code to a small stand-alone single .as file project and the compiled swf file size went down ...

dimensions of loaded swf's stage

Here's the situation - I've got a shell that loads an external .swf. Now, that .swf is 800x600, but it's an animation piece, and there are elements that extends off the stage. When I load the .swf into the shell and call its width attribute, it returns 1200 - because it's including the elements that break out of the stage. This isn't wh...

how to detect if a URL points to a SWF

Is there a way (preferrably using JavaScript) to determine whether a URL is to a SWF or a JPG? The obvious answer is to sniff the filename for ".jpg" or ".swf" but I'm dealing with banners that are dynamically decided by the server and usually have a lot of parameters and generally don't include an extension. so i'm wondering if I co...

Save Java2D to SWF (flash)

I'm trying to save the output of an vector image drawin in Java2D to an SWF file. There are great libraries for saving java2D output as things like SVG (BATIK) and PDF(itext) but I can't find one for SWF. Any ideas? ...

Image loading icon for flash/flex ?

You often see those little 'petal' animations while an image or .swf file is loading in a Flash / Flex application. Do I have to steal this from someone or is there a standard one available from somewhere. i would think there is somethin standard because everyones looks the same! Ideally I want a flex Image control that displays such a...

How can I export part of a Flex Application to a SWF?

I have a Flex App that allows you to dynamically build an animation. It has a UI and a display of the resulting animation, which is a custom Class extending UIComponent. Is there some way to allow users to save/export the dynamically generated Component to a SWF, for reuse in other Flash/Flex Apps? ...

How to embed a swf on top of a html page?

Hi, I want to embed a swf over a html page, like a floating video watching panel. I already have a swf file which will automatically adjust its size according to the browser size, and the swf file is partially transparent. I thought I can just add a div tag, make the position absolute and change z-index bigger, but that doesn't work be...

Viewing swf files in magazine format

I have a set of swf files and can view them one at a time. However what I would like to is to view them in magazine format, as below: First view is: swf file1 (magazine front cover) Next view: swf file2 (magazine page 1) on left + swf file3 (magazine page 2) on right Next view: swf file4 (magazine page 3) on left + swf file5 (magazine pa...

how can I add a swf over a swf on a html page

Hi, I've been trying to add a swf over a swf on a html page, it's working fine in Firefox, but in IE, the one that's added first is always on top of the other one. I used z-index but it's not working, does anyone know how to solve this? Thanks. I already added wmode:transparent, it is working in firefox but not in IE 6. ...

Looping problem with flash audio

At my client's request I have placed a song on her website, set to run on loop using flash. The swf is tucked inside of a table in her sidebar navigation. For some reason the swf doubles, then triples, etc. at the end of each play. I'm using Dreamweaver and Flash and have tried different combinations of parameters: Inside Flash: loop ...

Is it possible to embed an AS3 swf in a DIV layered above an embedded AS2 swf?

I think the question is pretty self explanatory. Anyone done this before? UPDATE: Clarification on why I need to do this. We have a single swf behemoth of an AS1 - AS2 site with a large video gallery section. The client wants to update the video section as the AS2 code cannot handle their more recent, much larger, video files. The clien...

Compile swf at runtime via C#?

Hi - I'd like to know if it's possible to compile an .swf file at runtime via C# (would be called via a Flex Application). I've read some articles about using fsch.exe, but nothing that gave any concrete examples. I'm fairly certain this is possible, so a secondary question is whether it's feasible on a medium scale. I'd like to allow u...

Are there any free tools to create SWF / Flash animations?

Are there any competitor tools like Flash for creating SWF animations? My 8 year old son wants to learn 2D animation but I doubt his anticipated attention span warrants buying Flash. ...