flash

Switching from Silverlight to Flash for Games - Recommended Reading?

I have been working on some games in Silverlight. However, the community and portal support are still rudimentary at this point. While I expect it to improve over the next couple years, I don't plan to wait around for that. I'm coming from a .Net heavy development background. What would you suggest I read and practice to start develo...

How do you animate a display object in an arc in AS3?

This is for a game in a flash AS3 only project. the player controls a character with a gun. By clicking on the screen the gun fires a missile in an arc to the point clicked. Whats the best way to calculate the x and y co-ordinates of the missile for each frame? ...

AS3/FP9 - Resize a Sprite

I've loaded a JPG with dimensions 3264x2448 into a Sprite. How can I resize it proprtionally to allow meto draw the Sprite into a BitmapData object (which in CS3/Flash Player 9 is limited to 2880 height or width). My goal is to use the Soulwire [DisplayUtils][1] to create a thumbnail. Here is the code that works fine with other, small...

what tools are there to decompile swfs to flex

How can you know that an swf was written using flash or flex? and is there a way to compile back to flex? I know sothink's for flash, but any thing for flex? ...

Can Silverlight do everything Flash can?

I don't know much about multimedia development and am having some trouble comparing Silverlight and Flash in terms of capability. In other words, is there anything that can be accomplished in Flash that cannot be accomplished in Silverlight (and vice-versa)? I'm talking more in terms of graphical ability, layout, etc. For example, coul...

Stop reloading flash file when using show and hide methods

I have a web page where a flash file is embeded in that.The flash file is having a quiz consist of 4 questions.When user answer the first question the second question will be shown.This flash is embeded in a div called divFlashcontent.Now i want to hide and show the quiz inbetween.Ex: When the user clicks a button("Pause"), i want to hid...

Flash datagrid text and masking problem?

I am using AS3, I have a problem in displaying the datagrid. The Datagrid text not showing behind mask. If i put outside the mask, then the data(text) will appear. How do I display the datagridc text/data inside the mask layer? ...

How to embedd a youtube video inside a swf

Embedding YouTube videos using the embed code in a blog or HTML/PHP page is straight forward. Is there a simple method to "embed" the same video within a Flash/swf interface? ...

How do I prevent programmatically the "Program Compatibility Assistant" in Vista (and Windows 7) from appearing?

I develop a C++ program which might use adobe flash, although it is not essential. I use CoCreateInstance to create the flash object, and if it fails, I know flash is not installed so I don't use it. However, in Vista (and I think Windows 7 as well), when flash is not installed, after leaving the application, the "Program Compatibility A...

Access of undefined property for timeline addChild code :(

I'm trying to do a simple test to figure out another bug, but I'm getting Access of undefined property tsLogo for addChild(tsLogo); I don't get it because this is simple timeline code on the first frame: var tsFont = new TextFormat(); tsFont.font = FranklinGothic; tsFont.size = 8; tsFont.color = 0xFFFFFF; tsFont.align =...

Flash Player Internals Diagram

Looking for a simple diagram showing the constituent parts of the Flash player like AVM1,AVM2,graphics renderer, text layout engine, video player, etc. Can anyone help me out? Thanks. ...

Flash Event not being triggered on server

Hi Everyone, I thought this problem may be due to some strange path issue; however, the path is not relative in this case. I have an AS3 based rss aggregator. It works in flash when I test the movie clip; however, when I place this on the server it no longer works... I used "taLog.htmlText = "Start";" and similar strings to test wher...

How to output/trace all variables and values in a Flash swf

Is there a simple way in Flash 8 when loading an swf or anywhere really to output all the loaded functions, movieclips, and variables/values? ...

XMPP web client for commercial web application

I have the task of choosing an XMPP server/client solution for an internal web application. The goal is for employees to be able to utilize it via desktop client or the web application. The web client is mandatory. The web application is written in PHP, but I don't necessarily need a PHP solution. Flash or Java are acceptable (Flash ...

Correlation between font size in Flash and .NET/GDI+

I guess the title contains my whole question. How can I draw a string onto an image in Flash and .NET/GDI+ respectively and gain the same result? (I'm not a Flash programmer myself and it is rather hard to find out about what kind of unit Flash uses by googling for something like "flash font size"...) Ekeforshus ...

Flash on top of normal HTML

Hi All, In our web application we are planning to develop the Top Navigation in Flex and the page content in normal HTML.On hover over the menus of top nav, the child nodes are shown. The childrens should be shown on top of the HTML content. So what should be the height of the top navigation SWF file for the overlay to work properly. In...

UnitTest frameworks for AS2?

I have just tried out ASUnit and it wasn't a success, so I'm looking for something simpler, no need for fancy UI. trace output is fine. ASUnit was not a success because it for some strange reason generated AllTests.as files in all subdirs of /Applications. I can't figure out how to stop this from happening, so I'm looking for something ...

Preloader doesn't work online

My preloading bars work fine on my computer, but get all crazy when put online.. they either stop in the middle and the actual swf doesn't appear, or they don't work at all. How can i solve this? ...

Compiling MXML files into multiple SWF files using mxmlc compiler

Hi, I have a few mxml files that I want compiled into their respective SWF files using a configuration file. At the moment I can get 1 mxml file compiled into it's respective SWF file by using the file-spec attribute in the configuration file but how would I go about compiling multiple mxml files at once? Do I have a separate configurat...

Problem embedding font and displaying it correctly in Flash

Hi guys, I'm looking for the right textfield parameters or work-around for my latest problem here dealing with Flash fonts & text fields. I have a textFormat and textField generation some text using the Font: Franklin Gothic Book point size 8. Currently this is how the font will look when I run the movie: The bottom ®MYLOGO is a jpg ...