flash

External swf is imported as AVM1Movie on one computer, causing problems, whereas same code imports same swf as MovieClip on other computers

I have a bunch of AS3 swfs. They are imported into an AS3 application using a Loader. On 10 or so different computers these AS3 swfs are imported as MovieClips and I can control them as necessary. However, on one computer no matter what I try (casting loader.content as MovieClip, remaking the AS3 swfs from scratch) they are always import...

Flash Caching Issue????

Hi Guys I am having the following problem: I have a WCF service that checks a database table and returns the results vis JSON to a flash app. The flash app polls the WCF service every 2 seconds until the records are ready. The issue is that flash seems to be caching my requests, as after the first request the service never gets ...

why does my flash-animation reset when i move the mouse?

I have 2 overlapping movieclips on the stage. Both are instances of the same movieclip, but with different names. One bigger then the other, due to a magnifying effect. (I have tried to out-rule that code by the way, so its not that). The intention is to make both movieclips play when the mouse is over the stage and then stop as the mou...

Is is possible to add member variables to objects at runtime in Actionscript 3?

I have an object of type sprite. I would like to add a new field in the sprite object without deriving the class. I'm not sure is possible. I tried to do object.newField = 'value'; but it's not working. I need it because the Api expect that field in the sprite class. ...

What's the ultimate way to embed Flash (swf) files to HTML (and XHTML) documents?

Like most people I use SWFObject to embed Flash (swf) files to my Web projects. As you know SWFObject offers 2 ways to embed Flash: Static publishing and Dynamic publishing. Static publishing uses regular markup to embed the file to the document and also do checks with JavaScript that you can't make with regular markup alone. This is g...

How get how many video (in seconds) is buffered from MP4 file (Flash, AS3)

Good day! I can get which part of file in bytes is loaded using netstream.bytesLoaded, netstream.bytesTotal, I can get the current playing position using netstream.time. But I want to know how many seconds of video are already loaded (not the length of buffer, which remains constant). The loaded size in bytes is not directly proportio...

other ways of getting instances besides getChildByName()

I have many MovieClips and each has a name like "mcDummyClosed" and then and instance name "slideDummyClosed". Another MovieClip has a link to e.g. slideDummyClosed which I then call DummyClosed. I add a MouseEvent.CLICK event to DummyClosed. Now without adding slideDummyClosed to the stage nor any other MovieClip can I with a string co...

as3 library for transforming images during runtime(scale, rotate, skew)

Does anyone know any as3 libraries that allow you to scale, rotate, skew, etc.. images during runtime? I have found the greensock transform manager class, but would prefer not to pay $300. ...

Custom tileList component row colors returning errors, when loaded into external swf. Error #2007

I have a TileList component that works well when i load it just by itself, however, when it is loaded into an external swf i get the error. TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChildAt() at fl.controls::BaseButton/drawBackground() at CustomRowColorsLeftSide/drawBackground(...

flash get querystring from browser link

How can I get querystring values from a bowser sting into my flash movie For example the link is www.blah.com/index.html?name=John The html page loads a flash movie, and I would like the flash movie to be able to access the variable name=John Is this possible? Thanks ...

add an event to the movieclip inside tilelist in as3

I am working on a component where i need to register a click event on a button inside the moviclip which is inside a tilelist, can somebody point me in the right direction. Tilelist -> movieclip -> button (i need to register a click event on the button). ...

Python socket server craps out after receiving data

I'm currently dabbling in sockets. I've got a jquery script that uses a very small flash swf file to establish a true socket connection. As a server I'd like to use python. Everything works, but I can only send information to the server just once. I've tried 2 pieces of python code for the server. I guess since they both have the same ...

Does Flash have properties like C#?

Does flash have properties like C#? Or do I have to create getters and setters like java? I.E. Can I do this in flash: public int UserID {get; private set} ...

Can you bind a TextField to a drawCircle in AS3?

I am drawing a circle on the stage using graphics.drawCircle that rotates around another circle, and I want to have a textfield that sits inside the moving circle and rotates around with it. Is this possible? ...

How to prevent page from refreshing when AC_FL_RunContent() is called twice

I'm using JQuery to create a button that (when clicked), removes a flash video from the page. Note: Unfortunately, I can't simply use hide(). I must remove() because hiding doesn't stop the video in ie8 and the sound continues to play. After the video is removed I would like it to reappear when a "show video" button is clicked. Note: ...

Looping in Flash

I'm using FLash MX - 2004 and have a slide-show with 70 frames. When it plays and hits frame-70 I want it to loop and start playing again at frame-35 (and run endlessly). However, the default behavior is that it restarts at frame-1. How do I configure the show to restart at frame-35 once it plays through? Thanks! ...

Object tag unwanted space above and bellow

Here is my HTML: <p> Ut molestie venenatis enim mattis cursus. Duis lacinia mauris nec nulla rutrum condimentum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin et felis mi. Ut posuere, eros in vulputate auctor, ante dui egestas metus, in pulvinar dolor mauris eget enim. Fusce in n...

Embed a Flash swf into a Java application

Possible Duplicate: Embedding Flash / Flex component into Java app Hi all, I wanted to know if it was possible to embed a Flash swf into a Java application (or Java web start app). Idealy, I'd like this to be "runnable" on Mac, Windows. Thanks in advance ...

flash is does not auto play on one server but auto plays on another server

I have the same flash file uploaded to two servers. It seems to work perfectly fine on one (IE, Firefox and Chrome) but on the other it works only on Firefox, not even chrome. The thing is I guess the flash file does load, but until I right click and click play, the file does not start playing. Could this have anything to do with the s...

selecting usb 'voip' phone with actionscript

i would like to make a flashsite that uses a clients usb 'voip' phone i can select a mic if you have more than one but can i also select the phone 'speaker' ? (iow a usb speaker instead of a 'normal' aux sound output) thanks ...