flash

I'm unable to get ExternalInterface.call to work in ie7

<script type="text/javascript" src="swfobject/swfobject.js"></script> <script language="javascript" > swfobject.registerObject("myId", "10.0.0"); function execute(){ return a; } </script> <body style="margin:0"> <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="500"> <param name="movie...

Flash to Make WebService call with x509 Certificate

I am looking for an example or tutorial on how to make a Web Service call from within flash to a web-service that has been secured using a X509 Certificate, but I need to be able to do this in a manner that does NOT require the certificate to be installed to the client's machine, but rather loaded programmatically from within flash. I h...

Trouble with crossdomain.xml

Hi, I'm having some difficulty getting my cross domain policy to work. I have an swf at http://www.server.com/ that loads in XML and other files. I want to be able to embed that swf in other HTML pages (YouTube stylee) that aren't in the same domain. It works fine when access via it's local server http://www.server.com/my.swf or http://w...

How to create fixed size swf in pure AS3 only

Hi guys,,, I was wondering if there are anyways to get the fixed size swf file when I build my AS3 only project in Flex environment. I can't use scaleMode="noScale" since my swf is very small. I don't want it expand it to full browser winder either. Are there anyways to do it? Thanks for the help! ...

Using Flash Builder to create a collection of AS3 classes

How can I set up a project in Flash Builder for creating a collection of classes that is not an application by itself? When creating an Actionscript project it forces having a main application file, as well as sets up the whole bin-debug folder and such. For instance, if you wanted to start coding something like Tweener, Papervision, or...

Run a function once flash movie has finished loading

Is it possible to set a listener or something like it to run a function once the flash movie itself has finished loading? So something like: When this flash movie has finished loading, activate function. Btw. I'm not trying to do this with a swf file loaded into another flash movie. I need this to be done by the movie once it self has ...

flash professional cs5 very slow responding

Hi! I have a problem -- Flash CS5 is working very slow on Windows 7 x64, Intel Core Quad 2.5 GHZ, with newest NVidia driver. But on my by far less fast notebook everything working fine. Anyone spotted same problems? Could it be something with fonts? ...

Merge FLA files or Loading a swf file on another swf

I have two FLA files, call them MAP.fla and ANI.fla, that I have to merge. One way I tried was to load the ANI.swf in MAP.swf during runtime using the normal way of doing it, using Loader and URLRequest. However, when I try to run it, flash detects errors about methods I have included in ANI.swf. I do know that the Loader and URLRequest...

Trying to understand "_root"

I'm trying to get an actionscript code used in a Flash CS5 example and make a ActionScript class using it in Flash Builder. And I'm trying to understand the _root property. This page have a brief explanation about the _root property, but it is too vague. My question is: What is the "_root" that exists only when the ActionScript is plac...

How do you check for XML element type of a node in AS3?

This is making me feel stupid :-). Say I start at a leaf node, and I traverse up the tree by using .parent(). I need an exit condition once it hits root. At the moment, I'm using parent.@name != "root", where name is just an attribute, but shouldn't I be able to check the type of element as well? How? Also, is there another way to en...

Flash Developer IDE

Hi guys..I was wondering which IDE choice you flash developer use to write the code....I use Flex Builder for my AS3 only project so the code below will display nicely with coloring keywords. I wanted to know if there are better choices there...Also, does flash developer do the AS3 programming only? Do they do graphic design at all? Tha...

How do I add the SWC file for Cairngorm to my app without FlexBuilder?

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use Fl...

Should we consider Flash as a last resort?

When we make a website with some interactivity (not whole flash site). should we always find a way JavaScript way before to use Flash? Should we consider Flash a last resort, if possible? It is true Flash will not be indexed by Search engine. and it will not run on apple devices. Will javascript also perform better than flash, in terms...

Loading swf and using it through interface

I've created simple swf with interface: public class Test extends MovieClip implements ITest { public function Test() { Security.allowDomain("*"); Security.allowInsecureDomain("*"); } public function speak(str):String { trace(str); return "yeah"; } } ITest: public interface IT...

Draggin Dropping of AVM1(ActionScript 1/2) dont work in AVM2(ActionScript 3/Flex)

Hi I have a application developed in ActionScript 2 which has dragging/dropping activity. which works fine. I used following to test dropping dropObject.hitTest(_root._xmouse, _root._ymouse, true) //if true, drop currently dragging object Problem occurs when I put this SWF in my Flex application SWFLoader container. dragging dosen't ...

Free flash mp3 stream (m3u) player

Hi, can you recommend any free flash mp3 stream (m3u) player? Thanks ...

Google Chrome issue with flash wmode: "transparent" cant catch click event

It works on IE7 and mozilla, but on Chrome when u set param wmode: "transparent" it doesn't react to mouse event... Any solutions? ...

MovieClip can't see base class methods

I have this base class package sevengames.miranda.front.res { import flash.display.MovieClip; import flash.text.TextField; public class MenuButtonBase extends MovieClip { protected var text:TextField; protected var bt:String = null; public function MenuButtonBase() { stop(); ...

Loading images, running swf, running in localhost

Never had this happen before, I am loading a series of images but when i compile to swf output in Flash Builder, one image attempts to load but just fails, it doesn't error it just fails silently. If I build to localhost in html then it works fine, this is really confusing. Any ideas where to look? ...

Uploadify and other flash based uploaders do not work

Hello, I have a weird problem where Flash works just fine except Flash uploaders. When I click on the buttons that should show the selected files dialog nothing happens... Something must be blocking this kind of features... The client is a Windows XP running IE8 and Firefox. I get the same problem both in Firefox and IE8 and no flash ...