flash

Getting a Flash Movie with Javascript in IE

I have a flash movie that I need to get with javascript. Here is how I embed it using swf object: <div id="ap1_mod"></div> <script type="text/javascript"> var flashvars = { mp3Path: "stop", artistName : "", trackName : "" }; var params = { codebase: 'http://download.macromedia.com/pub/shockwave/cabs/fla...

Does Flash10 + p2p really work?

I've been googling around and I still can't get it. Some people say: here you go, just use it. Others claim it has certain restrictions that does not allow you to use p2p the way you want it in Flash. So, here's a simple question: is it possible to implement a Flash10 application, that uses some of the existing torrent files to stream v...

Can't autoscroll a VBox unless height is explicity set(in pixels) in Flex 3

I have a VBox who dynamically adds and removes children programatically. The height is set to 100% and verticalScrollPolicy=auto. When a user wants to add another child to that Vbox, I want it to autoscroll to the bottom of the VBox since that is where the child is added. I've tried every solution I could find online, but no matter wha...

Flash Actionscript NTLM authentication example?

Does anyone have an example of calling a webservice from actionscript 3.0 with NTLM authentication in place. The adobe livedocs list NTLM authentication as supported but I can't figure out where to pass user credentials. Thanks, Peter ...

Loading large swf embeded swf file on an aspx page

Hi there, On the home page of one of our web sites we embed a .swf file which is essentially just marketing. Typicaly in the past they've been about 300kb, but the designer has passed us one to put up that is a little over a 1MB. What are the performance concerns with this? What should be used as a max size for these if there are con...

Compile an ActionScript class that is in a package to a swf using Flex Builder 3

How do I configure an ActionScript Project in Flex Builder 3 Pro so that I can compile an ActionScript class that is part of a package into a swf. For example, the class that I want to compile to swf is: package utils { import flash.display.Sprite; public class Tool extends Sprite { public function Tool() { } } T...

How can I create a new STATE in a button in Flash CS3?

Hello! I'm trying to create a new state for a button, like when I take the mouse pointer out of the Hit Area and, doing this, it fires a small movieclip. How can I do it? I probably need some especific name for this state, like Hit or Over, right? ...

MOUSE_OUT events not firing on child when parent is mouseEnabled=false, mouseChildren=false

I make a sprite, then add a child sprite. I add a listener to the child for MOUSE_OUT events. If my mouse is in the child sprite when I set the parent sprite mouseEnabled=false and mouseChildren=false, MOUSE_OUT is not fired on the child. But then, when I move the mouse, MOUSE_OUT is fired on the child. MOUSE_OUT is also fired if I c...

How to embed and display a png with FlashDevelop, Haxe and Swfmill

I am having trouble getting a png file to display in a simple Flash application I am building using Haxe and FlashDevelop. Step taken Added the png file to my project. Added the png to the library Set the option to embed as a bitmap Set an Id for the object "PlayerBitmap" Verified that the xml generated looks correct I then try to d...

Inject to NPSWF32.dll & Flash10a.ocx & flashplayer.xpt to create a global ActionScript VM console and debugger?

Hi all, since all browser's Flash plugin is based on: NPSWF32.dll Flash10a.ocx flashplayer.xpt Is there a way to inject these dll's, use some voodoo to create a global ActionScript VM console and debugger? Perhaps then I can submit arbitary score to any online Flash games? ...

Flash ActionScript 3 capabilities lacking in ActionScript 2

Ever since Adobe introduced ActionScript 3 with Flash Player 9, many of us have been slow to switch over. In short I'd like to know what AS3 as a framework can do, that is simply impossible or significantly difficult in AS2. I'm not talking about readymade components, but built-in classes such as for web remoting, binary data manipulatio...

Why does an extra symbol get created when I import a png file into Flash CS3?

When I import a .png file into the library in Flash CS3, I noticed that the system always creates an extra symbol in the library. If I import, for example, foo.png, into the library, it not only creates a bitmap with the same name, but also a Symbol of the type "Graphic" with the default name, e.g. Symbol 576. I am not using these symb...

Flash XML config file problems with asp.net MVC

I'm creating an asp.net MVC app, first time I've done this. I have a flash component I need to use in a view. I have included the SWF files etc in the Contents folder and referenced it from my view, the flash file loads when you get to the view, great. The problem occurs because the flash file references and XML file for its configurati...

A framework for creating educational animations

Many times I found out that I need a software to create simple educational animations. In those animations I want to draw a sequence of simple animations one by one. For example, I would like to show how a backtracking algorithm for the n-queens problem works. In that case I want to draw a chessboard, draw a queen on the top-left square...

problem in playlist when we select the different songs

Actually in my website www.musicking.in when the user selects songs one player window will open and that will access the corresponding selected songs xml playlist and the player will play those songs. actually its working fine. but sometimes the problem is when so many users are accesiing the player not playing the songs selected, eithe...

Actionscript: How do I rotate a text field?

How do you rotate a text field in actionscript 3.0? As soon as I change the rotation property of the text field, it does not display. for example: var txtFld:TextField = new TextField(); txtFld.x = 100; txtFld.y = 100; txtFld.width = 300; txtFld.height = 300; txtFld.text = "Test String"; txtFld.rotation = 90; addChild(txtFld); ...

Internet Explorer - Flash automation with WatiN library?

Does anyone know of a way to script flash objects using WatiN? I need a way to send arbitrary keystrokes to a flash application. I'm able to login with code such as this: ie.TextField(Find.ById("email")).TypeText(username); ie.TextField(Find.ById("password")).TypeText(password); I'm looking for something like: ie.FlashObject(Find.By...

Gradually posting data to view asp.net mvc

Hi, I am generating lets say a 1000 of records to a database. That means it takes some time. Now, a user can become impatient. So I want to show him a progress bar during the generation process, which happens in Controller. I have found pretty cool progress bars in jquery or flash, but I have no idea, how to use them, since after sending...

air application fullscreen trouble

Hi there, I am working on an adobe AIR application and having trouble with fullscreen. When I set the application in fullscreen (stage.displayState = StageDisplayState.FULL_SCREEN;) the display freezes and nothing is being rendered. When I set it back to normal (by pressing esc) the application works fine. thanks ...

Flash player notified on browser close or change page (as3)

I have to detect in my flash if the user closes his browser or goes to another page and the flash is not accessible anymore. How do i achieve that ? ...